packages: munin/munin.spec, mythtv/mythtv.spec, nagios-nrpe/nagios-nrpe.spe...

baggins baggins at pld-linux.org
Tue Jan 31 12:31:50 CET 2012


Author: baggins                      Date: Tue Jan 31 11:31:50 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added tmpfiles config for systemd

---- Files affected:
packages/munin:
   munin.spec (1.93 -> 1.94) 
packages/mythtv:
   mythtv.spec (1.112 -> 1.113) 
packages/nagios-nrpe:
   nagios-nrpe.spec (1.57 -> 1.58) 
packages/ndisc6:
   ndisc6.spec (1.10 -> 1.11) 
packages/nss_ldapd:
   nss_ldapd.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/munin/munin.spec
diff -u packages/munin/munin.spec:1.93 packages/munin/munin.spec:1.94
--- packages/munin/munin.spec:1.93	Wed Mar 16 12:44:45 2011
+++ packages/munin/munin.spec	Tue Jan 31 12:31:45 2012
@@ -22,6 +22,7 @@
 Source4:	%{name}.logrotate
 Source5:	%{name}-node.logrotate
 Source6:	%{name}-lighttpd.conf
+Source7:	%{name}.tmpfiles
 Patch0:		%{name}-Makefile.patch
 Patch1:		%{name}-plugins.patch
 Patch2:		%{name}-templatedir.patch
@@ -126,9 +127,10 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,cron.d,logrotate.d},%{_bindir},%{_sbindir}}
-install -d $RPM_BUILD_ROOT/var/log/archive/munin
-install -d $RPM_BUILD_ROOT%{_webapps}/%{_webapp}
+install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,cron.d,logrotate.d},%{_bindir},%{_sbindir}} \
+	$RPM_BUILD_ROOT/var/log/archive/munin \
+	$RPM_BUILD_ROOT%{_webapps}/%{_webapp} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 %{__make} -j1 install \
 	JCVALID=no \
@@ -143,6 +145,8 @@
 install %{SOURCE3} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
 install %{SOURCE6} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/lighttpd.conf
 
+install %{SOURCE7} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 install dists/tarball/plugins.conf $RPM_BUILD_ROOT%{_sysconfdir}
 ln -sf %{_sysconfdir}/plugins.conf $RPM_BUILD_ROOT%{_sysconfdir}/plugin-conf.d/munin-node
 
@@ -253,6 +257,7 @@
 %defattr(644,root,root,755)
 %doc README ChangeLog logo* Checklist
 %dir %{_datadir}/munin
+/usr/lib/tmpfiles.d/%{name}.conf
 %attr(770,munin,http) %dir /var/log/munin
 %attr(750,munin,root) %dir /var/log/archive/munin
 %attr(771,munin,munin) %dir /var/lib/munin
@@ -301,6 +306,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.94  2012/01/31 11:31:45  baggins
+- added tmpfiles config for systemd
+
 Revision 1.93  2011/03/16 11:44:45  baggins
 - rel 4
 - ip6 compatible fix for ip_ plugin

================================================================
Index: packages/mythtv/mythtv.spec
diff -u packages/mythtv/mythtv.spec:1.112 packages/mythtv/mythtv.spec:1.113
--- packages/mythtv/mythtv.spec:1.112	Fri Jan 20 15:23:17 2012
+++ packages/mythtv/mythtv.spec	Tue Jan 31 12:31:46 2012
@@ -68,6 +68,7 @@
 Source1:	mythbackend.sysconfig
 Source2:	mythbackend.init
 Source3:	mythbackend.logrotate
+Source4:	%{name}.tmpfiles
 Source5:	pld-mythfrontend.desktop
 # Source5-md5:	f37a903ac97463683bebacdf29406951
 Source6:	pld-mythfrontend.png
@@ -466,7 +467,8 @@
 		$RPM_BUILD_ROOT/var/lib/mythtv/tmp \
 		$RPM_BUILD_ROOT%{_libdir}/mythtv \
 		$RPM_BUILD_ROOT%{_libdir}/mythtv/plugins \
-		$RPM_BUILD_ROOT%{_pixmapsdir}
+		$RPM_BUILD_ROOT%{_pixmapsdir} \
+		$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -477,6 +479,8 @@
 cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/mythbackend
 %{?with_dshowserver:cp -p %{SOURCE20} $RPM_BUILD_ROOT%{_datadir}/mythtv}
 
+install %{SOURCE4} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 # desktop entries
 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE6} $RPM_BUILD_ROOT%{_pixmapsdir}
@@ -560,6 +564,7 @@
 %attr(700,root,mythtv) %dir /var/lib/mythtv/tmp
 %attr(775,root,mythtv) %dir /var/cache/mythtv
 %attr(775,root,mythtv) %dir /var/run/mythtv
+/usr/lib/tmpfiles.d/%{name}.conf
 %attr(754,root,root) /etc/rc.d/init.d/mythbackend
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/mythbackend
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/mythbackend
@@ -637,6 +642,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.113  2012/01/31 11:31:46  baggins
+- added tmpfiles config for systemd
+
 Revision 1.112  2012/01/20 14:23:17  cieciwa
 - add Conflicts:
 

================================================================
Index: packages/nagios-nrpe/nagios-nrpe.spec
diff -u packages/nagios-nrpe/nagios-nrpe.spec:1.57 packages/nagios-nrpe/nagios-nrpe.spec:1.58
--- packages/nagios-nrpe/nagios-nrpe.spec:1.57	Wed Jan  4 17:18:51 2012
+++ packages/nagios-nrpe/nagios-nrpe.spec	Tue Jan 31 12:31:47 2012
@@ -10,6 +10,7 @@
 # Source0-md5:	e5176d9b258123ce9cf5872e33a77c1a
 Source1:	nrpe.init
 Source2:	nrpe-command.cfg
