packages: openct/openct.spec, openl2tp/openl2tp.spec, openldap/openldap.spe...

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


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

---- Files affected:
packages/openct:
   openct.spec (1.58 -> 1.59) 
packages/openl2tp:
   openl2tp.spec (1.3 -> 1.4) 
packages/openldap:
   openldap.spec (1.365 -> 1.366) 
packages/openvpn:
   openvpn.spec (1.168 -> 1.169) 
packages/pam-pam_mount:
   pam-pam_mount.spec (1.62 -> 1.63) 
packages/pam-pam_ssh:
   pam-pam_ssh.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/openct/openct.spec
diff -u packages/openct/openct.spec:1.58 packages/openct/openct.spec:1.59
--- packages/openct/openct.spec:1.58	Tue Oct 11 09:31:37 2011
+++ packages/openct/openct.spec	Tue Jan 31 12:31:50 2012
@@ -10,6 +10,7 @@
 # Source0-md5:	a1da3358ab798f1cb9232f1dbababc21
 Source1:	%{name}.init
 Source2:	%{name}-initramfs-hook
+Source3:	%{name}.tmpfiles
 URL:		http://www.opensc-project.org/openct/
 BuildRequires:	autoconf >= 2.52
 BuildRequires:	automake
@@ -140,7 +141,8 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/var/run/openct,/etc/{rc.d/init.d,udev/rules.d}} \
-	$RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks
+	$RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -149,6 +151,7 @@
 cp -a etc/openct.udev $RPM_BUILD_ROOT/etc/udev/rules.d/50-openct.rules
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/openct
 install -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/openct
+install %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/openct-*.{a,la}
 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
@@ -185,6 +188,7 @@
 %attr(755,root,root) %{_sbindir}/ifdproxy
 %attr(755,root,root) %{_sbindir}/openct-control
 %dir /var/run/openct
+/usr/lib/tmpfiles.d/%{name}.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openct.conf
 %attr(754,root,root) /etc/rc.d/init.d/openct
 %{_mandir}/man1/openct-tool.1*
@@ -236,6 +240,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2012/01/31 11:31:50  baggins
+- added tmpfiles config for systemd
+
 Revision 1.58  2011/10/11 07:31:37  jajcus
 - License is 'LGPL v2.1+' for everything (I could find no mention about BSD in
   the documentation or on the project web page)

================================================================
Index: packages/openl2tp/openl2tp.spec
diff -u packages/openl2tp/openl2tp.spec:1.3 packages/openl2tp/openl2tp.spec:1.4
--- packages/openl2tp/openl2tp.spec:1.3	Sat Nov 26 21:07:05 2011
+++ packages/openl2tp/openl2tp.spec	Tue Jan 31 12:31:51 2012
@@ -10,6 +10,7 @@
 # Source0-md5:	e3d08dedfb9e6a9a1e24f6766f6dadd0
 Source1:	%{name}d.init
 Source2:	%{name}d.sysconfig
+Source3:	%{name}.tmpfiles
 Patch0:		%{name}-no_Werror.patch
 Patch1:		%{name}-setkey.patch
 URL:		http://www.openl2tp.org/
@@ -61,12 +62,15 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig,/var/run/%{name}}
+install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig,/var/run/%{name}} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/openl2tpd
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/openl2tpd
+install %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 touch $RPM_BUILD_ROOT%{_sysconfdir}/openl2tpd.conf
 
 %clean
@@ -91,6 +95,7 @@
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/openl2tpd
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openl2tpd.conf
 %dir /var/run/%{name}
+/usr/lib/tmpfiles.d/%{name}.conf
 
 %files devel
 %defattr(644,root,root,755)
@@ -105,6 +110,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2012/01/31 11:31:51  baggins
+- added tmpfiles config for systemd
+
 Revision 1.3  2011/11/26 20:07:05  jajcus
 - openl2tp-setkey.patch: proper path to the setkey utility
 - openl2tp-setkey.patch: insecure temporary file moved from /tmp to /var/run/openl2tp

================================================================
Index: packages/openldap/openldap.spec
diff -u packages/openldap/openldap.spec:1.365 packages/openldap/openldap.spec:1.366
--- packages/openldap/openldap.spec:1.365	Fri Jan 13 22:00:28 2012
+++ packages/openldap/openldap.spec	Tue Jan 31 12:31:52 2012
@@ -37,6 +37,8 @@
 Source3:	%{name}.sysconfig
 Source4:	%{name}.conf
 Source5:	ldap.conf
