summaryrefslogtreecommitdiff
path: root/source/n
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-07-24 19:27:45 +0000
committerEric Hameleers <alien@slackware.com>2019-07-25 08:59:59 +0200
commit652e0a15cf4aa30541c94f5f4f7993030fc267d1 (patch)
tree97a7fd7653f9f22685107b97836f1c62a514f970 /source/n
parent15c3cf50ae87e1c630c904f9a20a59e675772582 (diff)
downloadcurrent-652e0a15cf4aa30541c94f5f4f7993030fc267d1.tar.gz
Wed Jul 24 19:27:45 UTC 201920190724192745
d/python-pip-19.2.1-x86_64-1.txz: Upgraded. d/subversion-1.12.2-x86_64-1.txz: Upgraded. l/glib2-2.60.6-x86_64-1.txz: Upgraded. l/python-docutils-0.15-x86_64-1.txz: Upgraded. n/whois-5.5.0-x86_64-1.txz: Upgraded. x/glu-9.0.1-x86_64-1.txz: Upgraded. xfce/xfce4-terminal-0.8.8-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/n')
-rwxr-xr-xsource/n/whois/whois.SlackBuild7
-rw-r--r--source/n/whois/whois.url1
2 files changed, 4 insertions, 4 deletions
diff --git a/source/n/whois/whois.SlackBuild b/source/n/whois/whois.SlackBuild
index 8485fe7a..865a1ad6 100755
--- a/source/n/whois/whois.SlackBuild
+++ b/source/n/whois/whois.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2011, 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=whois
-VERSION=${VERSION:-$(echo ${PKGNAM}_*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d _ | rev)}
+VERSION=${VERSION:-$(echo ${PKGNAM}-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
# Automatically determine architecture for build & packaging:
@@ -50,7 +50,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf whois-$VERSION
-tar xvf $CWD/whois_$VERSION.tar.?z* || exit 1
+tar xvf $CWD/whois-$VERSION.tar.?z || exit 1
cd whois-$VERSION
chown -R root:root .
find . \
@@ -84,4 +84,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/whois-$VERSION-$ARCH-$BUILD.txz
-
diff --git a/source/n/whois/whois.url b/source/n/whois/whois.url
new file mode 100644
index 00000000..facf8278
--- /dev/null
+++ b/source/n/whois/whois.url
@@ -0,0 +1 @@
+https://github.com/rfc1036/whois