diff --git a/postfix-2.1.1-obsolete.patch b/postfix-2.1.1-obsolete.patch new file mode 100644 index 0000000..6c0624b --- /dev/null +++ b/postfix-2.1.1-obsolete.patch @@ -0,0 +1,12 @@ +--- postfix-2.1.1/conf/post-install.obsolete 2004-06-18 15:55:13.554527176 +0200 ++++ postfix-2.1.1/conf/post-install 2004-06-18 15:55:35.625492558 +0200 +@@ -635,8 +635,7 @@ + test -n "$obsolete" && { + cat < qshape.1 +install -c qshape.1 $RPM_BUILD_ROOT%{_mandir}/man1/qshape.1 +install -c auxiliary/qshape/qshape.pl $RPM_BUILD_ROOT%{postfix_command_dir}/qshape + mkdir -p $RPM_BUILD_ROOT%{postfix_sample_dir} %if %{IPV6} install -c conf/sample-ipv6.cf $RPM_BUILD_ROOT%{postfix_sample_dir}/sample-ipv6.cf @@ -441,7 +422,6 @@ sh %{postfix_config_dir}/post-install \ readme_directory=%{postfix_readme_dir} \ upgrade-package -%if %alternatives /usr/sbin/alternatives --install %{postfix_command_dir}/sendmail mta %{postfix_command_dir}/sendmail.postfix 30 \ --slave %{_bindir}/mailq mta-mailq %{_bindir}/mailq.postfix \ --slave %{_bindir}/newaliases mta-newaliases %{_bindir}/newaliases.postfix \ @@ -453,7 +433,6 @@ sh %{postfix_config_dir}/post-install \ --slave %{_mandir}/man8/sendmail.8.gz mta-sendmailman %{_mandir}/man1/sendmail.postfix.1.gz \ --slave %{_mandir}/man5/aliases.5.gz mta-aliasesman %{_mandir}/man5/aliases.postfix.5.gz \ --initscript postfix -%endif %pre # Add user and groups if necessary @@ -470,10 +449,7 @@ if [ "$1" = 0 ]; then # stop postfix silently, but only if it's running /sbin/service postfix stop &>/dev/null /sbin/chkconfig --del postfix -%if %alternatives /usr/sbin/alternatives --remove mta %{postfix_command_dir}/sendmail.postfix -%endif - fi exit 0 @@ -504,7 +480,7 @@ exit 0 %config(noreplace) %{sasl_v1_lib_dir}/smtpd.conf %config(noreplace) %{sasl_v2_lib_dir}/smtpd.conf %config(noreplace) %{_sysconfdir}/pam.d/smtp.postfix -%config(noreplace) %{postfix_config_dir}/aliases.db +%config(noreplace) %verify(not md5 size mtime) %{postfix_config_dir}/aliases.db %attr(0755, root, root) %config /etc/rc.d/init.d/postfix # Misc files @@ -513,12 +489,17 @@ exit 0 %attr(0755, root, root) %{postfix_command_dir}/smtp-sink %attr(0755, root, root) %{postfix_command_dir}/smtp-source +%attr(0755, root, root) %{postfix_command_dir}/qshape %attr(0755, root, root) /usr/lib/sendmail.postfix -%doc %{postfix_doc_dir}/README-Postfix-SASL-RedHat.txt - +%dir %attr(0755, root, root) %{postfix_doc_dir} +%doc %attr(0644, root, root) %{postfix_doc_dir}/README-* +%dir %attr(0755, root, root) %{postfix_readme_dir} +%doc %attr(0644, root, root) %{postfix_readme_dir}/* %dir %attr(0755, root, root) %{postfix_sample_dir} %doc %attr(0644, root, root) %{postfix_sample_dir}/* +%dir %attr(0755, root, root) %{postfix_doc_dir}/TLS +%doc %attr(0644, root, root) %{postfix_doc_dir}/TLS/* %dir %attr(0755, root, root) %{postfix_config_dir} %dir %attr(0755, root, root) %{postfix_daemon_dir} @@ -531,16 +512,18 @@ exit 0 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/flush %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/hold %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/incoming +%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/saved +%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/trace %dir %attr(0730, %{postfix_user}, %{maildrop_group}) %{postfix_queue_dir}/maildrop %dir %attr(0755, root, root) %{postfix_queue_dir}/pid %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/private %dir %attr(0710, %{postfix_user}, %{maildrop_group}) %{postfix_queue_dir}/public -%dir %attr(0755, root, root) %{postfix_doc_dir} -%attr(0644, root, root) %{_mandir}/man1/* +%attr(0644, root, root) %{_mandir}/man1/[a-n]* +%attr(0644, root, root) %{_mandir}/man1/post* +%attr(0644, root, root) %{_mandir}/man1/[q-z]* %attr(0644, root, root) %{_mandir}/man5/* %attr(0644, root, root) %{_mandir}/man8/* -%doc %attr(0644, root, root) %{postfix_doc_dir}/* %attr(0755, root, root) %{postfix_command_dir}/postalias %attr(0755, root, root) %{postfix_command_dir}/postcat @@ -583,6 +566,16 @@ exit 0 %changelog +* Mon Jun 21 2004 Thomas Woerner 2:2.1.1-3.1 +- fixed directory permissions in %%doc (#125406) +- fixed missing spool dirs (#125460) +- fixed verify problem for aliases.db (#125461) +- fixed bogus upgrade warning (#125628) +- more spec file cleanup + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + * Sun Jun 06 2004 Florian La Roche - make sure pflog files have same permissions even if in multiple sub-rpms