aboutsummaryrefslogtreecommitdiff
path: root/network/firehol/firehol.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-14 08:39:56 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-13 20:17:26 -0600
commite0a837a765f8513d68c1e7772d16d3114c9c023b (patch)
tree96936701547965bdbbab0b6f2ecfc3d02a11e00e /network/firehol/firehol.SlackBuild
parentbfbbe8141108c950e87c90a5437d3aa6eb5b26a2 (diff)
network/firehol: Updated for version 1.296
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/firehol/firehol.SlackBuild')
-rw-r--r--network/firehol/firehol.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/network/firehol/firehol.SlackBuild b/network/firehol/firehol.SlackBuild
index 28fc8588e06ff..8b0fcc57fb780 100644
--- a/network/firehol/firehol.SlackBuild
+++ b/network/firehol/firehol.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=firehol
-VERSION=1.273
+VERSION=${VERSION:-1.296}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,10 +40,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvjf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# install the application
mkdir -p $PKG/usr/sbin/