SPECS: net-snmp.spec - triggers to readd snmpd/snmptrapd services ...

qboosh qboosh at pld-linux.org
Fri Jan 27 14:03:32 CET 2006


Author: qboosh                       Date: Fri Jan 27 13:03:32 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- triggers to readd snmpd/snmptrapd services after upgrade from ucd-snmp

---- Files affected:
SPECS:
   net-snmp.spec (1.69 -> 1.70) 

---- Diffs:

================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.69 SPECS/net-snmp.spec:1.70
--- SPECS/net-snmp.spec:1.69	Mon Jan 23 23:56:26 2006
+++ SPECS/net-snmp.spec	Fri Jan 27 14:03:26 2006
@@ -498,6 +498,9 @@
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
+%triggerpostun -- ucd-snmp
+/sbin/chkconfig --add snmpd
+
 %post snmptrapd
 /sbin/chkconfig --add snmptrapd
 if [ -f /var/lock/subsys/snmptrapd ]; then
@@ -519,6 +522,9 @@
 	/sbin/chkconfig --del snmptrapd
 fi
 
+%triggerpostun -- ucd-snmp-snmptrapd
+/sbin/chkconfig --add snmptrapd
+
 %files
 %defattr(644,root,root,755)
 %doc README local
@@ -676,6 +682,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.70  2006/01/27 13:03:26  qboosh
+- triggers to readd snmpd/snmptrapd services after upgrade from ucd-snmp
+
 Revision 1.69  2006/01/23 22:56:26  qboosh
 - updated to 5.3.0.1 (security fix - 5.3 granted write access for rousers/rocommunities)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/net-snmp.spec?r1=1.69&r2=1.70&f=u



More information about the pld-cvs-commit mailing list