Hello community,

here is the log from the commit of package postfix for openSUSE:Factory checked 
in at 2020-02-09 21:01:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/postfix (Old)
 and      /work/SRC/openSUSE:Factory/.postfix.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "postfix"

Sun Feb  9 21:01:51 2020 rev:180 rq:772195 version:3.4.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/postfix/postfix.changes  2019-12-07 
15:20:26.551753271 +0100
+++ /work/SRC/openSUSE:Factory/.postfix.new.26092/postfix.changes       
2020-02-09 21:01:54.371336145 +0100
@@ -1,0 +2,27 @@
+Fri Feb  7 17:07:39 UTC 2020 - Peter Varkoly <[email protected]>
+
+- bsc#1162891 server:mail/postfix: cond_slp bug on TW after 
+  moving /etc/services to /usr/etc/services
+
+-------------------------------------------------------------------
+Wed Feb  5 12:27:07 UTC 2020 - Peter Varkoly <[email protected]>
+
+- bsc#1160413 postfix fails with -fno-common 
+
+-------------------------------------------------------------------
+Mon Feb  3 12:31:48 UTC 2020 - Michael Ströder <[email protected]>
+
+- Update to 3.4.9:
+  * Bug (introduced: Postfix 3.1): smtp_dns_resolver_options were
+    broken while adding support for negative DNS response caching
+    in postscreen. Postfix was inadvertently changed to call
+    res_query() instead of res_search().
+  * Bug (introduced: Postfix 2.5): Postfix ignored the CONNECT macro
+    overrides from a Milter application. Postfix now evaluates the
+    Milter macros for an SMTP CONNECT event after the Postfix-to-Milter
+    connection is negotiated.
+  * Bug (introduced: Postfix 3.0): sanitize (remote) server responses
+    before storing them in the verify database, to avoid Postfix
+    warnings about malformed UTF8. Found during code maintenance.
+
+-------------------------------------------------------------------

Old:
----
  postfix-3.4.8.tar.gz

New:
----
  postfix-3.4.9.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ postfix.spec ++++++
--- /var/tmp/diff_new_pack.WNLQSz/_old  2020-02-09 21:01:57.187337743 +0100
+++ /var/tmp/diff_new_pack.WNLQSz/_new  2020-02-09 21:01:57.215337758 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package postfix
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -53,12 +53,12 @@
 %bcond_with    libnsl
 %endif
 Name:           postfix
-Version:        3.4.8
+Version:        3.4.9
 Release:        0
 Summary:        A fast, secure, and flexible mailer
 License:        IPL-1.0 OR EPL-2.0
 Group:          Productivity/Networking/Email/Servers
-Url:            http://www.postfix.org
+URL:            http://www.postfix.org
 Source0:        
http://cdn.postfix.johnriley.me/mirrors/postfix-release/official/postfix-%{version}.tar.gz
 Source2:        %{name}-SuSE.tar.gz
 Source3:        %{name}-mysql.tar.bz2
@@ -183,7 +183,7 @@
 %build
 unset AUXLIBS AUXLIBS_LDAP AUXLIBS_PCRE AUXLIBS_MYSQL AUXLIBS_PGSQL 
AUXLIBS_SQLITE AUXLIBS_CDB
 
-export CCARGS="${CCARGS} %{optflags} -Wno-comments -Wno-missing-braces -fPIC"
+export CCARGS="${CCARGS} %{optflags} -fcommon -Wno-comments 
-Wno-missing-braces -fPIC"
 %ifarch s390 s390x ppc
 export CCARGS="${CCARGS} -fsigned-char"
 %endif

++++++ postfix-3.4.8.tar.gz -> postfix-3.4.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-3.4.8/HISTORY new/postfix-3.4.9/HISTORY
--- old/postfix-3.4.8/HISTORY   2019-11-12 00:01:20.000000000 +0100
+++ new/postfix-3.4.9/HISTORY   2020-02-02 18:51:46.000000000 +0100
@@ -24319,3 +24319,23 @@
        now, the parser skips object types that it does not know
        about for usability, and logs a warning because ignoring
        inputs is not kosher. Viktor and Wietse. File: tls/tls_certkey.c.
