svn commit: r446882 - head/net/whois
Danilo G. Baio
dbaio at FreeBSD.org
Sat Jul 29 16:03:55 UTC 2017
Author: dbaio
Date: Sat Jul 29 16:03:54 2017
New Revision: 446882
URL: https://svnweb.freebsd.org/changeset/ports/446882
Log:
net/whois: Update to 5.2.17
While here:
Convert to options target helper
Switch to Github release format
Update license
PR: 221078
Submitted by: Marco Steinbach <coco at executive-computing.de> (maintainer)
Modified:
head/net/whois/Makefile
head/net/whois/distinfo
Modified: head/net/whois/Makefile
==============================================================================
--- head/net/whois/Makefile Sat Jul 29 15:42:38 2017 (r446881)
+++ head/net/whois/Makefile Sat Jul 29 16:03:54 2017 (r446882)
@@ -2,14 +2,14 @@
# $FreeBSD$
PORTNAME= whois
-PORTVERSION= 5.1.5
-PORTREVISION= 1
+PORTVERSION= 5.2.17
+DISTVERSIONPREFIX= v
CATEGORIES= net
MAINTAINER= coco at executive-computing.de
COMMENT= Marco d'Itri whois client
-LICENSE= GPLv2
+LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= iconv gmake perl5
@@ -23,10 +23,7 @@ NLS_USES= gettext
USE_GITHUB= yes
GH_ACCOUNT= rfc1036
-GH_TAGNAME= d346ca6
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e "s|%%MWHOISCONF%%|${PREFIX}/etc/mwhois.conf|g" ${WRKSRC}/whois.1
@${REINPLACE_CMD} -e "s|%%MWHOIS%%|mwhois|g" ${WRKSRC}/whois.1
@@ -35,11 +32,11 @@ post-patch:
@${REINPLACE_CMD} -e "s|%%MWHOIS%%|mwhois|g" ${WRKSRC}/whois.conf.5
@${REINPLACE_CMD} -e "s|%%MWHOISCONF%%|${PREFIX}/etc/mwhois.conf|g" ${WRKSRC}/whois.conf.5
@${REINPLACE_CMD} -e "s|%%MWHOISCONF%%|${PREFIX}/etc/mwhois.conf|g" ${WRKSRC}/config.h
-.if ! ${PORT_OPTIONS:MNLS}
+
+post-patch-NLS-off:
@${REINPLACE_CMD} -e "s| pos||" -e "s| install-pos||" \
-e "s|-lintl||" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|# define ENABLE_NLS||" ${WRKSRC}/config.h
-.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mwhois
Modified: head/net/whois/distinfo
==============================================================================
--- head/net/whois/distinfo Sat Jul 29 15:42:38 2017 (r446881)
+++ head/net/whois/distinfo Sat Jul 29 16:03:54 2017 (r446882)
@@ -1,2 +1,3 @@
-SHA256 (rfc1036-whois-5.1.5-d346ca6_GH0.tar.gz) = ebdd0afa9a29ee99eee1a81bfa3802eec9672643f9e08e888bb260b392513a74
-SIZE (rfc1036-whois-5.1.5-d346ca6_GH0.tar.gz) = 90812
+TIMESTAMP = 1501341653
+SHA256 (rfc1036-whois-v5.2.17_GH0.tar.gz) = c3c47b139bafc4348d6794a0cca311e3adfb4aae0597f1279faa73b749ecf0d2
+SIZE (rfc1036-whois-v5.2.17_GH0.tar.gz) = 99134
More information about the svn-ports-all
mailing list