Changeset 94a6f37 for npl/system/iptables
- Timestamp:
- 01/11/19 22:38:23 (6 years ago)
- Branches:
- master
- Children:
- 834b847
- Parents:
- 6936b89
- Location:
- npl/system/iptables
- Files:
-
- 1 added
- 1 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
npl/system/iptables/iptables.SlackBuild.orig
-
Property
mode
changed from
100755
to100644
r6936b89 r94a6f37 1 #!/bin/ sh1 #!/bin/bash 2 2 3 # Copyright 2008, 2009, 2010, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA3 # Copyright 2008, 2009, 2010, 2012, 2013, 2018 Patrick J. Volkerding, Sebeka, MN, USA 4 4 # All rights reserved. 5 5 # … … 21 21 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 22 23 VERSION=${VERSION:-$(echo iptables-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} 24 BUILD=${BUILD:-2} 23 cd $(dirname $0) ; CWD=$(pwd) 25 24 26 NUMJOBS=${NUMJOBS:-" -j7 "} 25 PKGNAM=iptables 26 VERSION=${VERSION:-$(echo iptables-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} 27 BUILD=${BUILD:-1} 28 29 NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} 27 30 28 31 # Automatically determine the architecture we're building on: … … 36 39 fi 37 40 38 CWD=$(pwd) 41 # If the variable PRINT_PACKAGE_NAME is set, then this script will report what 42 # the name of the created package would be, and then exit. This information 43 # could be useful to other scripts. 44 if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then 45 echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" 46 exit 0 47 fi 48 39 49 TMP=${TMP:-/tmp} 40 50 PKG=$TMP/package-iptables … … 58 68 cd $TMP 59 69 rm -rf iptables-$VERSION 60 tar xvf $CWD/iptables-$VERSION.tar.?z *|| exit 170 tar xvf $CWD/iptables-$VERSION.tar.?z || exit 1 61 71 cd iptables-$VERSION || exit 1 62 72 … … 84 94 make $NUMJOBS || make || exit 1 85 95 make install DESTDIR=$PKG || exit 1 96 97 # Don't ship .la files: 98 rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la 86 99 87 100 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ -
Property
mode
changed from
-
npl/system/iptables/iptables.build
r6936b89 r94a6f37 1 1 1 3 -
npl/system/iptables/iptables.md5
r6936b89 r94a6f37 1 b5a1fc38efd8a95af92d6dccbf33dbee ./iptables-1.6.0.tar.xz2 5eb5023b6f3361c4f214428c375e52a1./iptables_dev.pkg3 927 c05136c3f3d1a4b9ca5084ea9e69e./iptables.pkg1 60f06447099fe862b8a0b6b4ad7e4191 ./iptables-1.8.2.tar.lz 2 729b719f475d21b9acdc034a26f5f573 ./iptables_dev.pkg 3 9275b3921fcbc025fbd7f54abe833b82 ./iptables.pkg 4 4 f85960b24e6342637f4716aa5231cafd ./iptables.SlackBuild 5 366e98d34a15cf2cee0d4bf1743c3ca7./iptables.SlackBuild.log.gz6 e9567c0e4fdc1d5aee13fbc0ada9c9a8./iptables.SlackBuild.orig5 ce757f0ee9a3b0097bd53a17b52e6ff4 ./iptables.SlackBuild.log.gz 6 20cdff5578fd1774c4fdb69fa79cc087 ./iptables.SlackBuild.orig 7 7 537aa8a2cd557011b01fc5cf496a9b4b ./slack-desc -
npl/system/iptables/iptables.version
r6936b89 r94a6f37 1 1. 6.01 1.8.2 -
npl/system/iptables/iptables_dev.build
r6936b89 r94a6f37 1 1 1 3 -
npl/system/iptables/iptables_dev.version
r6936b89 r94a6f37 1 1. 6.01 1.8.2
Note: See TracChangeset
for help on using the changeset viewer.