summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorseb <seb>2007-11-15 00:56:21 +0000
committerseb <seb>2007-11-15 00:56:21 +0000
commit2562841472ab26507d53da80ca956033a67024fc (patch)
treeb1eac246a86db723f742e43fa5f9d2cb4e1152f0 /net
parent676dd6acd4660228cf4e685ef7568353c33e2179 (diff)
downloadpkgsrc-2562841472ab26507d53da80ca956033a67024fc.tar.gz
Initial import of whois3 version 3.2.2 into The NetBSD
Packages Collection. This is whois3, a very simple and generic whois client. This client, unlike the "classic" whois client, does not check for supported flags at the client side, except for -h (whois host) and -p (whois port). The syntax checks for flags are made at the server side. The default host and port of whois3 is whois.ripe.net at port 43 (or to be more exact, the tcp port specified for whois in /etc/services). Note: This is in fact a "reimport" of an updated version of package net/ripe-whois which is going to be removed. Most notable change from the last version of net/ripe-whois package is the addition of the -4 and -6 switches to select either IPv4 or IPv6 as transport.
Diffstat (limited to 'net')
-rw-r--r--net/whois3/DESCR13
-rw-r--r--net/whois3/Makefile16
-rw-r--r--net/whois3/PLIST6
-rw-r--r--net/whois3/distinfo7
-rw-r--r--net/whois3/patches/patch-aa12
-rw-r--r--net/whois3/patches/patch-ab68
6 files changed, 122 insertions, 0 deletions
diff --git a/net/whois3/DESCR b/net/whois3/DESCR
new file mode 100644
index 00000000000..4b4e5dfab66
--- /dev/null
+++ b/net/whois3/DESCR
@@ -0,0 +1,13 @@
+This is whois3, a very simple and generic whois client.
+
+This client, unlike the "classic" whois client,
+does not check for supported flags at the client side,
+except for -h (whois host) and -p (whois port).
+
+The syntax checks for flags are made at the server side.
+
+The default host and port of whois3 is whois.ripe.net
+at port 43 (or to be more exact, the tcp port specified
+for whois in /etc/services).
+
+Try whois3 help.
diff --git a/net/whois3/Makefile b/net/whois3/Makefile
new file mode 100644
index 00000000000..1112fc29043
--- /dev/null
+++ b/net/whois3/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/11/15 00:56:21 seb Exp $
+#
+
+DISTNAME= whois3-3.2.2
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=whois/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://whois.sourceforge.net/
+COMMENT= RIPE very simple and generic whois client
+
+GNU_CONFIGURE= YES
+USE_TOOLS+= perl
+BUILD_DEFS+= IPV6_READY
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/whois3/PLIST b/net/whois3/PLIST
new file mode 100644
index 00000000000..9d8bf6a0b73
--- /dev/null
+++ b/net/whois3/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/15 00:56:21 seb Exp $
+bin/whois3
+man/man1/whois3.1
+share/${PKGNAME}/FLAGS.txt
+share/${PKGNAME}/HELP.txt
+@dirrm share/${PKGNAME}
diff --git a/net/whois3/distinfo b/net/whois3/distinfo
new file mode 100644
index 00000000000..e7203df0f77
--- /dev/null
+++ b/net/whois3/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/11/15 00:56:21 seb Exp $
+
+SHA1 (whois3-3.2.2.tar.gz) = 165ccd45387ef5505c7c6542f1dca019abbfcaf9
+RMD160 (whois3-3.2.2.tar.gz) = f6a42221f823168060bb732764403b39d52c8a45
+Size (whois3-3.2.2.tar.gz) = 94587 bytes
+SHA1 (patch-aa) = bd2fc58b55b4db8e3cba8a7f5f67d171e88fc52c
+SHA1 (patch-ab) = c4813a5dbb7a1a386ab294bedc02a3dfaa1c9945
diff --git a/net/whois3/patches/patch-aa b/net/whois3/patches/patch-aa
new file mode 100644
index 00000000000..548196d29c6
--- /dev/null
+++ b/net/whois3/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/11/15 00:56:21 seb Exp $
+
+--- Makefile.am.orig 2003-07-18 10:03:36.000000000 +0000
++++ Makefile.am
+@@ -1,5 +1,5 @@
+ SUBDIRS = doc
+
+-bin_PROGRAMS = whois
++bin_PROGRAMS = whois3
+
+-whois_SOURCES = whois3.c
++whois3_SOURCES = whois3.c
diff --git a/net/whois3/patches/patch-ab b/net/whois3/patches/patch-ab
new file mode 100644
index 00000000000..f0e8fbbf73d
--- /dev/null
+++ b/net/whois3/patches/patch-ab
@@ -0,0 +1,68 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/11/15 00:56:21 seb Exp $
+
+--- Makefile.in.orig 2007-09-26 10:49:06.000000000 +0000
++++ Makefile.in
+@@ -14,7 +14,7 @@
+
+ @SET_MAKE@
+
+-SOURCES = $(whois_SOURCES)
++SOURCES = $(whois3_SOURCES)
+
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+@@ -36,7 +36,7 @@ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-bin_PROGRAMS = whois$(EXEEXT)
++bin_PROGRAMS = whois3$(EXEEXT)
+ subdir = .
+ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
+@@ -54,9 +54,9 @@ CONFIG_CLEAN_FILES =
+ am__installdirs = "$(DESTDIR)$(bindir)"
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ PROGRAMS = $(bin_PROGRAMS)
+-am_whois_OBJECTS = whois3.$(OBJEXT)
+-whois_OBJECTS = $(am_whois_OBJECTS)
+-whois_LDADD = $(LDADD)
++am_whois3_OBJECTS = whois3.$(OBJEXT)
++whois3_OBJECTS = $(am_whois3_OBJECTS)
++whois3_LDADD = $(LDADD)
+ DEFAULT_INCLUDES = -I. -I$(srcdir)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -64,8 +64,8 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUD
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+ LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(whois_SOURCES)
+-DIST_SOURCES = $(whois_SOURCES)
++SOURCES = $(whois3_SOURCES)
++DIST_SOURCES = $(whois3_SOURCES)
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-exec-recursive install-info-recursive \
+@@ -163,7 +163,7 @@ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ SUBDIRS = doc
+-whois_SOURCES = whois3.c
++whois3_SOURCES = whois3.c
+ all: all-recursive
+
+ .SUFFIXES:
+@@ -224,9 +224,9 @@ uninstall-binPROGRAMS:
+
+ clean-binPROGRAMS:
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+-whois$(EXEEXT): $(whois_OBJECTS) $(whois_DEPENDENCIES)
+- @rm -f whois$(EXEEXT)
+- $(LINK) $(whois_LDFLAGS) $(whois_OBJECTS) $(whois_LDADD) $(LIBS)
++whois3$(EXEEXT): $(whois3_OBJECTS) $(whois3_DEPENDENCIES)
++ @rm -f whois3$(EXEEXT)
++ $(LINK) $(whois3_LDFLAGS) $(whois3_OBJECTS) $(whois3_LDADD) $(LIBS)
+
+ mostlyclean-compile:
+ -rm -f *.$(OBJEXT)