aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-12 17:43:05 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:43:05 +0200
commit7469abd8417534efc787f400d3ebef6e5bb98e4f (patch)
tree1e8753c4ec5e733d277ee6337e293cd4b0ecdfb8
parentb9c6e8b417b69de11a8909c85b156417024c8b54 (diff)
network/conntrack-tools: Updated for version 0.9.12
-rw-r--r--network/conntrack-tools/conntrack-tools.SlackBuild13
-rw-r--r--network/conntrack-tools/conntrack-tools.info8
2 files changed, 14 insertions, 7 deletions
diff --git a/network/conntrack-tools/conntrack-tools.SlackBuild b/network/conntrack-tools/conntrack-tools.SlackBuild
index 5ba3ce251796..0ace6912cc78 100644
--- a/network/conntrack-tools/conntrack-tools.SlackBuild
+++ b/network/conntrack-tools/conntrack-tools.SlackBuild
@@ -2,7 +2,7 @@
# 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.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=conntrack-tools
-VERSION=0.9.8
+VERSION=0.9.12
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -60,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc/conntrackd \
--mandir=/usr/man \
--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 | \
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
cp -a AUTHORS COPYING ChangeLog INSTALL TODO doc/cli doc/sync doc/manual \
diff --git a/network/conntrack-tools/conntrack-tools.info b/network/conntrack-tools/conntrack-tools.info
index 8827907184d7..06c8780c0776 100644
--- a/network/conntrack-tools/conntrack-tools.info
+++ b/network/conntrack-tools/conntrack-tools.info
@@ -1,8 +1,8 @@
PRGNAM="conntrack-tools"
-VERSION="0.9.8"
+VERSION="0.9.12"
HOMEPAGE="http://conntrack-tools.netfilter.org/"
-DOWNLOAD="http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-0.9.8.tar.bz2"
-MD5SUM="faa795dca2b2765e11dd15e1b0b5b6df"
+DOWNLOAD="http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-0.9.12.tar.bz2"
+MD5SUM="a082eb2354d12250a3f81363440b73f3"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="Michiel"
+APPROVED="dsomero"