packages: fail2ban/fail2ban.spec, gammu/gammu.spec, gdm/gdm.spec, glibc/gli...

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


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

---- Files affected:
packages/fail2ban:
   fail2ban.spec (1.15 -> 1.16) 
packages/gammu:
   gammu.spec (1.98 -> 1.99) 
packages/gdm:
   gdm.spec (1.289 -> 1.290) 
packages/glibc:
   glibc.spec (1.951 -> 1.952) 
packages/greylistd:
   greylistd.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/fail2ban/fail2ban.spec
diff -u packages/fail2ban/fail2ban.spec:1.15 packages/fail2ban/fail2ban.spec:1.16
--- packages/fail2ban/fail2ban.spec:1.15	Tue May  3 09:03:39 2011
+++ packages/fail2ban/fail2ban.spec	Tue Jan 31 12:31:28 2012
@@ -9,6 +9,7 @@
 Source0:	http://dl.sourceforge.net/fail2ban/%{name}-%{version}.tar.bz2
 # Source0-md5:	df94335a5d12b4750869e5fe350073fa
 Source1:	%{name}.init
+Source2:	%{name}.tmpfiles
 Patch0:		%{name}-CVE-2009-5023.patch
 URL:		http://fail2ban.sourceforge.net/
 BuildRequires:	python-devel
@@ -44,8 +45,9 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d \
+	$RPM_BUILD_ROOT%{_mandir}/man1 \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 PYTHONPATH=$RPM_BUILD_ROOT%{py_sitescriptdir}; export PYTHONPATH
 
@@ -56,6 +58,8 @@
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fail2ban
 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
+install %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 %py_postclean
 
 %clean
@@ -76,6 +80,7 @@
 %doc ChangeLog README TODO COPYING
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %attr(755,root,root) %{_bindir}/%{name}-*
+/usr/lib/tmpfiles.d/%{name}.conf
 %dir /var/run/%{name}
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*
@@ -88,6 +93,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2012/01/31 11:31:28  baggins
+- added tmpfiles config for systemd
+
 Revision 1.15  2011/05/03 07:03:39  marti
 - added patch closing CVE-2009-5023
 

================================================================
Index: packages/gammu/gammu.spec
diff -u packages/gammu/gammu.spec:1.98 packages/gammu/gammu.spec:1.99
--- packages/gammu/gammu.spec:1.98	Fri Jan 13 22:00:01 2012
+++ packages/gammu/gammu.spec	Tue Jan 31 12:31:29 2012
@@ -11,6 +11,7 @@
 # Source0-md5:	6983485c0ad0873f028da6c6e2039fa7
 Source1:	%{name}-smsd.init
 Source2:	%{name}-smsd.sysconfig
+Source3:	%{name}.tmpfiles
 Patch0:		%{name}-etc_dir.patch
 Patch1:		%{name}-werror.patch
 URL:		http://www.gammu.org/
@@ -156,7 +157,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_examplesdir}/%{name}-%{version}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_examplesdir}/%{name}-%{version}} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -172,6 +174,8 @@
 install -d $RPM_BUILD_ROOT/%{_varrun}/%{name}-smsd
 install -d $RPM_BUILD_ROOT/%{_sharedstatedir}/%{name}-smsd
 
+install %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 %find_lang %{name}
 %find_lang libgammu
 
@@ -225,6 +229,7 @@
 %attr(754,root,root) /etc/rc.d/init.d/%{name}-smsd
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}-smsd
 %{_sysconfdir}/%{name}-smsd
+/usr/lib/tmpfiles.d/%{name}.conf
 %attr(750,root,gammu-smsd) %{_varrun}/%{name}-smsd
 %attr(750,gammu-smsd,gammu-smsd) %{_sharedstatedir}/%{name}-smsd
 
@@ -267,6 +272,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.99  2012/01/31 11:31:29  baggins
+- added tmpfiles config for systemd
+
 Revision 1.98  2012/01/13 21:00:01  arekm
 - release 2
 

================================================================
Index: packages/gdm/gdm.spec
diff -u packages/gdm/gdm.spec:1.289 packages/gdm/gdm.spec:1.290
--- packages/gdm/gdm.spec:1.289	Sun Dec  4 20:26:47 2011
+++ packages/gdm/gdm.spec	Tue Jan 31 12:31:30 2012
@@ -30,6 +30,7 @@
 Source6:	%{name}-default.desktop
 Source7:	%{name}.upstart
 Source8:	%{name}.service
+Source9:	%{name}.tmpfiles
 Patch0:		%{name}-xdmcp.patch
 Patch1:		%{name}-polkit.patch
 Patch2:		%{name}-xsession.patch
@@ -258,7 +259,8 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,security,init} \
 	$RPM_BUILD_ROOT{/home/services/xdm,/var/log/gdm} \
-	$RPM_BUILD_ROOT{%{_datadir}/xsessions,%{systemdunitdir}}
+	$RPM_BUILD_ROOT{%{_datadir}/xsessions,%{systemdunitdir}} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
@@ -271,6 +273,8 @@
 cp -p %{SOURCE7} $RPM_BUILD_ROOT/etc/init/%{name}.conf
 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
 cp -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/gdm.service
