SPECS (AC-branch): postfix.spec - changed lmtp to hardlink (like i...

qboosh qboosh at pld-linux.org
Fri Sep 7 23:24:05 CEST 2007


Author: qboosh                       Date: Fri Sep  7 21:24:05 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- changed lmtp to hardlink (like in original postfix install), added nqmgr hardlink
- avoid subshells

---- Files affected:
SPECS:
   postfix.spec (1.282.2.7 -> 1.282.2.8) 

---- Diffs:

================================================================
Index: SPECS/postfix.spec
diff -u SPECS/postfix.spec:1.282.2.7 SPECS/postfix.spec:1.282.2.8
--- SPECS/postfix.spec:1.282.2.7	Fri Sep  7 17:06:14 2007
+++ SPECS/postfix.spec	Fri Sep  7 23:24:00 2007
@@ -261,6 +261,8 @@
 
 install bin/* $RPM_BUILD_ROOT%{_sbindir}
 install libexec/* $RPM_BUILD_ROOT%{_libdir}/postfix
+ln $RPM_BUILD_ROOT%{_libdir}/postfix/smtp $RPM_BUILD_ROOT%{_libdir}/postfix/lmtp
+ln $RPM_BUILD_ROOT%{_libdir}/postfix/qmgr $RPM_BUILD_ROOT%{_libdir}/postfix/nqmgr
 install conf/* $RPM_BUILD_ROOT%{_sysconfdir}/mail
 sed -e's,^daemon_directory = .*,daemon_directory = %{_libdir}/postfix,' \
 	conf/main.cf > $RPM_BUILD_ROOT%{_sysconfdir}/mail/main.cf
@@ -272,7 +274,7 @@
 install lib/dict*.so $RPM_BUILD_ROOT%{_libdir}/postfix
 install include/*.h $RPM_BUILD_ROOT%{_includedir}/postfix
 
-(cd man; tar cf - .) | (cd $RPM_BUILD_ROOT%{_mandir}; tar xf -)
+tar cf - -C man . | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mail/aliases
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/postfix
@@ -286,7 +288,6 @@
 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/mailq
 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/newaliases
 ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
-ln -sf smtp $RPM_BUILD_ROOT%{_libdir}/postfix/lmtp
 
 touch $RPM_BUILD_ROOT%{_sysconfdir}/mail/\
 	{aliases,access,canonical,relocated,transport,virtual}{,.db}
@@ -368,8 +369,8 @@
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.smtp
 %{?with_sasl:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sasl/smtpd.conf}
 %attr(755,root,root) %{_libdir}/libpostfix-*.so.*
-%attr(755,root,root) %{_bindir}/newaliases
 %attr(755,root,root) %{_bindir}/mailq
+%attr(755,root,root) %{_bindir}/newaliases
 %attr(755,root,root) %{_bindir}/rmail
 %attr(755,root,root) %{_sbindir}/s*
 %attr(755,root,root) %{_sbindir}/postfix
@@ -439,6 +440,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.282.2.8  2007/09/07 21:24:00  qboosh
+- changed lmtp to hardlink (like in original postfix install), added nqmgr hardlink
+- avoid subshells
+
 Revision 1.282.2.7  2007/09/07 15:06:14  qboosh
 - relative symlink within directory
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/postfix.spec?r1=1.282.2.7&r2=1.282.2.8&f=u



More information about the pld-cvs-commit mailing list