pkgsrc/net/whois3/patches/patch-ab
seb 15380a566c 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.
2007-11-15 00:56:21 +00:00

68 lines
2.1 KiB
Text

$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)