+Source6:	%{name}.tmpfiles
+Source7:	nssov.tmpfiles
 Source100:	%{name}-README.evolution
 Patch0:		%{name}-make_man_link.patch
 Patch1:		%{name}-config.patch
@@ -1445,7 +1447,8 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},/var/lib/openldap-data} \
 	$RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{schemadir}} \
-	$RPM_BUILD_ROOT/var/run/{slapd,nslcd}
+	$RPM_BUILD_ROOT/var/run/{slapd,nslcd} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 %if %{with exchange}
 # Install evolution hack first and remove everything but devel stuff
@@ -1487,6 +1490,8 @@
 
 # Config for nss_ldap and pam_ldap
 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/ldap.conf
+install %{SOURCE6} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/slapd.conf
+install %{SOURCE7} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/nssov.conf
 
 echo "localhost" > $RPM_BUILD_ROOT%{_sysconfdir}/openldap/ldapserver
 
@@ -2008,6 +2013,7 @@
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openldap/schema/*.schema
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ldap
 %attr(754,root,root) /etc/rc.d/init.d/ldap
+/usr/lib/tmpfiles.d/slapd.conf
 %attr(770,root,slapd) %{_var}/run/slapd
 %dir %attr(770,root,slapd) %{_localstatedir}/openldap-data
 %attr(660,root,slapd) %{_localstatedir}/openldap-data/*
@@ -2328,6 +2334,7 @@
 %{schemadir}/ldapns.schema
 %{_mandir}/man5/slapo-nssov.5*
 %attr(755,slapd,slapd) %dir /var/run/nslcd
+/usr/lib/tmpfiles.d/nssov.conf
 
 %files overlay-proxyOld
 %defattr(644,root,root,755)
@@ -2362,6 +2369,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.366  2012/01/31 11:31:52  baggins
+- added tmpfiles config for systemd
+
 Revision 1.365  2012/01/13 21:00:28  arekm
 - release 3
 

================================================================
Index: packages/openvpn/openvpn.spec
diff -u packages/openvpn/openvpn.spec:1.168 packages/openvpn/openvpn.spec:1.169
--- packages/openvpn/openvpn.spec:1.168	Sun Jan 22 13:46:14 2012
+++ packages/openvpn/openvpn.spec	Tue Jan 31 12:31:53 2012
@@ -17,6 +17,7 @@
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 Source3:	%{name}-update-resolv-conf
+Source4:	%{name}.tmpfiles
 Patch0:		%{name}-optflags.patch
 Patch1:		easy-rsa2.patch
 Patch2:		%{name}-pam.patch
@@ -121,7 +122,8 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/openvpn,%{_sbindir},%{_mandir}/man8} \
-	$RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig},/var/run/openvpn,%{_includedir},%{_libdir}/%{name}/plugins}
+	$RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig},/var/run/openvpn,%{_includedir}} \
+	$RPM_BUILD_ROOT{%{_libdir}/%{name}/plugins,/usr/lib/tmpfiles.d}
 
 install openvpn $RPM_BUILD_ROOT%{_sbindir}
 install *.8 $RPM_BUILD_ROOT%{_mandir}/man8
@@ -131,6 +133,8 @@
 install openvpn-plugin.h $RPM_BUILD_ROOT%{_includedir}
 install plugin/{auth-pam,down-root}/*.so $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
 
+install %{SOURCE4} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 # easy-rsa 2.0
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_datadir}}/easy-rsa
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/easy-rsa/keys
@@ -172,6 +176,7 @@
 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
 %{_mandir}/man?/*
 %dir /var/run/openvpn
+/usr/lib/tmpfiles.d/%{name}.conf
 
 %files devel
 %defattr(644,root,root,755)
@@ -196,6 +201,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.169  2012/01/31 11:31:53  baggins
+- added tmpfiles config for systemd
+
 Revision 1.168  2012/01/22 12:46:14  zbyniu
 - up to 2.2.2; management-notes.txt are in tarball now
 

================================================================
Index: packages/pam-pam_mount/pam-pam_mount.spec
diff -u packages/pam-pam_mount/pam-pam_mount.spec:1.62 packages/pam-pam_mount/pam-pam_mount.spec:1.63
--- packages/pam-pam_mount/pam-pam_mount.spec:1.62	Sat Nov 26 22:49:36 2011
+++ packages/pam-pam_mount/pam-pam_mount.spec	Tue Jan 31 12:31:54 2012
@@ -13,6 +13,7 @@
 Group:		Base
 Source0:	http://downloads.sourceforge.net/pam-mount/%{modulename}-%{version}.tar.xz
 # Source0-md5:	5a4e5e2df01a239d410925e38c133dd5
+Source1:	%{name}.tmpfiles
 URL:		http://pam-mount.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -90,7 +91,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/security,/sbin,/var/run/pam_mount,%{_bindir}}
+install -d $RPM_BUILD_ROOT{/etc/security,/sbin,/var/run/pam_mount,%{_bindir}} \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 %{__make} install \
 	moduledir=/%{_lib}/security \
@@ -99,6 +101,8 @@
 cp -a config/pam_mount.conf.xml $RPM_BUILD_ROOT/etc/security
 ln -sf /sbin/mount.crypt $RPM_BUILD_ROOT%{_bindir}/mount.crypt
 
+install %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/pam_mount.conf
+
 # void code on non-OpenBSD, besides broken
 #rm $RPM_BUILD_ROOT{%{_bindir}/mount_ehd,%{_mandir}/man8/mount_ehd.8}
 
@@ -119,6 +123,7 @@
 %attr(755,root,root) %{_sbindir}/pmt-ehd
 %attr(755,root,root) %{_sbindir}/pmvarrun
 %dir /var/run/pam_mount
+/usr/lib/tmpfiles.d/pam_mount.conf
 %{_mandir}/man5/pam_mount.conf.5*
 %{_mandir}/man8/mount.crypt.8*
 %{_mandir}/man8/mount.crypt_LUKS.8*
@@ -136,6 +141,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.63  2012/01/31 11:31:54  baggins
+- added tmpfiles config for systemd
+
 Revision 1.62  2011/11/26 21:49:36  arekm
 - release 2
 

================================================================
Index: packages/pam-pam_ssh/pam-pam_ssh.spec
diff -u packages/pam-pam_ssh/pam-pam_ssh.spec:1.1 packages/pam-pam_ssh/pam-pam_ssh.spec:1.2
--- packages/pam-pam_ssh/pam-pam_ssh.spec:1.1	Sat Apr  2 21:02:53 2011
+++ packages/pam-pam_ssh/pam-pam_ssh.spec	Tue Jan 31 12:31:55 2012
@@ -8,6 +8,7 @@
 URL:		http://sourceforge.net/projects/pam-ssh/
 Source0:	http://downloads.sourceforge.net/pam-ssh/pam_ssh-%{version}.tar.bz2
 # Source0-md5:	ef114d67b4951c88a62893437f850784
+Source1:	%{name}.tmpfiles
 Patch0:		var_run.patch
 BuildRequires:	libtool
 BuildRequires:	openssh-clients
@@ -53,11 +54,15 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_localstatedir}/run/pam_ssh
+install -d $RPM_BUILD_ROOT%{_localstatedir}/run/pam_ssh \
+	$RPM_BUILD_ROOT/usr/lib/tmpfiles.d
+
 %{__make} install \
 	INSTALL="install -p" \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/pam_ssh.conf
+
 %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/*.la
 
 %clean
@@ -69,6 +74,7 @@
 %attr(755,root,root) /%{_lib}/security/pam_ssh.so
 %{_mandir}/man8/pam_ssh.8*
 %ghost %dir %{_localstatedir}/run/pam_ssh
+/usr/lib/tmpfiles.d/pam_ssh.conf
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -76,5 +82,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2012/01/31 11:31:55  baggins
+- added tmpfiles config for systemd
+
 Revision 1.1  2011/04/02 19:02:53  glen
 - new, based on fc package
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openct/openct.spec?r1=1.58&r2=1.59&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openl2tp/openl2tp.spec?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openldap/openldap.spec?r1=1.365&r2=1.366&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openvpn/openvpn.spec?r1=1.168&r2=1.169&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pam-pam_mount/pam-pam_mount.spec?r1=1.62&r2=1.63&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pam-pam_ssh/pam-pam_ssh.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list