aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp53/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2008-04-28 22:54:28 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2008-04-28 22:54:28 +0000
commit7ce7d2ea632588ad78e789b5d30d894b254c3bd8 (patch)
tree750691f58ced2f245b99247f90f021fbec228a94 /net-mgmt/net-snmp53/Makefile
parent7c573e7caa6c24f54428a2e2e7b0aa015bd69902 (diff)
Fix issue with retrieving CPU stats in 6.3-STABLE and upper. The problem
is that the cp_time symbol is no longer avaliable in the nevest kernels. Use kern.cp_time sysctl which has been around for 8 years or so, so that it should be present virtually in every FreeBSD version that is able to use modern ports tree (4.x and upper). Sysctl is also better from the security standpoint, as you don't need elevated privileges to get the data. One should probably look at converting few others uses of KVM here, but ENOTIME from me. The patch has been submitted to the vendor. Approved by: MAINTAINER
Notes
Notes: svn path=/head/; revision=212189
Diffstat (limited to 'net-mgmt/net-snmp53/Makefile')
-rw-r--r--net-mgmt/net-snmp53/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile
index 128127efba3b..22122a608796 100644
--- a/net-mgmt/net-snmp53/Makefile
+++ b/net-mgmt/net-snmp53/Makefile
@@ -7,7 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.3.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp