From ae3417f3723eea2cb473ba7fc2fd9d020fd0ec75 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 24 Oct 2020 15:05:11 -0400 Subject: [PATCH] accessibility/wgetpaste: Update README. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- accessibility/wgetpaste/README | 9 +++++++-- accessibility/wgetpaste/wgetpaste.SlackBuild | 12 +++++++----- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/accessibility/wgetpaste/README b/accessibility/wgetpaste/README index 9fdbf4ad6c..748b245ebb 100644 --- a/accessibility/wgetpaste/README +++ b/accessibility/wgetpaste/README @@ -4,5 +4,10 @@ See /etc/wgetpaste.conf.sample for config options. If you want to use the -x, -X, -C options to wgetpaste, install xclip. -Please note: the "ca" and "bpaste" services are currently broken. The -default "dpaste" service works as of 20150125. +Notes: + +- The "codepad" and "gists" services are currently broken. The + "dpaste" (default) and "bpaste" services work as of 20201024. + +- There is a new release of wgetpaste (2.30), but *all* the services + are broken in 2.30, so it's useless to upgrade. diff --git a/accessibility/wgetpaste/wgetpaste.SlackBuild b/accessibility/wgetpaste/wgetpaste.SlackBuild index 997373bba6..2ae4b9c2bd 100644 --- a/accessibility/wgetpaste/wgetpaste.SlackBuild +++ b/accessibility/wgetpaste/wgetpaste.SlackBuild @@ -6,6 +6,11 @@ # 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: @@ -55,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.