ports/107230: Update port: net/ripe-whois to 3.2.2
Vasil Dimov
vd at FreeBSD.org
Wed Dec 27 10:00:30 UTC 2006
>Number: 107230
>Category: ports
>Synopsis: Update port: net/ripe-whois to 3.2.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 27 10:00:28 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Vasil Dimov
>Release: FreeBSD 6.2-PRERELEASE amd64
>Organization:
N/A
>Environment:
>Description:
Update net/ripe-whois from 3.1.1 to 3.2.2:
* Change master site
* Switch to GNU_CONFIGURE
* Support [NO]PORTDOCS
* Retire files/patch-whois3.c, IPv6 check is now incorporated in the
software itself
>How-To-Repeat:
>Fix:
--- ripe-whois_3.1.1-3.2.2.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/ripe-whois/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 6 Aug 2004 08:57:41 -0000 1.2
+++ Makefile 27 Dec 2006 09:26:25 -0000
@@ -6,22 +6,33 @@
#
PORTNAME= ripe-whois
-PORTVERSION= 3.1.1v6
-PORTREVISION= 1
+PORTVERSION= 3.2.2
CATEGORIES= net ipv6
-MASTER_SITES= ftp://ftp.ripe.net/tools/
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= whois
+DISTNAME= whois3-${PORTVERSION}
MAINTAINER= lerik at nolink.net
COMMENT= The RIPE whois client version 3
USE_PERL5_BUILD= yes
-WRKSRC= ${WRKDIR}/whois-${PORTVERSION}
-
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= whois3.1
-PLIST_FILES= bin/whois3
+PLIST_FILES= bin/whois
+
+NOPORTDOCS=y
+.if !defined(NOPORTDOCS)
+CONFIGURE_ARGS= --datadir=${PREFIX}/share/doc
+DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
+PORTDOCS= HELP.txt FLAGS.txt
+.else
+post-patch:
+ ${REINPLACE_CMD} -E \
+ -e '/^install-data-am:/ s/install-whoisdataDATA//' \
+ ${WRKSRC}/doc/Makefile.in
+.endif
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/net/ripe-whois/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 22 Jan 2006 21:23:46 -0000 1.2
+++ distinfo 27 Dec 2006 09:26:25 -0000
@@ -1,3 +1,3 @@
-MD5 (ripe-whois-3.1.1v6.tar.gz) = 07802f588874d66690e04ec73b02fb17
-SHA256 (ripe-whois-3.1.1v6.tar.gz) = 00692e48b3d1b38cadd5caaf5609182218375a8fab11cb3ef49dc5a8f5b5394d
-SIZE (ripe-whois-3.1.1v6.tar.gz) = 40608
+MD5 (whois3-3.2.2.tar.gz) = d25bbe0c5bcf679bd9f9ead30bb0a71a
+SHA256 (whois3-3.2.2.tar.gz) = 426fed6dd7ecb77e0fe6740ceaa72e2749b5421fed7820f4cd4c35a48d407792
+SIZE (whois3-3.2.2.tar.gz) = 94587
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/net/ripe-whois/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr 25 Feb 2004 21:50:53 -0000 1.1
+++ pkg-descr 27 Dec 2006 09:26:25 -0000
@@ -3,4 +3,4 @@
for taking advantage of all the extended capabilities of the
RIPE whois db.
-WWW: http://www.ripe.net/db/
+WWW: http://whois.sf.net
Index: files/patch-whois3.c
===================================================================
RCS file: files/patch-whois3.c
diff -N files/patch-whois3.c
--- files/patch-whois3.c 6 Aug 2004 08:57:41 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
---- whois3.c.orig Thu Aug 5 16:41:00 2004
-+++ whois3.c Thu Aug 5 16:59:16 2004
-@@ -130,7 +130,12 @@
- /* create the socket */
- fd = socket(dest.ss_family, SOCK_STREAM, 0);
- if (fd < 0)
-- fatal("cannot create the socket: %s", strerror(errno));
-+ {
-+ if (errno == EPROTONOSUPPORT)
-+ continue;
-+ else
-+ fatal("cannot create the socket: %s", strerror(errno));
-+ }
-
- /* perform the connection */
- err = connect(fd, (struct sockaddr *) &dest, destlen);
--- ripe-whois_3.1.1-3.2.2.diff ends here ---
--
Vasil Dimov
gro.DSBeerF at dv
%
You can only live once, but if you do it right, once is enough.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list