Hello community, here is the log from the commit of package postfix for openSUSE:Factory checked in at 2012-12-17 09:36:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postfix (Old) and /work/SRC/openSUSE:Factory/.postfix.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postfix", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/postfix/postfix.changes 2012-09-17 14:03:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.postfix.new/postfix.changes 2012-12-17 09:36:49.000000000 +0100 @@ -1,0 +2,42 @@ +Sat Dec 15 16:33:24 UTC 2012 - [email protected] + +- 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 - [email protected] + +- bnc#790141 - Command SuSEconfig.postfix reports ERROR - + "can not find /lib/YaST/SuSEconfig.functions!!" + +------------------------------------------------------------------- +Thu Nov 8 11:33:33 UTC 2012 - [email protected] + +- bnc#782048 - postfix uses /sbin/conf.d +- bnc#784659 - remove SuSEconfig calls from yast2-mail + +------------------------------------------------------------------- @@ -1693 +1735 @@ -- only install /etc/pam.d/smtp if %suse_version > 920 +- only install /etc/pam.d/smtp if suse_version > 920 Old: ---- postfix-2.8.12.tar.bz2 New: ---- postfix-2.8.13.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postfix.spec ++++++ --- /var/tmp/diff_new_pack.wusOtk/_old 2012-12-17 09:36:52.000000000 +0100 +++ /var/tmp/diff_new_pack.wusOtk/_new 2012-12-17 09:36:52.000000000 +0100 @@ -20,7 +20,7 @@ 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 @@ 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 @@ -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 @@ # # ----------------------------------------------------------------------- # 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 @@ 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 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 @@ %preun %stop_on_removal %{name} -%if %suse_version > 1140 +%if 0%{?suse_version} > 1140 %service_del_preun %{name}.service %endif # --------------------------------------------------------------------------- @@ -396,16 +397,12 @@ # 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 @@ %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 @@ %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 @@ %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 @@ /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* ++++++ dynamic_maps_pie.patch ++++++ --- /var/tmp/diff_new_pack.wusOtk/_old 2012-12-17 09:36:52.000000000 +0100 +++ /var/tmp/diff_new_pack.wusOtk/_new 2012-12-17 09:36:52.000000000 +0100 @@ -2,7 +2,7 @@ =================================================================== --- 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 ++++++ postfix-2.8.12.tar.bz2 -> postfix-2.8.13.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-2.8.12/HISTORY new/postfix-2.8.13/HISTORY --- old/postfix-2.8.12/HISTORY 2012-08-01 23:31:53.000000000 +0200 +++ new/postfix-2.8.13/HISTORY 2012-12-08 02:16:56.000000000 +0100 @@ -16846,3 +16846,33 @@ Bugfix (introduced: 20000314): AUTH is not allowed after MAIL. Timo Sirainen. File: smtpd/smtpd_sasl_proto.c. + +20121003 + + Bugfix: the postscreen_access_list feature was case-sensitive + in the first character of permit, reject, etc. Reported by + Francis Picabia. File: global/server_acl.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. + +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. + +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. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-2.8.12/makedefs new/postfix-2.8.13/makedefs --- old/postfix-2.8.12/makedefs 2011-11-03 00:46:22.000000000 +0100 +++ new/postfix-2.8.13/makedefs 2012-12-12 23:49:32.000000000 +0100 @@ -146,6 +146,8 @@ ;; FreeBSD.8*) SYSTYPE=FREEBSD8 ;; + FreeBSD.9*) SYSTYPE=FREEBSD9 + ;; OpenBSD.2*) SYSTYPE=OPENBSD2 ;; OpenBSD.3*) SYSTYPE=OPENBSD3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-2.8.12/src/global/dict_ldap.c new/postfix-2.8.13/src/global/dict_ldap.c --- old/postfix-2.8.12/src/global/dict_ldap.c 2012-01-31 22:26:42.000000000 +0100 +++ new/postfix-2.8.13/src/global/dict_ldap.c 2012-10-13 13:54:37.000000000 +0200 @@ -930,8 +930,11 @@ #endif LDAP_CONN *conn; + /* + * Join key fields with null characters. + */ #define ADDSTR(vp, s) vstring_memcat((vp), (s), strlen((s))+1) -#define ADDINT(vp, i) vstring_sprintf_append((vp), "%lu", (unsigned long)(i)) +#define ADDINT(vp, i) vstring_sprintf_append((vp), "%lu%c", (unsigned long)(i), 0) ADDSTR(keybuf, dict_ldap->server_host); ADDINT(keybuf, dict_ldap->server_port); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-2.8.12/src/global/mail_version.h new/postfix-2.8.13/src/global/mail_version.h --- old/postfix-2.8.12/src/global/mail_version.h 2012-08-01 23:46:34.000000000 +0200 +++ new/postfix-2.8.13/src/global/mail_version.h 2012-12-13 01:38:48.000000000 +0100 @@ -20,8 +20,8 @@ * Patches change both the patchlevel and the release date. Snapshots have no * patchlevel; they change the release date only. */ -#define MAIL_RELEASE_DATE "20120801" -#define MAIL_VERSION_NUMBER "2.8.12" +#define MAIL_RELEASE_DATE "20121213" +#define MAIL_VERSION_NUMBER "2.8.13" #ifdef SNAPSHOT # define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-2.8.12/src/oqmgr/qmgr_message.c new/postfix-2.8.13/src/oqmgr/qmgr_message.c --- old/postfix-2.8.12/src/oqmgr/qmgr_message.c 2010-07-24 22:50:03.000000000 +0200 +++ new/postfix-2.8.13/src/oqmgr/qmgr_message.c 2012-10-10 23:54:16.000000000 +0200 @@ -749,7 +749,7 @@ if (rec_type > 0) msg_warn("%s: ignoring out-of-order DSN original recipient <%.200s>", message->queue_id, dsn_orcpt); - myfree(orig_rcpt); + myfree(dsn_orcpt); } if (orig_rcpt != 0) { if (rec_type > 0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-2.8.12/src/postscreen/postscreen_access.c new/postfix-2.8.13/src/postscreen/postscreen_access.c --- old/postfix-2.8.12/src/postscreen/postscreen_access.c 2011-01-19 00:16:26.000000000 +0100 +++ new/postfix-2.8.13/src/postscreen/postscreen_access.c 2012-10-03 16:24:40.000000000 +0200 @@ -99,8 +99,8 @@ char *bp = saved_checks; char *name; -#define STREQ(x,y) ((*x) == (*y) && strcasecmp((x), (y)) == 0) -#define STRNE(x,y) ((*x) != (*y) || strcasecmp((x), (y)) != 0) +#define STREQ(x,y) (strcasecmp((x), (y)) == 0) +#define STRNE(x,y) (strcasecmp((x), (y)) != 0) /* * Nested tables are not allowed. Tables are opened before entering the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-2.8.12/src/util/myaddrinfo.c new/postfix-2.8.13/src/util/myaddrinfo.c --- old/postfix-2.8.12/src/util/myaddrinfo.c 2011-02-22 22:45:22.000000000 +0100 +++ new/postfix-2.8.13/src/util/myaddrinfo.c 2012-10-31 22:21:03.000000000 +0100 @@ -78,6 +78,7 @@ /* into printable form. The result buffers should be large /* enough to hold the printable address or port including the /* null terminator. +/* This function strips off the IPv6 datalink suffix. /* /* sockaddr_to_hostname() converts a binary network address /* into a hostname or service. The result buffer should be @@ -202,6 +203,7 @@ #include <msg.h> #include <inet_proto.h> #include <myaddrinfo.h> +#include <split_at.h> /* Application-specific. */ @@ -607,16 +609,20 @@ } return (0); #else + int ret; /* * Native getnameinfo(3) version. */ - return (getnameinfo(sa, salen, - hostaddr ? hostaddr->buf : (char *) 0, - hostaddr ? sizeof(hostaddr->buf) : 0, - portnum ? portnum->buf : (char *) 0, - portnum ? sizeof(portnum->buf) : 0, - NI_NUMERICHOST | NI_NUMERICSERV)); + ret = getnameinfo(sa, salen, + hostaddr ? hostaddr->buf : (char *) 0, + hostaddr ? sizeof(hostaddr->buf) : 0, + portnum ? portnum->buf : (char *) 0, + portnum ? sizeof(portnum->buf) : 0, + NI_NUMERICHOST | NI_NUMERICSERV); + if (hostaddr != 0 && ret == 0 && sa->sa_family == AF_INET6) + (void) split_at(hostaddr->buf, '%'); + return (ret); #endif } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-2.8.12/src/util/sys_defs.h new/postfix-2.8.13/src/util/sys_defs.h --- old/postfix-2.8.12/src/util/sys_defs.h 2011-11-03 00:46:22.000000000 +0100 +++ new/postfix-2.8.13/src/util/sys_defs.h 2012-12-12 23:49:32.000000000 +0100 @@ -25,7 +25,7 @@ */ #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \ - || defined(FREEBSD8) \ + || defined(FREEBSD8) || defined(FREEBSD9) \ || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ || defined(OPENBSD5) \ ++++++ postfix-SuSE.tar.gz ++++++ ++++ 2634 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
