pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [pkgsrc-2019Q2] pkgsrc/net/net-snmp



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Tue Jul  2 09:40:32 UTC 2019

Modified Files:
        pkgsrc/net/net-snmp [pkgsrc-2019Q2]: distinfo
        pkgsrc/net/net-snmp/patches [pkgsrc-2019Q2]:
            patch-agent_mibgroup_host_data__access_swrun__kinfo.c

Log Message:
Pullup ticket #5983 - requested by kamil
net/net-snmp: build fix for PR pkg/54333

Revisions pulled up:
- net/net-snmp/distinfo                                         1.94
- net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c 1.4

---
   Module Name:    pkgsrc
   Committed By:   kamil
   Date:           Sun Jun 30 21:43:25 UTC 2019

   Modified Files:
           pkgsrc/net/net-snmp: distinfo
           pkgsrc/net/net-snmp/patches:
               patch-agent_mibgroup_host_data__access_swrun__kinfo.c

   Log Message:
   net-snmp: Fix build on NetBSD 8.99.49

   Make usage of LSDEAD conditional.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.93.12.1 pkgsrc/net/net-snmp/distinfo
cvs rdiff -u -r1.3 -r1.3.38.1 \
    pkgsrc/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/net-snmp/distinfo
diff -u pkgsrc/net/net-snmp/distinfo:1.93 pkgsrc/net/net-snmp/distinfo:1.93.12.1
--- pkgsrc/net/net-snmp/distinfo:1.93   Wed Feb 28 01:52:02 2018
+++ pkgsrc/net/net-snmp/distinfo        Tue Jul  2 09:40:31 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.93 2018/02/28 01:52:02 maya Exp $
+$NetBSD: distinfo,v 1.93.12.1 2019/07/02 09:40:31 bsiegert Exp $
 
 SHA1 (net-snmp-5.7.3.tar.gz) = 97dc25077257680815de44e34128d365c76bd839
 RMD160 (net-snmp-5.7.3.tar.gz) = c5cf54d5723ee417e07f1f9fa3936aef505104a2
@@ -13,7 +13,7 @@ SHA1 (patch-agent_mibgroup_at.c) = 50842
 SHA1 (patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c) = d36d2490448c2dfda0383c67deb36fdb31ff18a3
 SHA1 (patch-agent_mibgroup_hardware_fsys_fsys_getfsstats.c) = cee9722d9a3f956726a8760b900ed3a375afde3f
 SHA1 (patch-agent_mibgroup_hardware_memory_memory__netbsd.c) = 928a5aa99e7893ee91dea3110db8098212e328fa
-SHA1 (patch-agent_mibgroup_host_data__access_swrun__kinfo.c) = f983ae0d99d85ab1ac6dc7cf2d2c0415b6935258
+SHA1 (patch-agent_mibgroup_host_data__access_swrun__kinfo.c) = 39888f6489b89bd6598c453977b29519b2f7968f
 SHA1 (patch-agent_mibgroup_host_data__access_swrun__procfs__psinfo.c) = 5ccec9cc26982e05607c3066e1f50763c99e7b4f
 SHA1 (patch-agent_mibgroup_ip-mib_data__access_arp__sysctl.c) = cad87b474cdd469c7ba762ed8a47202c3c6f9240
 SHA1 (patch-agent_mibgroup_kernel__sunos5.c) = 3e345f92f42a47959716b0176096c6b0d91aa65a

Index: pkgsrc/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c
diff -u pkgsrc/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c:1.3 pkgsrc/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c:1.3.38.1
--- pkgsrc/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c:1.3       Wed Dec 31 10:06:57 2014
+++ pkgsrc/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c   Tue Jul  2 09:40:31 2019
@@ -1,4 +1,4 @@
-$NetBSD: patch-agent_mibgroup_host_data__access_swrun__kinfo.c,v 1.3 2014/12/31 10:06:57 adam Exp $
+$NetBSD: patch-agent_mibgroup_host_data__access_swrun__kinfo.c,v 1.3.38.1 2019/07/02 09:40:31 bsiegert Exp $
 
 --- agent/mibgroup/host/data_access/swrun_kinfo.c.orig 2014-12-08 20:23:22.000000000 +0000
 +++ agent/mibgroup/host/data_access/swrun_kinfo.c
@@ -13,3 +13,13 @@ $NetBSD: patch-agent_mibgroup_host_data_
  #include <net-snmp/net-snmp-config.h>
  
  #include <stdio.h>
+@@ -286,7 +290,9 @@ netsnmp_arch_swrun_container_load( netsn
+       case LSSUSPENDED:
+         case LSSTOP:  entry->hrSWRunStatus = HRSWRUNSTATUS_NOTRUNNABLE;
+                       break;
++#ifdef LSDEAD
+       case LSDEAD:
++#endif
+         case LSZOMB:  entry->hrSWRunStatus = HRSWRUNSTATUS_INVALID;
+                     break;
+         default:   



Home | Main Index | Thread Index | Old Index