summaryrefslogtreecommitdiffstats
path: root/network/shorewall6
diff options
context:
space:
mode:
Diffstat (limited to 'network/shorewall6')
-rw-r--r--network/shorewall6/README15
-rw-r--r--network/shorewall6/shorewall6.SlackBuild18
-rw-r--r--network/shorewall6/shorewall6.info8
3 files changed, 27 insertions, 14 deletions
diff --git a/network/shorewall6/README b/network/shorewall6/README
index 20e94d57ad..0a0309db2c 100644
--- a/network/shorewall6/README
+++ b/network/shorewall6/README
@@ -1,13 +1,16 @@
Shorewall (IPv6 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.
+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, containing 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
-The shorewall-core package is needed for both but now you can install the IPv6
-packages without needing the IPv4 one if you are on aIV6 network only.
+The shorewall-core package is needed for both but now you can install
+the IPv6 packages without needing the IPv4 one if you are on aIV6
+network only.
diff --git a/network/shorewall6/shorewall6.SlackBuild b/network/shorewall6/shorewall6.SlackBuild
index 8ce233e4ba..d79a09f8b0 100644
--- a/network/shorewall6/shorewall6.SlackBuild
+++ b/network/shorewall6/shorewall6.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for shorewall6
@@ -22,15 +22,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shorewall6
-VERSION=${VERSION:-5.2.3.3}
+VERSION=${VERSION:-5.2.8}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
BASEVERS=$VERSION
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,7 +91,7 @@ do
done
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
# Clean up the extra stuff:
if [ "$1" = "--cleanup" ]; then
diff --git a/network/shorewall6/shorewall6.info b/network/shorewall6/shorewall6.info
index 7f711fc6be..eca8a9b2a9 100644
--- a/network/shorewall6/shorewall6.info
+++ b/network/shorewall6/shorewall6.info
@@ -1,8 +1,8 @@
PRGNAM="shorewall6"
-VERSION="5.2.3.3"
-HOMEPAGE="http://www.shorewall.net"
-DOWNLOAD="http://www.shorewall.net/pub/shorewall/5.2/shorewall-5.2.3/shorewall6-5.2.3.3.tar.bz2"
-MD5SUM="7ab222b22fe5b8c97efdeb57c063cabe"
+VERSION="5.2.8"
+HOMEPAGE="https://shorewall.org"
+DOWNLOAD="https://shorewall.org/pub/shorewall/5.2/shorewall-5.2.8/shorewall6-5.2.8.tar.bz2"
+MD5SUM="4a9a2f55cd40bb2cc17dae0227350c4d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="shorewall-core"