diff options
author | B. Watson <yalhcru@gmail.com> | 2019-12-19 07:42:34 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-21 11:02:46 +0700 |
commit | b47e89f0650d65018180a16cb46de92a1274fd2c (patch) | |
tree | 29a3c2f83eedaad8db7127b6f364faafe49a636c /accessibility | |
parent | a399bd9fe5940198d6a9b4b205c116d44f135bdb (diff) |
accessibility/pastebinit: Change default config.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/pastebinit/README | 6 | ||||
-rw-r--r-- | accessibility/pastebinit/pastebinit.SlackBuild | 16 |
2 files changed, 15 insertions, 7 deletions
diff --git a/accessibility/pastebinit/README b/accessibility/pastebinit/README index 4a299f15e8a9..0b4942591ba0 100644 --- a/accessibility/pastebinit/README +++ b/accessibility/pastebinit/README @@ -4,3 +4,9 @@ pastebinit is a small python script that simply sends whatever you give it to an online pastebin and gives you the URL in return. It's useful when doing IRC support (when you don't want one to paste a 200 lines log) or when working on a command line box with no way to SSH in it. + +Maintainer's note: as of 2019-12-19, of the 13 pastebin sites supported +by pastebinit, only these work: dpaste.com paste.openstack.org +paste.ubuntu.com pastebin.com slexy.org sprunge.us + +The default pastebin (with no -b option) is sprunge.us. diff --git a/accessibility/pastebinit/pastebinit.SlackBuild b/accessibility/pastebinit/pastebinit.SlackBuild index 52fd9aa5f7b7..0731cd40fec5 100644 --- a/accessibility/pastebinit/pastebinit.SlackBuild +++ b/accessibility/pastebinit/pastebinit.SlackBuild @@ -6,6 +6,11 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20191219 bkw: +# - BUILD=2 +# - Make sprunge.us actually be the default (broken sed command!) +# - Add note to README about which services still work. + # 20150116 bkw: # - Fix shebang line so python3 isn't required. # - Change default server to sprunge.us, since we now get @@ -14,7 +19,7 @@ PRGNAM=pastebinit VERSION=${VERSION:-1.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch @@ -33,11 +38,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 {} \+ # Get rid of the fixmes in the man page. patch -p1 < $CWD/manpagefix.diff @@ -45,7 +47,7 @@ patch -p1 < $CWD/manpagefix.diff # 20150116 bkw: sed -i \ -e '1s,python3$,python,' \ - -e '/^defaultPB/s,"http:.*,"http://sprunge.us",' \ + -e '/^defaultPB/s,=.*,= "sprunge.us",' \ $PRGNAM mkdir -p \ |