summaryrefslogtreecommitdiff
path: root/net/whois3/patches
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2007-11-15 00:56:21 +0000
committerseb <seb@pkgsrc.org>2007-11-15 00:56:21 +0000
commit15380a566cdd4f559ede6a326842f5c1ded8135e (patch)
treeb1eac246a86db723f742e43fa5f9d2cb4e1152f0 /net/whois3/patches
parentccf4f0a7e49d84009496f44b33a009445ebfa2cd (diff)
downloadpkgsrc-15380a566cdd4f559ede6a326842f5c1ded8135e.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/whois3/patches')
-rw-r--r--net/whois3/patches/patch-aa12
-rw-r--r--net/whois3/patches/patch-ab68
2 files changed, 80 insertions, 0 deletions
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)