mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
accessibility/pastebinit: Updated for version 1.7.0.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
09877ba700
commit
8c81428b77
4 changed files with 28 additions and 12 deletions
|
@ -6,10 +6,12 @@ useful when doing IRC support (when you don't want one to paste a 200
|
|||
line log) or when working on a command line box with no way to SSH
|
||||
to it.
|
||||
|
||||
Maintainer's note: as of 2019-12-19, of the 10 pastebin sites
|
||||
currently supported by pastebinit, two of them didn't work in
|
||||
Maintainer's note: as of 2024-08-14, of the 12 pastebin sites
|
||||
currently supported by pastebinit, four of them didn't work in
|
||||
the SlackBuild author's testing:
|
||||
- bpa.st (404 error)
|
||||
- sprunge.us (404 error)
|
||||
- paste.debian.net (redirects to the main page)
|
||||
- paste.ubuntu.com (may work if you create an account and log in?)
|
||||
|
||||
The default pastebin (with no -b option) is sprunge.us.
|
||||
The default pastebin (with no -b option) is dpaste.org.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
diff -Naur pastebinit-1.6.2/pastebinit.xml pastebinit-1.6.2.patched/pastebinit.xml
|
||||
--- pastebinit-1.6.2/pastebinit.xml 2022-11-14 16:33:28.000000000 -0500
|
||||
+++ pastebinit-1.6.2.patched/pastebinit.xml 2024-02-09 17:49:40.311102351 -0500
|
||||
diff -Naur pastebinit-1.7.0/pastebinit.xml pastebinit-1.7.0.patched/pastebinit.xml
|
||||
--- pastebinit-1.7.0/pastebinit.xml 2024-05-13 15:39:15.000000000 -0400
|
||||
+++ pastebinit-1.7.0.patched/pastebinit.xml 2024-08-14 16:22:04.570987572 -0400
|
||||
@@ -29,7 +29,7 @@
|
||||
</refentryinfo>
|
||||
<refmeta>
|
||||
|
@ -10,3 +10,12 @@ diff -Naur pastebinit-1.6.2/pastebinit.xml pastebinit-1.6.2.patched/pastebinit.x
|
|||
&dhucpackage;
|
||||
&dhsection;
|
||||
</refmeta>
|
||||
@@ -63,7 +63,7 @@
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><option>-b <arg>pastebin</arg></option>
|
||||
- (default is distro-specific with a fallback to bpa.st)</term>
|
||||
+ (default dpaste.org)</term>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><option>-i <arg>input file</arg></option></term>
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# 20240814 bkw: update for v1.7.0 (from launchpad).
|
||||
# - Change the default service to dpaste.org. Apparently sprunge.us
|
||||
# is broken for everyone right now, even the main page http://sprunge.us
|
||||
# in a browser gives us 404 not found.
|
||||
|
||||
# 20240209 bkw: update for v1.6.2. Not sure if this is from the
|
||||
# original author or not; it's from launchpad.net, and is the
|
||||
# version that's in Ubuntu these days. It also has more working
|
||||
|
@ -27,7 +32,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=pastebinit
|
||||
VERSION=${VERSION:-1.6.2}
|
||||
VERSION=${VERSION:-1.7.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -60,7 +65,7 @@ patch -p1 < $CWD/manpagefix.diff
|
|||
|
||||
# 20150116 bkw:
|
||||
sed -i \
|
||||
-e '/^defaultPB/s,=.*,= "sprunge.us",' \
|
||||
-e '/^defaultPB/s,=.*,= "dpaste.org",' \
|
||||
$PRGNAM
|
||||
|
||||
mkdir -p \
|
||||
|
@ -95,7 +100,7 @@ ln -s pbput.1.gz $PKG/usr/man/man1/pbget.1.gz
|
|||
ln -s pbput.1.gz $PKG/usr/man/man1/pbputs.1.gz
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING* README* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="pastebinit"
|
||||
VERSION="1.6.2"
|
||||
VERSION="1.7.0"
|
||||
HOMEPAGE="https://launchpad.net/pastebinit/"
|
||||
DOWNLOAD="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/pastebinit/1.6.2-1/pastebinit_1.6.2.orig.tar.gz"
|
||||
MD5SUM="de92c23c80a1e9ce01e37abdef19546d"
|
||||
DOWNLOAD="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/pastebinit/1.7.0-1/pastebinit_1.7.0.orig.tar.gz"
|
||||
MD5SUM="f7c4304b4775374bd6ff0c528922258c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="configobj"
|
||||
|
|
Loading…
Reference in a new issue