mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/shorewall: Updated for version 5.0.15.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ff3ee1862d
commit
3d4309e072
3 changed files with 9 additions and 27 deletions
|
@ -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
|
The Shoreline Firewall, more commonly known as "Shorewall", is a Netfilter
|
||||||
(iptables) based firewall that can be used on a dedicated firewall system, a
|
(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.
|
multi-function gateway/router/server or on a standalone GNU/Linux system.
|
||||||
|
|
||||||
As of version 4.5, shorewall consists of 3 packages:
|
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
|
* shorewall, the IPv4 component
|
||||||
* shorewall6, the IPv6 component
|
* shorewall6, the IPv6 component
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# vim: et ts=2 sw=2
|
|
||||||
|
|
||||||
# Slackware build script for shorewall-common
|
# Slackware build script for shorewall-common
|
||||||
|
|
||||||
|
@ -24,19 +23,19 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=shorewall
|
PRGNAM=shorewall
|
||||||
VERSION=${VERSION:-5.0.13.4}
|
VERSION=${VERSION:-5.0.15.3}
|
||||||
ARCH=noarch
|
ARCH=noarch
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
BASEVERS=5.0.13
|
BASEVERS=$VERSION
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
@ -46,13 +45,6 @@ tar xvf $CWD/$PRGNAM-$BASEVERS.tar.bz2
|
||||||
cd $TMP/$PRGNAM-$BASEVERS
|
cd $TMP/$PRGNAM-$BASEVERS
|
||||||
chown -R root:root .
|
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
|
./configure
|
||||||
|
|
||||||
DESTDIR=$PKG \
|
DESTDIR=$PKG \
|
||||||
|
@ -72,9 +64,7 @@ chmod 0755 $PKG/{etc,usr/share,var/lib}/shorewall
|
||||||
chmod 0644 $PKG/etc/shorewall/* $PKG/etc/rc.d/*
|
chmod 0644 $PKG/etc/shorewall/* $PKG/etc/rc.d/*
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a COPYING INSTALL *.txt Samples $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
COPYING INSTALL changelog.txt releasenotes.txt known_problems.txt Samples \
|
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,16 +1,8 @@
|
||||||
PRGNAM="shorewall"
|
PRGNAM="shorewall"
|
||||||
VERSION="5.0.13.4"
|
VERSION="5.0.15.3"
|
||||||
HOMEPAGE="http://www.shorewall.net"
|
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 \
|
DOWNLOAD="http://www.shorewall.net/pub/shorewall/5.0/shorewall-5.0.15/shorewall-5.0.15.3.tar.bz2"
|
||||||
http://www.shorewall.net/pub/shorewall/5.0/shorewall-5.0.13/patch-5.0.13.1 \
|
MD5SUM="b789a2c6897eb0d3759994c61c9f4bb6"
|
||||||
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_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="shorewall-core"
|
REQUIRES="shorewall-core"
|
||||||
|
|
Loading…
Reference in a new issue