OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: r...@openpkg.org Module: openpkg-src Date: 16-May-2009 18:39:56 Branch: HEAD Handle: 2009051617395600 Modified files: openpkg-src/snmp snmp.patch snmp.spec Log: fix installation of freebsd7.h header file Summary: Revision Changes Path 1.16 +23 -11 openpkg-src/snmp/snmp.patch 1.99 +1 -1 openpkg-src/snmp/snmp.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/snmp/snmp.patch ============================================================================ $ cvs diff -u -r1.15 -r1.16 snmp.patch --- openpkg-src/snmp/snmp.patch 13 Feb 2009 19:40:05 -0000 1.15 +++ openpkg-src/snmp/snmp.patch 16 May 2009 16:39:56 -0000 1.16 @@ -1,6 +1,18 @@ +Index: Makefile.in +--- Makefile.in.orig 2007-06-08 22:32:56 +0200 ++++ Makefile.in 2009-05-16 18:34:20 +0200 +@@ -16,7 +16,7 @@ + INSTALLHEADERS=version.h + INCLUDESUBDIR=system + INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \ +- darwin.h darwin7.h darwin8.h darwin9.h freebsd5.h freebsd6.h \ ++ darwin.h darwin7.h darwin8.h darwin9.h freebsd5.h freebsd6.h freebsd7.h \ + dynix.h freebsd2.h freebsd3.h freebsd4.h freebsd.h generic.h hpux.h \ + irix.h linux.h mingw32.h mips.h netbsd.h openbsd.h osf5.h \ + solaris2.3.h solaris2.4.h solaris2.5.h solaris2.6.h \ Index: agent/auto_nlist.c --- agent/auto_nlist.c.orig 2008-06-05 23:11:53 +0200 -+++ agent/auto_nlist.c 2009-02-13 20:32:38 +0100 ++++ agent/auto_nlist.c 2009-05-16 18:34:20 +0200 @@ -53,6 +53,7 @@ } if (*ptr == 0) { @@ -11,7 +23,7 @@ it->right = 0; Index: agent/mibgroup/mibII/tcp.c --- agent/mibgroup/mibII/tcp.c.orig 2008-06-05 23:11:53 +0200 -+++ agent/mibgroup/mibII/tcp.c 2009-02-13 20:32:38 +0100 ++++ agent/mibgroup/mibII/tcp.c 2009-05-16 18:34:20 +0200 @@ -84,7 +84,7 @@ * But only define it under FreeBSD, since it * breaks other systems (notable AIX) @@ -23,7 +35,7 @@ Index: agent/mibgroup/mibII/tcpTable.c --- agent/mibgroup/mibII/tcpTable.c.orig 2007-10-14 14:12:58 +0200 -+++ agent/mibgroup/mibII/tcpTable.c 2009-02-13 20:32:38 +0100 ++++ agent/mibgroup/mibII/tcpTable.c 2009-05-16 18:34:20 +0200 @@ -100,6 +100,11 @@ #define TCPTABLE_REMOTEPORT pcb.inp_fport #define TCPTABLE_IS_LINKED_LIST @@ -56,7 +68,7 @@ tcp_head = nnew; Index: agent/mibgroup/ucd-snmp/diskio.c --- agent/mibgroup/ucd-snmp/diskio.c.orig 2008-06-05 23:11:53 +0200 -+++ agent/mibgroup/ucd-snmp/diskio.c 2009-02-13 20:32:38 +0100 ++++ agent/mibgroup/ucd-snmp/diskio.c 2009-05-16 18:34:20 +0200 @@ -593,6 +593,20 @@ case DISKIO_DEVICE: *var_len = strlen(stat->dinfo->devices[indx].device_name); @@ -88,7 +100,7 @@ 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 2009-02-13 20:32:38 +0100 ++++ agent/mibgroup/ucd-snmp/memory_solaris2.c 2009-05-16 18:34:20 +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 */ @@ -96,7 +108,7 @@ #include <string.h> Index: agent/mibgroup/ucd-snmp/proc.c --- agent/mibgroup/ucd-snmp/proc.c.orig 2008-06-05 23:11:53 +0200 -+++ agent/mibgroup/ucd-snmp/proc.c 2009-02-13 20:32:38 +0100 ++++ agent/mibgroup/ucd-snmp/proc.c 2009-05-16 18:34:20 +0200 @@ -1,3 +1,6 @@ +#ifdef solaris2 +#undef _FILE_OFFSET_BITS /* solaris procfs doesn't support 64bit off_t */ @@ -106,7 +118,7 @@ #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 2009-02-13 20:32:38 +0100 ++++ agent/mibgroup/util_funcs.c 2009-05-16 18:34:20 +0200 @@ -461,6 +461,9 @@ int fd[2][2], i, cnt; char ctmp[STRMAX], *cptr1, *cptr2, argvs[STRMAX], **argv, @@ -119,7 +131,7 @@ */ Index: agent/snmpd.c --- agent/snmpd.c.orig 2008-08-17 22:50:55 +0200 -+++ agent/snmpd.c 2009-02-13 20:33:03 +0100 ++++ agent/snmpd.c 2009-05-16 18:34:20 +0200 @@ -424,7 +424,7 @@ int uid = 0, gid = 0; int agent_mode = -1; @@ -131,7 +143,7 @@ int fd; Index: apps/snmptrapd.c --- apps/snmptrapd.c.orig 2007-08-16 11:35:12 +0200 -+++ apps/snmptrapd.c 2009-02-13 20:32:38 +0100 ++++ apps/snmptrapd.c 2009-05-16 18:34:20 +0200 @@ -748,6 +748,7 @@ */ #if HAVE_GETPID @@ -142,7 +154,7 @@ #ifdef WIN32 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 2009-02-13 20:32:38 +0100 ++++ include/net-snmp/library/system.h 2009-05-16 18:34:20 +0200 @@ -114,7 +114,8 @@ char *strdup(const char *); #endif @@ -155,7 +167,7 @@ int calculate_time_diff(struct timeval *, Index: snmplib/system.c --- snmplib/system.c.orig 2008-06-05 23:11:53 +0200 -+++ snmplib/system.c 2009-02-13 20:32:38 +0100 ++++ snmplib/system.c 2009-05-16 18:34:20 +0200 @@ -894,7 +894,7 @@ #ifndef HAVE_SETENV @@ . patch -p0 <<'@@ .' Index: openpkg-src/snmp/snmp.spec ============================================================================ $ cvs diff -u -r1.98 -r1.99 snmp.spec --- openpkg-src/snmp/snmp.spec 18 Apr 2009 13:15:42 -0000 1.98 +++ openpkg-src/snmp/snmp.spec 16 May 2009 16:39:56 -0000 1.99 @@ -32,7 +32,7 @@ Group: Network License: BSD Version: 5.4.2.1 -Release: 20090213 +Release: 20090516 # package options %option with_fsl yes @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org