From 4fa7c6c4ce291bd8703fba7c50627e67038efbce904879cb9cd96c3721820830 Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Wed, 7 Nov 2012 10:19:52 +0000 Subject: [PATCH 1/4] Working on a solution on all bugs coused by SuSEconfig OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=149 --- postfix-SuSE.tar.gz | 4 ++-- postfix.spec | 23 ++++++++--------------- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/postfix-SuSE.tar.gz b/postfix-SuSE.tar.gz index 3aaf191..30e7075 100644 --- a/postfix-SuSE.tar.gz +++ b/postfix-SuSE.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:57e9c1298ab13ac7298e71c9551712da44514e06b812ab112e30c9f2cb646b65 -size 24106 +oid sha256:dbdedc55f16a0fd2c6640a343ab2d97dc127b91620ad7eb3723024dd26448f04 +size 24645 diff --git a/postfix.spec b/postfix.spec index 312d777..64c8471 100644 --- a/postfix.spec +++ b/postfix.spec @@ -223,7 +223,6 @@ mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates rm -f $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{name} sed -e 's;@lib@;%{_lib};g' %{name}-SuSE/sysconfig.%{name} > $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{name} install -m 644 %{name}-SuSE/sysconfig.mail-%{name} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.mail-%{name} -test -e $RPM_BUILD_ROOT/sbin/conf.d/SuSEconfig.%{name} && rm -f $RPM_BUILD_ROOT/sbin/conf.d/SuSEconfig.%{name} sed -e 's;@lib@;%{_lib};g' \ -e 's;@conf_backup_dir@;%{conf_backup_dir};' \ -e 's;@daemon_directory@;%{pf_daemon_directory};' \ @@ -234,9 +233,9 @@ sed -e 's;@lib@;%{_lib};g' \ -e 's;@manpage_directory@;%{_mandir};' \ -e 's;@newaliases_path@;%{pf_newaliases_path};' \ -e 's;@sample_directory@;%{pf_sample_directory};' \ - -e 's;@mailq_path@;%{pf_mailq_path};' %{name}-SuSE/SuSEconfig.%{name} \ - > $RPM_BUILD_ROOT/usr/sbin/SuSEconfig.%{name} -chmod 755 $RPM_BUILD_ROOT/usr/sbin/SuSEconfig.%{name} + -e 's;@mailq_path@;%{pf_mailq_path};' %{name}-SuSE/config.%{name} \ + > $RPM_BUILD_ROOT/usr/sbin/config.%{name} +chmod 755 $RPM_BUILD_ROOT/usr/sbin/config.%{name} install -m 644 %{name}-SuSE/dynamicmaps.cf $RPM_BUILD_ROOT/etc/%{name}/dynamicmaps.cf install -m 644 %{name}-SuSE/ldap_aliases.cf $RPM_BUILD_ROOT/etc/%{name}/ldap_aliases.cf install -m 644 %{name}-SuSE/helo_access $RPM_BUILD_ROOT/etc/postfix/helo_access @@ -258,7 +257,7 @@ cat<= 1140 %dir /etc/postfix/system -%config %attr(0755,root,root) /etc/postfix/system/update_chroot -%config %attr(0755,root,root) /etc/postfix/system/update_postmaps -%config %attr(0755,root,root) /etc/postfix/system/wait_qmgr -%config %attr(0755,root,root) /etc/postfix/system/cond_slp +%config %attr(0755,root,root) /etc/postfix/system/* %config /lib/systemd/system/postfix.service %endif /usr/bin/mailq From 1c7232c4ee9ec9516eb6889ab019ca9e7a1ba96df65c850815de92e038332516 Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Thu, 8 Nov 2012 11:34:59 +0000 Subject: [PATCH 2/4] - bnc#782048 - postfix uses /sbin/conf.d - bnc#784659 - remove SuSEconfig calls from yast2-mail OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=150 --- postfix.changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/postfix.changes b/postfix.changes index a7f0c49..67d4e32 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 8 11:33:33 UTC 2012 - varkoly@suse.com + +- bnc#782048 - postfix uses /sbin/conf.d +- bnc#784659 - remove SuSEconfig calls from yast2-mail + ------------------------------------------------------------------- Fri Aug 10 18:56:59 UTC 2012 - chris@computersalat.de From 39b2cf41663d2f42986687423b5ab63dc97f675f1fe8131da80a6df1d078b695 Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Fri, 14 Dec 2012 06:00:56 +0000 Subject: [PATCH 3/4] - bnc#790141 - Command SuSEconfig.postfix reports ERROR - "can not find /lib/YaST/SuSEconfig.functions!!" OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=151 --- postfix.changes | 6 ++++++ postfix.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/postfix.changes b/postfix.changes index 67d4e32..3687b62 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 14 06:03:42 UTC 2012 - varkoly@suse.com + +- bnc#790141 - Command SuSEconfig.postfix reports ERROR - + "can not find /lib/YaST/SuSEconfig.functions!!" + ------------------------------------------------------------------- Thu Nov 8 11:33:33 UTC 2012 - varkoly@suse.com diff --git a/postfix.spec b/postfix.spec index 64c8471..d8bc8c0 100644 --- a/postfix.spec +++ b/postfix.spec @@ -300,6 +300,7 @@ cp -a auxiliary/ $RPM_BUILD_ROOT%{pf_docdir}/ mkdir -p %{buildroot}/lib/systemd/system mkdir -p %{buildroot}/etc/postfix/system install -m 0644 %{name}-SuSE/postfix.service %{buildroot}/lib/systemd/system/ +install -m 0755 %{name}-SuSE/config.postfix %{buildroot}/usr/sbin/config.postfix install -m 0755 %{name}-SuSE/config_postfix.systemd %{buildroot}/etc/postfix/system/config_postfix install -m 0755 %{name}-SuSE/update_chroot.systemd %{buildroot}/etc/postfix/system/update_chroot install -m 0755 %{name}-SuSE/update_postmaps.systemd %{buildroot}/etc/postfix/system/update_postmaps @@ -488,6 +489,7 @@ rm -rf $RPM_BUILD_ROOT /usr/sbin/smtp-source /usr/sbin/mk%{name}cert /usr/sbin/check_mail_queue +/usr/sbin/config.postfix %verify(not mode group) /usr/sbin/post* /sbin/rc%{name} %{_libdir}/lib* From cba2e1280c19c1c68207d083eb3c394cb04a3a2432dac0b2435d99d2e3809040 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Sat, 15 Dec 2012 17:09:41 +0000 Subject: [PATCH 4/4] Accepting request 145539 from home:computersalat:devel:mail update to 2.8.13 OBS-URL: https://build.opensuse.org/request/show/145539 OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=152 --- dynamic_maps_pie.patch | 2 +- postfix-2.8.12.tar.bz2 | 3 --- postfix-2.8.13.tar.bz2 | 3 +++ postfix.changes | 32 +++++++++++++++++++++++++++++++- postfix.spec | 10 +++++----- 5 files changed, 40 insertions(+), 10 deletions(-) delete mode 100644 postfix-2.8.12.tar.bz2 create mode 100644 postfix-2.8.13.tar.bz2 diff --git a/dynamic_maps_pie.patch b/dynamic_maps_pie.patch index e2802fa..f0fec76 100644 --- a/dynamic_maps_pie.patch +++ b/dynamic_maps_pie.patch @@ -2,7 +2,7 @@ Index: makedefs =================================================================== --- makedefs.orig +++ makedefs -@@ -669,4 +669,5 @@ AWK = $AWK +@@ -671,4 +671,5 @@ AWK = $AWK STRCASE = $STRCASE EXPORT = AUXLIBS='$AUXLIBS' CCARGS='$CCARGS' OPT='$OPT' DEBUG='$DEBUG' WARN = $WARN diff --git a/postfix-2.8.12.tar.bz2 b/postfix-2.8.12.tar.bz2 deleted file mode 100644 index d3dbf75..0000000 --- a/postfix-2.8.12.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6e679aeaced94a40af7188878b1e0b0f77213ec0d50ecfed4f38a652e4ac10d7 -size 2635056 diff --git a/postfix-2.8.13.tar.bz2 b/postfix-2.8.13.tar.bz2 new file mode 100644 index 0000000..521161f --- /dev/null +++ b/postfix-2.8.13.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6855ce56b6672308023cfca65d16b6bb7132be76a76a003e960d38ccb0243b8f +size 2635886 diff --git a/postfix.changes b/postfix.changes index 3687b62..607e1be 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Sat Dec 15 16:33:24 UTC 2012 - chris@computersalat.de + +- update to 2.8.13 + * 20121029 + Workaround: strip datalink suffix from IPv6 addresses + returned by the system getaddrinfo() routine. Such suffixes + mess up the default mynetworks value, host name/address + verification and possibly more. This change obsoletes the + 20101108 change that removes datalink suffixes in the SMTP + and QMQP servers, but we leave that code alone. File: + util/myaddrinfo.c. + * 20121013 + Cleanup: to compute the LDAP connection cache lookup key, + join the numeric fields with null, just like string fields. + Viktor Dukhovni. File: global/dict_ldap.c. + * 20121010 + Bugfix (introduced: Postfix 2.5): memory leak in program + initialization. Reported by Coverity. File: tls/tls_misc.c. + Bugfix (introduced: Postfix 2.3): memory leak in the unused + oqmgr program. Reported by Coverity. File: oqmgr/qmgr_message.c. + * 20121003 + Bugfix: the postscreen_access_list feature was case-sensitive + in the first character of permit, reject, etc. Reported by + Feancis Picabia. File: global/server_acl.c. +- rebase dynamic_maps_pie patch +- rpmlint + * invalid-suse-version-check 1140 + * obsolete-suse-version-check 920 (changes file) + ------------------------------------------------------------------- Fri Dec 14 06:03:42 UTC 2012 - varkoly@suse.com @@ -1702,7 +1732,7 @@ Mon Jul 18 15:49:16 CEST 2005 - choeger@suse.de - force to set strict_8bitmime to "no" when POSTFIX_MDA != cyrus, because once it is set to "yes", nobody sets it back. -- only install /etc/pam.d/smtp if %suse_version > 920 +- only install /etc/pam.d/smtp if suse_version > 920 - use Prereq instead of Requires for mysql and postgresql subpackages ------------------------------------------------------------------- diff --git a/postfix.spec b/postfix.spec index d8bc8c0..a4e6574 100644 --- a/postfix.spec +++ b/postfix.spec @@ -20,7 +20,7 @@ Name: postfix Summary: A fast, secure, and flexible mailer License: IPL-1.0 Group: Productivity/Networking/Email/Servers -Version: 2.8.12 +Version: 2.8.13 Release: 0 Url: http://www.postfix.org/ Source: %{name}-%{version}.tar.bz2 @@ -315,7 +315,7 @@ install -m 0755 %{name}-SuSE/cond_slp.systemd %{buildroot}/etc/postfix/sy install -m 755 %{SOURCE11} $RPM_BUILD_ROOT/usr/sbin/ %pre -%if %suse_version > 1140 +%if 0%{?suse_version} > 1140 %service_add_pre %{name}.service %endif @@ -350,7 +350,7 @@ fi %preun %stop_on_removal %{name} -%if %suse_version > 1140 +%if 0%{?suse_version} > 1140 %service_del_preun %{name}.service %endif # --------------------------------------------------------------------------- @@ -402,7 +402,7 @@ if [ ${1:-0} -gt 1 ]; then fi %{fillup_and_insserv -y postfix} %{fillup_only -an mail} -%if %suse_version > 1140 +%if 0%{?suse_version} > 1140 %service_add_post %{name}.service %endif /sbin/ldconfig @@ -412,7 +412,7 @@ fi %restart_on_update %{name} %insserv_cleanup /sbin/ldconfig -%if %suse_version > 1140 +%if 0%{?suse_version} > 1140 %service_del_postun %{name}.service %endif