pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/net-snmp



Module Name:    pkgsrc
Committed By:   otis
Date:           Fri Nov  6 08:45:04 UTC 2020

Modified Files:
        pkgsrc/net/net-snmp: Makefile
        pkgsrc/net/net-snmp/files/smf: manifest.xml

Log Message:
net-snmp: Fix PCRE detection and unify logging on SmartOS


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 pkgsrc/net/net-snmp/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/net-snmp/files/smf/manifest.xml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/net-snmp/Makefile
diff -u pkgsrc/net/net-snmp/Makefile:1.133 pkgsrc/net/net-snmp/Makefile:1.134
--- pkgsrc/net/net-snmp/Makefile:1.133  Wed Nov  4 15:51:31 2020
+++ pkgsrc/net/net-snmp/Makefile        Fri Nov  6 08:45:04 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.133 2020/11/04 15:51:31 otis Exp $
+# $NetBSD: Makefile,v 1.134 2020/11/06 08:45:04 otis Exp $
 
 PKGREVISION= 1
 .include "Makefile.common"
@@ -142,6 +142,7 @@ post-install:
                ${DESTDIR}${PREFIX}/share/snmp/
 
 .include "../../mk/curses.buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../security/tcp_wrappers/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/net-snmp/files/smf/manifest.xml
diff -u pkgsrc/net/net-snmp/files/smf/manifest.xml:1.3 pkgsrc/net/net-snmp/files/smf/manifest.xml:1.4
--- pkgsrc/net/net-snmp/files/smf/manifest.xml:1.3      Wed Nov  4 15:51:31 2020
+++ pkgsrc/net/net-snmp/files/smf/manifest.xml  Fri Nov  6 08:45:04 2020
@@ -27,7 +27,7 @@
       <dependency name='config-file' grouping='require_all' restart_on='refresh' type='path'>
         <service_fmri value='file://localhost/@PKG_SYSCONFDIR@/snmpd.conf'/>
       </dependency>
-      <exec_method name='start' type='method' exec='@PREFIX@/sbin/snmpd -c %{config_file}' timeout_seconds='60'/>
+      <exec_method name='start' type='method' exec='@PREFIX@/sbin/snmpd -c %{config_file} -Ls d' timeout_seconds='60'/>
       <exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'/>
       <property_group name="application" type="application">
         <propval name="config_file" type="astring" value="@PKG_SYSCONFDIR@/snmpd.conf" />
@@ -45,7 +45,7 @@
       <dependency name='config-file' grouping='require_all' restart_on='refresh' type='path'>
         <service_fmri value='file://localhost/@PKG_SYSCONFDIR@/snmptrapd.conf'/>
       </dependency>
-      <exec_method name='start' type='method' exec='@PREFIX@/sbin/snmptrapd -c %{config_file}' timeout_seconds='60'/>
+      <exec_method name='start' type='method' exec='@PREFIX@/sbin/snmptrapd -c %{config_file} -Ls 1' timeout_seconds='60'/>
       <exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'/>
       <property_group name="application" type="application">
         <propval name="config_file" type="astring" value="@PKG_SYSCONFDIR@/snmptrapd.conf" />



Home | Main Index | Thread Index | Old Index