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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   15-Jul-2008 09:34:39
  Branch: HEAD                             Handle: 2008071508343900

  Modified files:
    openpkg-src/snmp        snmp.patch snmp.spec

  Log:
    upgrading package: snmp 5.4.1.2 -> 5.2.5

  Summary:
    Revision    Changes     Path
    1.13        +26 -26     openpkg-src/snmp/snmp.patch
    1.95        +1  -1      openpkg-src/snmp/snmp.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/snmp/snmp.patch
  ============================================================================
  $ cvs diff -u -r1.12 -r1.13 snmp.patch
  --- openpkg-src/snmp/snmp.patch       28 Jul 2007 11:33:07 -0000      1.12
  +++ openpkg-src/snmp/snmp.patch       15 Jul 2008 07:34:39 -0000      1.13
  @@ -1,7 +1,7 @@
   Index: agent/auto_nlist.c
  ---- agent/auto_nlist.c.orig  2006-10-14 23:28:37 +0200
  -+++ agent/auto_nlist.c       2007-07-28 13:31:50 +0200
  -@@ -53,6 +53,7 @@
  +--- agent/auto_nlist.c.orig  2002-05-15 14:53:01 +0200
  ++++ agent/auto_nlist.c       2008-07-15 09:27:57 +0200
  +@@ -57,6 +57,7 @@
        }
        if (*ptr == 0) {
            *ptr = (struct autonlist *) malloc(sizeof(struct autonlist));
  @@ -11,20 +11,20 @@
            it->right = 0;
   Index: agent/mibgroup/mibII/tcp.c
   --- agent/mibgroup/mibII/tcp.c.orig  2007-07-17 01:59:44 +0200
  -+++ agent/mibgroup/mibII/tcp.c       2007-07-28 13:31:50 +0200
  -@@ -84,7 +84,7 @@
  ++++ agent/mibgroup/mibII/tcp.c       2008-07-15 09:28:32 +0200
  +@@ -75,7 +75,7 @@
                     * But only define it under FreeBSD, since it
                     *   breaks other systems (notable AIX)
                     */
  --#ifdef freebsd4
  +-#if defined (freebsd4)
   +#if defined (freebsd4) || defined (__NetBSD__)
    int  hz = 1000;
    #endif
    
   Index: agent/mibgroup/mibII/tcpTable.c
  ---- agent/mibgroup/mibII/tcpTable.c.orig     2006-11-07 00:43:27 +0100
  -+++ agent/mibgroup/mibII/tcpTable.c  2007-07-28 13:31:50 +0200
  -@@ -100,6 +100,11 @@
  +--- agent/mibgroup/mibII/tcpTable.c.orig     2007-10-14 14:12:58 +0200
  ++++ agent/mibgroup/mibII/tcpTable.c  2008-07-15 09:27:57 +0200
  +@@ -97,6 +97,11 @@
    #define     TCPTABLE_REMOTEPORT     pcb.inp_fport
    #define     TCPTABLE_IS_LINKED_LIST
    
  @@ -36,7 +36,7 @@
    #endif                          /* linux */
    #endif                          /* WIN32 cygwin */
    #endif                          /* solaris2 */
  -@@ -740,12 +745,17 @@
  +@@ -745,12 +750,17 @@
            nnew = SNMP_MALLOC_TYPEDEF(netsnmp_inpcb);
            if (!nnew)
                break;
  @@ -55,9 +55,9 @@
        nnew->inp_next = tcp_head;
        tcp_head   = nnew;
   Index: agent/mibgroup/ucd-snmp/diskio.c
  ---- agent/mibgroup/ucd-snmp/diskio.c.orig    2007-01-16 10:53:48 +0100
  -+++ agent/mibgroup/ucd-snmp/diskio.c 2007-07-28 13:31:50 +0200
  -@@ -593,6 +593,20 @@
  +--- agent/mibgroup/ucd-snmp/diskio.c.orig    2008-02-12 23:09:55 +0100
  ++++ agent/mibgroup/ucd-snmp/diskio.c 2008-07-15 09:27:57 +0200
  +@@ -578,6 +578,20 @@
        case DISKIO_DEVICE:
            *var_len = strlen(stat->dinfo->devices[indx].device_name);
            return (u_char *) stat->dinfo->devices[indx].device_name;
  @@ -78,7 +78,7 @@
        case DISKIO_NREAD:
    #if defined(freebsd5) && __FreeBSD_version >= 500107
            long_ret = (signed long) 
stat->dinfo->devices[indx].bytes[DEVSTAT_READ];
  -@@ -650,6 +664,7 @@
  +@@ -615,6 +629,7 @@
        case DISKIO_LA15:
            long_ret = devloads[indx].la15;
            return (u_char *) & long_ret;
  @@ -87,16 +87,16 @@
        default:
            ERROR_MSG("diskio.c: don't know how to handle this request.");
   Index: agent/mibgroup/ucd-snmp/memory_solaris2.c
  ---- agent/mibgroup/ucd-snmp/memory_solaris2.c.orig   2006-09-15 02:48:50 
+0200
  -+++ agent/mibgroup/ucd-snmp/memory_solaris2.c        2007-07-28 13:31:50 
+0200
  +--- agent/mibgroup/ucd-snmp/memory_solaris2.c.orig   2004-02-03 00:58:41 
+0100
  ++++ agent/mibgroup/ucd-snmp/memory_solaris2.c        2008-07-15 09:27:57 
+0200
   @@ -1,3 +1,4 @@
   +#undef _FILE_OFFSET_BITS /* swapctl doesn't support 64bit off_t */
    #include <net-snmp/net-snmp-config.h>   /* local SNMP configuration details 
*/
    #if HAVE_STRING_H
    #include <string.h>
   Index: agent/mibgroup/ucd-snmp/proc.c
  ---- agent/mibgroup/ucd-snmp/proc.c.orig      2007-03-12 20:56:39 +0100
  -+++ agent/mibgroup/ucd-snmp/proc.c   2007-07-28 13:31:50 +0200
  +--- agent/mibgroup/ucd-snmp/proc.c.orig      2007-09-20 23:55:49 +0200
  ++++ agent/mibgroup/ucd-snmp/proc.c   2008-07-15 09:27:57 +0200
   @@ -1,3 +1,6 @@
   +#ifdef solaris2
   +#undef _FILE_OFFSET_BITS /* solaris procfs doesn't support 64bit off_t */
  @@ -105,9 +105,9 @@
    
    #ifdef solaris2
   Index: agent/mibgroup/util_funcs.c
  ---- agent/mibgroup/util_funcs.c.orig 2007-01-11 23:13:56 +0100
  -+++ agent/mibgroup/util_funcs.c      2007-07-28 13:31:50 +0200
  -@@ -461,6 +461,9 @@
  +--- agent/mibgroup/util_funcs.c.orig 2007-08-16 16:12:47 +0200
  ++++ agent/mibgroup/util_funcs.c      2008-07-15 09:27:57 +0200
  +@@ -408,6 +408,9 @@
        int             fd[2][2], i, cnt;
        char            ctmp[STRMAX], *cptr1, *cptr2, argvs[STRMAX], **argv,
            **aptr;
  @@ -118,8 +118,8 @@
         * Setup our pipes 
         */
   Index: include/net-snmp/library/system.h
  ---- include/net-snmp/library/system.h.orig   2007-01-11 23:13:56 +0100
  -+++ include/net-snmp/library/system.h        2007-07-28 13:31:50 +0200
  +--- include/net-snmp/library/system.h.orig   2004-10-21 01:52:36 +0200
  ++++ include/net-snmp/library/system.h        2008-07-15 09:27:57 +0200
   @@ -114,7 +114,8 @@
        char           *strdup(const char *);
    #endif
  @@ -131,9 +131,9 @@
    
        int             calculate_time_diff(struct timeval *,
   Index: snmplib/system.c
  ---- snmplib/system.c.orig    2007-01-11 23:13:56 +0100
  -+++ snmplib/system.c 2007-07-28 13:31:50 +0200
  -@@ -894,7 +894,7 @@
  +--- snmplib/system.c.orig    2005-08-30 02:29:24 +0200
  ++++ snmplib/system.c 2008-07-15 09:27:57 +0200
  +@@ -871,7 +871,7 @@
    
    #ifndef HAVE_SETENV
    int
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/snmp/snmp.spec
  ============================================================================
  $ cvs diff -u -r1.94 -r1.95 snmp.spec
  --- openpkg-src/snmp/snmp.spec        15 Jul 2008 07:27:46 -0000      1.94
  +++ openpkg-src/snmp/snmp.spec        15 Jul 2008 07:34:39 -0000      1.95
  @@ -31,7 +31,7 @@
   Class:        BASE
   Group:        Network
   License:      BSD
  -Version:      5.4.1.2
  +Version:      5.2.5
   Release:      20080715
   
   #   package options
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to