summaryrefslogtreecommitdiff
path: root/net/md-whois
diff options
context:
space:
mode:
authorotis <otis@pkgsrc.org>2020-01-07 13:13:02 +0000
committerotis <otis@pkgsrc.org>2020-01-07 13:13:02 +0000
commit608f5e71cf75be1ed55f25588bc0f1a3a0e0ce94 (patch)
tree065e5c5cd2e4f169d0f97d58ac46f783afab807d /net/md-whois
parenta1a7e2ec5e4f687f3bd82f3e1e59ff8c402c5cee (diff)
downloadpkgsrc-608f5e71cf75be1ed55f25588bc0f1a3a0e0ce94.tar.gz
Update net/md-whois to 5.5.4
Complete changelog leading from 5.0.11 to 5.5.4 at: https://github.com/rfc1036/whois/blob/v5.5.4/debian/changelog
Diffstat (limited to 'net/md-whois')
-rw-r--r--net/md-whois/Makefile18
-rw-r--r--net/md-whois/distinfo12
-rw-r--r--net/md-whois/patches/patch-mkpasswd.c12
-rw-r--r--net/md-whois/patches/patch-whois.c12
4 files changed, 16 insertions, 38 deletions
diff --git a/net/md-whois/Makefile b/net/md-whois/Makefile
index c31d3ecd1cd..48ce5b09f1b 100644
--- a/net/md-whois/Makefile
+++ b/net/md-whois/Makefile
@@ -1,24 +1,27 @@
-# $NetBSD: Makefile,v 1.31 2019/08/11 13:22:10 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2020/01/07 13:13:02 otis Exp $
#
# todo: set location of [md-]whois.conf and fix in man page too
# todo: build and install the po/ files and add to PLIST
# todo: add choice for mk/defaults/mk.conf to define name prefix
# (defaults to "md-" to distinguish from other whois clients) and adjust PLIST
-DISTNAME= whois_${VERSION}
-PKGNAME= md-whois-${VERSION}
-PKGREVISION= 7
+GITHUB_PROJECT= whois
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= md-whois-${VERSION}
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/w/whois/}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=rfc1036/}
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.linux.it/~md/software/
COMMENT= Improved whois client
+LICENSE= gnu-gpl-v2
-VERSION= 5.0.11
+VERSION= 5.5.4
WRKSRC= ${WRKDIR}/whois-${VERSION}
-USE_TOOLS+= gmake perl
+USE_TOOLS+= gmake perl pkg-config
+
+LDFLAGS.SunOS+= -lnsl -lsocket
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
@@ -33,4 +36,5 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/whois.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/md-whois.1
+.include "../../devel/libidn2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/md-whois/distinfo b/net/md-whois/distinfo
index 54b32dc2629..3e39d7f59d5 100644
--- a/net/md-whois/distinfo
+++ b/net/md-whois/distinfo
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.13 2017/02/17 17:10:37 joerg Exp $
+$NetBSD: distinfo,v 1.14 2020/01/07 13:13:02 otis Exp $
-SHA1 (whois_5.0.11.tar.gz) = 435770400fbccd0066af62a85e2028420e43ca4b
-RMD160 (whois_5.0.11.tar.gz) = c1b4fecf6759aafe54b0b05ff32a0fc9503ea0de
-SHA512 (whois_5.0.11.tar.gz) = 7ea67bbe7633c28db2691bb29ecb8dd8c6f371e8aee70e699bee8cc1541655f28d9700c8096382e8eb6254f710c1ab4698a00b9a03fcd359136e3d1b24bbc242
-Size (whois_5.0.11.tar.gz) = 81195 bytes
-SHA1 (patch-mkpasswd.c) = 0c5215e4c550bc5e6e141634abcaa58435526d65
-SHA1 (patch-whois.c) = bdffdee06694aab1738065e52bfb17c46289fc1d
+SHA1 (md-whois-5.5.4.tar.gz) = 76d4e7530d88e860dbfd10406d67683bc4c7a794
+RMD160 (md-whois-5.5.4.tar.gz) = 80c1224e1540012c4b317fe426d57f38fcd34b7e
+SHA512 (md-whois-5.5.4.tar.gz) = f2fa92dc9490356c3584c2f9ac4e443dd4f57fbbeb0499fefc80af62665b886cb19d33ca55c5a8a0f9378588a646dfbd4dfda4da6c55681ba974b49ed93208d7
+Size (md-whois-5.5.4.tar.gz) = 103246 bytes
diff --git a/net/md-whois/patches/patch-mkpasswd.c b/net/md-whois/patches/patch-mkpasswd.c
deleted file mode 100644
index 3edf65ba40f..00000000000
--- a/net/md-whois/patches/patch-mkpasswd.c
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-mkpasswd.c,v 1.1 2017/02/17 17:10:37 joerg Exp $
-
---- mkpasswd.c.orig 2017-02-17 12:01:45.221231875 +0000
-+++ mkpasswd.c
-@@ -30,6 +30,7 @@
- #endif
- #include <fcntl.h>
- #include <string.h>
-+#include <strings.h>
- #include <time.h>
- #include <sys/types.h>
- #ifdef HAVE_XCRYPT
diff --git a/net/md-whois/patches/patch-whois.c b/net/md-whois/patches/patch-whois.c
deleted file mode 100644
index c4c442af3ef..00000000000
--- a/net/md-whois/patches/patch-whois.c
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-whois.c,v 1.1 2017/02/17 17:10:37 joerg Exp $
-
---- whois.c.orig 2017-02-17 12:02:02.670565721 +0000
-+++ whois.c
-@@ -19,6 +19,7 @@
- #include <string.h>
- #include <ctype.h>
- #include <sys/types.h>
-+#include <sys/time.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <netdb.h>