network/xtables-addons: Updated for version 2.5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Robby Workman 2014-06-09 07:24:34 +07:00 committed by Willy Sudiarto Raharjo
parent c8f892ac18
commit e7cf4e0321
2 changed files with 10 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for xtables-addons
# Copyright 2008-2013 Robby Workman, Northport, Alabama, USA
# Copyright 2008-2014 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=xtables-addons
VERSION=${VERSION:-2.3}
VERSION=${VERSION:-2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -66,10 +66,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
@ -83,7 +83,7 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;

View file

@ -1,8 +1,8 @@
PRGNAM="xtables-addons"
VERSION="2.3"
VERSION="2.5"
HOMEPAGE="http://xtables-addons.sf.net/"
DOWNLOAD="http://download.sourceforge.net/xtables-addons/xtables-addons-2.3.tar.xz"
MD5SUM="7d942729c365a549513511061f74c3e3"
DOWNLOAD="http://download.sourceforge.net/xtables-addons/xtables-addons-2.5.tar.xz"
MD5SUM="335663ece5fb17c7d0bb24dbdc697eb1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""