pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/net-snmp net-snmp: Fix PCRE detection and unify lo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ae2393397f8
branches:  trunk
changeset: 441562:1ae2393397f8
user:      otis <otis%pkgsrc.org@localhost>
date:      Fri Nov 06 08:45:04 2020 +0000

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

diffstat:

 net/net-snmp/Makefile               |  3 ++-
 net/net-snmp/files/smf/manifest.xml |  4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r cbddf1ab8f88 -r 1ae2393397f8 net/net-snmp/Makefile
--- a/net/net-snmp/Makefile     Fri Nov 06 04:17:05 2020 +0000
+++ b/net/net-snmp/Makefile     Fri Nov 06 08:45:04 2020 +0000
@@ -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 @@
                ${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"
diff -r cbddf1ab8f88 -r 1ae2393397f8 net/net-snmp/files/smf/manifest.xml
--- a/net/net-snmp/files/smf/manifest.xml       Fri Nov 06 04:17:05 2020 +0000
+++ b/net/net-snmp/files/smf/manifest.xml       Fri Nov 06 08:45:04 2020 +0000
@@ -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