Hello community,

here is the log from the commit of package postfix for openSUSE:Factory checked 
in at 2015-04-27 22:07:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/postfix (Old)
 and      /work/SRC/openSUSE:Factory/.postfix.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "postfix"

Changes:
--------
--- /work/SRC/openSUSE:Factory/postfix/postfix.changes  2015-03-03 
11:09:27.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.postfix.new/postfix.changes     2015-04-27 
22:07:11.000000000 +0200
@@ -1,0 +2,25 @@
+Tue Apr 21 09:55:44 UTC 2015 - [email protected]
+
+- added postfix-2.11.5_linux4.patch:
+  Allow building on kernel 4. Patch taken from:
+  https://groups.google.com/forum/#!topic/mailing.postfix.users/fufS22sMGWY
+
+-------------------------------------------------------------------
+Sun Apr 19 23:03:25 UTC 2015 - [email protected]
+
+- update to postfix 2.11.5
+  - Bugfix (introduced: Postfix 2.6):
+    sender_dependent_relayhost_maps ignored the relayhost setting
+    in the case of a DUNNO lookup result.  It would use the
+    recipient domain instead.  Viktor Dukhovni. Wietse took the
+    pieces of code that enforce the precedence of a
+    sender-dependent relayhost, the global relayhost, and the
+    recipient domain, and put that code together in once place so
+    that it is easier to maintain.  File:
+    trivial-rewrite/resolve.c.
+  - Bitrot: prepare for future changes in OpenSSL API. Viktor
+    Dukhovni. File: tls_dane.c.
+  - Incompatibility: specifying "make makefiles" with "CC=command"
+    will no longer override the default WARN setting.
+
+-------------------------------------------------------------------

Old:
----
  postfix-2.11.4.tar.gz

New:
----
  postfix-2.11.5.tar.gz
  postfix-2.11.5_linux4.patch

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

Other differences:
------------------
++++++ postfix.spec ++++++
--- /var/tmp/diff_new_pack.ZAws6U/_old  2015-04-27 22:07:12.000000000 +0200
+++ /var/tmp/diff_new_pack.ZAws6U/_new  2015-04-27 22:07:12.000000000 +0200
@@ -52,7 +52,7 @@
 %define         _unitdir /lib/systemd
 %endif
 Name:           postfix
-Version:        2.11.4
+Version:        2.11.5
 Release:        0
 Summary:        A fast, secure, and flexible mailer
 License:        IPL-1.0
@@ -78,6 +78,7 @@
 Patch101:       postfix-db6.diff
 #PATCH-FIX-SLE PATCH-FIX-OPENSUSE to be able to build the agent tls_proxy
 Patch102:       add_missed_library.patch
+Patch103:       postfix-2.11.5_linux4.patch
 BuildRequires:  cyrus-sasl-devel
 BuildRequires:  db-devel
 BuildRequires:  libopenssl-devel
@@ -171,6 +172,7 @@
 %patch100 -p1
 %patch101
 %patch102
+%patch103 -p1
 # ---------------------------------------------------------------------------
 
 %build

++++++ postfix-2.11.4.tar.gz -> postfix-2.11.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-2.11.4/HISTORY new/postfix-2.11.5/HISTORY
--- old/postfix-2.11.4/HISTORY  2015-02-09 00:12:22.000000000 +0100
+++ new/postfix-2.11.5/HISTORY  2015-04-13 00:40:44.000000000 +0200
@@ -17919,7 +17919,7 @@
 
 20120824
 
-       Feature: support for "sendmail -R hdrs|full". Jan Kundr�t.
+       Feature: support for "sendmail -R hdrs|full". Jan Kundr?t.
        File: sendmail/sendmail.c.
 
 20120902
@@ -19641,3 +19641,26 @@
 
        Cleanup: missing " in \%s\" in postconf(1) fatal error
        messages. Iain Hibbert. File: postconf/postconf_master.c.
