summaryrefslogtreecommitdiffstats
path: root/audio/podget
diff options
context:
space:
mode:
Diffstat (limited to 'audio/podget')
-rw-r--r--audio/podget/podget.SlackBuild41
-rw-r--r--audio/podget/podget.info10
2 files changed, 28 insertions, 23 deletions
diff --git a/audio/podget/podget.SlackBuild b/audio/podget/podget.SlackBuild
index 10bef95b61..9639890cc9 100644
--- a/audio/podget/podget.SlackBuild
+++ b/audio/podget/podget.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for podget
@@ -21,6 +21,14 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Note to self: the "?viafs=1" in the download URL is required because
+# wget insists on saving the file with that in the name. Annoying, try
+# to fix later.
+
+# 20240317 bkw: update for v0.9.3
+# 20230106 bkw: update for v0.9.0
+# 20211126 bkw: update for v0.8.10
+# 20210223 bkw: update for v0.8.8
# 20201103 bkw:
# - update for v0.8.7
# - fix CRLF removal
@@ -34,14 +42,21 @@
# - Get rid of CRLF line endings in a couple of the scripts
# - Minor cleanups
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=podget
-VERSION=${VERSION:-0.8.7}
+VERSION=${VERSION:-0.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -52,32 +67,22 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz*
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
# 20170712 bkw: get rid of DOS/Win line endings.
# 20201103 bkw: turns out there's an embedded \r in podget that's
# supposed to be there, so the regex becomes \r$ instead of \r.
find . -type f | \
xargs file | \
- grep 'ASCII.*LF' | \
+ grep 'ASCII.*CR' | \
cut -d: -f1 | \
xargs sed -i 's,\r$,,' \
|| true
-# 20200619 bkw: 14.2's creaky old bash 4.3 doesn't support
-# inherit_errexit, which is a feature of bash 4.4 and up. The sed
-# command below allows the script to run without it, which will change
-# some of the error handling a bit, but won't actually break anything
-# when there *aren't* errors. Previous versions of podget got along just
-# fine without inherit_errexit...
-# 20201103 bkw: upstream added checking code, this had to change some.
-sed -i '/shopt *inherit_errexit/,/shopt *-s *inherit_errexit/s,^,## ,' \
- $PRGNAM
-
# 20201103 bkw: change hardcoded paths
sed -i \
-e "s,share/man,man,g" \
@@ -95,4 +100,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/podget/podget.info b/audio/podget/podget.info
index 4b89f0738b..0e6d9f5126 100644
--- a/audio/podget/podget.info
+++ b/audio/podget/podget.info
@@ -1,10 +1,10 @@
PRGNAM="podget"
-VERSION="0.8.7"
-HOMEPAGE="http://podget.sourceforge.net/index.php"
-DOWNLOAD="http://downloads.sourceforge.net/podget/podget-0.8.7.tar.gz"
-MD5SUM="2b637cdebedd4e170dacb69bab1ec5db"
+VERSION="0.9.3"
+HOMEPAGE="https://podget.sourceforge.net/index.php"
+DOWNLOAD="https://downloads.sourceforge.net/podget/podget-0.9.3.tar.gz?viasf=1"
+MD5SUM="d0fa02532d314e1974cc56cf3b8fbd6a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"