OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web openpkg$ Date:   08-Jan-2004 21:32:54
  Branch: HEAD                             Handle: 2004010820325102

  Modified files:
    openpkg-re/vcheck       vc.rwhoisd
    openpkg-src/rwhoisd     rwhoisd.patch rwhoisd.spec
    openpkg-web             news.txt

  Log:
    upgrading package: rwhoisd 1.5.7.3 -> 1.5.7.4

  Summary:
    Revision    Changes     Path
    1.2         +1  -1      openpkg-re/vcheck/vc.rwhoisd
    1.2         +8  -346    openpkg-src/rwhoisd/rwhoisd.patch
    1.3         +2  -4      openpkg-src/rwhoisd/rwhoisd.spec
    1.8021      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.rwhoisd
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 vc.rwhoisd
  --- openpkg-re/vcheck/vc.rwhoisd      30 Dec 2003 14:21:11 -0000      1.1
  +++ openpkg-re/vcheck/vc.rwhoisd      8 Jan 2004 20:32:51 -0000       1.2
  @@ -2,7 +2,7 @@
   }
   
   prog rwhoisd = {
  -  version   = 1.5.7.3
  +  version   = 1.5.7.4
     url       = http://www.rwhois.net/ftp/
     regex     = rwhoisd-(__VER__)\.tar\.gz
   }
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/rwhoisd/rwhoisd.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 rwhoisd.patch
  --- openpkg-src/rwhoisd/rwhoisd.patch 30 Dec 2003 14:21:13 -0000      1.1
  +++ openpkg-src/rwhoisd/rwhoisd.patch 8 Jan 2004 20:32:53 -0000       1.2
  @@ -1,223 +1,18 @@
  -Index: common/client_msgs.c
  ---- common/client_msgs.c.orig        2001-10-29 17:34:11.000000000 +0100
  -+++ common/client_msgs.c     2003-12-30 11:36:26.000000000 +0100
  -@@ -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)
  -@@ -181,5 +175,6 @@
  -   vfprintf(fp, format, list);
  - 
  -   fprintf(fp, "\n");
  -+  va_end(list);
  - }
  - 
  -Index: common/client_msgs.h
  ---- common/client_msgs.h.orig        2001-10-29 17:32:10.000000000 +0100
  -+++ common/client_msgs.h     2003-12-30 11:37:02.000000000 +0100
  -@@ -85,7 +85,7 @@
  - 
  - void print_error PROTO((int err_no, char *str));
  - 
  --void print_response PROTO(());
  -+void print_response PROTO((int, char *, ...));
  - 
  - void print_ok PROTO((void));
  - 
   Index: common/common.h
  ---- common/common.h.orig     2000-10-12 19:53:38.000000000 +0200
  -+++ common/common.h  2003-12-30 11:37:53.000000000 +0100
  -@@ -13,6 +13,8 @@
  - #ifndef _COMMON_H_
  - #define _COMMON_H_
  +--- common/common.h.orig     2004-01-08 00:25:46.000000000 +0100
  ++++ common/common.h  2004-01-08 21:09:46.000000000 +0100
  +@@ -140,6 +140,8 @@
  + #undef HAVE_SOCKADDR_STORAGE
  + #endif
    
   +/* the name 'log' conflicts with gcc-3.x builtin */
   +#define log rwhoisd_log
    
  - /* Add prototype support.  */
  - #ifndef PROTO
  -@@ -56,7 +58,7 @@
  - # undef _VA_ALIGN
  - # undef __va_stack_arg
  - # endif
  --#include <varargs.h>
  -+#include <stdarg.h>
  - #endif /* HAVE_VPRINTF */
  - 
  - /* this should probably be #ifdef USG */
  -Index: common/log.c
  ---- common/log.c.orig        2001-11-21 22:44:55.000000000 +0100
  -+++ common/log.c     2003-12-30 11:38:39.000000000 +0100
  -@@ -139,15 +139,11 @@
  - /* 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 +160,11 @@
  - /* 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);
  -Index: common/log.h
  ---- common/log.h.orig        2000-10-12 19:53:39.000000000 +0200
  -+++ common/log.h     2003-12-30 11:39:22.000000000 +0100
  -@@ -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 *, ...));
  -+void log_warning PROTO((char *, ...));
  - char *get_client_hostname PROTO((int sock));
  - char *timestamp PROTO(());
  - 
  -@@ -106,7 +106,7 @@
  -      (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(());
  -+void log PROTO((internal_log_levels, int, char *, ...));
  - 
  - void setup_logging PROTO((void));
  - 
  -Index: common/rw_log.c
  ---- common/rw_log.c.orig     2001-11-21 22:43:24.000000000 +0100
  -+++ common/rw_log.c  2003-12-30 11:39:48.000000000 +0100
  -@@ -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,18 +28,12 @@
  -   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())
  -   {
  --    return;
  -+    goto end_proc;  /* single point for va_end(ap) and return */
  -   }
  - 
  -   /* first we check to see if we're loggin to syslog or not */
  -@@ -83,7 +74,7 @@
  -     syslog_level = local_to_syslog(level);
  -     if (syslog_level < 0)
  -     {
  --      return;
  -+      goto end_proc;        /* single point for va_end(ap) and return */
  -     }
  -     
  -     syslog(syslog_level, "%s", message);
  -@@ -93,7 +84,7 @@
  -   {
  -     filename = get_log_filename(level);
  - 
  --    if (filename == NULL) return;
  -+    if (filename == NULL) goto end_proc;    /* single point for va_end(ap) and 
return */
  - 
  -     if (STR_EQ(filename, "stderr"))
  -     {
  -@@ -142,4 +133,7 @@
  - 
  -     fclose(fp);
  -   }
  -+end_proc:   /* single point for va_end(ap) and return */
  -+    va_end(ap);
  -+    return;
  - }
  -Index: sample.data/Makefile.in
  ---- sample.data/Makefile.in.orig     1999-09-14 21:20:47.000000000 +0200
  -+++ sample.data/Makefile.in  2003-12-30 11:32:30.000000000 +0100
  -@@ -15,7 +15,9 @@
  - srcdir          = @srcdir@
  - VPATH       = @srcdir@
  - 
  --RWHOIS_ROOT_DIR = $(prefix)
  -+DESTDIR =
  -+
  -+RWHOIS_ROOT_DIR = $(DESTDIR)$(etcdir)/rwhoisd/samples
  - 
  - FILES = \
  -         a.com \
  -@@ -31,6 +33,7 @@
  - all:
  - 
  - install:
  -+    - [ -d $(RWHOIS_ROOT_DIR) ] && mkdir -p $(RWHOIS_ROOT_DIR)
  -     @for file in $(FILES); do \
  -       echo "installing $$file into $(RWHOIS_ROOT_DIR)"; \
  -       ($(CP) -pr $(srcdir)/$$file $(RWHOIS_ROOT_DIR)) || exit 1; \
  + #endif /* _COMMON_H_ */
  + 
   Index: sample.data/rwhoisd.conf
   --- sample.data/rwhoisd.conf.orig    1997-11-26 00:23:46.000000000 +0100
  -+++ sample.data/rwhoisd.conf 2003-12-30 11:32:30.000000000 +0100
  ++++ sample.data/rwhoisd.conf 2004-01-08 21:09:50.000000000 +0100
   @@ -12,13 +12,13 @@
    # normal default is ""
    # NOTE:  you want to change this.
  @@ -305,136 +100,3 @@
    
    # pgp-keyring-path: the path to the directory containing the pgp
    # public and private keyrings (pubring.pgp, secring.pgp, etc).
  -Index: server/Makefile.in
  ---- server/Makefile.in.orig  2000-05-11 18:10:25.000000000 +0200
  -+++ server/Makefile.in       2003-12-30 11:32:30.000000000 +0100
  -@@ -9,11 +9,13 @@
  - prefix      = @prefix@
  - exec_prefix = @exec_prefix@
  - bindir      = $(exec_prefix)/bin
  --etcdir      = $(exec_prefix)/etc
  -+sbindir     = $(exec_prefix)/sbin
  - 
  - srcdir      = @srcdir@
  - VPATH       = @srcdir@
  - 
  -+DESTDIR =
  -+
  - # local libs/includes 
  - COMMON_INC    = -I$(srcdir)/../common
  - COMMON_LIBS   = -L../common -lrwcommon
  -@@ -96,12 +98,12 @@
  - #
  - 
  - install:
  --    if [ ! -d $(exec_prefix) ]; then mkdir $(exec_prefix); fi
  --    if [ ! -d $(etcdir) ]; then mkdir $(etcdir); fi
  --    $(INSTALL) rwhoisd $(etcdir)
  -+    if [ ! -d $(DESTDIR)$(exec_prefix) ]; then mkdir $(DESTDIR)$(exec_prefix); fi
  -+    if [ ! -d $(DESTDIR)$(sbindir) ]; then mkdir $(DESTDIR)$(sbindir); fi
  -+    $(INSTALL) rwhoisd $(DESTDIR)$(sbindir)
  - 
  - uninstall:
  --    $(RM) $(etcdir)/rwhoisd
  -+    $(RM) $(DESTDIR)$(sbindir)/rwhoisd
  - 
  - clean:
  -     rm -f *.[oa]
  -Index: server/notify.c
  ---- server/notify.c.orig     2000-10-12 19:56:14.000000000 +0200
  -+++ server/notify.c  2003-12-30 11:40:22.000000000 +0100
  -@@ -75,25 +75,19 @@
  - 
  - /* 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);
  -   if (!fp)
  -   {
  -     log(L_LOG_ERR, DIRECTIVES, "could not open file '%s' for writing: %s",
  -               filename, strerror(errno));
  -+    va_end(ap);
  -     return FALSE;
  -   }
  - 
  -@@ -106,6 +100,7 @@
  - 
  -   release_file_lock(filename, fp);
  - 
  -+    va_end(ap);
  -   return (TRUE);
  - }
  - 
  -Index: tools/rwhois_deleter/Makefile.in
  ---- tools/rwhois_deleter/Makefile.in.orig    1998-07-10 20:37:25.000000000 +0200
  -+++ tools/rwhois_deleter/Makefile.in 2003-12-30 11:32:30.000000000 +0100
  -@@ -13,6 +13,8 @@
  - bindir      = $(exec_prefix)/bin
  - etcdir      = $(exec_prefix)/etc
  - 
  -+DESTDIR =
  -+
  - srcdir      = @srcdir@
  - VPATH       = @srcdir@
  - 
  -@@ -52,12 +54,12 @@
  - # procedural
  - 
  - install:
  --    if [ ! -d $(exec_prefix) ]; then mkdir $(exec_prefix); fi
  --    if [ ! -d $(bindir) ]; then mkdir $(bindir); fi
  --    $(INSTALL) rwhois_deleter $(bindir)
  -+    if [ ! -d $(DESTDIR)$(exec_prefix) ]; then mkdir $(DESTDIR)$(exec_prefix); fi
  -+    if [ ! -d $(DESTDIR)$(bindir) ]; then mkdir $(DESTDIR)$(bindir); fi
  -+    $(INSTALL) rwhois_deleter $(DESTDIR)$(bindir)
  - 
  - uninstall:
  --    $(RM) $(bindir)/rwhois_deleter
  -+    $(RM) $(DESTDIR)$(bindir)/rwhois_deleter
  - 
  - clean:
  -     rm -f *.o rwhois_deleter
  -Index: tools/rwhois_indexer/Makefile.in
  ---- tools/rwhois_indexer/Makefile.in.orig    1998-01-11 07:20:04.000000000 +0100
  -+++ tools/rwhois_indexer/Makefile.in 2003-12-30 11:32:30.000000000 +0100
  -@@ -13,6 +13,8 @@
  - bindir      = $(exec_prefix)/bin
  - etcdir      = $(exec_prefix)/etc
  - 
  -+DESTDIR =
  -+
  - srcdir      = @srcdir@
  - VPATH       = @srcdir@
  - 
  -@@ -52,12 +54,12 @@
  - # procedural
  - 
  - install:
  --    if [ ! -d $(exec_prefix) ]; then mkdir $(exec_prefix); fi
  --    if [ ! -d $(bindir) ]; then mkdir $(bindir); fi
  --    $(INSTALL) rwhois_indexer $(bindir)
  -+    if [ ! -d $(DESTDIR)$(exec_prefix) ]; then mkdir $(DESTDIR)$(exec_prefix); fi
  -+    if [ ! -d $(DESTDIR)$(bindir) ]; then mkdir $(DESTDIR)$(bindir); fi
  -+    $(INSTALL) rwhois_indexer $(DESTDIR)$(bindir)
  - 
  - uninstall:
  --    $(RM) $(bindir)/rwhois_indexer
  -+    $(RM) $(DESTDIR)$(bindir)/rwhois_indexer
  - 
  - clean:
  -     rm -f *.o rwhois_indexer
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/rwhoisd/rwhoisd.spec
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 rwhoisd.spec
  --- openpkg-src/rwhoisd/rwhoisd.spec  30 Dec 2003 19:10:44 -0000      1.2
  +++ openpkg-src/rwhoisd/rwhoisd.spec  8 Jan 2004 20:32:53 -0000       1.3
  @@ -32,8 +32,8 @@
   Distribution: OpenPKG [EVAL]
   Group:        Network
   License:      GPL
  -Version:      1.5.7.3
  -Release:      20031230
  +Version:      1.5.7.4
  +Release:      20040108
   
   #   list of sources
   Source0:      http://www.rwhois.net/ftp/rwhoisd-%{version}.tar.gz
  @@ -68,8 +68,6 @@
       #   configure package
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
  -    CPPFLAGS="%{l_cppflags}" \
  -    LDFLAGS="%{l_ldflags}" \
       ./configure \
           --prefix=%{l_prefix}
   
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.8020 -r1.8021 news.txt
  --- openpkg-web/news.txt      8 Jan 2004 20:13:52 -0000       1.8020
  +++ openpkg-web/news.txt      8 Jan 2004 20:32:52 -0000       1.8021
  @@ -1,3 +1,4 @@
  +08-Jan-2004: Upgraded package: P<rwhoisd-1.5.7.4-20040108>
   08-Jan-2004: Upgraded package: P<perl-dbi-20040108-20040108>
   08-Jan-2004: Upgraded package: P<nsd-1.2.4-20040108>
   08-Jan-2004: Upgraded package: P<gd-2.0.19-20040108>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to