1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

A port of RIPE's whois client (ripewhois)

PR:	ports/3809
Submitted by:	Josef Karthauser <joe@pavilion.net>
This commit is contained in:
James FitzGibbon 1997-06-08 16:17:16 +00:00
parent 2be3056156
commit da56f0101e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6804
7 changed files with 185 additions and 0 deletions

18
net/ripetools/Makefile Normal file
View File

@ -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>

1
net/ripetools/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ripe-whois-tools-2.2.tar.gz) = 9315a0864ca2b39fe8a33f4ea46c19bd

View File

@ -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

View File

@ -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

View File

@ -0,0 +1 @@
RIPE's own version of whois, and a RIPE database tool.

29
net/ripetools/pkg-descr Normal file
View File

@ -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.

3
net/ripetools/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
bin/ripewhois
bin/networkupdate
man/man1/ripewhois.1.gz