Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2014 16:55:33 +0100
From:      Lapo Luchini <lapo@lapo.it>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Lapo Luchini <lapo@lapo.it>
Subject:   ports/185929: [MAINTAINER] net/whois: update to 5.0.23
Message-ID:  <201401201600.s0KG00uK064364@freefall.freebsd.org>
Resent-Message-ID: <201401201600.s0KG00uK064364@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185929
>Category:       ports
>Synopsis:       [MAINTAINER] net/whois: update to 5.0.23
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 20 16:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Lapo Luchini
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lapo.andxor.it 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC
>Description:
- Update to 5.0.23
- Support STAGE
- Remove header to silence portlint

Generated with FreeBSD Port Tools 0.99_11 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- whois-5.0.23.patch begins here ---
diff -ruN /usr/ports/net/whois/Makefile ./Makefile
--- /usr/ports/net/whois/Makefile	2013-09-21 00:10:23.000000000 +0200
+++ ./Makefile	2014-01-20 15:56:53.210535278 +0100
@@ -1,8 +1,7 @@
-# Created by: Filippo Natali <filippo@widestore.net>
 # $FreeBSD: net/whois/Makefile 327755 2013-09-20 22:10:23Z bapt $
 
 PORTNAME=	whois
-PORTVERSION=	5.0.11
+PORTVERSION=	5.0.23
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_DEBIAN_POOL}
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -14,20 +13,18 @@
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		iconv gmake perl5
+USE_XZ=		yes
 USE_PERL5=	build
 
 WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 MAKE_ARGS=	OPTS=""
 
-MAN1=		mwhois.1 mkpasswd.1
+PLIST_FILES=	bin/mwhois bin/mkpasswd man/man1/mwhois.1.gz man/man1/mkpasswd.1.gz
 
-PLIST_FILES=	bin/mwhois bin/mkpasswd
-
-NO_STAGE=	yes
 post-patch:
-	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g ; \
+	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${STAGEDIR}${PREFIX}|g ; \
 		s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/po/Makefile
+	@${REINPLACE_CMD} -e "s|/usr/share|${STAGEDIR}${PREFIX}/share|g" ${WRKSRC}/po/Makefile
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/net/whois/distinfo ./distinfo
--- /usr/ports/net/whois/distinfo	2012-07-14 16:29:18.000000000 +0200
+++ ./distinfo	2014-01-13 12:57:19.627107843 +0100
@@ -1,2 +1,2 @@
-SHA256 (whois_5.0.11.tar.gz) = 7f257a3104b14b7fe17f31a7b873e50c590df10e46cbab9942f9ad0a4a49c7ce
-SIZE (whois_5.0.11.tar.gz) = 81195
+SHA256 (whois_5.0.23.tar.xz) = 6b486a42a4aa83b5f921083d518176726b6d2d903bc8dab5c6126ebe2bea1bf1
+SIZE (whois_5.0.23.tar.xz) = 70116
diff -ruN /usr/ports/net/whois/files/patch-aa ./files/patch-aa
--- /usr/ports/net/whois/files/patch-aa	2012-07-14 16:29:18.000000000 +0200
+++ ./files/patch-aa	2014-01-13 12:57:30.667225741 +0100
@@ -4,7 +4,7 @@
 -prefix = /usr
 +prefix = %%PREFIX%%
  
--CFLAGS = -g -O2
+-CFLAGS ?= -g -O2
 +LDFLAGS+=-L%%LOCALBASE%%/lib -lintl
 +CFLAGS+=-I%%LOCALBASE%%/include
 +
@@ -25,7 +25,7 @@
  	$(PERL) -w make_tld_serv.pl < tld_serv_list > $@
  
  ##############################################################################
--install: install-whois install-mkpasswd #install-pos
+-install: install-whois install-mkpasswd install-pos
 +install: install-whois install-mkpasswd
  
  install-whois: whois
--- whois-5.0.23.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401201600.s0KG00uK064364>