packages: net-snmp/net-snmp.spec - install upstart config

glen glen at pld-linux.org
Fri Apr 8 20:46:25 CEST 2011


Author: glen                         Date: Fri Apr  8 18:46:25 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- install upstart config

---- Files affected:
packages/net-snmp:
   net-snmp.spec (1.175 -> 1.176) 

---- Diffs:

================================================================
Index: packages/net-snmp/net-snmp.spec
diff -u packages/net-snmp/net-snmp.spec:1.175 packages/net-snmp/net-snmp.spec:1.176
--- packages/net-snmp/net-snmp.spec:1.175	Mon Mar 28 00:22:59 2011
+++ packages/net-snmp/net-snmp.spec	Fri Apr  8 20:46:20 2011
@@ -29,7 +29,7 @@
 Summary(uk.UTF-8):	Набір утиліт для протоколу SNMP від UC-Davis
 Name:		net-snmp
 Version:	5.6.1
-Release:	4
+Release:	5
 License:	BSD-like
 Group:		Networking/Daemons
 Source0:	http://downloads.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
@@ -42,6 +42,7 @@
 Source6:	%{name}trapd.sysconfig
 Source7:	ucd-ipchains.tar.gz
 # Source7-md5:	29949f1008f1a04d6efefd5b3ea607da
+Source8:	snmpd.upstart
 Patch0:		%{name}-acfix.patch
 Patch1:		%{name}-rpm-implicit-libs.patch
 Patch2:		%{name}-config-noflags.patch
@@ -520,6 +521,9 @@
 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmptrapd.conf
 cp -a %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/snmptrapd
 
+install -d $RPM_BUILD_ROOT/etc/init
+cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/init/snmpd.conf
+
 cd perl
 %{__make} -j1 install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -601,6 +605,7 @@
 
 %attr(754,root,root) /etc/rc.d/init.d/snmpd
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmpd
+%config(noreplace) %verify(not md5 mtime size) /etc/init/snmpd.conf
 
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.conf
 %attr(640,root,root) %config(missingok,noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.local.conf
@@ -807,6 +812,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.176  2011/04/08 18:46:20  glen
+- install upstart config
+
 Revision 1.175  2011/03/27 22:22:59  arekm
 - rel 3; nl_socket_free instead of nl_close
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/net-snmp/net-snmp.spec?r1=1.175&r2=1.176&f=u



More information about the pld-cvs-commit mailing list