+
+20191214
+
+       Bugfix (introduced: Postfix 3.1): support for
+       smtp_dns_resolver_options was broken while adding support
+       for negative DNS response caching in postscreen. Postfix
+       was inadvertently changed to call res_query() instead of
+       res_search(). Reported by Jaroslav Skarvada. File:
+       dns/dns_lookup.c.
+
+       Bugfix (introduced: Postfix 3.0): sanitize server responses
+       before storing them in the verify database, to avoid Postfix
+       warnings about malformed UTF8. File: verify/verify.c.
+
+20200115
+
+       Bugfix (introduced: Postfix 2.5): the Milter connect event
+       macros were evaluated before the Milter connection itself
+       had been negotiated. Problem reported by David Bürgin.
+       Files: milter/milter.h, milter/milter.c, milter/milter8.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-3.4.8/src/dns/dns_lookup.c 
new/postfix-3.4.9/src/dns/dns_lookup.c
--- old/postfix-3.4.8/src/dns/dns_lookup.c      2017-12-21 02:48:39.000000000 
+0100
+++ new/postfix-3.4.9/src/dns/dns_lookup.c      2019-12-15 17:13:04.000000000 
+0100
@@ -396,7 +396,7 @@
     if (keep_notfound)
        /* Prepare for returning a null-padded server reply. */
        memset(answer, 0, anslen);
