Sync from SUSE:SLFO:Main postfix revision c22b826349dc01c4cf64e68ec8c8e1ce

This commit is contained in:
Adrian Schröter 2024-10-03 18:38:02 +02:00
parent ddbb702adc
commit 979eb33c7e
4 changed files with 55 additions and 6 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Sep 24 08:29:59 UTC 2024 - Peter Varkoly <varkoly@suse.com>
- Missing posttls-finger in postfix though changes mention it
(bsc#1221501)
-------------------------------------------------------------------
Fri Aug 9 08:48:52 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
- Remove rcpostfix symlink [jsc#PED-266]
-------------------------------------------------------------------
Wed Aug 7 06:34:05 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
- postfix-script requires cmp
-------------------------------------------------------------------
Thu Aug 1 08:36:10 UTC 2024 - Peter Varkoly <varkoly@suse.com>

View File

@ -126,6 +126,8 @@ Requires(pre): group(%{mail_group})
%else
Requires(pre): shadow
%endif
# /usr/lib/postfix/bin//postfix-script: line 400: cmp: command not found
Requires: /usr/bin/cmp
# /usr/lib/postfix/bin//post-install: line 667: ed: command not found
Requires(pre): ed
Requires(preun):ed
@ -365,7 +367,9 @@ install -m 0755 postfix-SUSE/update_chroot.systemd %{buildroot}%{pf_shlib_dire
install -m 0755 postfix-SUSE/update_postmaps.systemd %{buildroot}%{pf_shlib_directory}/systemd/update_postmaps
install -m 0755 postfix-SUSE/wait_qmgr.systemd %{buildroot}%{pf_shlib_directory}/systemd/wait_qmgr
install -m 0755 postfix-SUSE/cond_slp.systemd %{buildroot}%{pf_shlib_directory}/systemd/cond_slp
%if 0%{?suse_version} < 1599
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcpostfix
%endif
%fdupes %{buildroot}%{pf_docdir}
%fdupes %{buildroot}%{_mandir}
for path in %{buildroot}%{pf_shlib_directory}/libpostfix-*.so
@ -396,6 +400,9 @@ rm -rf %{buildroot}/usr/lib/sysusers.d/postfix-vmail-user.conf
rm -rf %{buildroot}/usr/share/doc/packages/postfix-doc/
rm -rf %{buildroot}/%{_includedir}/postfix/
# posttls-finger is built but not installed
install -m 755 bin/posttls-finger %{buildroot}%{_sbindir}/
%if 0%{?suse_version} >= 1330
%pre -f postfix.pre
%else
@ -467,7 +474,6 @@ fi
%config %{_sysconfdir}/pam.d/*
%{_fillupdir}/sysconfig.postfix
%{_fillupdir}/sysconfig.mail-postfix
%{_sbindir}/config.postfix
%dir %{_sysconfdir}/postfix
%config %{_sysconfdir}/postfix/main.cf.default
%config(noreplace) %{_sysconfdir}/postfix/[^mysql]*[^mysql]
@ -504,11 +510,11 @@ fi
%dir %{pf_shlib_directory}/systemd
%attr(0755,root,root) %{pf_shlib_directory}/systemd/*
%{_unitdir}/postfix.service
%{_bindir}/*
%verify(not mode) %attr(2755,root,%{pf_setgid_group}) %{_sbindir}/postdrop
%verify(not mode) %attr(2755,root,%{pf_setgid_group}) %{_sbindir}/postlog
%verify(not mode) %attr(2755,root,%{pf_setgid_group}) %{_sbindir}/postqueue
%{_bindir}/mailq
%{_bindir}/newaliases
%attr(0755,root,root) %{_sbindir}/config.postfix
%attr(0755,root,root) %{_sbindir}/sendmail
%attr(0755,root,root) %{_sbindir}/postalias
%attr(0755,root,root) %{_sbindir}/postcat
@ -519,6 +525,7 @@ fi
%attr(0755,root,root) %{_sbindir}/postmap
%attr(0755,root,root) %{_sbindir}/postmulti
%attr(0755,root,root) %{_sbindir}/postsuper
%attr(0755,root,root) %{_sbindir}/posttls-finger
%attr(0755,root,root) %{_sbindir}/qshape
%attr(0755,root,root) %{_sbindir}/qmqp-source
%attr(0755,root,root) %{_sbindir}/smtp-sink
@ -526,7 +533,9 @@ fi
%attr(0755,root,root) %{_sbindir}/mkpostfixcert
%attr(0755,root,root) %{_sbindir}/check_mail_queue
%attr(0755,root,root) %{_sbindir}/config.postfix
%if 0%{?suse_version} < 1599
%{_sbindir}/rcpostfix
%endif
%{_libdir}/lib*
%{_libexecdir}/sendmail
%dir %{pf_shlib_directory}

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Sep 24 08:29:19 UTC 2024 - Peter Varkoly <varkoly@suse.com>
- Missing posttls-finger in postfix though changes mention it
(bsc#1221501)
-------------------------------------------------------------------
Fri Aug 9 08:48:07 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
- Remove rcpostfix symlink [jsc#PED-266]
-------------------------------------------------------------------
Wed Aug 7 06:34:05 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
- postfix-script requires cmp
-------------------------------------------------------------------
Thu Aug 1 08:36:10 UTC 2024 - Peter Varkoly <varkoly@suse.com>

View File

@ -108,6 +108,8 @@ BuildRequires: openldap2-devel
%if %{with libnsl}
BuildRequires: libnsl-devel
%endif
# /usr/lib/postfix/bin//postfix-script: line 400: cmp: command not found
Requires: /usr/bin/cmp
# /usr/lib/postfix/bin//post-install: line 667: ed: command not found
Requires(pre): /usr/bin/ed
Requires(preun):/usr/bin/ed
@ -391,7 +393,9 @@ install -pm 0755 %{name}-SUSE/update_chroot.systemd %{buildroot}%{pf_shlib_dir
install -pm 0755 %{name}-SUSE/update_postmaps.systemd %{buildroot}%{pf_shlib_directory}/systemd/update_postmaps
install -pm 0755 %{name}-SUSE/wait_qmgr.systemd %{buildroot}%{pf_shlib_directory}/systemd/wait_qmgr
install -pm 0755 %{name}-SUSE/cond_slp.systemd %{buildroot}%{pf_shlib_directory}/systemd/cond_slp
%if 0%{?suse_version} < 1599
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
%endif
ln -sv %{_unitdir}/%{name}.service %{buildroot}%{_unitdir}/mail-transfer-agent.target.wants/%{name}.service
%fdupes %{buildroot}%{pf_docdir}
%fdupes %{buildroot}%{_mandir}
@ -419,6 +423,9 @@ mkdir -p %{buildroot}%{_sysusersdir}
install -m 644 %{SOURCE12} %{buildroot}%{_sysusersdir}/
install -m 644 %{SOURCE13} %{buildroot}%{_sysusersdir}/
# posttls-finger is built but not installed
install -m 755 bin/posttls-finger %{buildroot}%{_sbindir}/
# ---------------------------------------------------------------------------
%pre -f postfix.pre
@ -502,7 +509,6 @@ fi
%config %{_sysconfdir}/pam.d/*
%{_fillupdir}/sysconfig.%{name}
%{_fillupdir}/sysconfig.mail-%{name}
%{_sbindir}/config.%{name}
%dir %{_sysconfdir}/%{name}
%config %{_sysconfdir}/%{name}/main.cf.default
%config(noreplace) %{_sysconfdir}/%{name}/[^mysql]*[^mysql]
@ -539,8 +545,7 @@ fi
%verify(not mode) %attr(2755,root,%{pf_setgid_group}) %{_sbindir}/postdrop
%verify(not mode) %attr(2755,root,%{pf_setgid_group}) %{_sbindir}/postlog
%verify(not mode) %attr(2755,root,%{pf_setgid_group}) %{_sbindir}/postqueue
%{_bindir}/mailq
%{_bindir}/newaliases
%{_bindir}/*
%attr(0755,root,root) %{_sbindir}/sendmail
%attr(0755,root,root) %{_sbindir}/postalias
%attr(0755,root,root) %{_sbindir}/postcat
@ -551,6 +556,7 @@ fi
%attr(0755,root,root) %{_sbindir}/postmap
%attr(0755,root,root) %{_sbindir}/postmulti
%attr(0755,root,root) %{_sbindir}/postsuper
%attr(0755,root,root) %{_sbindir}/posttls-finger
%attr(0755,root,root) %{_sbindir}/qshape
%attr(0755,root,root) %{_sbindir}/qmqp-source
%attr(0755,root,root) %{_sbindir}/smtp-sink
@ -558,7 +564,9 @@ fi
%attr(0755,root,root) %{_sbindir}/mk%{name}cert
%attr(0755,root,root) %{_sbindir}/check_mail_queue
%attr(0755,root,root) %{_sbindir}/config.%{name}
%if 0%{?suse_version} < 1599
%{_sbindir}/rc%{name}
%endif
%{_libdir}/lib*
%{_libexecdir}/sendmail
%dir %{pf_shlib_directory}