1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/net-mgmt/net-snmp53
Maxim Sobolev 7ce7d2ea63 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
2008-04-28 22:54:28 +00:00
..
files Fix issue with retrieving CPU stats in 6.3-STABLE and upper. The problem 2008-04-28 22:54:28 +00:00
distinfo
Makefile Fix issue with retrieving CPU stats in 6.3-STABLE and upper. The problem 2008-04-28 22:54:28 +00:00
pkg-descr
pkg-message
pkg-plist