From owner-cvs-ports@FreeBSD.ORG Mon Apr 28 22:33:56 2008 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8952106567A; Mon, 28 Apr 2008 22:33:56 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id ACD428FC15; Mon, 28 Apr 2008 22:33:56 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3SMXu1d072952; Mon, 28 Apr 2008 22:33:56 GMT (envelope-from sobomax@repoman.freebsd.org) Received: (from sobomax@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3SMXtnd072951; Mon, 28 Apr 2008 22:33:55 GMT (envelope-from sobomax) Message-Id: <200804282233.m3SMXtnd072951@repoman.freebsd.org> From: Maxim Sobolev Date: Mon, 28 Apr 2008 22:33:53 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/net-mgmt/net-snmp Makefile ports/net-mgmt/net-snmp/files patch-ucd_snmp.h patch-vmstat_freebsd2.c X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 22:33:56 -0000 sobomax 2008-04-28 22:33:53 UTC FreeBSD ports repository Modified files: net-mgmt/net-snmp Makefile Added files: net-mgmt/net-snmp/files patch-ucd_snmp.h patch-vmstat_freebsd2.c Log: o Fix regression in 5.4.1 - the custom FreeBSD vmstat code is not compiled in making number of popular OIDs unavailable. o 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. Sponsored by: Sippy Software, Inc., http://www.sippysoft.com Approved by: MAINTAINER Revision Changes Path 1.153 +1 -1 ports/net-mgmt/net-snmp/Makefile 1.6 +16 -0 ports/net-mgmt/net-snmp/files/patch-ucd_snmp.h (new) 1.3 +22 -0 ports/net-mgmt/net-snmp/files/patch-vmstat_freebsd2.c (new)