+
+20150324
+
+       Bugfix (introduced: Postfix 2.6): sender_dependent_relayhost_maps
+       ignored the relayhost setting in the case of a DUNNO lookup
+       result.  It would use the recipient domain instead.  Viktor
+       Dukhovni. Wietse took the pieces of code that enforce the
+       precedence of a sender-dependent relayhost, the global
+       relayhost, and the recipient domain, and put that code
+       together in once place so that it is easier to maintain.
+       File: trivial-rewrite/resolve.c.
+
+20150330
+
+       Bitrot: prepare for future changes in OpenSSL API. Viktor
+       Dukhovni. File: tls_dane.c.
+
+20150408
+
+       Portability: FreeBSD10 support. Files: makedefs, util/sys_defs.h.
+
+       Incompatibility: specifying "make makefiles" with "CC=command"
+       will no longer override the default WARN setting.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-2.11.4/makedefs new/postfix-2.11.5/makedefs
--- old/postfix-2.11.4/makedefs 2014-10-20 00:10:54.000000000 +0200
+++ new/postfix-2.11.5/makedefs 2015-04-09 03:34:37.000000000 +0200
@@ -158,6 +158,9 @@
                ;;
   FreeBSD.9*)  SYSTYPE=FREEBSD9
                ;;
+  FreeBSD.10*) SYSTYPE=FREEBSD10
+               : ${CC=cc}
+               ;;
  DragonFly.*)  SYSTYPE=DRAGONFLY
                ;;
   OpenBSD.2*)  SYSTYPE=OPENBSD2
@@ -470,7 +473,6 @@
     Darwin.*)   SYSTYPE=MACOSX
                # Use the native compiler by default
                : ${CC=cc}
-               CCARGS="$CCARGS \$(WARN)"
                # Darwin > 1.3 uses awk and flat_namespace
                case $RELEASE in
                 1.[0-3]) AWK=gawk;;
@@ -624,7 +626,7 @@
 # een burned once by a compiler that lies about what warnings it
 # produces, not taking that chance again.
 
-: ${CC='gcc $(WARN)'} ${OPT='-O'} ${DEBUG='-g'} ${AWK=awk} \
+: ${CC=gcc} ${OPT='-O'} ${DEBUG='-g'} ${AWK=awk} \
 ${WARN='-Wall -Wno-comment -Wformat -Wimplicit -Wmissing-prototypes \
        -Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized \
        -Wunused -Wno-missing-braces'}
@@ -647,7 +649,7 @@
 ARFL   = $ARFL
 RANLIB = $RANLIB
 SYSLIBS        = $AUXLIBS $SYSLIBS
-CC     = $CC $CCARGS
+CC     = $CC $CCARGS \$(WARN)
 OPT    = $OPT
 DEBUG  = $DEBUG
 AWK    = $AWK
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-2.11.4/src/global/mail_version.h 
new/postfix-2.11.5/src/global/mail_version.h
--- old/postfix-2.11.4/src/global/mail_version.h        2015-02-09 
00:17:36.000000000 +0100
+++ new/postfix-2.11.5/src/global/mail_version.h        2015-04-12 
23:34:37.000000000 +0200
@@ -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      "20150208"
-#define MAIL_VERSION_NUMBER    "2.11.4"
+#define MAIL_RELEASE_DATE      "20150412"
+#define MAIL_VERSION_NUMBER    "2.11.5"
 
 #ifdef SNAPSHOT
 #define MAIL_VERSION_DATE      "-" MAIL_RELEASE_DATE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-2.11.4/src/tls/tls_dane.c 
