accessibility/wgetpaste: Updated for version 2.22.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
B. Watson 2013-06-15 15:15:52 -03:00 committed by Niels Horn
parent 5c8258f039
commit ce723e07e7
4 changed files with 5 additions and 23 deletions

View file

@ -1,12 +0,0 @@
diff -Naur wgetpaste-2.20/wgetpaste wgetpaste-2.20.patched/wgetpaste
--- wgetpaste-2.20/wgetpaste 2012-05-05 15:15:32.000000000 -0400
+++ wgetpaste-2.20.patched/wgetpaste 2012-12-20 18:41:01.000000000 -0500
@@ -634,7 +634,7 @@
load_configs
[[ $SERVICESET ]] && verifyservice "$SERVICESET" && SERVICE=$(escape "$SERVICESET")
DEFAULT_NICK=${DEFAULT_NICK:-$(whoami)} || die "whoami failed"
-DEFAULT_SERVICE=${DEFAULT_SERVICE:-gists}
+DEFAULT_SERVICE=${DEFAULT_SERVICE:-dpaste}
DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-Plain Text}
DEFAULT_EXPIRATION=${DEFAULT_EXPIRATION:-1 month}
SERVICE=${SERVICE:-${DEFAULT_SERVICE}}

View file

@ -15,7 +15,7 @@ set language (defaults to "Plain Text")
set nick (defaults to your username) set nick (defaults to your username)
.TP .TP
\fB\-s\fR, \fB\-\-service\fR SERVICE \fB\-s\fR, \fB\-\-service\fR SERVICE
set service to use (defaults to "dpaste") set service to use (defaults to "bpaste")
.TP .TP
\fB\-e\fR, \fB\-\-expiration\fR EXPIRATION \fB\-e\fR, \fB\-\-expiration\fR EXPIRATION
set when it should expire (defaults to "30 days") set when it should expire (defaults to "30 days")

View file

@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details. # Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
PRGNAM=wgetpaste PRGNAM=wgetpaste
VERSION=${VERSION:-2.20} VERSION=${VERSION:-2.22}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -29,12 +29,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
# The default pastebin is gists, which isn't actually working today. Never
# used it myself so I dunno if it's a temporary thing or a bug in wgetpaste
# or what. Older wgetpaste defaults to dpaste, which still works fine, so
# let's make that the default.
patch -p1 < $CWD/dpaste_default.diff
# x11-misc/xclip => xclip # x11-misc/xclip => xclip
# 'emerge --info' => wgetpaste_info # 'emerge --info' => wgetpaste_info
patch -p1 < $CWD/no_gentooisms.diff patch -p1 < $CWD/no_gentooisms.diff

View file

@ -1,8 +1,8 @@
PRGNAM="wgetpaste" PRGNAM="wgetpaste"
VERSION="2.20" VERSION="2.22"
HOMEPAGE="http://wgetpaste.zlin.dk/" HOMEPAGE="http://wgetpaste.zlin.dk/"
DOWNLOAD="http://wgetpaste.zlin.dk/wgetpaste-2.20.tar.bz2" DOWNLOAD="http://wgetpaste.zlin.dk/wgetpaste-2.22.tar.bz2"
MD5SUM="4c7259e626d834af1e51719bc9df0898" MD5SUM="413e9faf02b044d56ce454fcd90cecbf"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""