summaryrefslogtreecommitdiffstats
path: root/accessibility/wgetpaste/wgetpaste.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/wgetpaste/wgetpaste.SlackBuild')
-rw-r--r--accessibility/wgetpaste/wgetpaste.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/accessibility/wgetpaste/wgetpaste.SlackBuild b/accessibility/wgetpaste/wgetpaste.SlackBuild
index d0c0847775..2ae4b9c2bd 100644
--- a/accessibility/wgetpaste/wgetpaste.SlackBuild
+++ b/accessibility/wgetpaste/wgetpaste.SlackBuild
@@ -6,6 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20201024 bkw: Attempted update for v2.30, but it appears to be
+# broken. The default dpaste service works fine in 2.29 and not
+# at all in 2.30. Only reason I'm "updating" the build is to add
+# comments here and in the README.
+
+# 20191130 bkw: update for v2.29. Currently only dpaste works.
+
# 20140818 bkw:
# - Updated to 2.25.
# - Rewrote man page in pod.
@@ -31,7 +38,7 @@
# - Really remove no_gentooisms.diff.
PRGNAM=wgetpaste
-VERSION=${VERSION:-2.28}
+VERSION=${VERSION:-2.29}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,11 +60,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 {} \+
# Un-gentoo-ize the help and error messages, use wgetpaste_info for the
# -i and -I options.