Subject: Re: CVS commit: pkgsrc/net/net-snmp
To: None <tech-pkg@NetBSD.org>
From: Jon Olsson <jon@joshua.haninge.kth.se>
List: pkgsrc-changes
Date: 05/14/2004 16:36:38
Hi,

On Fri, May 14, 2004 at 01:30:34PM +0000, Adam Ciarcinski wrote:
> 
> Module Name:	pkgsrc
> Committed By:	adam
> Date:		Fri May 14 13:30:34 UTC 2004
> 
> Modified Files:
> 	pkgsrc/net/net-snmp: Makefile PLIST distinfo
> 	pkgsrc/net/net-snmp/patches: patch-aa patch-ab patch-ac patch-ad
> 	    patch-ae patch-af patch-ah

Please apply the following patch to fix deprecated -P usage.

Index: snmpd.sh
===================================================================
RCS file: /cvsroot/pkgsrc/net/net-snmp/files/snmpd.sh,v
retrieving revision 1.2
diff -u -r1.2 snmpd.sh
--- snmpd.sh    12 Sep 2003 12:07:19 -0000      1.2
+++ snmpd.sh    14 May 2004 14:35:15 -0000
@@ -14,7 +14,7 @@
 command="@PREFIX@/sbin/${name}"
 pidfile="/var/run/${name}.pid"
 snmpd_flags="-s -S d"          # log using syslog LOG_DAEMON
-command_args="-P ${pidfile}"
+command_args="-p ${pidfile}"
 
 if [ -f @PKG_SYSCONFDIR@/snmpd.conf ]; then
        command_args="${command_args} -c @PKG_SYSCONFDIR@/snmpd.conf"



Thanks,
-- 
/ Jon