summaryrefslogtreecommitdiff
path: root/net/rwhoisd
diff options
context:
space:
mode:
Diffstat (limited to 'net/rwhoisd')
-rw-r--r--net/rwhoisd/Makefile46
-rw-r--r--net/rwhoisd/distinfo2
-rw-r--r--net/rwhoisd/files/patch-aa11
-rw-r--r--net/rwhoisd/files/patch-ac33
-rw-r--r--net/rwhoisd/files/patch-ae11
-rw-r--r--net/rwhoisd/files/patch-common-client_msgs.c35
-rw-r--r--net/rwhoisd/files/patch-common-client_msgs.h11
-rw-r--r--net/rwhoisd/files/patch-common-common.h11
-rw-r--r--net/rwhoisd/files/patch-common-log.c38
-rw-r--r--net/rwhoisd/files/patch-common-log.h23
-rw-r--r--net/rwhoisd/files/patch-common-rw_log.c38
-rw-r--r--net/rwhoisd/files/patch-server-notify.c31
-rw-r--r--net/rwhoisd/files/rwhoisd.sh23
-rw-r--r--net/rwhoisd/pkg-descr23
-rw-r--r--net/rwhoisd/pkg-plist63
15 files changed, 0 insertions, 399 deletions
diff --git a/net/rwhoisd/Makefile b/net/rwhoisd/Makefile
deleted file mode 100644
index 1feb090e28b7..000000000000
--- a/net/rwhoisd/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# New ports collection makefile for: rwhois
-# Date created: May 9th 1997
-# Whom: James FitzGibbon <jfitz@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= rwhois
-PORTVERSION= 1.5.7.3
-PORTREVISION= 1
-CATEGORIES= net ipv6
-MASTER_SITES= ftp://ftp.ayamura.org/pub/rwhois/ \
- ftp://ftp.jp.pgpi.org/pub/rwhois/
-DISTNAME= ${PORTNAME}d-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= The Internic referral whois server
-
-.if !exists(/usr/include/tcpd.h)
-LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
-.endif
-
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}/lib/rwhois
-
-BINOWN= bin
-BINGRP= bin
-
-MAN8= rwhois_indexer.8 rwhoisd.8
-
-MYPORTDOCS= INSTALL.html TODO UPGRADE operations_guide.html \
- operations_guide.txt rfc2167.txt security.html security.txt
-
-post-install:
- ${INSTALL_MAN} ${WRKSRC}/doc/rwhois_indexer.8 ${PREFIX}/man/man8
- ${INSTALL_MAN} ${WRKSRC}/doc/rwhoisd.8 ${PREFIX}/man/man8
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for file in ${MYPORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
-.endfor
-.endif
- @${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/rwhoisd.sh startup file..."
- ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/rwhoisd.sh ${PREFIX}/etc/rc.d/rwhoisd.sh
-
-.include <bsd.port.mk>
diff --git a/net/rwhoisd/distinfo b/net/rwhoisd/distinfo
deleted file mode 100644
index d6b9f3dd6116..000000000000
--- a/net/rwhoisd/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (rwhoisd-1.5.7.3.tar.gz) = b3a1d951454afec598a7531919ce22a0
-SIZE (rwhoisd-1.5.7.3.tar.gz) = 452141
diff --git a/net/rwhoisd/files/patch-aa b/net/rwhoisd/files/patch-aa
deleted file mode 100644
index c3ff541a6aaa..000000000000
--- a/net/rwhoisd/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig Tue Jun 3 23:20:53 1997
-+++ Makefile.in Sat Nov 25 15:44:00 2000
-@@ -25,7 +25,7 @@
- BIN_SUBDIRS = server tools
- ALL_SUBDIRS = $(LIB_SUBDIRS) $(BIN_SUBDIRS) $(SAMPLE_DATA_DIR)
-
--all: libraries libwrap binaries
-+all: libraries binaries
-
- libraries:
- @for dir in $(LIB_SUBDIRS); do \
diff --git a/net/rwhoisd/files/patch-ac b/net/rwhoisd/files/patch-ac
deleted file mode 100644
index 05ca015c5c8c..000000000000
--- a/net/rwhoisd/files/patch-ac
+++ /dev/null
@@ -1,33 +0,0 @@
---- server/Makefile.in.orig Fri May 12 01:10:25 2000
-+++ server/Makefile.in Sat Nov 25 15:27:16 2000
-@@ -9,7 +9,7 @@
- prefix = @prefix@
- exec_prefix = @exec_prefix@
- bindir = $(exec_prefix)/bin
--etcdir = $(exec_prefix)/etc
-+sbindir = $(exec_prefix)/sbin
-
- srcdir = @srcdir@
- VPATH = @srcdir@
-@@ -18,8 +18,8 @@
- COMMON_INC = -I$(srcdir)/../common
- COMMON_LIBS = -L../common -lrwcommon
-
--WRAP_INC = -I$(srcdir)../tools/tcpd_wrapper
--WRAP_LIBS = -L../tools/tcpd_wrapper -lwrap
-+WRAP_INC = -I${LOCALBASE}/include
-+WRAP_LIBS = -L${LOCALBASE}/lib -lwrap
-
- MKDB_INC = -I$(srcdir)/../mkdb
- MKDB_LIBS = -L../mkdb -lmkdb
-@@ -97,8 +97,8 @@
-
- install:
- if [ ! -d $(exec_prefix) ]; then mkdir $(exec_prefix); fi
-- if [ ! -d $(etcdir) ]; then mkdir $(etcdir); fi
-- $(INSTALL) rwhoisd $(etcdir)
-+ if [ ! -d $(sbindir) ]; then mkdir $(sbindir); fi
-+ $(INSTALL) rwhoisd $(sbindir)
-
- uninstall:
- $(RM) $(etcdir)/rwhoisd
diff --git a/net/rwhoisd/files/patch-ae b/net/rwhoisd/files/patch-ae
deleted file mode 100644
index 6d86925ae455..000000000000
--- a/net/rwhoisd/files/patch-ae
+++ /dev/null
@@ -1,11 +0,0 @@
---- sample.data/rwhoisd.conf.orig Wed Nov 26 08:23:46 1997
-+++ sample.data/rwhoisd.conf Sat Nov 25 15:30:05 2000
-@@ -109,7 +109,7 @@
- # users group, as found in /etc/passwd.
- # note that this really, really should be an unprivileged user
- # this options doesn't have a default.
--userid: rwhoisd
-+userid: nobody
-
- # pid-file: where to put the file containing the pid of the server.
- # normal default is "rwhoisd.pid"
diff --git a/net/rwhoisd/files/patch-common-client_msgs.c b/net/rwhoisd/files/patch-common-client_msgs.c
deleted file mode 100644
index 77a8d9a2ef23..000000000000
--- a/net/rwhoisd/files/patch-common-client_msgs.c
+++ /dev/null
@@ -1,35 +0,0 @@
---- common/client_msgs.c.orig Tue Oct 28 02:24:02 2003
-+++ common/client_msgs.c Tue Oct 28 02:25:00 2003
-@@ -145,22 +145,16 @@
- printf ("%%ok\n");
- }
-
--void print_response(va_alist)
-- va_dcl
-+void print_response(int resp_no, char *format, ...)
- {
- va_list list;
- int i;
-- int resp_no;
-- char *format;
- FILE *fp;
-
-- va_start(list);
-+ va_start(list, format);
-
- fp = get_out_fp();
-
-- resp_no = va_arg(list, int);
-- format = va_arg(list, char *);
--
- for (i = 0; i < N_RESP; i++)
- {
- if (resp[i].resp_no == resp_no)
-@@ -179,6 +173,7 @@
- }
-
- vfprintf(fp, format, list);
-+ va_end(list);
-
- fprintf(fp, "\n");
- }
diff --git a/net/rwhoisd/files/patch-common-client_msgs.h b/net/rwhoisd/files/patch-common-client_msgs.h
deleted file mode 100644
index 625697efba0b..000000000000
--- a/net/rwhoisd/files/patch-common-client_msgs.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- common/client_msgs.h.orig Tue Oct 28 02:25:14 2003
-+++ common/client_msgs.h Tue Oct 28 02:25:30 2003
-@@ -85,7 +85,7 @@
-
- void print_error PROTO((int err_no, char *str));
-
--void print_response PROTO(());
-+void print_response PROTO((int resp_no, char *format, ...));
-
- void print_ok PROTO((void));
-
diff --git a/net/rwhoisd/files/patch-common-common.h b/net/rwhoisd/files/patch-common-common.h
deleted file mode 100644
index 84f7d11ad8fd..000000000000
--- a/net/rwhoisd/files/patch-common-common.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- common/common.h.orig Tue Oct 28 02:23:23 2003
-+++ common/common.h Tue Oct 28 02:23:33 2003
-@@ -56,7 +56,7 @@
- # undef _VA_ALIGN
- # undef __va_stack_arg
- # endif
--#include <varargs.h>
-+#include <stdarg.h>
- #endif /* HAVE_VPRINTF */
-
- /* this should probably be #ifdef USG */
diff --git a/net/rwhoisd/files/patch-common-log.c b/net/rwhoisd/files/patch-common-log.c
deleted file mode 100644
index c4da8e6e911d..000000000000
--- a/net/rwhoisd/files/patch-common-log.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- common/log.c.orig Tue Oct 28 02:26:55 2003
-+++ common/log.c Tue Oct 28 02:28:25 2003
-@@ -139,15 +139,12 @@
- /* log_error: prints a error message to the console. This is intended
- for server side errors only. */
- void
--log_error(va_alist)
-- va_dcl
-+log_error(char *format, ...)
- {
- va_list list;
-- char *format;
- char err_buf[MAX_LINE];
-
-- va_start(list);
-- format = va_arg(list, char *);
-+ va_start(list, format);
-
- #ifdef HAVE_VSNPRINTF
- vsnprintf(err_buf, sizeof(err_buf), format, list);
-@@ -164,15 +161,12 @@
- /* log_warning: prints a warning message to the console. This is intended
- for server side warnings only. */
- void
--log_warning(va_alist)
-- va_dcl
-+log_warning(char *format, ...)
- {
- va_list list;
-- char *format;
- char err_buf[MAX_LINE];
-
-- va_start(list);
-- format = va_arg(list, char *);
-+ va_start(list, format);
-
- #ifdef HAVE_VSNPRINTF
- vsnprintf(err_buf, sizeof(err_buf), format, list);
diff --git a/net/rwhoisd/files/patch-common-log.h b/net/rwhoisd/files/patch-common-log.h
deleted file mode 100644
index 1c105a1f8612..000000000000
--- a/net/rwhoisd/files/patch-common-log.h
+++ /dev/null
@@ -1,23 +0,0 @@
---- common/log.h.orig Tue Oct 28 02:25:55 2003
-+++ common/log.h Tue Oct 28 02:29:55 2003
-@@ -95,8 +95,8 @@
- /* old prototypes for backward compatibility */
-
- #define l_strerror strerror
--void log_error PROTO(());
--void log_warning PROTO(());
-+void log_error PROTO((char *format, ...));
-+void log_warning PROTO((char *format, ...));
- char *get_client_hostname PROTO((int sock));
- char *timestamp PROTO(());
-
-@@ -106,7 +106,8 @@
- (L_LOG_EMERG, L_LOG_ALERT, etc. [see internal_log_level in
- types.h) and SECTION is one of (NETWORK, QUERY, CONFIG, etc [see
- log_section in types.h) */
--void log PROTO(());
-+#define log Log
-+void log PROTO((internal_log_levels level, int section, char *format, ...));
-
- void setup_logging PROTO((void));
-
diff --git a/net/rwhoisd/files/patch-common-rw_log.c b/net/rwhoisd/files/patch-common-rw_log.c
deleted file mode 100644
index 3807b136a551..000000000000
--- a/net/rwhoisd/files/patch-common-rw_log.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- common/rw_log.c.orig Tue Oct 28 02:28:43 2003
-+++ common/rw_log.c Tue Oct 28 02:30:14 2003
-@@ -17,13 +17,10 @@
- #include "types.h"
-
- void
--log(va_alist)
-- va_dcl
-+log(internal_log_levels level, int section, char *format, ...)
- {
- va_list ap;
-- internal_log_levels level;
- FILE *fp;
-- char *format;
- char *filename;
- char *hostname;
- char message[MAX_LINE];
-@@ -31,13 +28,9 @@
- char *section_name;
- int fd;
- int use_syslog;
-- int section;
- int syslog_level;
-
-- va_start(ap);
-- level = (internal_log_levels) va_arg(ap, int);
-- section = (int) va_arg(ap, int);
-- format = va_arg(ap, char*);
-+ va_start(ap, format);
-
- /* verbosity sets the level at which we ignore log messages */
- if (level > get_verbosity())
-@@ -142,4 +135,5 @@
-
- fclose(fp);
- }
-+ va_end(ap);
- }
diff --git a/net/rwhoisd/files/patch-server-notify.c b/net/rwhoisd/files/patch-server-notify.c
deleted file mode 100644
index e4e71a95d91b..000000000000
--- a/net/rwhoisd/files/patch-server-notify.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- server/notify.c.orig Tue Oct 28 02:30:38 2003
-+++ server/notify.c Tue Oct 28 02:31:26 2003
-@@ -75,18 +75,13 @@
-
- /* log notify information */
- int
--log_entry(va_alist)
-- va_dcl
-+log_entry(char *filename, char *format, ...)
- {
- va_list ap;
- FILE *fp;
-- char *format;
-- char *filename;
- char *hostname;
-
-- va_start(ap);
-- filename = va_arg (ap, char*);
-- format = va_arg(ap, char*);
-+ va_start(ap, format);
-
- /* lock the file */
- fp = get_file_lock(filename, "a", 60);
-@@ -103,6 +98,7 @@
- fprintf(fp, " [%-15s] PID: %-8d", hostname, (int) getpid());
- vfprintf(fp, format, ap);
- fprintf(fp, "\n");
-+ va_end(ap);
-
- release_file_lock(filename, fp);
-
diff --git a/net/rwhoisd/files/rwhoisd.sh b/net/rwhoisd/files/rwhoisd.sh
deleted file mode 100644
index cc977b591234..000000000000
--- a/net/rwhoisd/files/rwhoisd.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
- echo "$0: Cannot determine the PREFIX" >&2
- exit 1
-fi
-
-case "$1" in
-start)
- # remove or comment the following line and uncomment the one below it once you have
- # configured your server's data
- echo "rwhoisd not started; sample data still in place. See ${PREFIX}/share/doc/rwhois for details."
- #if [ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ]; then (${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhoisd.conf &); echo -n ' rwhoisd'; fi
- ;;
-stop)
- # killall rwhoisd && echo -n ' rwhoisd
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- ;;
-esac
-
-exit 0
diff --git a/net/rwhoisd/pkg-descr b/net/rwhoisd/pkg-descr
deleted file mode 100644
index 18465350eed2..000000000000
--- a/net/rwhoisd/pkg-descr
+++ /dev/null
@@ -1,23 +0,0 @@
-With the exponential growth of the Internet, a central Whois database that
-provides host and network information of systems connected to the Internet,
-and electronic mail (email) addresses of the users of those systems has
-proven to be very inefficient. The sheer size and effort needed to maintain
-a centralized database necessitates an alternate, decentralized approach to
-storing and retrieving this information.
-
-RWhois is a Directory Services protocol which extends and enhances the Whois
-concept in a hierarchical and scaleable fashion. It focuses on the
-distribution of "network objects"--the data representing Internet resources
-or people--and uses the inherently hierarchical nature of these network
-objects (domain names, Internet Protocol (IP) networks, email addresses) to
-more accurately discover the requested information.
-
-RWhois synthesizes concepts from other, established Internet protocols to
-create a more useful way to find resources across the Internet. The RWhois
-protocol and architecture derive a great deal of structure from the Domain
-Name System (DNS) [RFC 1034] and borrow directory service concepts from
-other directory service efforts, primarily [X.500]. The protocol is also
-influenced by earlier established Internet protocols, such as the Simple
-Mail Transport Protocol (SMTP) [RFC 821] for response codes.
-
-WWW: http://www.rwhois.net/
diff --git a/net/rwhoisd/pkg-plist b/net/rwhoisd/pkg-plist
deleted file mode 100644
index b408906ebb78..000000000000
--- a/net/rwhoisd/pkg-plist
+++ /dev/null
@@ -1,63 +0,0 @@
-etc/rc.d/rwhoisd.sh
-lib/rwhois/a.com/attribute_defs/asn.tmpl
-lib/rwhois/a.com/attribute_defs/contact.tmpl
-lib/rwhois/a.com/attribute_defs/domain.tmpl
-lib/rwhois/a.com/attribute_defs/guardian.tmpl
-lib/rwhois/a.com/attribute_defs/host.tmpl
-lib/rwhois/a.com/attribute_defs/org.tmpl
-lib/rwhois/a.com/attribute_defs/referral.tmpl
-lib/rwhois/a.com/data/asn/asn.txt
-lib/rwhois/a.com/data/contact/contact.txt
-lib/rwhois/a.com/data/domain/domain.txt
-lib/rwhois/a.com/data/guardian/guardian.txt
-lib/rwhois/a.com/data/host/host.txt
-lib/rwhois/a.com/data/org/org.txt
-lib/rwhois/a.com/data/referral/referral.txt
-lib/rwhois/a.com/schema
-lib/rwhois/a.com/soa
-lib/rwhois/bin/rwhois_deleter
-lib/rwhois/bin/rwhois_indexer
-lib/rwhois/net-10.0.0.0-8/attribute_defs/contact.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/guardian.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/host.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/network.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/referral.tmpl
-lib/rwhois/net-10.0.0.0-8/data/network/network.txt
-lib/rwhois/net-10.0.0.0-8/data/referral/referral.txt
-lib/rwhois/net-10.0.0.0-8/schema
-lib/rwhois/net-10.0.0.0-8/soa
-lib/rwhois/rwhoisd.allow
-lib/rwhois/rwhoisd.auth_area
-lib/rwhois/rwhoisd.conf
-lib/rwhois/rwhoisd.deny
-lib/rwhois/rwhoisd.dir
-lib/rwhois/rwhoisd.root
-lib/rwhois/rwhoisd.x.dir
-lib/rwhois/sbin/rwhoisd
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
-%%PORTDOCS%%%%DOCSDIR%%/operations_guide.html
-%%PORTDOCS%%%%DOCSDIR%%/operations_guide.txt
-%%PORTDOCS%%%%DOCSDIR%%/rfc2167.txt
-%%PORTDOCS%%%%DOCSDIR%%/security.html
-%%PORTDOCS%%%%DOCSDIR%%/security.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm lib/rwhois/sbin
-@dirrm lib/rwhois/net-10.0.0.0-8/data/referral
-@dirrm lib/rwhois/net-10.0.0.0-8/data/network
-@dirrm lib/rwhois/net-10.0.0.0-8/data
-@dirrm lib/rwhois/net-10.0.0.0-8/attribute_defs
-@dirrm lib/rwhois/net-10.0.0.0-8
-@dirrm lib/rwhois/bin
-@dirrm lib/rwhois/a.com/data/referral
-@dirrm lib/rwhois/a.com/data/org
-@dirrm lib/rwhois/a.com/data/host
-@dirrm lib/rwhois/a.com/data/guardian
-@dirrm lib/rwhois/a.com/data/domain
-@dirrm lib/rwhois/a.com/data/contact
-@dirrm lib/rwhois/a.com/data/asn
-@dirrm lib/rwhois/a.com/data
-@dirrm lib/rwhois/a.com/attribute_defs
-@dirrm lib/rwhois/a.com
-@dirrm lib/rwhois