network/conntrack-tools: Updated for version 0.9.12
This commit is contained in:
parent
b9c6e8b417
commit
7469abd841
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for conntrack-tools
|
# Slackware build script for conntrack-tools
|
||||||
|
|
||||||
# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
|
# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=conntrack-tools
|
PRGNAM=conntrack-tools
|
||||||
VERSION=0.9.8
|
VERSION=0.9.12
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -60,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc/conntrackd \
|
--sysconfdir=/etc/conntrackd \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
|
@ -75,7 +79,10 @@ cat doc/stats/conntrackd.conf > $PKG/etc/conntrackd/conntrackd.conf.sample
|
||||||
find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \
|
find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \
|
||||||
cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
gzip -9 $PKG/usr/man/man8/*.?
|
( cd $PKG/usr/man || exit 1
|
||||||
|
find . -type f -exec gzip -9 {} \;
|
||||||
|
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||||
|
)
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS COPYING ChangeLog INSTALL TODO doc/cli doc/sync doc/manual \
|
cp -a AUTHORS COPYING ChangeLog INSTALL TODO doc/cli doc/sync doc/manual \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="conntrack-tools"
|
PRGNAM="conntrack-tools"
|
||||||
VERSION="0.9.8"
|
VERSION="0.9.12"
|
||||||
HOMEPAGE="http://conntrack-tools.netfilter.org/"
|
HOMEPAGE="http://conntrack-tools.netfilter.org/"
|
||||||
DOWNLOAD="http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-0.9.8.tar.bz2"
|
DOWNLOAD="http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-0.9.12.tar.bz2"
|
||||||
MD5SUM="faa795dca2b2765e11dd15e1b0b5b6df"
|
MD5SUM="a082eb2354d12250a3f81363440b73f3"
|
||||||
MAINTAINER="Robby Workman"
|
MAINTAINER="Robby Workman"
|
||||||
EMAIL="rw@rlworkman.net"
|
EMAIL="rw@rlworkman.net"
|
||||||
APPROVED="Michiel"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in New Issue