+Source3:	%{name}.tmpfiles
 Patch0:		%{name}-config.patch
 Patch1:		nrpe_check_control.patch
 URL:		http://www.nagios.org/
@@ -89,7 +90,8 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sysconfdir}/{plugins,nrpe.d},%{_libdir}/nagios/plugins,%{_sbindir}} \
-	$RPM_BUILD_ROOT{%{_localstatedir},/var/run/nrpe}
+	$RPM_BUILD_ROOT{%{_localstatedir},/var/run/nrpe} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 cp -p sample-config/nrpe.cfg $RPM_BUILD_ROOT%{_sysconfdir}/nrpe.cfg
 sed -e 's, at plugindir@,%{_plugindir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_sysconfdir}/plugins/check_nrpe.cfg
@@ -97,6 +99,8 @@
 install -p src/nrpe $RPM_BUILD_ROOT%{_sbindir}
 install -p src/check_nrpe $RPM_BUILD_ROOT%{_plugindir}
 
+install %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -128,6 +132,7 @@
 %attr(755,root,root) %{_sbindir}/nrpe
 %attr(754,root,root) /etc/rc.d/init.d/nrpe
 %dir %attr(775,root,nagios) /var/run/nrpe
+/usr/lib/tmpfiles.d/%{name}.conf
 
 %files -n nagios-plugin-check_nrpe
 %defattr(644,root,root,755)
@@ -140,6 +145,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.58  2012/01/31 11:31:47  baggins
+- added tmpfiles config for systemd
+
 Revision 1.57  2012/01/04 16:18:51  glen
 - build contrib/nrpe_check_control.c, however it seems to parse nagios 1.x config only
 

================================================================
Index: packages/ndisc6/ndisc6.spec
diff -u packages/ndisc6/ndisc6.spec:1.10 packages/ndisc6/ndisc6.spec:1.11
--- packages/ndisc6/ndisc6.spec:1.10	Wed Jun 15 10:39:32 2011
+++ packages/ndisc6/ndisc6.spec	Tue Jan 31 12:31:48 2012
@@ -11,6 +11,7 @@
 Source1:	rdnssd.init
 Source2:	rdnssd.sysconfig
 Source3:	rdnssd.upstart
+Source4:	%{name}.tmpfiles
 Patch0:		%{name}-no_chown.patch
 Patch1:		rdnssd-uid.patch
 URL:		http://www.remlab.net/ndisc6/
@@ -95,7 +96,8 @@
 	LDFLAGS="%{rpmldflags}"
 
 %install
-install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,init}
+install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,init} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -105,6 +107,7 @@
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/rdnssd
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rdnssd
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/init/rdnssd.conf
+install %{SOURCE4} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
 
 %find_lang %{name}
 
@@ -171,6 +174,7 @@
 %{_mandir}/man8/rdnssd.8*
 %attr(775,root,rdnssd) %dir /var/run/rdnssd
 %ghost %attr(644,rdnssd,rdnssd) /var/run/rdnssd/resolv.conf
+/usr/lib/tmpfiles.d/%{name}.conf
 
 %files rdnssd-upstart
 %defattr(644,root,root,755)
@@ -182,6 +186,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2012/01/31 11:31:48  baggins
+- added tmpfiles config for systemd
+
 Revision 1.10  2011/06/15 08:39:32  jajcus
 - rdnssd package added for DNS autoconfiguration in IPv6 networks
 - Release: 2

================================================================
Index: packages/nss_ldapd/nss_ldapd.spec
diff -u packages/nss_ldapd/nss_ldapd.spec:1.20 packages/nss_ldapd/nss_ldapd.spec:1.21
--- packages/nss_ldapd/nss_ldapd.spec:1.20	Tue Sep 27 12:31:50 2011
+++ packages/nss_ldapd/nss_ldapd.spec	Tue Jan 31 12:31:49 2012
@@ -15,6 +15,7 @@
 Source0:	http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-%{version}.tar.gz
 # Source0-md5:	ff9559cdc553a87114d2fb2fb0d42d59
 Source1:	nslcd.init
+Source2:	%{name}.tmpfiles
 Patch0:		%{name}-no-root.patch
 URL:		http://arthurdejong.org/nss-pam-ldapd/
 BuildRequires:	autoconf
@@ -90,12 +91,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d,/var/run/nslcd}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d,/var/run/nslcd} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/nslcd
+install %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -140,6 +143,7 @@
 %{_mandir}/man5/nslcd.conf.5*
 %{_mandir}/man8/nslcd.8*
 %dir /var/run/nslcd
+/usr/lib/tmpfiles.d/%{name}.conf
 
 %files pam
 %defattr(644,root,root,755)
@@ -152,6 +156,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2012/01/31 11:31:49  baggins
+- added tmpfiles config for systemd
+
 Revision 1.20  2011/09/27 10:31:50  baggins
 - 0.8.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/munin/munin.spec?r1=1.93&r2=1.94&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mythtv/mythtv.spec?r1=1.112&r2=1.113&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-nrpe/nagios-nrpe.spec?r1=1.57&r2=1.58&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ndisc6/ndisc6.spec?r1=1.10&r2=1.11&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nss_ldapd/nss_ldapd.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list