diff --git a/net-snmp-5.4.1-shared-ip.patch b/net-snmp-5.4.1-shared-ip.patch index f3c8f9f..fb7c0b8 100644 --- a/net-snmp-5.4.1-shared-ip.patch +++ b/net-snmp-5.4.1-shared-ip.patch @@ -1,7 +1,7 @@ -diff -up net-snmp-5.4.1/agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c.backup_patch_13 net-snmp-5.4.1/agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c ---- net-snmp-5.4.1/agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c.backup_patch_13 2007-05-17 23:53:28.000000000 +0200 -+++ net-snmp-5.4.1/agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c 2008-07-25 12:53:42.000000000 +0200 -@@ -272,11 +272,15 @@ _netsnmp_ioctl_ipaddress_container_load_ +diff -up net-snmp-5.4.2/agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c.shared-ip net-snmp-5.4.2/agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c +--- net-snmp-5.4.2/agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c.shared-ip 2008-01-17 01:09:33.000000000 +0100 ++++ net-snmp-5.4.2/agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c 2008-09-17 16:43:18.000000000 +0200 +@@ -279,11 +279,15 @@ _netsnmp_ioctl_ipaddress_container_load_ /* * add entry to container */ @@ -21,10 +21,10 @@ diff -up net-snmp-5.4.1/agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c.back } } -diff -up net-snmp-5.4.1/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c.backup_patch_13 net-snmp-5.4.1/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c ---- net-snmp-5.4.1/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c.backup_patch_13 2006-09-15 02:48:50.000000000 +0200 -+++ net-snmp-5.4.1/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c 2008-07-25 12:53:42.000000000 +0200 -@@ -324,7 +324,16 @@ _load_v6(netsnmp_container *container, i +diff -up net-snmp-5.4.2/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c.shared-ip net-snmp-5.4.2/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c +--- net-snmp-5.4.2/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c.shared-ip 2008-08-13 15:02:12.000000000 +0200 ++++ net-snmp-5.4.2/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c 2008-09-17 16:43:18.000000000 +0200 +@@ -325,7 +325,16 @@ _load_v6(netsnmp_container *container, i /* * add entry to container */ @@ -42,11 +42,11 @@ diff -up net-snmp-5.4.1/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c.back } fclose(in); -diff -up net-snmp-5.4.1/include/net-snmp/library/container.h.backup_patch_13 net-snmp-5.4.1/include/net-snmp/library/container.h ---- net-snmp-5.4.1/include/net-snmp/library/container.h.backup_patch_13 2005-12-04 19:43:04.000000000 +0100 -+++ net-snmp-5.4.1/include/net-snmp/library/container.h 2008-07-25 12:53:42.000000000 +0200 -@@ -370,8 +370,32 @@ extern "C" { - } +diff -up net-snmp-5.4.2/include/net-snmp/library/container.h.shared-ip net-snmp-5.4.2/include/net-snmp/library/container.h +--- net-snmp-5.4.2/include/net-snmp/library/container.h.shared-ip 2008-02-14 00:37:48.000000000 +0100 ++++ net-snmp-5.4.2/include/net-snmp/library/container.h 2008-09-17 16:43:18.000000000 +0200 +@@ -406,8 +406,32 @@ extern "C" { + } return rc; + } @@ -79,10 +79,10 @@ diff -up net-snmp-5.4.1/include/net-snmp/library/container.h.backup_patch_13 net /*------------------------------------------------------------------ * These functions should EXACTLY match the function version in * container.c. If you change one, change them both. -diff -up net-snmp-5.4.1/snmplib/container.c.backup_patch_13 net-snmp-5.4.1/snmplib/container.c ---- net-snmp-5.4.1/snmplib/container.c.backup_patch_13 2006-08-25 11:41:06.000000000 +0200 -+++ net-snmp-5.4.1/snmplib/container.c 2008-07-25 12:53:42.000000000 +0200 -@@ -286,6 +286,29 @@ int CONTAINER_INSERT(netsnmp_container * +diff -up net-snmp-5.4.2/snmplib/container.c.shared-ip net-snmp-5.4.2/snmplib/container.c +--- net-snmp-5.4.2/snmplib/container.c.shared-ip 2008-02-14 00:37:48.000000000 +0100 ++++ net-snmp-5.4.2/snmplib/container.c 2008-09-17 16:43:18.000000000 +0200 +@@ -323,6 +323,29 @@ int CONTAINER_REMOVE(netsnmp_container * return rc; } diff --git a/net-snmp.spec b/net-snmp.spec index c42bda2..163979a 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -172,6 +172,7 @@ Net-SNMP toolkit library. %patch8 -p1 -b .libdir %patch9 -p1 -b .libpath %patch10 -p1 -b .shared-ip +exit 1 %patch11 -p1 -b .sensors %patch12 -p1 -b .xen-crash