summaryrefslogtreecommitdiffstats
path: root/system/makepasswd
diff options
context:
space:
mode:
author B. Watson2017-07-16 20:42:05 +0200
committer Willy Sudiarto Raharjo2017-07-22 01:55:23 +0200
commit632a6f7e1287a56e61d88be0f999674ca70022a6 (patch)
treea9822851977d5fc637e3147ecb3d0c9b49c136b4 /system/makepasswd
parent7bfa6e1909da4266b6e2c008336cec51f3cd89ad (diff)
downloadslackbuilds-632a6f7e1287a56e61d88be0f999674ca70022a6.tar.gz
system/makepasswd: Switch to github URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/makepasswd')
-rw-r--r--system/makepasswd/makepasswd.SlackBuild10
-rw-r--r--system/makepasswd/makepasswd.info6
2 files changed, 10 insertions, 6 deletions
diff --git a/system/makepasswd/makepasswd.SlackBuild b/system/makepasswd/makepasswd.SlackBuild
index 27d0a4e0d3..cf6133605a 100644
--- a/system/makepasswd/makepasswd.SlackBuild
+++ b/system/makepasswd/makepasswd.SlackBuild
@@ -8,6 +8,8 @@
# had no license, modified version released under the WTFPL. See
# http://www.wtfpl.net/txt/copying/ for details.
+# 20170716 bkw: switch to github URLs.
+
# 20170210 bkw:
# - Take over maintenance
# - Update for v0.5.4
@@ -49,12 +51,14 @@ fi
set -e
+TARNAM=$PRGNAM-${PRGNAM}_${VERSION//./-}
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $TARNAM
+tar xvf $CWD/$TARNAM.tar.gz
+cd $TARNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/system/makepasswd/makepasswd.info b/system/makepasswd/makepasswd.info
index eb13809c83..783e697388 100644
--- a/system/makepasswd/makepasswd.info
+++ b/system/makepasswd/makepasswd.info
@@ -1,8 +1,8 @@
PRGNAM="makepasswd"
VERSION="0.5.4"
-HOMEPAGE="https://repology.org/metapackage/makepasswd/information"
-DOWNLOAD="https://fossies.org/linux/privat/makepasswd-0.5.4.tar.gz"
-MD5SUM="c3cf95279f2721c2b5bd5731c0e80d34"
+HOMEPAGE="https://github.com/khorben/makepasswd/"
+DOWNLOAD="https://github.com/khorben/makepasswd/archive/makepasswd_0-5-4/makepasswd-makepasswd_0-5-4.tar.gz"
+MD5SUM="65353119c22c77c2edafc8effeaaf442"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""