Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2005 16:02:44 +0200 (CEST)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/79908: net/rwhois: update to version 1.5.9.3
Message-ID:  <20050414140244.A8CD41702F@mud.stack.nl>
Resent-Message-ID: <200504141410.j3EEAMNV079794@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         79908
>Category:       ports
>Synopsis:       net/rwhois: update to version 1.5.9.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 14 14:10:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 22:31:14 CET 2005 root@mud.stack.nl:/usr/obj/usr/src/sys/mud i386


	
>Description:
	
	Update to most recent stable version.

	Added bonus: get rid of 9 obsolete patchfiles.

>How-To-Repeat:
	
>Fix:

	

	Only two patchfiles remain: patch-sample.data_rwhoisd.conf rwhoisd.sh
	all the others may be removed.

diff -uNr rwhois/Makefile rwhois/Makefile
--- rwhois/Makefile	Thu Apr 14 15:24:58 2005
+++ rwhois/Makefile	Thu Apr 14 15:57:03 2005
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	rwhois
-PORTVERSION=	1.5.7.3
-PORTREVISION=	1
+PORTVERSION=	1.5.9.3
 CATEGORIES=	net ipv6
-MASTER_SITES=	http://www.rwhois.net/ftp/older_releases/
+MASTER_SITES=	http://www.rwhois.net/ftp/ \
+	http://www.rwhois.net/ftp/older_releases/
 DISTNAME=	${PORTNAME}d-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
@@ -17,6 +17,8 @@
 
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX}/lib/rwhois
+MAKE_ENV=	RWHOIS_ROOT_DIR=${PREFIX}/lib/rwhois
+MAKE_ARGS=	-E RWHOIS_ROOT_DIR
 
 BINOWN=		bin
 BINGRP=		bin
