summaryrefslogtreecommitdiffstats
path: root/network/dante/dante.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-09-11 02:19:43 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:23 +0700
commitae6d3087723af026f227605f1beb51d6a5e6b5b2 (patch)
tree10b813f692018e08e0063e5695107b47192ca01a /network/dante/dante.SlackBuild
parent4e04ed36220bdbed5c34769218a75b4064e4ba23 (diff)
downloadslackbuilds-ae6d3087723af026f227605f1beb51d6a5e6b5b2.tar.gz
slackbuilds-ae6d3087723af026f227605f1beb51d6a5e6b5b2.tar.xz
network/dante: Updated for version 1.4.3.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dante/dante.SlackBuild')
-rw-r--r--network/dante/dante.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/network/dante/dante.SlackBuild b/network/dante/dante.SlackBuild
index 55078411e4..543149aa21 100644
--- a/network/dante/dante.SlackBuild
+++ b/network/dante/dante.SlackBuild
@@ -11,7 +11,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dante
-VERSION=${VERSION:-1.4.2}
+VERSION=${VERSION:-1.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -24,9 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -59,11 +56,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-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 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \