summaryrefslogtreecommitdiff
path: root/accessibility/wgetpaste
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2013-06-15 15:15:52 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-15 15:15:52 -0300
commitce723e07e72bd8bcd4315fb32702dd683adaccd4 (patch)
treeb49076c73fb7704e2ec486849c04b9923a64d4a1 /accessibility/wgetpaste
parent5c8258f0390b26cb692579d88e10ed1242f9a2f1 (diff)
downloadslackbuilds-ce723e07e72bd8bcd4315fb32702dd683adaccd4.tar.gz
accessibility/wgetpaste: Updated for version 2.22.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'accessibility/wgetpaste')
-rw-r--r--accessibility/wgetpaste/dpaste_default.diff12
-rw-r--r--accessibility/wgetpaste/wgetpaste.12
-rw-r--r--accessibility/wgetpaste/wgetpaste.SlackBuild8
-rw-r--r--accessibility/wgetpaste/wgetpaste.info6
4 files changed, 5 insertions, 23 deletions
diff --git a/accessibility/wgetpaste/dpaste_default.diff b/accessibility/wgetpaste/dpaste_default.diff
deleted file mode 100644
index 156c531b2e..0000000000
--- a/accessibility/wgetpaste/dpaste_default.diff
+++ /dev/null
@@ -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}}
diff --git a/accessibility/wgetpaste/wgetpaste.1 b/accessibility/wgetpaste/wgetpaste.1
index 10b073adbc..c90e11b84e 100644
--- a/accessibility/wgetpaste/wgetpaste.1
+++ b/accessibility/wgetpaste/wgetpaste.1
@@ -15,7 +15,7 @@ set language (defaults to "Plain Text")
set nick (defaults to your username)
.TP
\fB\-s\fR, \fB\-\-service\fR SERVICE
-set service to use (defaults to "dpaste")
+set service to use (defaults to "bpaste")
.TP
\fB\-e\fR, \fB\-\-expiration\fR EXPIRATION
set when it should expire (defaults to "30 days")
diff --git a/accessibility/wgetpaste/wgetpaste.SlackBuild b/accessibility/wgetpaste/wgetpaste.SlackBuild
index ce6498125d..4253cb3ab0 100644
--- a/accessibility/wgetpaste/wgetpaste.SlackBuild
+++ b/accessibility/wgetpaste/wgetpaste.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
PRGNAM=wgetpaste
-VERSION=${VERSION:-2.20}
+VERSION=${VERSION:-2.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -29,12 +29,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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
# 'emerge --info' => wgetpaste_info
patch -p1 < $CWD/no_gentooisms.diff
diff --git a/accessibility/wgetpaste/wgetpaste.info b/accessibility/wgetpaste/wgetpaste.info
index b5bb8a7ff3..81db9d677a 100644
--- a/accessibility/wgetpaste/wgetpaste.info
+++ b/accessibility/wgetpaste/wgetpaste.info
@@ -1,8 +1,8 @@
PRGNAM="wgetpaste"
-VERSION="2.20"
+VERSION="2.22"
HOMEPAGE="http://wgetpaste.zlin.dk/"
-DOWNLOAD="http://wgetpaste.zlin.dk/wgetpaste-2.20.tar.bz2"
-MD5SUM="4c7259e626d834af1e51719bc9df0898"
+DOWNLOAD="http://wgetpaste.zlin.dk/wgetpaste-2.22.tar.bz2"
+MD5SUM="413e9faf02b044d56ce454fcd90cecbf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""