aboutsummaryrefslogtreecommitdiff
path: root/network/tnftp
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-26 01:47:32 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:26 +0700
commit9ac3599907eea24f9ebf58e4e562557624d737ca (patch)
tree6b171a34163f5ba93799de1bc9320ce73fbfccf9 /network/tnftp
parent201397b12bc8bfb9c1347b2d4e8c9155536a9b59 (diff)
network/tnftp: Updated for version 20210827.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/tnftp')
-rw-r--r--network/tnftp/tnftp.SlackBuild8
-rw-r--r--network/tnftp/tnftp.info8
2 files changed, 8 insertions, 8 deletions
diff --git a/network/tnftp/tnftp.SlackBuild b/network/tnftp/tnftp.SlackBuild
index 741d9d447786..6f4bf9ddf469 100644
--- a/network/tnftp/tnftp.SlackBuild
+++ b/network/tnftp/tnftp.SlackBuild
@@ -23,6 +23,7 @@
# Now maintained by B. Watson <yalhcru@gmail.com>.
+# 20210926 bkw: update for v20210827.
# 20201024 bkw: update for v20200705.
# 20180629 bkw:
# - Take over maintenance.
@@ -33,7 +34,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tnftp
-VERSION=${VERSION:-20200705}
+VERSION=${VERSION:-20210827}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -46,9 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -123,6 +121,7 @@ gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mv $PKG/usr/bin/$PRGNAM $PKG/usr/bin/$PRGNAM.ipv6
ln -s $PRGNAM.ipv6 $PKG/usr/bin/$PRGNAM
+ln -s $PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.ipv6.1.gz
# 2nd build, with socks but no ipv6, if dante is installed and
# the user hasn't set SOCKS=no. Only the binary needs to be
@@ -133,6 +132,7 @@ if [ "${SOCKS:-yes}" = "yes" -a -e /usr/include/socks.h ]; then
runconfig --disable-ipv6 --with-socks
make
install -s src/$PRGNAM $PKG/usr/bin/$PRGNAM.socks
+ ln -s $PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.socks.1.gz
else
WITHSOCKS="without"
fi
diff --git a/network/tnftp/tnftp.info b/network/tnftp/tnftp.info
index 61ac2b566be5..eee323805dbf 100644
--- a/network/tnftp/tnftp.info
+++ b/network/tnftp/tnftp.info
@@ -1,8 +1,8 @@
PRGNAM="tnftp"
-VERSION="20200705"
-HOMEPAGE="ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp"
-DOWNLOAD="ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/tnftp-20200705.tar.gz"
-MD5SUM="fc6a6bfa3d14005b3275b5508c47b8e9"
+VERSION="20210827"
+HOMEPAGE="https://ftp.netbsd.org/pub/NetBSD/misc/lukemftp"
+DOWNLOAD="https://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/tnftp-20210827.tar.gz"
+MD5SUM="fdb6dd1b53dca79148c395b77c6dba5a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""