Accepting request 145540 from server:mail

update to 2.8.13 (forwarded request 145539 from computersalat)

OBS-URL: https://build.opensuse.org/request/show/145540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postfix?expand=0&rev=99
This commit is contained in:
Stephan Kulow 2012-12-17 08:36:46 +00:00 committed by Git OBS Bridge
commit 7cafeb4bc0
6 changed files with 64 additions and 27 deletions

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e679aeaced94a40af7188878b1e0b0f77213ec0d50ecfed4f38a652e4ac10d7
size 2635056

3
postfix-2.8.13.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6855ce56b6672308023cfca65d16b6bb7132be76a76a003e960d38ccb0243b8f
size 2635886

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57e9c1298ab13ac7298e71c9551712da44514e06b812ab112e30c9f2cb646b65
size 24106
oid sha256:dbdedc55f16a0fd2c6640a343ab2d97dc127b91620ad7eb3723024dd26448f04
size 24645

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
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
- 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
- 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
@ -1690,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
-------------------------------------------------------------------

View File

@ -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
@ -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<<EOF
#
# -----------------------------------------------------------------------
# NOTE: Many parameters have already been added to the end of this file
# by SuSEconfig.postfix. So take care that you don't uncomment
# by config.postfix. So take care that you don't uncomment
# and set a parameter without checking whether it has been added
# to the end of this file.
# -----------------------------------------------------------------------
@ -301,6 +300,8 @@ 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
install -m 0755 %{name}-SuSE/wait_qmgr.systemd %{buildroot}/etc/postfix/system/wait_qmgr
@ -314,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
@ -349,7 +350,7 @@ fi
%preun
%stop_on_removal %{name}
%if %suse_version > 1140
%if 0%{?suse_version} > 1140
%service_del_preun %{name}.service
%endif
# ---------------------------------------------------------------------------
@ -396,16 +397,12 @@ fi
# We only start postfix own upgrade-configuration by update
/usr/sbin/postfix set-permissions
if [ ${1:-0} -gt 1 ]; then
touch /var/adm/postfix.configured
/usr/sbin/postfix upgrade-configuration || :
else
if [ ! -e /sbin/conf.d/SuSEconfig.postfix ]
then
ln -s /usr/sbin/SuSEconfig.postfix /sbin/conf.d/SuSEconfig.postfix
fi
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
@ -415,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
@ -446,7 +443,7 @@ rm -rf $RPM_BUILD_ROOT
%config /etc/pam.d/*
/var/adm/fillup-templates/sysconfig.%{name}
/var/adm/fillup-templates/sysconfig.mail-%{name}
/usr/sbin/SuSEconfig.%{name}
/usr/sbin/config.%{name}
%config(noreplace) %{omc_dir}/%{name}.xml
%dir /etc/%{name}
%config /etc/%{name}/main.cf.default
@ -481,10 +478,7 @@ rm -rf $RPM_BUILD_ROOT
%config %attr(0755,root,root) /etc/init.d/%{name}
%if 0%{?suse_version} >= 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
@ -495,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*