aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-03 14:34:09 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:58 +0700
commitf0a6b101fa63539d705967ac8ed992b8dfed233e (patch)
tree1fb8029ae6afb0f979330dcc3114e3d4ed5bd5e4
parentecd4b6d9404cabd6365ddde3d6bd6223cbc145d4 (diff)
development/ltrace: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/ltrace/ltrace.SlackBuild10
-rw-r--r--development/ltrace/ltrace.info6
2 files changed, 5 insertions, 11 deletions
diff --git a/development/ltrace/ltrace.SlackBuild b/development/ltrace/ltrace.SlackBuild
index c346613c5521..d830d97ff188 100644
--- a/development/ltrace/ltrace.SlackBuild
+++ b/development/ltrace/ltrace.SlackBuild
@@ -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
@@ -64,11 +61,8 @@ tar xvf $CWD/${PRGNAM}_$SRCVER.orig.tar.bz2
cd $PRGNAM-$SRCVER
tar xvf $CWD/${PRGNAM}_$SRCVER-$DEBVER.debian.tar.?z debian/patches
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 {} \+
# apply Debian's patches, which fix a few bugs.
for i in $( cat debian/patches/series ); do
diff --git a/development/ltrace/ltrace.info b/development/ltrace/ltrace.info
index f170aad40645..25c259afd6cb 100644
--- a/development/ltrace/ltrace.info
+++ b/development/ltrace/ltrace.info
@@ -1,8 +1,8 @@
PRGNAM="ltrace"
VERSION="0.7.3_6"
-HOMEPAGE="http://ltrace.org/"
-DOWNLOAD="http://ltrace.org/ltrace_0.7.3.orig.tar.bz2 \
- http://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.7.3-6.debian.tar.xz"
+HOMEPAGE="https://ltrace.org/"
+DOWNLOAD="https://ltrace.org/ltrace_0.7.3.orig.tar.bz2 \
+ https://deb.debian.org/debian/pool/main/l/ltrace/ltrace_0.7.3-6.debian.tar.xz"
MD5SUM="b3dd199af8f18637f7d4ef97fdfb9d14 \
c4b0aa923d25b5828720157fd99c3a20"
DOWNLOAD_x86_64=""