summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1997-06-08 16:17:16 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1997-06-08 16:17:16 +0000
commitda56f0101e20c82e0f28241fbc4438b07adb80de (patch)
tree53b7526c7091750ea97b0906399e1b983a3b6f74
parentupdate pgcc-current port. (diff)
A port of RIPE's whois client (ripewhois)
PR: ports/3809 Submitted by: Josef Karthauser <joe@pavilion.net>
Notes
Notes: svn path=/head/; revision=6804
-rw-r--r--net/ripetools/Makefile18
-rw-r--r--net/ripetools/distinfo1
-rw-r--r--net/ripetools/files/patch-aa49
-rw-r--r--net/ripetools/files/patch-ab84
-rw-r--r--net/ripetools/pkg-comment1
-rw-r--r--net/ripetools/pkg-descr29
-rw-r--r--net/ripetools/pkg-plist3
7 files changed, 185 insertions, 0 deletions
diff --git a/net/ripetools/Makefile b/net/ripetools/Makefile
new file mode 100644
index 000000000000..574517a56095
--- /dev/null
+++ b/net/ripetools/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: ripe-whois
+# Version required: 2.2
+# Date created: 5th June 1997
+# Whom: joe@uk.freebsd.org
+#
+# $Id$
+#
+
+DISTNAME= ripe-whois-tools-2.2
+PKGNAME= ripetools-2.2
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.ripe.net/tools/
+
+MAINTAINER= joe@uk.freebsd.org
+
+MAN1= ripewhois.1
+
+.include <bsd.port.mk>
diff --git a/net/ripetools/distinfo b/net/ripetools/distinfo
new file mode 100644
index 000000000000..390a774f59c2
--- /dev/null
+++ b/net/ripetools/distinfo
@@ -0,0 +1 @@
+MD5 (ripe-whois-tools-2.2.tar.gz) = 9315a0864ca2b39fe8a33f4ea46c19bd
diff --git a/net/ripetools/files/patch-aa b/net/ripetools/files/patch-aa
new file mode 100644
index 000000000000..c2a8e2af46b6
--- /dev/null
+++ b/net/ripetools/files/patch-aa
@@ -0,0 +1,49 @@
+--- Makefile.orig Fri May 16 11:26:32 1997
++++ Makefile Sun Jun 8 12:12:48 1997
+@@ -16,26 +16,26 @@
+
+
+ DEFINES= -DRIPE
+-PROG= whois cryptpw
+-DESTDIR= /usr/local/bin
+-MANDIR= /usr/local/man/man1
++PROG= ripewhois
++DESTDIR= ${PREFIX}/bin
++MANDIR= ${PREFIX}/man/man1
+ INSTALL= install
+ # LIBS= -lresolv
+ CFLAGS= ${DEFINES}
+ #
+ # for BSDI
+-CC=shlicc2 -Wall -ansi -pedantic -O6 -m486
++#CC=shlicc2 -Wall -ansi -pedantic -O6 -m486
+ #
+ # for Linux
+ #CC=gcc -Wall -ansi -pedantic -O6 -m486
+ #
+ # for most systems
+-#CC=gcc -Wall -ansi -pedantic -O6
++CC=gcc -Wall -ansi -pedantic -O2
+
+ all: $(PROG)
+
+-whois: Makefile whois.c
+- $(CC) ${CFLAGS} whois.c -o whois ${LIBS}
++ripewhois: Makefile whois.c
++ $(CC) ${CFLAGS} whois.c -o ripewhois ${LIBS}
+ $(CC) ${CFLAGS} -DNETWORKUPDATE whois.c -o networkupdate ${LIBS}
+
+ cryptpw: Makefile cryptpw.c
+@@ -43,10 +43,10 @@
+
+ install: ${PROG}
+ $(INSTALL) -c -s -m 755 ${PROG} networkupdate ${DESTDIR}
+- $(INSTALL) -c -m 444 whois.man ${MANDIR}/whois.1
++ $(INSTALL) -c -m 444 whois.man ${MANDIR}/ripewhois.1
+
+ clean:
+- rm -f whois.o whois cryptpw cryptpw.o networkupdate networkupdate.o core
++ rm -f whois.o ripewhois cryptpw cryptpw.o networkupdate networkupdate.o core
+
+ CURRENTNAME=ripe-whois-tools-2.2
+
diff --git a/net/ripetools/files/patch-ab b/net/ripetools/files/patch-ab
new file mode 100644
index 000000000000..022b6fb4968f
--- /dev/null
+++ b/net/ripetools/files/patch-ab
@@ -0,0 +1,84 @@
+*** whois.man.orig Fri May 16 16:26:32 1997
+--- whois.man Thu Jun 5 11:56:57 1997
+***************
+*** 1,9 ****
+! .TH WHOIS 1 "94/09/07"
+ .\" RIPE version marten@ripe.net 1.10 94/09/07
+ .SH NAME
+! whois \- TCP/IP Internet directory service, RIPE version
+ .SH SYNOPSIS
+! .B whois
+ [
+ .B \-aFSr
+ ]
+--- 1,9 ----
+! .TH RIPEWHOIS 1 "94/09/07"
+ .\" RIPE version marten@ripe.net 1.10 94/09/07
+ .SH NAME
+! ripewhois \- TCP/IP Internet directory service, RIPE version
+ .SH SYNOPSIS
+! .B ripewhois
+ [
+ .B \-aFSr
+ ]
+***************
+*** 32,43 ****
+ ]
+ .I identifier
+
+! .B whois \-t
+ .I type
+ .B whois \-v
+ .I type
+ .SH DESCRIPTION
+! .B whois
+ searches for an object in the RIPE Network Management database.
+ The key can be either a name (such as "Karrenberg"),a nic-handle
+ (such as "DK58"),
+--- 32,43 ----
+ ]
+ .I identifier
+
+! .B ripewhois \-t
+ .I type
+ .B whois \-v
+ .I type
+ .SH DESCRIPTION
+! .B ripewhois
+ searches for an object in the RIPE Network Management database.
+ The key can be either a name (such as "Karrenberg"),a nic-handle
+ (such as "DK58"),
+***************
+*** 116,122 ****
+ .LP
+ .SH EXAMPLES
+ .IP
+! .B example% whois karrenberg
+ .IP
+ person: Daniel Karrenberg
+ .br
+--- 116,122 ----
+ .LP
+ .SH EXAMPLES
+ .IP
+! .B example% ripewhois karrenberg
+ .IP
+ person: Daniel Karrenberg
+ .br
+***************
+*** 142,148 ****
+ .br
+ source: RIPE
+ .IP
+! .B example% whois -h whois.ripe.net -r 192.87.45.0/24
+ .IP
+ inetnum: 192.87.45.0
+ .br
+--- 142,148 ----
+ .br
+ source: RIPE
+ .IP
+! .B example% ripewhois -h whois.ripe.net -r 192.87.45.0/24
+ .IP
+ inetnum: 192.87.45.0
+ .br
diff --git a/net/ripetools/pkg-comment b/net/ripetools/pkg-comment
new file mode 100644
index 000000000000..623a51dfada2
--- /dev/null
+++ b/net/ripetools/pkg-comment
@@ -0,0 +1 @@
+RIPE's own version of whois, and a RIPE database tool.
diff --git a/net/ripetools/pkg-descr b/net/ripetools/pkg-descr
new file mode 100644
index 000000000000..df7755ef934c
--- /dev/null
+++ b/net/ripetools/pkg-descr
@@ -0,0 +1,29 @@
+- ripewhois
+
+ The RIPE version of the whois client program.
+
+ This is intended for European users as it will query a RIPE whois
+ server with extended whois capabilities rather than a standard whois
+ protocol server. The ripewhois program is fully compatible with the
+ standard whois protocol and can thus replace your default whois
+ program.
+
+ This program is aware of quite some extra flags that the standard whois
+ doesn't support. Just try 'ripewhois' without arguments to see an
+ explanation of these. Please note that most of these flags are NOT
+ supported by non RIPE whois servers. In cases where you use this client
+ to query non RIPE whois servers, you should not use any of these
+ flags.
+
+ This client supports the "-v" option and the argument "all" to
+ "-t" and "-v".
+
+
+- networkupdate
+
+ A program that allows updating the RIPE database with the whois
+ protocol instead of the usual E-mail interface. This program can
+ usually only be used by the administrators of the whois server itself.
+ The updating mechanism is too powerfull (for now) to allow the general
+ public to use this mechanism. The server is protected by means of an
+ accesslist.
diff --git a/net/ripetools/pkg-plist b/net/ripetools/pkg-plist
new file mode 100644
index 000000000000..2211bc0281b9
--- /dev/null
+++ b/net/ripetools/pkg-plist
@@ -0,0 +1,3 @@
+bin/ripewhois
+bin/networkupdate
+man/man1/ripewhois.1.gz