summaryrefslogtreecommitdiff
path: root/network/shorewall/shorewall.SlackBuild
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2017-02-23 08:47:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-24 04:16:48 +0700
commit3d4309e072d5b8d76025203f24a6df3617d944a2 (patch)
tree692b549354ad53a64c7a62965e8e1b6fae17f071 /network/shorewall/shorewall.SlackBuild
parentff3ee1862d6cd082d8bf86c0d65e17b4e58ddb9f (diff)
downloadslackbuilds-3d4309e072d5b8d76025203f24a6df3617d944a2.tar.gz
network/shorewall: Updated for version 5.0.15.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/shorewall/shorewall.SlackBuild')
-rw-r--r--network/shorewall/shorewall.SlackBuild18
1 files changed, 4 insertions, 14 deletions
diff --git a/network/shorewall/shorewall.SlackBuild b/network/shorewall/shorewall.SlackBuild
index a95d535793..8be134f1e7 100644
--- a/network/shorewall/shorewall.SlackBuild
+++ b/network/shorewall/shorewall.SlackBuild
@@ -1,5 +1,4 @@
#!/bin/sh
-# vim: et ts=2 sw=2
# Slackware build script for shorewall-common
@@ -24,19 +23,19 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=shorewall
-VERSION=${VERSION:-5.0.13.4}
+VERSION=${VERSION:-5.0.15.3}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-BASEVERS=5.0.13
+BASEVERS=$VERSION
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -46,13 +45,6 @@ tar xvf $CWD/$PRGNAM-$BASEVERS.tar.bz2
cd $TMP/$PRGNAM-$BASEVERS
chown -R root:root .
-# Patch the base against all the patchlevel patches in order if present
-if [ $(ls $CWD/patch-$BASEVERS.* 2>/dev/null | wc -l) -gt 0 ]; then
- for PATCH in $CWD/patch-$BASEVERS.* ; do
- patch -p1 < $PATCH
- done
-fi
-
./configure
DESTDIR=$PKG \
@@ -72,9 +64,7 @@ chmod 0755 $PKG/{etc,usr/share,var/lib}/shorewall
chmod 0644 $PKG/etc/shorewall/* $PKG/etc/rc.d/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING INSTALL changelog.txt releasenotes.txt known_problems.txt Samples \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING INSTALL *.txt Samples $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install