Date: Mon, 24 Jul 2000 15:31:43 +0900 From: Makoto MATSUSHITA <matusita@jp.freebsd.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/20135: New Port: net/jwhois Message-ID: <20000724153143C.matusita@jp.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
>Number: 20135 >Category: ports >Synopsis: New Port: net/jwhois >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 23 23:40:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Makoto MATSUSHITA >Release: FreeBSD 5.0-CURRENT i386 >Organization: Japan FreeBSD Users' Group >Environment: Recent -current/4-stable box. >Description: Here is a new port, jwhois. Jwhois is yet another WHOIS client such as whois(1). However, jwhois has a cool feature such as query-based server selection, cacheing, and query redirection. If you are system/network administrator and often use whois(1) to check domainname, IP address, NIC handles... jwhois will be your nice friend. >How-To-Repeat: Attached below is a shar-file of this port. Please consult and import to our repository. There is one thing to be considerd. Can we use ${PREFIX}/var/jwhois as a directory for query-cache file? Here is a summary of the characteristics of query-cache file: - ${PREFIX}/var/jwhois is empty at first (no default file) - If you sent a query first, ${PREFIX}/var/jwhois/jwhois.db will be appeared. Note that the file is not a *DB* file, just a *DBM* file. - jwhois.db should be written from anybody; shared by all users. I have no idea how to treat the cache file. If you committers have some better idea, feel free to modify my ports. >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: # # jwhois/Makefile # jwhois/files # jwhois/files/md5 # jwhois/patches # jwhois/patches/patch-aa # jwhois/patches/patch-ab # jwhois/pkg # jwhois/pkg/COMMENT # jwhois/pkg/DESCR # jwhois/pkg/PLIST # echo x - jwhois/Makefile sed 's/^X//' >jwhois/Makefile << 'END-of-jwhois/Makefile' X# New ports collection makefile for: jwhois X# Date created: 15 Jul 2000 X# Whom: matusita@jp.FreeBSD.org X# X# $FreeBSD$ X# X XPORTNAME= jwhois XPORTVERSION= 2.4.1 XCATEGORIES= net XMASTER_SITES= ${MASTER_SITE_GNU} XMASTER_SITE_SUBDIR= jwhois X XMAINTAINER= matusita@jp.FreeBSD.org X XLIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext X XGNU_CONFIGURE= yes XCONFIGURE_ARGS+= --localstatedir=${PREFIX}/var/jwhois XUSE_GMAKE= yes XCONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib" X XINSTALL_TARGET= install-strip X XMAN1= jwhois.1 X Xpost-install: X ${MKDIR} ${PREFIX}/var/jwhois X ${CHOWN} :nogroup ${PREFIX}/var/jwhois X ${CHMOD} g+w ${PREFIX}/var/jwhois X ${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf ${PREFIX}/etc X X.include <bsd.port.mk> END-of-jwhois/Makefile echo c - jwhois/files mkdir -p jwhois/files > /dev/null 2>&1 echo x - jwhois/files/md5 sed 's/^X//' >jwhois/files/md5 << 'END-of-jwhois/files/md5' XMD5 (jwhois-2.4.1.tar.gz) = ca4716c2a8eea8d1f11a61d928397637 END-of-jwhois/files/md5 echo c - jwhois/patches mkdir -p jwhois/patches > /dev/null 2>&1 echo x - jwhois/patches/patch-aa sed 's/^X//' >jwhois/patches/patch-aa << 'END-of-jwhois/patches/patch-aa' X--- po/Makefile.in.in.dist Sat Nov 27 06:10:41 1999 X+++ po/Makefile.in.in Sat Jul 15 22:27:05 2000 X@@ -19,7 +19,7 @@ X prefix = @prefix@ X exec_prefix = @exec_prefix@ X datadir = $(prefix)/@DATADIRNAME@ X-localedir = $(datadir)/locale X+localedir = @localedir@ X gnulocaledir = $(prefix)/share/locale X gettextsrcdir = $(prefix)/share/gettext/po X subdir = po END-of-jwhois/patches/patch-aa echo x - jwhois/patches/patch-ab sed 's/^X//' >jwhois/patches/patch-ab << 'END-of-jwhois/patches/patch-ab' X--- src/cache.c.dist Sun Dec 19 06:46:53 1999 X+++ src/cache.c Sat Jul 15 22:52:06 2000 X@@ -119,7 +119,7 @@ X jconfig_set(); X j = jconfig_getone("jwhois", "cachefile"); X if (!j) X- cfname = LOCALSTATEDIR "/jwhois.db"; X+ cfname = LOCALSTATEDIR "/jwhois"; X else X cfname = j->value; X END-of-jwhois/patches/patch-ab echo c - jwhois/pkg mkdir -p jwhois/pkg > /dev/null 2>&1 echo x - jwhois/pkg/COMMENT sed 's/^X//' >jwhois/pkg/COMMENT << 'END-of-jwhois/pkg/COMMENT' XAn improved WHOIS client capable of selecting server to query END-of-jwhois/pkg/COMMENT echo x - jwhois/pkg/DESCR sed 's/^X//' >jwhois/pkg/DESCR << 'END-of-jwhois/pkg/DESCR' XJwhois is a WHOIS client, with a feature of selecting servers to Xquery based on a configulation file. Query results are cached to local Xdatabases. If you make a same query later, the results are extracted Xfrom databases; you can get your answer quickly. X XWWW: http://www.gnu.org/software/jwhois END-of-jwhois/pkg/DESCR echo x - jwhois/pkg/PLIST sed 's/^X//' >jwhois/pkg/PLIST << 'END-of-jwhois/pkg/PLIST' Xbin/jwhois Xetc/jwhois.conf X@unexec install-info --delete %D/info/jwhois.info %D/info/dir Xinfo/jwhois.info X@exec install-info %D/info/jwhois.info %D/info/dir Xshare/locale/sv/LC_MESSAGES/jwhois.mo X@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/* 2>/dev/null || true X@unexec rmdir %D/share/locale 2>/dev/null || true X@unexec rm -f %D/var/jwhois/jwhois.db 2>/dev/null || true X@unexec rmdir %D/var/jwhois 2>/dev/null || true X@unexec rmdir %D/var 2>/dev/null || true END-of-jwhois/pkg/PLIST exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000724153143C.matusita>