- Merge in upstream fix for bug 2439 [1]

- Convert header to new 'created by' style
- Fix pkgng issue [2]
- Bump PORTREVISION

Submitted by:	Paul Beard <paulbeard@gmail.com> [1]
Reported by:	bapt@ [2]
This commit is contained in:
Ryan Steinmetz 2013-02-13 00:41:56 +00:00
parent e4eb04de71
commit 29e2b46af0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312137
3 changed files with 14 additions and 9 deletions

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: ucd-snmp
# Date created: 26 June 1996
# Whom: gpalmer
#
# Created by: gpalmer
# $FreeBSD$
#
PORTNAME= snmp
PORTVERSION= 5.7.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-mgmt ipv6
MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= net-
@ -327,7 +323,7 @@ install-config-files:
${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf ${DATADIR}/snmpd.conf.example
install-doc-files:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
. for filename in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${filename} ${DOCSDIR}

View file

@ -0,0 +1,11 @@
--- ./agent/mibgroup/host/data_access/swrun_kinfo.c.orig 2012-10-09 18:28:58.000000000 -0400
+++ ./agent/mibgroup/host/data_access/swrun_kinfo.c 2013-02-12 18:55:42.000000000 -0500
@@ -186,7 +186,7 @@
#if HAVE_KVM_GETPROC2
argv = kvm_getargv2( kd, &(proc_table[i]), 0);
#else
- argv = kvm_getargv( kd, &(proc_table[i]), 0);
+ argv = kvm_getargv( kd, &(proc_table[i]), BUFSIZ);
#endif
entry->hrSWRunName_len = snprintf(entry->hrSWRunName,

View file

@ -29,7 +29,6 @@ bin/snmpvacm
bin/snmpwalk
%%WITH_TKMIB%%bin/tkmib
bin/traptoemail
@exec mkdir %D/etc/snmp 2>/dev/null || true
include/net-snmp/agent/agent_callbacks.h
include/net-snmp/agent/agent_handler.h
include/net-snmp/agent/agent_index.h
@ -482,5 +481,4 @@ sbin/snmptrapd
@dirrm include/net-snmp/library
@dirrm include/net-snmp/agent
@dirrm include/net-snmp
@dirrmtry etc/snmp
@unexec rmdir /var/agentx 2>/dev/null || true