SPECS (AC-branch): net-snmp.spec - triggers to readd snmpd/snmptra...

qboosh qboosh at pld-linux.org
Fri Jan 27 14:05:02 CET 2006


Author: qboosh                       Date: Fri Jan 27 13:05:02 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- triggers to readd snmpd/snmptrapd services after upgrade from ucd-snmp
- release 5

---- Files affected:
SPECS:
   net-snmp.spec (1.66.2.3 -> 1.66.2.4) 

---- Diffs:

================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.66.2.3 SPECS/net-snmp.spec:1.66.2.4
--- SPECS/net-snmp.spec:1.66.2.3	Fri Jan 27 12:34:17 2006
+++ SPECS/net-snmp.spec	Fri Jan 27 14:04:57 2006
@@ -1,7 +1,4 @@
 # $Revision$, $Date$
-# TODO:
-# - upgrade from RA ucd-snmp leaves us with snmpd
-#   in off state on all levels as seen by chkconfig
 #
 # Conditional build:
 %bcond_without	autodeps	# don't BR packages only for deps resolving
@@ -15,7 +12,7 @@
 Summary(uk):	îÁÂŚŇ ŐÔÉĚŚÔ ÄĚŃ ĐŇĎÔĎËĎĚŐ SNMP ×ŚÄ UC-Davis
 Name:		net-snmp
 Version:	5.2.1.2
-Release:	4
+Release:	5
 License:	BSD-like
 Group:		Networking/Daemons
 Source0:	http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
@@ -507,6 +504,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
@@ -528,6 +528,9 @@
 	/sbin/chkconfig --del snmptrapd
 fi
 
+%triggerpostun snmptrapd -- ucd-snmp-snmptrapd
+/sbin/chkconfig --add snmptrapd
+
 %files
 %defattr(644,root,root,755)
 %doc README local
@@ -683,6 +686,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.66.2.4  2006/01/27 13:04:57  qboosh
+- triggers to readd snmpd/snmptrapd services after upgrade from ucd-snmp
+- release 5
+
 Revision 1.66.2.3  2006/01/27 11:34:17  arekm
 - todo note on ra upgrade
 
================================================================

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



More information about the pld-cvs-commit mailing list