mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Update to version 1.5.7
PR: 23136 Submitted by: Ports Fury
This commit is contained in:
parent
382ea11c4e
commit
bcc42b0565
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35492
@ -6,10 +6,10 @@
|
||||
#
|
||||
|
||||
PORTNAME= rwhois
|
||||
PORTVERSION= 1.0.b9.2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.rwhois.net/pub/
|
||||
DISTNAME= rwhois-1.0B9.2
|
||||
PORTVERSION= 1.5.7
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= http://www.rwhois.net/ftp/
|
||||
DISTNAME= ${PORTNAME}d-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
@ -17,27 +17,27 @@ MAINTAINER= ports@FreeBSD.org
|
||||
LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
|
||||
.endif
|
||||
|
||||
HAS_CONFIGURE= YES
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX}/lib/rwhois
|
||||
INSTALL_TARGET= install install-sample-data install-chroot
|
||||
|
||||
MAN8= rmkdbindex.8 rwhoisd.8
|
||||
BINOWN= bin
|
||||
BINGRP= bin
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
MAN8= rwhois_indexer.8 rwhoisd.8
|
||||
|
||||
.if ${OSVERSION} < 400011
|
||||
LIBCVERSION= 3.1
|
||||
.else
|
||||
LIBCVERSION= 4
|
||||
.endif
|
||||
PLIST_SUB= LIBCVERSION=${LIBCVERSION}
|
||||
PORTDOCS= INSTALL.html TODO UPGRADE operations_guide.html \
|
||||
operations_guide.txt rfc2167.txt security.html security.txt
|
||||
|
||||
post-install:
|
||||
${MKDIR} -p ${PREFIX}/share/doc/rwhois
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/rwhois
|
||||
${MV} ${PREFIX}/share/doc/rwhois/rmkdbindex.8 ${PREFIX}/man/man8
|
||||
${MV} ${PREFIX}/share/doc/rwhois/rwhoisd.8 ${PREFIX}/man/man8
|
||||
@ ${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/rwhoisd.sh startup file..."
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/rwhois_indexer.8 ${PREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/rwhoisd.8 ${PREFIX}/man/man8
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/rwhois
|
||||
.for file in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/rwhois
|
||||
.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.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (rwhois-1.0B9.2.tar.gz) = f444b79637ffd78b92961e63137cc83b
|
||||
MD5 (rwhoisd-1.5.7.tar.gz) = 02e22ebec5c4c76a626fe74c945300a0
|
||||
|
@ -1,78 +1,11 @@
|
||||
--- Makefile.in.orig Thu Aug 8 20:37:37 1996
|
||||
+++ Makefile.in Fri May 23 03:06:12 1997
|
||||
@@ -2,7 +2,7 @@
|
||||
@SET_MAKE@
|
||||
--- 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)
|
||||
|
||||
# set install program
|
||||
-INSTALL = @INSTALL@
|
||||
+INSTALL = /usr/bin/install -c -s -o bin -g bin
|
||||
-all: libraries libwrap binaries
|
||||
+all: libraries binaries
|
||||
|
||||
# set prefix values
|
||||
prefix = @prefix@
|
||||
@@ -25,12 +25,12 @@
|
||||
PARSER_DIR = $(TOOLS_DIR)/rwhoisparse
|
||||
LIBWRAP_DIR = tools/tcpd_wrapper
|
||||
CLIENT_DIR = client
|
||||
-SAMPLE_DATA_DIR = @SAMPLE_DATA_DIR@
|
||||
+SAMPLE_DATA_DIR = ${RWHOIS_ROOT_DIR}
|
||||
LIBRWHOIS = librwhois.a
|
||||
LIBMKDB = libmkdb.a
|
||||
LIBWRAP = libwrap.a
|
||||
|
||||
-all: librwhois libmkdb libwrap make-server indexer parser make-client
|
||||
+all: librwhois libmkdb make-server indexer parser make-client
|
||||
|
||||
librwhois:
|
||||
@echo "Making $(LIBRWHOIS)"
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
install-chroot:
|
||||
@echo "Setup chroot stuff"
|
||||
- chroot.sh $(RWHOIS_ROOT_DIR)
|
||||
+ ./chroot.sh $(RWHOIS_ROOT_DIR)
|
||||
|
||||
install-client:
|
||||
@echo "Installing RWhois Client"
|
||||
@@ -86,21 +86,13 @@
|
||||
install-sample-data: sample-data-install
|
||||
|
||||
sample-data-install:
|
||||
- @echo "Setting up for quickie install with sample data"
|
||||
- @echo "This is located in `pwd`/sample.data"
|
||||
- @echo "Setting up RWhois default data directory (data will reside here)"
|
||||
+ if [ -d ${.CURDIR}/sample.data/bin ]; then rm -r ${.CURDIR}/sample.data/bin; fi
|
||||
+ if [ -d ${.CURDIR}/sample.data/etc ]; then rm -r ${.CURDIR}/sample.data/etc; fi
|
||||
+ cp -r ${.CURDIR}/sample.data/ ${SAMPLE_DATA_DIR}
|
||||
(sh tools/install/setup_rwhois_conf $(SAMPLE_DATA_DIR))
|
||||
- @echo "Setting up index scripts"
|
||||
(sh tools/install/setup_index_scripts $(SAMPLE_DATA_DIR))
|
||||
- @echo "Copying the indexer into the sample data area"
|
||||
- if [ $(SAMPLE_DATA_DIR) != $(RWHOIS_ROOT_DIR) ]; then \
|
||||
- if [ ! -d $(SAMPLE_DATA_DIR)/bin ]; then \
|
||||
- mkdir $(SAMPLE_DATA_DIR)/bin; \
|
||||
- fi; \
|
||||
- cp $(RWHOIS_ROOT_DIR)/bin/rmkdbindex $(SAMPLE_DATA_DIR)/bin; \
|
||||
- fi
|
||||
- @echo "Running index scripts"
|
||||
(sh tools/install/run_index_scripts $(SAMPLE_DATA_DIR))
|
||||
+ /usr/sbin/chown -R nobody ${SAMPLE_DATA_DIR}/data ${SAMPLE_DATA_DIR}/rwhois.log
|
||||
|
||||
clean:
|
||||
@echo "Cleaning Server"
|
||||
@@ -109,8 +101,6 @@
|
||||
(cd $(COMMON_DIR); $(MAKE) clean)
|
||||
@echo "Cleaning MKDB"
|
||||
(cd $(MKDB_DIR); $(MAKE) clean)
|
||||
- @echo "Cleaning TCPD stuff"
|
||||
- (cd $(LIBWRAP_DIR); $(MAKE) clean)
|
||||
@echo "Cleaning RWhois Indexer"
|
||||
(cd $(INDEXER_DIR); $(MAKE) clean)
|
||||
@echo "Cleaning RWhois Parser"
|
||||
@@ -133,7 +123,6 @@
|
||||
(cd $(MKDB_DIR); $(MAKE) distclean)
|
||||
(cd $(INDEXER_DIR); $(MAKE) distclean)
|
||||
(cd $(PARSER_DIR); $(MAKE) distclean)
|
||||
- (cd $(LIBWRAP_DIR); $(MAKE) clean)
|
||||
(cd $(CLIENT_DIR); $(MAKE) distclean)
|
||||
|
||||
dist:
|
||||
libraries:
|
||||
@for dir in $(LIB_SUBDIRS); do \
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- client/Makefile.in.orig Wed Sep 25 18:10:48 1996
|
||||
+++ client/Makefile.in Fri May 23 02:34:00 1997
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
CC = @CC@
|
||||
RANLIB = @RANLIB@
|
||||
-INSTALL = @INSTALL@
|
||||
+INSTALL = /usr/bin/install -c -s -o bin -g bin
|
||||
|
||||
|
||||
#
|
||||
@@ -56,6 +56,7 @@
|
||||
install:
|
||||
if [ ! -d $(bindir) ]; then mkdir $(bindir); fi
|
||||
$(INSTALL) rwhois $(bindir)
|
||||
+ /bin/ln -sf ${PREFIX}/lib/rwhois/bin/rwhois ${PREFIX}/bin/rwhois
|
||||
|
||||
clean:
|
||||
rm -f rwhois *.o *~ librwclient.a
|
@ -1,31 +1,33 @@
|
||||
--- server/Makefile.in.orig Wed Sep 25 13:03:56 1996
|
||||
+++ server/Makefile.in Fri May 9 22:48:56 1997
|
||||
@@ -7,14 +7,15 @@
|
||||
--- 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
|
||||
etcdir = $(exec_prefix)/etc
|
||||
|
||||
# local libs/includes
|
||||
COMMON_INC = -I../common
|
||||
COMMON_LIBS = -L../common -lrwhois
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
@@ -18,8 +18,8 @@
|
||||
COMMON_INC = -I$(srcdir)/../common
|
||||
COMMON_LIBS = -L../common -lrwcommon
|
||||
|
||||
-WRAP_INC = -I../tools/tcpd_wrapper
|
||||
-WRAP_LIBS = -L../tools/tcpd_wrapper -lwrap
|
||||
+WRAP_INC = -I${PREFIX}/include
|
||||
+WRAP_LIBS = -L${PREFIX}/lib -lwrap
|
||||
-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../mkdb
|
||||
MKDB_LIBS = -L../mkdb -lmkdb
|
||||
@@ -77,8 +78,8 @@
|
||||
$(CC) -c $(CFLAGS) $(LOCAL_INC) $*.c
|
||||
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 -p $(sbindir); fi
|
||||
+ if [ ! -d $(sbindir) ]; then mkdir $(sbindir); fi
|
||||
+ $(INSTALL) rwhoisd $(sbindir)
|
||||
|
||||
clean:
|
||||
rm -f *.[oa]
|
||||
uninstall:
|
||||
$(RM) $(etcdir)/rwhoisd
|
||||
|
@ -1,54 +0,0 @@
|
||||
--- chroot.sh.orig Wed Jul 31 15:34:34 1996
|
||||
+++ chroot.sh Thu Jun 5 09:45:59 1997
|
||||
@@ -10,9 +10,15 @@
|
||||
#umask 022
|
||||
|
||||
RWHOIS_ROOT_DIR=$1
|
||||
-COPY="cp"
|
||||
+COPY="/bin/cp"
|
||||
|
||||
# check if these directories exist
|
||||
+if test ! -d ${RWHOIS_ROOT_DIR}
|
||||
+then
|
||||
+ echo "make directory ${RWHOIS_ROOT_DIR}."
|
||||
+ mkdir ${RWHOIS_ROOT_DIR}
|
||||
+fi
|
||||
+
|
||||
if test ! -d ${RWHOIS_ROOT_DIR}/etc
|
||||
then
|
||||
echo "make directory ${RWHOIS_ROOT_DIR}/etc".
|
||||
@@ -35,20 +41,30 @@
|
||||
then
|
||||
echo "make directory ${RWHOIS_ROOT_DIR}/usr"
|
||||
mkdir $RWHOIS_ROOT_DIR/usr
|
||||
- mkdir $RWHOIS_ROOT_DIR/usr/lib
|
||||
-elif test ! -d $RWHOIS_ROOT_DIR/usr/lib
|
||||
+fi
|
||||
+
|
||||
+if test ! -d $RWHOIS_ROOT_DIR/usr/lib
|
||||
then
|
||||
echo "make directory ${RWHOIS_ROOT_DIR}/usr/lib"
|
||||
mkdir $RWHOIS_ROOT_DIR/usr/lib
|
||||
fi
|
||||
|
||||
+if test ! -d $RWHOIS_ROOT_DIR/usr/libexec
|
||||
+then
|
||||
+ echo "make directory ${RWHOIS_ROOT_DIR}/usr/libexec"
|
||||
+ mkdir $RWHOIS_ROOT_DIR/usr/libexec
|
||||
+fi
|
||||
+
|
||||
#copy /etc/resolv.conf to (rwhois_root)/etc
|
||||
$COPY /etc/resolv.conf ${RWHOIS_ROOT_DIR}/etc
|
||||
|
||||
#copy /usr/lib/files to (rwhois_root)/usr/lib
|
||||
- $COPY /usr/lib/ld.so /usr/lib/libnsl.so.1 /usr/lib/libsocket.so.1 /usr/lib/libc.so.1 /usr/lib/libdl.so.1 /usr/lib/libintl.so.1 /usr/lib/libmp.so.1 /usr/lib/libw.so.1 /usr/lib/libmapmalloc.so.1 $RWHOIS_ROOT_DIR/usr/lib
|
||||
+ $COPY /usr/lib/libc.so.* ${PREFIX}/lib/libwrap.so.* $RWHOIS_ROOT_DIR/usr/lib
|
||||
+
|
||||
+#copy /usr/lib/files to (rwhois_root)/usr/lib
|
||||
+ $COPY /usr/libexec/ld.so $RWHOIS_ROOT_DIR/usr/libexec
|
||||
|
||||
#copy /usr/bin/execut. to (rwhois_root)/bin
|
||||
- $COPY /usr/bin/sh /usr/bin/sort $RWHOIS_ROOT_DIR/bin
|
||||
+ $COPY /bin/sh /usr/bin/sort /bin/date $RWHOIS_ROOT_DIR/bin
|
||||
|
||||
echo "done"
|
@ -1,20 +1,11 @@
|
||||
--- sample.data/rwhois.conf.orig Fri May 23 01:59:32 1997
|
||||
+++ sample.data/rwhois.conf Fri May 23 02:00:37 1997
|
||||
@@ -10,7 +10,7 @@
|
||||
# to. If it is not set, it will default to the current working
|
||||
# directory.
|
||||
# NOTE: you want to change this.
|
||||
-root-dir: /home/devel2/davidb/src/rwhois-dev/sample.data
|
||||
+root-dir: /usr/local/lib/rwhois
|
||||
|
||||
# schema-file: The config file that contains the top-level schema
|
||||
# information. This file must exist. The old 'object-file' refers to
|
||||
@@ -85,7 +85,7 @@
|
||||
# chrooted: NO
|
||||
|
||||
# userid: If run as root, rwhoisd will change to this user
|
||||
-userid: davidb
|
||||
--- 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
|
||||
|
||||
# verbosity: What level of reporting (to the console) do you wish.
|
||||
# The default is '1'. '0' is quiet and numbers greater then '1' are
|
||||
# pid-file: where to put the file containing the pid of the server.
|
||||
# normal default is "rwhoisd.pid"
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- common/misc.c.orig Tue Oct 13 23:12:30 1998
|
||||
+++ common/misc.c Tue Oct 13 23:12:58 1998
|
||||
@@ -380,7 +380,6 @@
|
||||
char *program;
|
||||
char *param;
|
||||
{
|
||||
- int errno = 0;
|
||||
extern char **environ;
|
||||
char *myenviron[MAX_SET];
|
||||
char *argv[MAX_SET];
|
20
net/rwhois/files/patch-ag
Normal file
20
net/rwhois/files/patch-ag
Normal file
@ -0,0 +1,20 @@
|
||||
--- tools/Xpgp/Xpgp.c.orig Fri Jan 30 09:25:58 1998
|
||||
+++ tools/Xpgp/Xpgp.c Sat Nov 25 15:58:33 2000
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
key = xcalloc(1, sizeof(char) * 1050);
|
||||
|
||||
- gets(key);
|
||||
+ fgets(key, sizeof(key), stdin);
|
||||
fprintf(fp, "%s\n",key);
|
||||
|
||||
if (strstr(key, "END"))
|
||||
@@ -72,7 +72,7 @@
|
||||
free(key);
|
||||
|
||||
newstr = xcalloc(1, sizeof(char)*100);
|
||||
- gets(newstr);
|
||||
+ fgets(newstr, sizeof(newstr), stdin);
|
||||
|
||||
if (STRN_EQ(newstr, "-X-pgp off keyadd", 17))
|
||||
{
|
@ -10,7 +10,7 @@ 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."
|
||||
#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhois.conf & && echo -n ' rwhoisd'
|
||||
#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhoisd.conf & && echo -n ' rwhoisd'
|
||||
;;
|
||||
stop)
|
||||
# killall rwhoisd && echo -n ' rwhoisd
|
||||
|
@ -22,3 +22,4 @@ 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/
|
||||
|
@ -1,119 +1,63 @@
|
||||
bin/rwhois
|
||||
etc/rc.d/rwhoisd.sh
|
||||
lib/rwhois/attribute_defs/asn.tmpl
|
||||
lib/rwhois/attribute_defs/domain.tmpl
|
||||
lib/rwhois/attribute_defs/host.tmpl
|
||||
lib/rwhois/attribute_defs/network.tmpl
|
||||
lib/rwhois/attribute_defs/nic.tmpl
|
||||
lib/rwhois/attribute_defs/org.tmpl
|
||||
lib/rwhois/attribute_defs/referral.tmpl
|
||||
lib/rwhois/attribute_defs/soa.tmpl
|
||||
lib/rwhois/attribute_defs/user.tmpl
|
||||
lib/rwhois/bin/date
|
||||
lib/rwhois/bin/rmkdbindex
|
||||
lib/rwhois/bin/rwhois
|
||||
lib/rwhois/bin/rwhoisparse
|
||||
lib/rwhois/bin/sh
|
||||
lib/rwhois/bin/sort
|
||||
lib/rwhois/data/asn/asn.txt
|
||||
lib/rwhois/data/asn/local-0.ndx
|
||||
lib/rwhois/data/asn/local.db
|
||||
lib/rwhois/data/asn/null.ca
|
||||
lib/rwhois/data/domain/local-0.ndx
|
||||
lib/rwhois/data/domain/local.db
|
||||
lib/rwhois/data/domain/null.ca
|
||||
lib/rwhois/data/domain/shoe-me.com.txt
|
||||
lib/rwhois/data/host/local-0.ndx
|
||||
lib/rwhois/data/host/local.db
|
||||
lib/rwhois/data/host/null.ca
|
||||
lib/rwhois/data/host/shoe_me.txt
|
||||
lib/rwhois/data/network/local-0.ndx
|
||||
lib/rwhois/data/network/local.db
|
||||
lib/rwhois/data/network/null.ca
|
||||
lib/rwhois/data/network/shoe-me.net.txt
|
||||
lib/rwhois/data/referral/local-0.ndx
|
||||
lib/rwhois/data/referral/local.db
|
||||
lib/rwhois/data/referral/shoe-me-more.txt
|
||||
lib/rwhois/data/soa/internic.txt
|
||||
lib/rwhois/data/soa/local-0.ndx
|
||||
lib/rwhois/data/soa/local.db
|
||||
lib/rwhois/data/soa/null.ca
|
||||
lib/rwhois/data/soa/shoe-me.txt
|
||||
lib/rwhois/data/user/local-0.ndx
|
||||
lib/rwhois/data/user/local.db
|
||||
lib/rwhois/data/user/null.ca
|
||||
lib/rwhois/data/user/shoe-me.be.txt
|
||||
lib/rwhois/data/user/shoe-me.multiple.txt
|
||||
lib/rwhois/data/user/shoe.gif
|
||||
lib/rwhois/etc/resolv.conf
|
||||
lib/rwhois/index_scripts/index_all
|
||||
lib/rwhois/index_scripts/index_asn
|
||||
lib/rwhois/index_scripts/index_domain
|
||||
lib/rwhois/index_scripts/index_host
|
||||
lib/rwhois/index_scripts/index_network
|
||||
lib/rwhois/index_scripts/index_nic
|
||||
lib/rwhois/index_scripts/index_org
|
||||
lib/rwhois/index_scripts/index_referral
|
||||
lib/rwhois/index_scripts/index_soa
|
||||
lib/rwhois/index_scripts/index_user
|
||||
lib/rwhois/output_templates/asn.full.output
|
||||
lib/rwhois/output_templates/domain.full.output
|
||||
lib/rwhois/output_templates/domain.sum.output
|
||||
lib/rwhois/output_templates/host.contact.output
|
||||
lib/rwhois/output_templates/host.full.output
|
||||
lib/rwhois/output_templates/host.sum.output
|
||||
lib/rwhois/output_templates/network.full.output
|
||||
lib/rwhois/output_templates/network.ripe.output
|
||||
lib/rwhois/output_templates/network.sum.output
|
||||
lib/rwhois/output_templates/network.swip.output
|
||||
lib/rwhois/output_templates/nic.full.output
|
||||
lib/rwhois/output_templates/org.full.output
|
||||
lib/rwhois/output_templates/referral.full.output
|
||||
lib/rwhois/output_templates/soa.full.output
|
||||
lib/rwhois/output_templates/user.contact.output
|
||||
lib/rwhois/output_templates/user.full.output
|
||||
lib/rwhois/output_templates/user.ripe.output
|
||||
lib/rwhois/output_templates/user.sum.output
|
||||
lib/rwhois/output_templates/user.swip.output
|
||||
lib/rwhois/rwhois.allow
|
||||
lib/rwhois/rwhois.conf
|
||||
lib/rwhois/rwhois.conf.orig
|
||||
lib/rwhois/rwhois.define
|
||||
lib/rwhois/rwhois.deny
|
||||
lib/rwhois/rwhois.directive
|
||||
lib/rwhois/rwhois.display
|
||||
lib/rwhois/rwhois.help
|
||||
lib/rwhois/rwhois.log
|
||||
lib/rwhois/rwhois.objects
|
||||
lib/rwhois/rwhois.root
|
||||
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/Xpgp
|
||||
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
|
||||
lib/rwhois/usr/lib/libc.so.%%LIBCVERSION%%
|
||||
lib/rwhois/usr/libexec/ld.so
|
||||
share/doc/rwhois/EXAMPLES
|
||||
share/doc/rwhois/INSTALLATION
|
||||
share/doc/rwhois/NEWS
|
||||
share/doc/rwhois/PROBLEMS
|
||||
share/doc/rwhois/README
|
||||
share/doc/rwhois/INSTALL.html
|
||||
share/doc/rwhois/TODO
|
||||
share/doc/rwhois/UPGRADE
|
||||
share/doc/rwhois/operations_guide.html
|
||||
share/doc/rwhois/operations_guide.txt
|
||||
share/doc/rwhois/sample.data.explained
|
||||
@dirrm lib/rwhois/attribute_defs/
|
||||
@dirrm lib/rwhois/bin/
|
||||
@dirrm lib/rwhois/data/asn/
|
||||
@dirrm lib/rwhois/data/domain/
|
||||
@dirrm lib/rwhois/data/host/
|
||||
@dirrm lib/rwhois/data/network/
|
||||
@dirrm lib/rwhois/data/referral/
|
||||
@dirrm lib/rwhois/data/soa/
|
||||
@dirrm lib/rwhois/data/user/
|
||||
@dirrm lib/rwhois/data/
|
||||
@dirrm lib/rwhois/etc/
|
||||
@dirrm lib/rwhois/index_scripts/
|
||||
@dirrm lib/rwhois/output_templates/
|
||||
@dirrm lib/rwhois/sbin/
|
||||
@dirrm lib/rwhois/tmp/
|
||||
@dirrm lib/rwhois/usr/lib/
|
||||
@dirrm lib/rwhois/usr/libexec/
|
||||
@dirrm lib/rwhois/usr/
|
||||
@dirrm lib/rwhois/
|
||||
share/doc/rwhois/rfc2167.txt
|
||||
share/doc/rwhois/security.html
|
||||
share/doc/rwhois/security.txt
|
||||
@dirrm share/doc/rwhois
|
||||
@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
|
||||
|
@ -6,10 +6,10 @@
|
||||
#
|
||||
|
||||
PORTNAME= rwhois
|
||||
PORTVERSION= 1.0.b9.2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.rwhois.net/pub/
|
||||
DISTNAME= rwhois-1.0B9.2
|
||||
PORTVERSION= 1.5.7
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= http://www.rwhois.net/ftp/
|
||||
DISTNAME= ${PORTNAME}d-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
@ -17,27 +17,27 @@ MAINTAINER= ports@FreeBSD.org
|
||||
LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
|
||||
.endif
|
||||
|
||||
HAS_CONFIGURE= YES
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX}/lib/rwhois
|
||||
INSTALL_TARGET= install install-sample-data install-chroot
|
||||
|
||||
MAN8= rmkdbindex.8 rwhoisd.8
|
||||
BINOWN= bin
|
||||
BINGRP= bin
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
MAN8= rwhois_indexer.8 rwhoisd.8
|
||||
|
||||
.if ${OSVERSION} < 400011
|
||||
LIBCVERSION= 3.1
|
||||
.else
|
||||
LIBCVERSION= 4
|
||||
.endif
|
||||
PLIST_SUB= LIBCVERSION=${LIBCVERSION}
|
||||
PORTDOCS= INSTALL.html TODO UPGRADE operations_guide.html \
|
||||
operations_guide.txt rfc2167.txt security.html security.txt
|
||||
|
||||
post-install:
|
||||
${MKDIR} -p ${PREFIX}/share/doc/rwhois
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/rwhois
|
||||
${MV} ${PREFIX}/share/doc/rwhois/rmkdbindex.8 ${PREFIX}/man/man8
|
||||
${MV} ${PREFIX}/share/doc/rwhois/rwhoisd.8 ${PREFIX}/man/man8
|
||||
@ ${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/rwhoisd.sh startup file..."
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/rwhois_indexer.8 ${PREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/rwhoisd.8 ${PREFIX}/man/man8
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/rwhois
|
||||
.for file in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/rwhois
|
||||
.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.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (rwhois-1.0B9.2.tar.gz) = f444b79637ffd78b92961e63137cc83b
|
||||
MD5 (rwhoisd-1.5.7.tar.gz) = 02e22ebec5c4c76a626fe74c945300a0
|
||||
|
@ -1,78 +1,11 @@
|
||||
--- Makefile.in.orig Thu Aug 8 20:37:37 1996
|
||||
+++ Makefile.in Fri May 23 03:06:12 1997
|
||||
@@ -2,7 +2,7 @@
|
||||
@SET_MAKE@
|
||||
--- 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)
|
||||
|
||||
# set install program
|
||||
-INSTALL = @INSTALL@
|
||||
+INSTALL = /usr/bin/install -c -s -o bin -g bin
|
||||
-all: libraries libwrap binaries
|
||||
+all: libraries binaries
|
||||
|
||||
# set prefix values
|
||||
prefix = @prefix@
|
||||
@@ -25,12 +25,12 @@
|
||||
PARSER_DIR = $(TOOLS_DIR)/rwhoisparse
|
||||
LIBWRAP_DIR = tools/tcpd_wrapper
|
||||
CLIENT_DIR = client
|
||||
-SAMPLE_DATA_DIR = @SAMPLE_DATA_DIR@
|
||||
+SAMPLE_DATA_DIR = ${RWHOIS_ROOT_DIR}
|
||||
LIBRWHOIS = librwhois.a
|
||||
LIBMKDB = libmkdb.a
|
||||
LIBWRAP = libwrap.a
|
||||
|
||||
-all: librwhois libmkdb libwrap make-server indexer parser make-client
|
||||
+all: librwhois libmkdb make-server indexer parser make-client
|
||||
|
||||
librwhois:
|
||||
@echo "Making $(LIBRWHOIS)"
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
install-chroot:
|
||||
@echo "Setup chroot stuff"
|
||||
- chroot.sh $(RWHOIS_ROOT_DIR)
|
||||
+ ./chroot.sh $(RWHOIS_ROOT_DIR)
|
||||
|
||||
install-client:
|
||||
@echo "Installing RWhois Client"
|
||||
@@ -86,21 +86,13 @@
|
||||
install-sample-data: sample-data-install
|
||||
|
||||
sample-data-install:
|
||||
- @echo "Setting up for quickie install with sample data"
|
||||
- @echo "This is located in `pwd`/sample.data"
|
||||
- @echo "Setting up RWhois default data directory (data will reside here)"
|
||||
+ if [ -d ${.CURDIR}/sample.data/bin ]; then rm -r ${.CURDIR}/sample.data/bin; fi
|
||||
+ if [ -d ${.CURDIR}/sample.data/etc ]; then rm -r ${.CURDIR}/sample.data/etc; fi
|
||||
+ cp -r ${.CURDIR}/sample.data/ ${SAMPLE_DATA_DIR}
|
||||
(sh tools/install/setup_rwhois_conf $(SAMPLE_DATA_DIR))
|
||||
- @echo "Setting up index scripts"
|
||||
(sh tools/install/setup_index_scripts $(SAMPLE_DATA_DIR))
|
||||
- @echo "Copying the indexer into the sample data area"
|
||||
- if [ $(SAMPLE_DATA_DIR) != $(RWHOIS_ROOT_DIR) ]; then \
|
||||
- if [ ! -d $(SAMPLE_DATA_DIR)/bin ]; then \
|
||||
- mkdir $(SAMPLE_DATA_DIR)/bin; \
|
||||
- fi; \
|
||||
- cp $(RWHOIS_ROOT_DIR)/bin/rmkdbindex $(SAMPLE_DATA_DIR)/bin; \
|
||||
- fi
|
||||
- @echo "Running index scripts"
|
||||
(sh tools/install/run_index_scripts $(SAMPLE_DATA_DIR))
|
||||
+ /usr/sbin/chown -R nobody ${SAMPLE_DATA_DIR}/data ${SAMPLE_DATA_DIR}/rwhois.log
|
||||
|
||||
clean:
|
||||
@echo "Cleaning Server"
|
||||
@@ -109,8 +101,6 @@
|
||||
(cd $(COMMON_DIR); $(MAKE) clean)
|
||||
@echo "Cleaning MKDB"
|
||||
(cd $(MKDB_DIR); $(MAKE) clean)
|
||||
- @echo "Cleaning TCPD stuff"
|
||||
- (cd $(LIBWRAP_DIR); $(MAKE) clean)
|
||||
@echo "Cleaning RWhois Indexer"
|
||||
(cd $(INDEXER_DIR); $(MAKE) clean)
|
||||
@echo "Cleaning RWhois Parser"
|
||||
@@ -133,7 +123,6 @@
|
||||
(cd $(MKDB_DIR); $(MAKE) distclean)
|
||||
(cd $(INDEXER_DIR); $(MAKE) distclean)
|
||||
(cd $(PARSER_DIR); $(MAKE) distclean)
|
||||
- (cd $(LIBWRAP_DIR); $(MAKE) clean)
|
||||
(cd $(CLIENT_DIR); $(MAKE) distclean)
|
||||
|
||||
dist:
|
||||
libraries:
|
||||
@for dir in $(LIB_SUBDIRS); do \
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- client/Makefile.in.orig Wed Sep 25 18:10:48 1996
|
||||
+++ client/Makefile.in Fri May 23 02:34:00 1997
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
CC = @CC@
|
||||
RANLIB = @RANLIB@
|
||||
-INSTALL = @INSTALL@
|
||||
+INSTALL = /usr/bin/install -c -s -o bin -g bin
|
||||
|
||||
|
||||
#
|
||||
@@ -56,6 +56,7 @@
|
||||
install:
|
||||
if [ ! -d $(bindir) ]; then mkdir $(bindir); fi
|
||||
$(INSTALL) rwhois $(bindir)
|
||||
+ /bin/ln -sf ${PREFIX}/lib/rwhois/bin/rwhois ${PREFIX}/bin/rwhois
|
||||
|
||||
clean:
|
||||
rm -f rwhois *.o *~ librwclient.a
|
@ -1,31 +1,33 @@
|
||||
--- server/Makefile.in.orig Wed Sep 25 13:03:56 1996
|
||||
+++ server/Makefile.in Fri May 9 22:48:56 1997
|
||||
@@ -7,14 +7,15 @@
|
||||
--- 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
|
||||
etcdir = $(exec_prefix)/etc
|
||||
|
||||
# local libs/includes
|
||||
COMMON_INC = -I../common
|
||||
COMMON_LIBS = -L../common -lrwhois
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
@@ -18,8 +18,8 @@
|
||||
COMMON_INC = -I$(srcdir)/../common
|
||||
COMMON_LIBS = -L../common -lrwcommon
|
||||
|
||||
-WRAP_INC = -I../tools/tcpd_wrapper
|
||||
-WRAP_LIBS = -L../tools/tcpd_wrapper -lwrap
|
||||
+WRAP_INC = -I${PREFIX}/include
|
||||
+WRAP_LIBS = -L${PREFIX}/lib -lwrap
|
||||
-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../mkdb
|
||||
MKDB_LIBS = -L../mkdb -lmkdb
|
||||
@@ -77,8 +78,8 @@
|
||||
$(CC) -c $(CFLAGS) $(LOCAL_INC) $*.c
|
||||
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 -p $(sbindir); fi
|
||||
+ if [ ! -d $(sbindir) ]; then mkdir $(sbindir); fi
|
||||
+ $(INSTALL) rwhoisd $(sbindir)
|
||||
|
||||
clean:
|
||||
rm -f *.[oa]
|
||||
uninstall:
|
||||
$(RM) $(etcdir)/rwhoisd
|
||||
|
@ -1,54 +0,0 @@
|
||||
--- chroot.sh.orig Wed Jul 31 15:34:34 1996
|
||||
+++ chroot.sh Thu Jun 5 09:45:59 1997
|
||||
@@ -10,9 +10,15 @@
|
||||
#umask 022
|
||||
|
||||
RWHOIS_ROOT_DIR=$1
|
||||
-COPY="cp"
|
||||
+COPY="/bin/cp"
|
||||
|
||||
# check if these directories exist
|
||||
+if test ! -d ${RWHOIS_ROOT_DIR}
|
||||
+then
|
||||
+ echo "make directory ${RWHOIS_ROOT_DIR}."
|
||||
+ mkdir ${RWHOIS_ROOT_DIR}
|
||||
+fi
|
||||
+
|
||||
if test ! -d ${RWHOIS_ROOT_DIR}/etc
|
||||
then
|
||||
echo "make directory ${RWHOIS_ROOT_DIR}/etc".
|
||||
@@ -35,20 +41,30 @@
|
||||
then
|
||||
echo "make directory ${RWHOIS_ROOT_DIR}/usr"
|
||||
mkdir $RWHOIS_ROOT_DIR/usr
|
||||
- mkdir $RWHOIS_ROOT_DIR/usr/lib
|
||||
-elif test ! -d $RWHOIS_ROOT_DIR/usr/lib
|
||||
+fi
|
||||
+
|
||||
+if test ! -d $RWHOIS_ROOT_DIR/usr/lib
|
||||
then
|
||||
echo "make directory ${RWHOIS_ROOT_DIR}/usr/lib"
|
||||
mkdir $RWHOIS_ROOT_DIR/usr/lib
|
||||
fi
|
||||
|
||||
+if test ! -d $RWHOIS_ROOT_DIR/usr/libexec
|
||||
+then
|
||||
+ echo "make directory ${RWHOIS_ROOT_DIR}/usr/libexec"
|
||||
+ mkdir $RWHOIS_ROOT_DIR/usr/libexec
|
||||
+fi
|
||||
+
|
||||
#copy /etc/resolv.conf to (rwhois_root)/etc
|
||||
$COPY /etc/resolv.conf ${RWHOIS_ROOT_DIR}/etc
|
||||
|
||||
#copy /usr/lib/files to (rwhois_root)/usr/lib
|
||||
- $COPY /usr/lib/ld.so /usr/lib/libnsl.so.1 /usr/lib/libsocket.so.1 /usr/lib/libc.so.1 /usr/lib/libdl.so.1 /usr/lib/libintl.so.1 /usr/lib/libmp.so.1 /usr/lib/libw.so.1 /usr/lib/libmapmalloc.so.1 $RWHOIS_ROOT_DIR/usr/lib
|
||||
+ $COPY /usr/lib/libc.so.* ${PREFIX}/lib/libwrap.so.* $RWHOIS_ROOT_DIR/usr/lib
|
||||
+
|
||||
+#copy /usr/lib/files to (rwhois_root)/usr/lib
|
||||
+ $COPY /usr/libexec/ld.so $RWHOIS_ROOT_DIR/usr/libexec
|
||||
|
||||
#copy /usr/bin/execut. to (rwhois_root)/bin
|
||||
- $COPY /usr/bin/sh /usr/bin/sort $RWHOIS_ROOT_DIR/bin
|
||||
+ $COPY /bin/sh /usr/bin/sort /bin/date $RWHOIS_ROOT_DIR/bin
|
||||
|
||||
echo "done"
|
@ -1,20 +1,11 @@
|
||||
--- sample.data/rwhois.conf.orig Fri May 23 01:59:32 1997
|
||||
+++ sample.data/rwhois.conf Fri May 23 02:00:37 1997
|
||||
@@ -10,7 +10,7 @@
|
||||
# to. If it is not set, it will default to the current working
|
||||
# directory.
|
||||
# NOTE: you want to change this.
|
||||
-root-dir: /home/devel2/davidb/src/rwhois-dev/sample.data
|
||||
+root-dir: /usr/local/lib/rwhois
|
||||
|
||||
# schema-file: The config file that contains the top-level schema
|
||||
# information. This file must exist. The old 'object-file' refers to
|
||||
@@ -85,7 +85,7 @@
|
||||
# chrooted: NO
|
||||
|
||||
# userid: If run as root, rwhoisd will change to this user
|
||||
-userid: davidb
|
||||
--- 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
|
||||
|
||||
# verbosity: What level of reporting (to the console) do you wish.
|
||||
# The default is '1'. '0' is quiet and numbers greater then '1' are
|
||||
# pid-file: where to put the file containing the pid of the server.
|
||||
# normal default is "rwhoisd.pid"
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- common/misc.c.orig Tue Oct 13 23:12:30 1998
|
||||
+++ common/misc.c Tue Oct 13 23:12:58 1998
|
||||
@@ -380,7 +380,6 @@
|
||||
char *program;
|
||||
char *param;
|
||||
{
|
||||
- int errno = 0;
|
||||
extern char **environ;
|
||||
char *myenviron[MAX_SET];
|
||||
char *argv[MAX_SET];
|
20
net/rwhoisd/files/patch-ag
Normal file
20
net/rwhoisd/files/patch-ag
Normal file
@ -0,0 +1,20 @@
|
||||
--- tools/Xpgp/Xpgp.c.orig Fri Jan 30 09:25:58 1998
|
||||
+++ tools/Xpgp/Xpgp.c Sat Nov 25 15:58:33 2000
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
key = xcalloc(1, sizeof(char) * 1050);
|
||||
|
||||
- gets(key);
|
||||
+ fgets(key, sizeof(key), stdin);
|
||||
fprintf(fp, "%s\n",key);
|
||||
|
||||
if (strstr(key, "END"))
|
||||
@@ -72,7 +72,7 @@
|
||||
free(key);
|
||||
|
||||
newstr = xcalloc(1, sizeof(char)*100);
|
||||
- gets(newstr);
|
||||
+ fgets(newstr, sizeof(newstr), stdin);
|
||||
|
||||
if (STRN_EQ(newstr, "-X-pgp off keyadd", 17))
|
||||
{
|
@ -10,7 +10,7 @@ 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."
|
||||
#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhois.conf & && echo -n ' rwhoisd'
|
||||
#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhoisd.conf & && echo -n ' rwhoisd'
|
||||
;;
|
||||
stop)
|
||||
# killall rwhoisd && echo -n ' rwhoisd
|
||||
|
@ -22,3 +22,4 @@ 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/
|
||||
|
@ -1,119 +1,63 @@
|
||||
bin/rwhois
|
||||
etc/rc.d/rwhoisd.sh
|
||||
lib/rwhois/attribute_defs/asn.tmpl
|
||||
lib/rwhois/attribute_defs/domain.tmpl
|
||||
lib/rwhois/attribute_defs/host.tmpl
|
||||
lib/rwhois/attribute_defs/network.tmpl
|
||||
lib/rwhois/attribute_defs/nic.tmpl
|
||||
lib/rwhois/attribute_defs/org.tmpl
|
||||
lib/rwhois/attribute_defs/referral.tmpl
|
||||
lib/rwhois/attribute_defs/soa.tmpl
|
||||
lib/rwhois/attribute_defs/user.tmpl
|
||||
lib/rwhois/bin/date
|
||||
lib/rwhois/bin/rmkdbindex
|
||||
lib/rwhois/bin/rwhois
|
||||
lib/rwhois/bin/rwhoisparse
|
||||
lib/rwhois/bin/sh
|
||||
lib/rwhois/bin/sort
|
||||
lib/rwhois/data/asn/asn.txt
|
||||
lib/rwhois/data/asn/local-0.ndx
|
||||
lib/rwhois/data/asn/local.db
|
||||
lib/rwhois/data/asn/null.ca
|
||||
lib/rwhois/data/domain/local-0.ndx
|
||||
lib/rwhois/data/domain/local.db
|
||||
lib/rwhois/data/domain/null.ca
|
||||
lib/rwhois/data/domain/shoe-me.com.txt
|
||||
lib/rwhois/data/host/local-0.ndx
|
||||
lib/rwhois/data/host/local.db
|
||||
lib/rwhois/data/host/null.ca
|
||||
lib/rwhois/data/host/shoe_me.txt
|
||||
lib/rwhois/data/network/local-0.ndx
|
||||
lib/rwhois/data/network/local.db
|
||||
lib/rwhois/data/network/null.ca
|
||||
lib/rwhois/data/network/shoe-me.net.txt
|
||||
lib/rwhois/data/referral/local-0.ndx
|
||||
lib/rwhois/data/referral/local.db
|
||||
lib/rwhois/data/referral/shoe-me-more.txt
|
||||
lib/rwhois/data/soa/internic.txt
|
||||
lib/rwhois/data/soa/local-0.ndx
|
||||
lib/rwhois/data/soa/local.db
|
||||
lib/rwhois/data/soa/null.ca
|
||||
lib/rwhois/data/soa/shoe-me.txt
|
||||
lib/rwhois/data/user/local-0.ndx
|
||||
lib/rwhois/data/user/local.db
|
||||
lib/rwhois/data/user/null.ca
|
||||
lib/rwhois/data/user/shoe-me.be.txt
|
||||
lib/rwhois/data/user/shoe-me.multiple.txt
|
||||
lib/rwhois/data/user/shoe.gif
|
||||
lib/rwhois/etc/resolv.conf
|
||||
lib/rwhois/index_scripts/index_all
|
||||
lib/rwhois/index_scripts/index_asn
|
||||
lib/rwhois/index_scripts/index_domain
|
||||
lib/rwhois/index_scripts/index_host
|
||||
lib/rwhois/index_scripts/index_network
|
||||
lib/rwhois/index_scripts/index_nic
|
||||
lib/rwhois/index_scripts/index_org
|
||||
lib/rwhois/index_scripts/index_referral
|
||||
lib/rwhois/index_scripts/index_soa
|
||||
lib/rwhois/index_scripts/index_user
|
||||
lib/rwhois/output_templates/asn.full.output
|
||||
lib/rwhois/output_templates/domain.full.output
|
||||
lib/rwhois/output_templates/domain.sum.output
|
||||
lib/rwhois/output_templates/host.contact.output
|
||||
lib/rwhois/output_templates/host.full.output
|
||||
lib/rwhois/output_templates/host.sum.output
|
||||
lib/rwhois/output_templates/network.full.output
|
||||
lib/rwhois/output_templates/network.ripe.output
|
||||
lib/rwhois/output_templates/network.sum.output
|
||||
lib/rwhois/output_templates/network.swip.output
|
||||
lib/rwhois/output_templates/nic.full.output
|
||||
lib/rwhois/output_templates/org.full.output
|
||||
lib/rwhois/output_templates/referral.full.output
|
||||
lib/rwhois/output_templates/soa.full.output
|
||||
lib/rwhois/output_templates/user.contact.output
|
||||
lib/rwhois/output_templates/user.full.output
|
||||
lib/rwhois/output_templates/user.ripe.output
|
||||
lib/rwhois/output_templates/user.sum.output
|
||||
lib/rwhois/output_templates/user.swip.output
|
||||
lib/rwhois/rwhois.allow
|
||||
lib/rwhois/rwhois.conf
|
||||
lib/rwhois/rwhois.conf.orig
|
||||
lib/rwhois/rwhois.define
|
||||
lib/rwhois/rwhois.deny
|
||||
lib/rwhois/rwhois.directive
|
||||
lib/rwhois/rwhois.display
|
||||
lib/rwhois/rwhois.help
|
||||
lib/rwhois/rwhois.log
|
||||
lib/rwhois/rwhois.objects
|
||||
lib/rwhois/rwhois.root
|
||||
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/Xpgp
|
||||
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
|
||||
lib/rwhois/usr/lib/libc.so.%%LIBCVERSION%%
|
||||
lib/rwhois/usr/libexec/ld.so
|
||||
share/doc/rwhois/EXAMPLES
|
||||
share/doc/rwhois/INSTALLATION
|
||||
share/doc/rwhois/NEWS
|
||||
share/doc/rwhois/PROBLEMS
|
||||
share/doc/rwhois/README
|
||||
share/doc/rwhois/INSTALL.html
|
||||
share/doc/rwhois/TODO
|
||||
share/doc/rwhois/UPGRADE
|
||||
share/doc/rwhois/operations_guide.html
|
||||
share/doc/rwhois/operations_guide.txt
|
||||
share/doc/rwhois/sample.data.explained
|
||||
@dirrm lib/rwhois/attribute_defs/
|
||||
@dirrm lib/rwhois/bin/
|
||||
@dirrm lib/rwhois/data/asn/
|
||||
@dirrm lib/rwhois/data/domain/
|
||||
@dirrm lib/rwhois/data/host/
|
||||
@dirrm lib/rwhois/data/network/
|
||||
@dirrm lib/rwhois/data/referral/
|
||||
@dirrm lib/rwhois/data/soa/
|
||||
@dirrm lib/rwhois/data/user/
|
||||
@dirrm lib/rwhois/data/
|
||||
@dirrm lib/rwhois/etc/
|
||||
@dirrm lib/rwhois/index_scripts/
|
||||
@dirrm lib/rwhois/output_templates/
|
||||
@dirrm lib/rwhois/sbin/
|
||||
@dirrm lib/rwhois/tmp/
|
||||
@dirrm lib/rwhois/usr/lib/
|
||||
@dirrm lib/rwhois/usr/libexec/
|
||||
@dirrm lib/rwhois/usr/
|
||||
@dirrm lib/rwhois/
|
||||
share/doc/rwhois/rfc2167.txt
|
||||
share/doc/rwhois/security.html
|
||||
share/doc/rwhois/security.txt
|
||||
@dirrm share/doc/rwhois
|
||||
@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
|
||||
|
Loading…
Reference in New Issue
Block a user