diff options
author | Brenton Earl <brent@exitstatusone.com> | 2016-07-22 01:34:08 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-24 07:27:50 +0700 |
commit | ccc72cee9c8953f50772749d0ded2600c3aa4b10 (patch) | |
tree | f1881f90beb99a97c2d0ba19860abfe19fae728c /network/ufw/ufw.SlackBuild | |
parent | 0a608a1e045c63e8b1968d3db3e3e70fafb7c293 (diff) |
network/ufw: Updated for version 0.35.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/ufw/ufw.SlackBuild')
-rw-r--r-- | network/ufw/ufw.SlackBuild | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/network/ufw/ufw.SlackBuild b/network/ufw/ufw.SlackBuild index e56edc662092..7882a0b57ec8 100644 --- a/network/ufw/ufw.SlackBuild +++ b/network/ufw/ufw.SlackBuild @@ -1,15 +1,38 @@ #!/bin/sh + # Slackware build script for ufw -# Written by Marco Cecchetti (mrc.ildp@gmail.com) + +# Copyright 2010 Marco Cecchetti <mrc.ildp@gmail.com> +# Copyright 2013 Ricardson Williams <ricardsonwilliams@gmail.com> +# Copyright 2014-2015 Rodolfo Gouveia <rgouveia@cosmico.net> +# Copyright 2016 Brenton Earl <brent@exitstatusone.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ufw -VERSION=${VERSION:-0.33} +VERSION=${VERSION:-0.35} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -21,6 +44,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -34,7 +58,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -zcat $CWD/ufw.conf.patch.gz | patch -p1 --verbose +patch -p1 --verbose < $CWD/ufw.conf.patch +patch -p1 --verbose < $CWD/ufw-0.35-fix-iptables-path.patch python setup.py install --root=$PKG |