-    len = res_query(name, class, type, answer, anslen);
+    len = res_search(name, class, type, answer, anslen);
     /* Begin API creep workaround. */
     if (len < 0 && h_errno == 0) {
        SET_H_ERRNO(TRY_AGAIN);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-3.4.8/src/global/mail_version.h 
new/postfix-3.4.9/src/global/mail_version.h
--- old/postfix-3.4.8/src/global/mail_version.h 2019-11-24 21:40:32.000000000 
+0100
+++ new/postfix-3.4.9/src/global/mail_version.h 2020-02-02 21:13:52.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      "20191124"
-#define MAIL_VERSION_NUMBER    "3.4.8"
+#define MAIL_RELEASE_DATE      "20200203"
+#define MAIL_VERSION_NUMBER    "3.4.9"
 
 #ifdef SNAPSHOT
 #define MAIL_VERSION_DATE      "-" MAIL_RELEASE_DATE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-3.4.8/src/milter/milter.c 
new/postfix-3.4.9/src/milter/milter.c
--- old/postfix-3.4.8/src/milter/milter.c       2017-02-21 23:32:57.000000000 
+0100
+++ new/postfix-3.4.9/src/milter/milter.c       2020-02-02 18:37:46.000000000 
+0100
@@ -417,6 +417,8 @@
     if (msg_verbose)
        msg_info("report connect to all milters");
     for (resp = 0, m = milters->milter_list; resp == 0 && m != 0; m = m->next) 
{
+       if (m->connect_on_demand != 0)
+           m->connect_on_demand(m);
        any_macros = MILTER_MACRO_EVAL(global_macros, m, milters, conn_macros);
        resp = m->conn_event(m, client_name, client_addr, client_port,
                             addr_family, any_macros);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-3.4.8/src/milter/milter.h 
new/postfix-3.4.9/src/milter/milter.h
--- old/postfix-3.4.8/src/milter/milter.h       2016-06-12 00:17:03.000000000 
+0200
+++ new/postfix-3.4.9/src/milter/milter.h       2020-02-02 18:37:46.000000000 
+0100
@@ -35,6 +35,7 @@
     struct MILTER *next;               /* linkage */
     struct MILTERS *parent;            /* parent information */
     struct MILTER_MACROS *macros;      /* private macros */
+    void    (*connect_on_demand) (struct MILTER *);
     const char *(*conn_event) (struct MILTER *, const char *, const char *, 
const char *, unsigned, ARGV *);
     const char *(*helo_event) (struct MILTER *, const char *, int, ARGV *);
     const char *(*mail_event) (struct MILTER *, const char **, ARGV *);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-3.4.8/src/milter/milter8.c 
new/postfix-3.4.9/src/milter/milter8.c
--- old/postfix-3.4.8/src/milter/milter8.c      2018-11-28 01:30:23.000000000 
+0100
+++ new/postfix-3.4.9/src/milter/milter8.c      2020-02-02 18:37:46.000000000 
+0100
@@ -1918,15 +1918,6 @@
 #define STR_NE(x,y)    (strcmp((x), (y)) != 0)
 
     /*
-     * XXX Sendmail 8 libmilter closes the MTA-to-filter socket when it finds
-     * out that the SMTP client has disconnected. Because of this, Postfix
-     * has to open a new MTA-to-filter socket for each SMTP client.
-     */
-#ifdef LIBMILTER_AUTO_DISCONNECT
-    milter8_connect(milter);
-#endif
-
-    /*
      * Report the event.
      */
     switch (milter->state) {
@@ -2835,6 +2826,10 @@
 
     /*
      * Fill in the structure. Note: all strings must be copied.
+     * 
+     * XXX Sendmail 8 libmilter closes the MTA-to-filter socket when it finds
+     * out that the SMTP client has disconnected. Because of this, Postfix
+     * has to open a new MTA-to-filter socket for each SMTP client.
      */
     milter = (MILTER8 *) mymalloc(sizeof(*milter));
     milter->m.name = mystrdup(name);
@@ -2842,6 +2837,11 @@
     milter->m.next = 0;
     milter->m.parent = parent;
     milter->m.macros = 0;
+#ifdef LIBMILTER_AUTO_DISCONNECT
+    milter->m.connect_on_demand = (void (*) (struct MILTER *)) milter8_connect;
+#else
+    milter->m.connect_on_demand = 0;
+#endif
     milter->m.conn_event = milter8_conn_event;
     milter->m.helo_event = milter8_helo_event;
     milter->m.mail_event = milter8_mail_event;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-3.4.8/src/verify/verify.c 
new/postfix-3.4.9/src/verify/verify.c
--- old/postfix-3.4.8/src/verify/verify.c       2019-02-03 20:17:14.000000000 
+0100
+++ new/postfix-3.4.9/src/verify/verify.c       2019-12-15 02:16:04.000000000 
+0100
@@ -401,6 +401,7 @@
                || STATUS_FROM_RAW_ENTRY(raw_data) != DEL_RCPT_STAT_OK) {
                probed = 0;
                updated = (long) time((time_t *) 0);
+               printable(STR(text), '?');
                verify_make_entry(buf, addr_status, probed, updated, STR(text));
                if (msg_verbose)
                    msg_info("PUT %s status=%d probed=%ld updated=%ld text=%s",

++++++ postfix-SuSE.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-SuSE/cond_slp.systemd 
new/postfix-SuSE/cond_slp.systemd
--- old/postfix-SuSE/cond_slp.systemd   2015-12-08 12:07:51.016414549 +0100
+++ new/postfix-SuSE/cond_slp.systemd   2020-02-07 18:07:11.393245616 +0100
@@ -25,7 +25,7 @@
     local srv
     local FQHN=$($POSTCONF -h myhostname)
     for srv in $PSERVICES; do
-       sport=$(sed -ne "/^$srv/Is/^$srv[[:space:]]\+\([0-9]\+\)\/tcp.*/\1/gp" 
/etc/services)
+       sport=$( getent services | sed -ne 
"/^$srv/Is/^$srv[[:space:]]\+\([0-9]\+\)\/tcp.*/\1/gp" )
        [ -n "$sport" ] || continue
        $OPENSLP_BIN $cmd service:$srv://$FQHN:$sport > /dev/null 2>&1
     done


Reply via email to