+install %{SOURCE9} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 touch $RPM_BUILD_ROOT/etc/security/blacklist.gdm
 
 %find_lang %{name} --with-gnome --with-omf --all-name
@@ -392,6 +396,7 @@
 %attr(711,root,xdm) %dir /var/run/gdm
 %attr(755,xdm,xdm) %dir /var/run/gdm/greeter
 %attr(750,xdm,xdm) /home/services/xdm
+/usr/lib/tmpfiles.d/%{name}.conf
 %{_pixmapsdir}/*
 %{_datadir}/gdm
 %{_datadir}/polkit-1/actions/gdm.policy
@@ -447,6 +452,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.290  2012/01/31 11:31:30  baggins
+- added tmpfiles config for systemd
+
 Revision 1.289  2011/12/04 19:26:47  wiget
 - don't restart gdm on upgrade
 

================================================================
Index: packages/glibc/glibc.spec
diff -u packages/glibc/glibc.spec:1.951 packages/glibc/glibc.spec:1.952
--- packages/glibc/glibc.spec:1.951	Sun Jan 29 15:11:51 2012
+++ packages/glibc/glibc.spec	Tue Jan 31 12:31:31 2012
@@ -52,6 +52,7 @@
 Source6:	%{name}-localedb-gen
 Source7:	%{name}-LD-path.c
 Source8:	nscd.upstart
+Source9:	nscd.tmpfiles
 Patch0:		%{name}-restore-rpc+nis.patch
 # against GNU TP (libc domain)
 #Patch1:		%{name}-pl.po-update.patch
@@ -1041,7 +1042,9 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{default,logrotate.d,rc.d/init.d,sysconfig,init},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd,/var/cache/ldconfig}
+install -d $RPM_BUILD_ROOT/etc/{default,logrotate.d,rc.d/init.d,sysconfig,init} \
+	$RPM_BUILD_ROOT{%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd} \
+	$RPM_BUILD_ROOT{/var/cache/ldconfig,/usr/lib/tmpfiles.d}
 
 cd builddir
 env LANGUAGE=C LC_ALL=C \
@@ -1119,6 +1122,8 @@
 : > $RPM_BUILD_ROOT/var/lib/nscd/group
 : > $RPM_BUILD_ROOT/var/lib/nscd/hosts
 
+install %{SOURCE9} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/nscd.conf
+
 rm -rf documentation
 install -d documentation
 
@@ -1722,6 +1727,7 @@
 %attr(755,root,root) %{_sbindir}/nscd*
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/nscd
 %attr(640,root,root) %ghost /var/log/nscd
+/usr/lib/tmpfiles.d/nscd.conf
 %dir /var/run/nscd
 %dir /var/lib/nscd
 %attr(600,root,root) %ghost /var/lib/nscd/passwd
@@ -1796,6 +1802,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.952  2012/01/31 11:31:31  baggins
+- added tmpfiles config for systemd
+
 Revision 1.951  2012/01/29 14:11:51  arekm
 - rel 3; http://sourceware.org/bugzilla/show_bug.cgi?id=13618 fixed
 

================================================================
Index: packages/greylistd/greylistd.spec
diff -u packages/greylistd/greylistd.spec:1.14 packages/greylistd/greylistd.spec:1.15
--- packages/greylistd/greylistd.spec:1.14	Sat Dec 31 10:39:36 2011
+++ packages/greylistd/greylistd.spec	Tue Jan 31 12:31:32 2012
@@ -10,6 +10,7 @@
 # Source0-md5:	ea71dba950d67d183616258cd51d2d2c
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
+Source3:	%{name}.tmpfiles
 URL:		http://packages.debian.org/unstable/mail/greylistd
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.268
@@ -31,11 +32,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_sysconfdir}/{sysconfig,rc.d/init.d,%{name}},/var/run/%{name},/var/lib/%{name},%{_mandir}/man{1,8}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}} \
+	$RPM_BUILD_ROOT%{_sysconfdir}/{sysconfig,rc.d/init.d,%{name}} \
+	$RPM_BUILD_ROOT{/var/run/%{name},/var/lib/%{name},%{_mandir}/man{1,8}} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
+install %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
 
 install program/greylist $RPM_BUILD_ROOT%{_bindir}
 install program/greylistd $RPM_BUILD_ROOT%{_sbindir}
@@ -59,6 +63,7 @@
 %files
 %defattr(644,root,root,755)
 %doc doc/examples/*
+/usr/lib/tmpfiles.d/%{name}.conf
 %dir %attr(755,mail,mail) /var/run/%{name}
 %dir %attr(755,mail,mail) /var/lib/%{name}
 %dir %{_sysconfdir}/%{name}
@@ -75,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2012/01/31 11:31:32  baggins
+- added tmpfiles config for systemd
+
 Revision 1.14  2011/12/31 09:39:36  arekm
 - up to 0.8.8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/fail2ban/fail2ban.spec?r1=1.15&r2=1.16&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gammu/gammu.spec?r1=1.98&r2=1.99&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdm/gdm.spec?r1=1.289&r2=1.290&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/glibc/glibc.spec?r1=1.951&r2=1.952&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/greylistd/greylistd.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list