diff -uNr rwhois/distinfo rwhois/distinfo
--- rwhois/distinfo	Thu Jan 29 17:11:00 2004
+++ rwhois/distinfo	Thu Apr 14 15:26:02 2005
@@ -1,2 +1,2 @@
-MD5 (rwhoisd-1.5.7.3.tar.gz) = b3a1d951454afec598a7531919ce22a0
-SIZE (rwhoisd-1.5.7.3.tar.gz) = 452141
+MD5 (rwhoisd-1.5.9.3.tar.gz) = f815090232d76c81ffbd384632e6b9d2
+SIZE (rwhoisd-1.5.9.3.tar.gz) = 525436
diff -uNr rwhois/files/patch-aa rwhois/files/patch-aa
--- rwhois/files/patch-aa	Tue Nov 28 16:31:15 2000
+++ rwhois/files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -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 -uNr rwhois/files/patch-ac rwhois/files/patch-ac
--- rwhois/files/patch-ac	Tue Nov 28 16:31:16 2000
+++ rwhois/files/patch-ac	Thu Jan  1 01:00:00 1970
@@ -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 -uNr rwhois/files/patch-ae rwhois/files/patch-ae
--- rwhois/files/patch-ae	Tue Nov 28 16:31:16 2000
+++ rwhois/files/patch-ae	Thu Jan  1 01:00:00 1970
@@ -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 -uNr rwhois/files/patch-common-client_msgs.c rwhois/files/patch-common-client_msgs.c
--- rwhois/files/patch-common-client_msgs.c	Mon Oct 27 21:49:26 2003
+++ rwhois/files/patch-common-client_msgs.c	Thu Jan  1 01:00:00 1970
@@ -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 -uNr rwhois/files/patch-common-client_msgs.h rwhois/files/patch-common-client_msgs.h
--- rwhois/files/patch-common-client_msgs.h	Mon Oct 27 21:49:26 2003
+++ rwhois/files/patch-common-client_msgs.h	Thu Jan  1 01:00:00 1970
@@ -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 -uNr rwhois/files/patch-common-common.h rwhois/files/patch-common-common.h
--- rwhois/files/patch-common-common.h	Mon Oct 27 21:49:26 2003
+++ rwhois/files/patch-common-common.h	Thu Jan  1 01:00:00 1970
@@ -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 -uNr rwhois/files/patch-common-log.c rwhois/files/patch-common-log.c
--- rwhois/files/patch-common-log.c	Mon Oct 27 21:49:26 2003
+++ rwhois/files/patch-common-log.c	Thu Jan  1 01:00:00 1970
@@ -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 -uNr rwhois/files/patch-common-log.h rwhois/files/patch-common-log.h
--- rwhois/files/patch-common-log.h	Mon Oct 27 21:49:26 2003
+++ rwhois/files/patch-common-log.h	Thu Jan  1 01:00:00 1970
@@ -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 -uNr rwhois/files/patch-common-rw_log.c rwhois/files/patch-common-rw_log.c
--- rwhois/files/patch-common-rw_log.c	Mon Oct 27 21:49:26 2003
+++ rwhois/files/patch-common-rw_log.c	Thu Jan  1 01:00:00 1970
@@ -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 -uNr rwhois/files/patch-sample.data_rwhoisd.conf rwhois/files/patch-sample.data_rwhoisd.conf
--- rwhois/files/patch-sample.data_rwhoisd.conf	Thu Jan  1 01:00:00 1970
+++ rwhois/files/patch-sample.data_rwhoisd.conf	Thu Apr 14 15:31:04 2005
@@ -0,0 +1,11 @@
+--- sample.data/rwhoisd.conf.orig	Thu Apr 14 15:28:24 2005
++++ sample.data/rwhoisd.conf	Thu Apr 14 15:28:32 2005
+@@ -109,7 +109,7 @@ security-deny: rwhoisd.deny
+ # 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 -uNr rwhois/files/patch-server-notify.c rwhois/files/patch-server-notify.c
--- rwhois/files/patch-server-notify.c	Mon Oct 27 21:49:26 2003
+++ rwhois/files/patch-server-notify.c	Thu Jan  1 01:00:00 1970
@@ -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 -uNr rwhois/pkg-plist rwhois/pkg-plist
--- rwhois/pkg-plist	Mon Oct 27 21:49:25 2003
+++ rwhois/pkg-plist	Thu Apr 14 15:45:42 2005
@@ -17,6 +17,7 @@
 lib/rwhois/a.com/soa
 lib/rwhois/bin/rwhois_deleter
 lib/rwhois/bin/rwhois_indexer
+lib/rwhois/bin/rwhois_repack
 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
@@ -26,6 +27,15 @@
 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/net-fd00:1234::-32/attribute_defs/host.tmpl
+lib/rwhois/net-fd00:1234::-32/attribute_defs/referral.tmpl
+lib/rwhois/net-fd00:1234::-32/attribute_defs/contact.tmpl
+lib/rwhois/net-fd00:1234::-32/attribute_defs/guardian.tmpl
+lib/rwhois/net-fd00:1234::-32/attribute_defs/network.tmpl
+lib/rwhois/net-fd00:1234::-32/data/referral/referral.txt
+lib/rwhois/net-fd00:1234::-32/data/network/network.txt
+lib/rwhois/net-fd00:1234::-32/soa
+lib/rwhois/net-fd00:1234::-32/schema
 lib/rwhois/rwhoisd.allow
 lib/rwhois/rwhoisd.auth_area
 lib/rwhois/rwhoisd.conf
@@ -49,6 +59,11 @@
 @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/net-fd00:1234::-32/attribute_defs
+@dirrm lib/rwhois/net-fd00:1234::-32/data/referral
+@dirrm lib/rwhois/net-fd00:1234::-32/data/network
+@dirrm lib/rwhois/net-fd00:1234::-32/data
+@dirrm lib/rwhois/net-fd00:1234::-32
 @dirrm lib/rwhois/bin
 @dirrm lib/rwhois/a.com/data/referral
 @dirrm lib/rwhois/a.com/data/org
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050414140244.A8CD41702F>