diff --git a/accessibility/pastebinit/README b/accessibility/pastebinit/README
index 31086d7998..6c7603d8f4 100644
--- a/accessibility/pastebinit/README
+++ b/accessibility/pastebinit/README
@@ -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.
diff --git a/accessibility/pastebinit/manpagefix.diff b/accessibility/pastebinit/manpagefix.diff
index 81342412f3..bdc7deee4c 100644
--- a/accessibility/pastebinit/manpagefix.diff
+++ b/accessibility/pastebinit/manpagefix.diff
@@ -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 @@
@@ -10,3 +10,12 @@ diff -Naur pastebinit-1.6.2/pastebinit.xml pastebinit-1.6.2.patched/pastebinit.x
&dhucpackage;
&dhsection;
+@@ -63,7 +63,7 @@
+
+
+
+- (default is distro-specific with a fallback to bpa.st)
++ (default dpaste.org)
+
+
+
diff --git a/accessibility/pastebinit/pastebinit.SlackBuild b/accessibility/pastebinit/pastebinit.SlackBuild
index 0c035482ea..196411199c 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.
+# 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
diff --git a/accessibility/pastebinit/pastebinit.info b/accessibility/pastebinit/pastebinit.info
index 74e9d4b487..740476ee83 100644
--- a/accessibility/pastebinit/pastebinit.info
+++ b/accessibility/pastebinit/pastebinit.info
@@ -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"