network/shorewall: Updated for version 5.0.15.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
ArTourter 2017-02-23 08:47:56 +07:00 committed by Willy Sudiarto Raharjo
parent ff3ee1862d
commit 3d4309e072
3 changed files with 9 additions and 27 deletions

View File

@ -1,11 +1,11 @@
shorewall (IPv4 support package for shorewall)
Shorewall (IPv4 support package for shorewall)
The Shoreline Firewall, more commonly known as "Shorewall", is a Netfilter
(iptables) based firewall that can be used on a dedicated firewall system, a
multi-function gateway/router/server or on a standalone GNU/Linux system.
As of version 4.5, shorewall consists of 3 packages:
* shorewall-core, contains the common elements to both IPv4 and IPv6 components
* shorewall-core, containing the common elements to both IPv4 and IPv6 components
* shorewall, the IPv4 component
* shorewall6, the IPv6 component

View File

@ -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

View File

@ -1,16 +1,8 @@
PRGNAM="shorewall"
VERSION="5.0.13.4"
VERSION="5.0.15.3"
HOMEPAGE="http://www.shorewall.net"
DOWNLOAD="http://www.shorewall.net/pub/shorewall/5.0/shorewall-5.0.13/base/shorewall-5.0.13.tar.bz2 \
http://www.shorewall.net/pub/shorewall/5.0/shorewall-5.0.13/patch-5.0.13.1 \
http://www.shorewall.net/pub/shorewall/5.0/shorewall-5.0.13/patch-5.0.13.2 \
http://www.shorewall.net/pub/shorewall/5.0/shorewall-5.0.13/patch-5.0.13.3 \
http://www.shorewall.net/pub/shorewall/5.0/shorewall-5.0.13/patch-5.0.13.4"
MD5SUM="255e577cbd1627ec115c25531038ab65 \
471d50fb2abdca8997b4c5ae60e0694b \
aca791a31a7925354a10b4a7bdf30a23 \
c3fce14fd77ee7d98b4c5ecab55304a6 \
577e603d79af76cf2fd8f4de18620d70"
DOWNLOAD="http://www.shorewall.net/pub/shorewall/5.0/shorewall-5.0.15/shorewall-5.0.15.3.tar.bz2"
MD5SUM="b789a2c6897eb0d3759994c61c9f4bb6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="shorewall-core"