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:   01-Nov-2008 11:00:34
  Branch: HEAD                             Handle: 2008110110003301

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

  Log:
    upgrading package: snmp 5.2.5 -> 5.4.2.1

  Summary:
    Revision    Changes     Path
    1.14        +25 -25     openpkg-src/snmp/snmp.patch
    1.96        +2  -2      openpkg-src/snmp/snmp.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/snmp/snmp.patch
  ============================================================================
  $ cvs diff -u -r1.13 -r1.14 snmp.patch
  --- openpkg-src/snmp/snmp.patch       15 Jul 2008 07:34:39 -0000      1.13
  +++ openpkg-src/snmp/snmp.patch       1 Nov 2008 10:00:33 -0000       1.14
  @@ -1,7 +1,7 @@
   Index: agent/auto_nlist.c
  ---- 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 @@
  +--- agent/auto_nlist.c.orig  2008-06-05 23:11:53 +0200
  ++++ agent/auto_nlist.c       2008-11-01 10:39:12 +0100
  +@@ -53,6 +53,7 @@
        }
        if (*ptr == 0) {
            *ptr = (struct autonlist *) malloc(sizeof(struct autonlist));
  @@ -10,21 +10,21 @@
            it->left = 0;
            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       2008-07-15 09:28:32 +0200
  -@@ -75,7 +75,7 @@
  +--- agent/mibgroup/mibII/tcp.c.orig  2008-06-05 23:11:53 +0200
  ++++ agent/mibgroup/mibII/tcp.c       2008-11-01 10:40:01 +0100
  +@@ -84,7 +84,7 @@
                     * But only define it under FreeBSD, since it
                     *   breaks other systems (notable AIX)
                     */
  --#if defined (freebsd4)
  +-#ifdef freebsd4
   +#if defined (freebsd4) || defined (__NetBSD__)
    int  hz = 1000;
    #endif
    
   Index: agent/mibgroup/mibII/tcpTable.c
   --- 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 @@
  ++++ agent/mibgroup/mibII/tcpTable.c  2008-11-01 10:39:12 +0100
  +@@ -100,6 +100,11 @@
    #define     TCPTABLE_REMOTEPORT     pcb.inp_fport
    #define     TCPTABLE_IS_LINKED_LIST
    
  @@ -36,7 +36,7 @@
    #endif                          /* linux */
    #endif                          /* WIN32 cygwin */
    #endif                          /* solaris2 */
  -@@ -745,12 +750,17 @@
  +@@ -748,12 +753,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    2008-02-12 23:09:55 +0100
  -+++ agent/mibgroup/ucd-snmp/diskio.c 2008-07-15 09:27:57 +0200
  -@@ -578,6 +578,20 @@
  +--- agent/mibgroup/ucd-snmp/diskio.c.orig    2008-06-05 23:11:53 +0200
  ++++ agent/mibgroup/ucd-snmp/diskio.c 2008-11-01 10:39:12 +0100
  +@@ -593,6 +593,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];
  -@@ -615,6 +629,7 @@
  +@@ -650,6 +664,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   2004-02-03 00:58:41 
+0100
  -+++ agent/mibgroup/ucd-snmp/memory_solaris2.c        2008-07-15 09:27:57 
+0200
  +--- agent/mibgroup/ucd-snmp/memory_solaris2.c.orig   2006-09-15 02:48:50 
+0200
  ++++ agent/mibgroup/ucd-snmp/memory_solaris2.c        2008-11-01 10:39:12 
+0100
   @@ -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-09-20 23:55:49 +0200
  -+++ agent/mibgroup/ucd-snmp/proc.c   2008-07-15 09:27:57 +0200
  +--- agent/mibgroup/ucd-snmp/proc.c.orig      2008-06-05 23:11:53 +0200
  ++++ agent/mibgroup/ucd-snmp/proc.c   2008-11-01 10:39:12 +0100
   @@ -1,3 +1,6 @@
   +#ifdef solaris2
   +#undef _FILE_OFFSET_BITS /* solaris procfs doesn't support 64bit off_t */
  @@ -106,8 +106,8 @@
    #ifdef solaris2
   Index: agent/mibgroup/util_funcs.c
   --- 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 @@
  ++++ agent/mibgroup/util_funcs.c      2008-11-01 10:39:12 +0100
  +@@ -461,6 +461,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   2004-10-21 01:52:36 +0200
  -+++ include/net-snmp/library/system.h        2008-07-15 09:27:57 +0200
  +--- include/net-snmp/library/system.h.orig   2007-01-11 23:13:56 +0100
  ++++ include/net-snmp/library/system.h        2008-11-01 10:39:12 +0100
   @@ -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    2005-08-30 02:29:24 +0200
  -+++ snmplib/system.c 2008-07-15 09:27:57 +0200
  -@@ -871,7 +871,7 @@
  +--- snmplib/system.c.orig    2008-06-05 23:11:53 +0200
  ++++ snmplib/system.c 2008-11-01 10:39:12 +0100
  +@@ -894,7 +894,7 @@
    
    #ifndef HAVE_SETENV
    int
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/snmp/snmp.spec
  ============================================================================
  $ cvs diff -u -r1.95 -r1.96 snmp.spec
  --- openpkg-src/snmp/snmp.spec        15 Jul 2008 07:34:39 -0000      1.95
  +++ openpkg-src/snmp/snmp.spec        1 Nov 2008 10:00:34 -0000       1.96
  @@ -31,8 +31,8 @@
   Class:        BASE
   Group:        Network
   License:      BSD
  -Version:      5.2.5
  -Release:      20080715
  +Version:      5.4.2.1
  +Release:      20081101
   
   #   package options
   %option       with_fsl          yes
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to