From root@widhost.net  Fri Oct  3 05:56:42 2003
Return-Path: <root@widhost.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ED3CE16A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  3 Oct 2003 05:56:26 -0700 (PDT)
Received: from widhost.net (w201.widhost.net [194.185.22.131])
	by mx1.FreeBSD.org (Postfix) with SMTP id AE14143FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  3 Oct 2003 05:56:25 -0700 (PDT)
	(envelope-from root@widhost.net)
Received: (qmail 28889 invoked by uid 0); 3 Oct 2003 12:56:24 -0000
Message-Id: <20031003125624.28888.qmail@widhost.net>
Date: 3 Oct 2003 12:56:24 -0000
From: filippo@widestore.net <filippo@widestore.net>
Reply-To: filippo@widestore.net <filippo@widestore.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] net/whois
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57530
>Category:       ports
>Synopsis:       [NEW PORT] net/whois
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 03 06:00:39 PDT 2003
>Closed-Date:    Sat Oct 04 07:38:07 PDT 2003
>Last-Modified:  Sat Oct 04 07:38:07 PDT 2003
>Originator:     Filippo Natali
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Widestore srl
>Environment:
FreeBSD cagnina.hq.widestore.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Apr 10 18:12:23 CEST 2003     filippo@cagnina.hq.widestore.net:/usr/obj/usr/src/sys/CAGNINA  i386

	
>Description:
	Marco d'Itri whois client.
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	whois
#	whois/Makefile
#	whois/pkg-descr
#	whois/distinfo
#	whois/files
#	whois/files/patch-aa
#	whois/files/patch-ab
#	whois/pkg-plist
#
echo c - whois
mkdir -p whois > /dev/null 2>&1
echo x - whois/Makefile
sed 's/^X//' >whois/Makefile << 'END-of-whois/Makefile'
X# New ports collection makefile for:   whois
X# Date created:                02 Oct 2003
X# Whom:                        Filippo Natali <filippo@widestore.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	whois
XPORTVERSION=	4.6.7
XCATEGORIES=	net
XMASTER_SITES=	http://www.linux.it/~md/software/
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	filippo@widestore.net
XCOMMENT=	Marco d'Itri whois client.
X
XLIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv \
X		intl.5:${PORTSDIR}/devel/gettext
X
XMAN1=	whois.1
X
XUSE_PERL5_BUILD=	yes
XUSE_REINPLACE=	yes
XUSE_GMAKE=	yes
XUSE_GETOPT_LONG=	yes
XWRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s|prefix\=/usr/local|prefix\=${PREFIX}|g" ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/po/Makefile
X
X.include <bsd.port.mk>
END-of-whois/Makefile
echo x - whois/pkg-descr
sed 's/^X//' >whois/pkg-descr << 'END-of-whois/pkg-descr'
XWhy another whois client? Because the RIPE client is a mess of hacks and
X#ifdefs and more complex programs lack features or are bloated.
X
XAuthor: Marco d'Itri <md@linux.it>
X
XWWW: http://www.linux.it/~md/software/
END-of-whois/pkg-descr
echo x - whois/distinfo
sed 's/^X//' >whois/distinfo << 'END-of-whois/distinfo'
XMD5 (whois_4.6.7.tar.gz) = 36929e69816f0d9a938057c700fdfbc6
END-of-whois/distinfo
echo c - whois/files
mkdir -p whois/files > /dev/null 2>&1
echo x - whois/files/patch-aa
sed 's/^X//' >whois/files/patch-aa << 'END-of-whois/files/patch-aa'
X*** work/whois-4.6.6/Makefile	Thu Dec  5 01:22:15 2002
X--- Makefile	Thu Oct  2 10:53:29 2003
X***************
X*** 9,16 ****
X  #LDFLAGS=-lintl
X  
X  # FreeBSD
X! #LDFLAGS=-L/usr/local/lib -lgnugetopt -lintl
X! #CFLAGS=-I/usr/local/include
X  
X  # OS/2 EMX
X  #LDFLAGS=-lsocket -Zexe -Dstrncasecmp=strnicmp
X--- 9,16 ----
X  #LDFLAGS=-lintl
X  
X  # FreeBSD
X! LDFLAGS=-L/usr/local/lib -lgnugetopt -lintl
X! CFLAGS=-I/usr/local/include
X  
X  # OS/2 EMX
X  #LDFLAGS=-lsocket -Zexe -Dstrncasecmp=strnicmp
X***************
X*** 35,41 ****
X  install: whois
X  	install -m 0755 whois $(BASEDIR)$(prefix)/bin/
X  	strip $(BASEDIR)$(prefix)/bin/whois
X! 	install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
X  	cd po && $(MAKE) $@
X  
X  
X--- 35,41 ----
X  install: whois
X  	install -m 0755 whois $(BASEDIR)$(prefix)/bin/
X  	strip $(BASEDIR)$(prefix)/bin/whois
X! 	install -m 0644 whois.1 $(BASEDIR)$(prefix)/man/man1/
X  	cd po && $(MAKE) $@
X  
X  
END-of-whois/files/patch-aa
echo x - whois/files/patch-ab
sed 's/^X//' >whois/files/patch-ab << 'END-of-whois/files/patch-ab'
X*** po/Makefile.orig	Sun Jun 15 18:46:16 2003
X--- po/Makefile	Thu Oct  2 11:13:18 2003
X***************
X*** 41,46 ****
X--- 41,47 ----
X  	rm -f whois.pot
X  
X  install: $(CATALOGS)
X+ 	$(INSTALL) -d $(INSTALLNLSDIR)
X  	for n in $(CATALOGS); do \
X  	    l=`basename $$n .mo`; \
X  	    $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l; \
END-of-whois/files/patch-ab
echo x - whois/pkg-plist
sed 's/^X//' >whois/pkg-plist << 'END-of-whois/pkg-plist'
Xbin/whois
Xshare/locale/de/LC_MESSAGES/whois.mo
Xshare/locale/el/LC_MESSAGES/whois.mo
Xshare/locale/es/LC_MESSAGES/whois.mo
Xshare/locale/fr/LC_MESSAGES/whois.mo
Xshare/locale/it/LC_MESSAGES/whois.mo
Xshare/locale/no/LC_MESSAGES/whois.mo
Xshare/locale/pl/LC_MESSAGES/whois.mo
X@dirrm share/nls/en_US.US-ASCII
X@dirrm share/nls/POSIX
X@dirrm share/locale/pl/LC_MESSAGES
X@dirrm share/locale/pl
X@dirrm share/locale/no/LC_MESSAGES
X@dirrm share/locale/no
X@dirrm share/locale/it/LC_MESSAGES
X@dirrm share/locale/it
X@dirrm share/locale/fr/LC_MESSAGES
X@dirrm share/locale/fr
X@dirrm share/locale/es/LC_MESSAGES
X@dirrm share/locale/es
X@dirrm share/locale/el/LC_MESSAGES
X@dirrm share/locale/el
X@dirrm share/locale/de/LC_MESSAGES
X@dirrm share/locale/de
X@dirrm share/locale
END-of-whois/pkg-plist
exit

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: oliver 
State-Changed-When: Sat Oct 4 07:37:54 PDT 2003 
State-Changed-Why:  
Committed ,Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57530 
>Unformatted:
