summaryrefslogtreecommitdiff
path: root/network/firehol/firehol.SlackBuild
diff options
context:
space:
mode:
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 28fc8588e0..8b0fcc57fb 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/