new/postfix-2.11.5/src/tls/tls_dane.c
--- old/postfix-2.11.4/src/tls/tls_dane.c       2014-01-09 16:00:36.000000000 
+0100
+++ new/postfix-2.11.5/src/tls/tls_dane.c       2015-04-01 14:49:46.000000000 
+0200
@@ -383,7 +383,7 @@
        && ((md = EVP_get_digestbyname(dane_mdalg)) == 0
            || (mdlen = EVP_MD_size(md)) <= 0
            || mdlen > EVP_MAX_MD_SIZE)) {
-       msg_warn("Unimplemented digest algoritm in %s: %s%s%s",
+       msg_warn("Unimplemented digest algorithm in %s: %s%s%s",
                 VAR_TLS_DANE_DIGESTS, mdalg,
                 value ? "=" : "", value ? value : "");
        return (0);
@@ -1452,7 +1452,7 @@
 
 static int add_akid(X509 *cert, AUTHORITY_KEYID *akid)
 {
-    ASN1_STRING *id;
+    ASN1_OCTET_STRING *id;
     unsigned char c = 0;
     int     nid = NID_authority_key_identifier;
     int     ret = 0;
@@ -1464,13 +1464,13 @@
      * exempt from any potential (off by default for now in OpenSSL)
      * self-signature checks!
      */
-    id = (ASN1_STRING *) ((akid && akid->keyid) ? akid->keyid : 0);
-    if (id && M_ASN1_STRING_length(id) == 1 && *M_ASN1_STRING_data(id) == c)
+    id = ((akid && akid->keyid) ? akid->keyid : 0);
+    if (id && ASN1_STRING_length(id) == 1 && *ASN1_STRING_data(id) == c)
        c = 1;
 
     if ((akid = AUTHORITY_KEYID_new()) != 0
        && (akid->keyid = ASN1_OCTET_STRING_new()) != 0
-       && M_ASN1_OCTET_STRING_set(akid->keyid, (void *) &c, 1)
+       && ASN1_OCTET_STRING_set(akid->keyid, (void *) &c, 1)
        && X509_add1_ext_i2d(cert, nid, akid, 0, X509V3_ADD_DEFAULT) > 0)
        ret = 1;
     if (akid)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-2.11.4/src/trivial-rewrite/resolve.c 
new/postfix-2.11.5/src/trivial-rewrite/resolve.c
--- old/postfix-2.11.4/src/trivial-rewrite/resolve.c    2013-05-07 
20:41:03.000000000 +0200
+++ new/postfix-2.11.5/src/trivial-rewrite/resolve.c    2015-04-09 
03:48:51.000000000 +0200
@@ -549,15 +549,20 @@
                if (*relay == 0) {
                    msg_warn("%s: ignoring null lookup result for %s",
                             rp->snd_relay_maps_name, sender_key);
-                   relay = "DUNNO";
-               }
-               vstring_strcpy(nexthop, strcasecmp(relay, "DUNNO") == 0 ?
-                              rcpt_domain : relay);
+                   relay = 0;
+               } else if (strcasecmp(relay, "DUNNO") == 0)
+                   relay = 0;
            } else if (rp->snd_relay_info
                       && rp->snd_relay_info->error != 0) {
                msg_warn("%s lookup failure", rp->snd_relay_maps_name);
                *flags |= RESOLVE_FLAG_FAIL;
                FREE_MEMORY_AND_RETURN;
+           } else {
+               relay = 0;
+           }
+           /* Enforce all the relayhost precedences in one place. */
+           if (relay != 0) {
+               vstring_strcpy(nexthop, relay);
            } else if (*RES_PARAM_VALUE(rp->relayhost))
                vstring_strcpy(nexthop, RES_PARAM_VALUE(rp->relayhost));
            else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postfix-2.11.4/src/util/sys_defs.h 
new/postfix-2.11.5/src/util/sys_defs.h
--- old/postfix-2.11.4/src/util/sys_defs.h      2013-09-29 22:51:55.000000000 
+0200
+++ new/postfix-2.11.5/src/util/sys_defs.h      2015-04-09 02:16:04.000000000 
+0200
@@ -25,7 +25,7 @@
   */
 #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
     || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
-    || defined(FREEBSD8) || defined(FREEBSD9) \
+    || defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \
     || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
     || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
     || defined(OPENBSD5) \

++++++ postfix-2.11.5_linux4.patch ++++++
Index: postfix-2.11.5/makedefs
===================================================================
--- postfix-2.11.5.orig/makedefs
+++ postfix-2.11.5/makedefs
@@ -365,7 +365,12 @@ EOF
                       fi;;
                esac
                ;;
-    Linux.3*)  SYSTYPE=LINUX3
+    Linux.[34]*)
+               case "$RELEASE" in 
+                3.*) SYSTYPE=LINUX3;; 
+                4.*) SYSTYPE=LINUX4;; 
+                *) error "Unknown Linux version: `uname -r`.";; 
+               esac 
                case "$CCARGS" in
                 *-DNO_DB*) ;;
                 *-DHAS_DB*) ;;
Index: postfix-2.11.5/src/util/sys_defs.h
===================================================================
--- postfix-2.11.5.orig/src/util/sys_defs.h
+++ postfix-2.11.5/src/util/sys_defs.h
@@ -755,7 +755,7 @@ extern int initgroups(const char *, int)
  /*
   * LINUX.
   */
-#if defined(LINUX2) || defined(LINUX3)
+#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4)
 #define SUPPORTED
 #include <sys/types.h>
 #define UINT32_TYPE    unsigned int

Reply via email to