svn commit: r379435 - in head/net-mgmt/net-snmp: . files
Ryan Steinmetz
zi at FreeBSD.org
Fri Feb 20 14:52:03 UTC 2015
Author: zi
Date: Fri Feb 20 14:52:01 2015
New Revision: 379435
URL: https://svnweb.freebsd.org/changeset/ports/379435
QAT: https://qat.redports.org/buildarchive/r379435/
Log:
- Bring back lost patch to fix memory usage calculations
- Bump PORTREVISION
PR: 148339
Added:
head/net-mgmt/net-snmp/files/patch-agent_mibgroup_hardware_memory_memory__freebsd.c (contents, props changed)
Modified:
head/net-mgmt/net-snmp/Makefile
Modified: head/net-mgmt/net-snmp/Makefile
==============================================================================
--- head/net-mgmt/net-snmp/Makefile Fri Feb 20 14:06:06 2015 (r379434)
+++ head/net-mgmt/net-snmp/Makefile Fri Feb 20 14:52:01 2015 (r379435)
@@ -3,7 +3,7 @@
PORTNAME= snmp
PORTVERSION= 5.7.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net-mgmt ipv6
MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= net-
Added: head/net-mgmt/net-snmp/files/patch-agent_mibgroup_hardware_memory_memory__freebsd.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/net-snmp/files/patch-agent_mibgroup_hardware_memory_memory__freebsd.c Fri Feb 20 14:52:01 2015 (r379435)
@@ -0,0 +1,11 @@
+--- agent/mibgroup/hardware/memory/memory_freebsd.c.orig 2015-02-20 14:44:47 UTC
++++ agent/mibgroup/hardware/memory/memory_freebsd.c
+@@ -163,7 +163,7 @@ int netsnmp_mem_arch_load( netsnmp_cache
+ if (!mem->descr)
+ mem->descr = strdup("Cached memory");
+ mem->units = pagesize;
+- mem->size = cache_count;
++ mem->size = cache_count + inact_count;
+ mem->free = 0;
+ }
+
More information about the svn-ports-all
mailing list