SPECS: tpop3d.spec - sysconfig added - allow to set service nice l...

blues blues at pld-linux.org
Tue Dec 12 10:40:44 CET 2006


Author: blues                        Date: Tue Dec 12 09:40:44 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- sysconfig added - allow to set service nice level

---- Files affected:
SPECS:
   tpop3d.spec (1.80 -> 1.81) 

---- Diffs:

================================================================
Index: SPECS/tpop3d.spec
diff -u SPECS/tpop3d.spec:1.80 SPECS/tpop3d.spec:1.81
--- SPECS/tpop3d.spec:1.80	Fri Jun 30 13:15:01 2006
+++ SPECS/tpop3d.spec	Tue Dec 12 10:40:39 2006
@@ -25,6 +25,7 @@
 Source1:	%{name}.pamd
 Source2:	%{name}.init
 Source3:	%{name}.conf
+Source4:	%{name}.sysconfig
 Patch0:		%{name}-ac_am_fixes.patch
 Patch1:		%{name}-cvs20060630.patch
 Patch2:		%{name}-resolv.patch
@@ -149,14 +150,15 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{pam.d,security,rc.d/init.d},%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT{/etc/{pam.d,security,rc.d/init.d,sysconfig},%{_sysconfdir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/tpop3d
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/tpop3d
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/%{name}
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
 
 touch $RPM_BUILD_ROOT/etc/security/blacklist.pop3
 
@@ -176,10 +178,11 @@
 %files
 %defattr(644,root,root,755)
 %doc README* TPOP3D-AuthDriver scripts FAQ CHANGES CREDITS TODO PORTABILITY
-%{?with_pam:%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/tpop3d}
+%{?with_pam:%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/%{name}}
 %{?with_pam:%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.pop3}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tpop3d.conf
-%attr(754,root,root) /etc/rc.d/init.d/tpop3d
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man*/*
 
@@ -189,6 +192,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.81  2006/12/12 09:40:39  blues
+- sysconfig added - allow to set service nice level
+
 Revision 1.80  2006/06/30 11:15:01  arekm
 - snap 20060630
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/tpop3d.spec?r1=1.80&r2=1.81&f=u



More information about the pld-cvs-commit mailing list