diff options
author | kim <kim@pkgsrc.org> | 1999-10-05 14:17:15 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 1999-10-05 14:17:15 +0000 |
commit | 20f46dec3fde3d9841a987cc838bfccd846dec0b (patch) | |
tree | ee93d6c7b5de64cb9ee44207f7f9cf6922889b50 /net/jwhois | |
parent | 65016f23e04cbc83cf81ebc04be8145271319284 (diff) | |
download | pkgsrc-20f46dec3fde3d9841a987cc838bfccd846dec0b.tar.gz |
jwhois-2.1, a configurable whois client.
forget about all those separate registries!
Diffstat (limited to 'net/jwhois')
-rw-r--r-- | net/jwhois/Makefile | 20 | ||||
-rw-r--r-- | net/jwhois/files/md5 | 3 | ||||
-rw-r--r-- | net/jwhois/files/patch-sum | 4 | ||||
-rw-r--r-- | net/jwhois/patches/patch-aa | 29 | ||||
-rw-r--r-- | net/jwhois/patches/patch-ab | 15 | ||||
-rw-r--r-- | net/jwhois/pkg/COMMENT | 1 | ||||
-rw-r--r-- | net/jwhois/pkg/DESCR | 3 | ||||
-rw-r--r-- | net/jwhois/pkg/PLIST | 7 |
8 files changed, 82 insertions, 0 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile new file mode 100644 index 00000000000..9e0ed6acfe3 --- /dev/null +++ b/net/jwhois/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/10/05 14:17:15 kim Exp $ +# + +DISTNAME= jwhois-2.1 +CATEGORIES= net +MASTER_SITES= ftp://ftp.coyote.org/pub/jwhois/ + +MAINTAINER= kim@tac.nyc.ny.us +HOMEPAGE= http://www.coyote.org/jwhois/ + +USE_GTEXINFO= yes + +HAS_CONFIGURE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--sysconfdir=/etc + +post-install: + ${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf ${PREFIX}/share + +.include "../../mk/bsd.pkg.mk" diff --git a/net/jwhois/files/md5 b/net/jwhois/files/md5 new file mode 100644 index 00000000000..61743680938 --- /dev/null +++ b/net/jwhois/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/10/05 14:17:15 kim Exp $ + +MD5 (jwhois-2.1.tar.gz) = b4f65b438a888f6052ca4c90343426c1 diff --git a/net/jwhois/files/patch-sum b/net/jwhois/files/patch-sum new file mode 100644 index 00000000000..4b91540cb02 --- /dev/null +++ b/net/jwhois/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 1999/10/05 14:17:15 kim Exp $ + +MD5 (patch-aa) = 7adf18ff739bd45cb7b51947808dbe50 +MD5 (patch-ab) = e0ed27d641bb1773157c24115eb5835b diff --git a/net/jwhois/patches/patch-aa b/net/jwhois/patches/patch-aa new file mode 100644 index 00000000000..6507f80b93b --- /dev/null +++ b/net/jwhois/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/10/05 14:17:15 kim Exp $ + +--- src/jwhois.c.orig Sun Sep 26 06:03:17 1999 ++++ src/jwhois.c Tue Oct 5 09:48:03 1999 +@@ -138,6 +138,7 @@ + { + struct jconfig *j; + struct re_pattern_buffer rpb; ++ struct servent *sp = NULL; + char *error, *host = DEFAULTHOST, *ret, *tmphost; + int ind, port; + +@@ -165,7 +166,15 @@ + } + jconfig_end(); + +- port = htons(IPPORT_WHOIS); ++#ifndef IPPORT_WHOIS ++# define IPPORT_WHOIS 43 ++#endif ++ ++ if ((sp = getservbyname("whois", "tcp")) == NULL) ++ port = htons(IPPORT_WHOIS); ++ else ++ port = sp->s_port; ++ + if (strchr(host, ':')) + { + tmphost = (char *)strchr(host, ':'); diff --git a/net/jwhois/patches/patch-ab b/net/jwhois/patches/patch-ab new file mode 100644 index 00000000000..65d1120f2f0 --- /dev/null +++ b/net/jwhois/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/10/05 14:17:15 kim Exp $ + +--- doc/jwhois.texi.orig Sun Sep 26 05:42:39 1999 ++++ doc/jwhois.texi Tue Oct 5 10:04:34 1999 +@@ -4,6 +4,10 @@ + @settitle jwhois, Whois client + @c %**end of header + ++@direntry ++* jwhois: (jwhois). Whois client. ++@end direntry ++ + @c This file has the new style title page commands. + @c Run `makeinfo' rather than `texinfo-format-buffer'. + diff --git a/net/jwhois/pkg/COMMENT b/net/jwhois/pkg/COMMENT new file mode 100644 index 00000000000..c72a96fbe7e --- /dev/null +++ b/net/jwhois/pkg/COMMENT @@ -0,0 +1 @@ +Configurable WHOIS client. diff --git a/net/jwhois/pkg/DESCR b/net/jwhois/pkg/DESCR new file mode 100644 index 00000000000..fa9cfc5e7ec --- /dev/null +++ b/net/jwhois/pkg/DESCR @@ -0,0 +1,3 @@ +jwhois queries Internet Whois servers for information. The +Whois server contacted can be specified on the command line, +or looked up via regexps in the configuration file. diff --git a/net/jwhois/pkg/PLIST b/net/jwhois/pkg/PLIST new file mode 100644 index 00000000000..476392a0f4a --- /dev/null +++ b/net/jwhois/pkg/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/10/05 14:17:15 kim Exp $ +bin/jwhois +@unexec install-info --delete %D/info/jwhois.info %D/info/dir +info/jwhois.info +@exec install-info %D/info/jwhois.info %D/info/dir +man/man1/jwhois.1 +share/jwhois.conf |