diff --git a/postfix-2.11.4.tar.gz b/postfix-2.11.4.tar.gz deleted file mode 100644 index 04b861b..0000000 --- a/postfix-2.11.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f4154c1db58c0300897d4c430bd90714ac7855249df59cc8828910fd5ccb031e -size 4040104 diff --git a/postfix-2.11.5.tar.gz b/postfix-2.11.5.tar.gz new file mode 100644 index 0000000..09d15ce --- /dev/null +++ b/postfix-2.11.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a4cc61f6d6c57eee676d4e78a42b2d29f8b0f406277d350bc0928f51efa3187 +size 4036256 diff --git a/postfix-2.11.5_linux4.patch b/postfix-2.11.5_linux4.patch new file mode 100644 index 0000000..bb3c55d --- /dev/null +++ b/postfix-2.11.5_linux4.patch @@ -0,0 +1,31 @@ +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 + #define UINT32_TYPE unsigned int diff --git a/postfix.changes b/postfix.changes index e4ab0ed..acec3d2 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Tue Apr 21 09:55:44 UTC 2015 - mrueckert@suse.de + +- 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 - mrueckert@suse.de + +- 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. + ------------------------------------------------------------------- Mon Feb 9 18:01:38 UTC 2015 - michael@stroeder.com diff --git a/postfix.spec b/postfix.spec index 1078631..a6fb956 100644 --- a/postfix.spec +++ b/postfix.spec @@ -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 @@ Patch100: %{name}-vda-v13-2.10.0.patch 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 @@ PostgreSQL. %patch100 -p1 %patch101 %patch102 +%patch103 -p1 # --------------------------------------------------------------------------- %build