SHA256
1
0
forked from pool/postfix

Accepting request 298292 from server:mail

- 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

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

OBS-URL: https://build.opensuse.org/request/show/298292
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postfix?expand=0&rev=124
This commit is contained in:
Stephan Kulow
2015-04-27 20:07:08 +00:00
committed by Git OBS Bridge
5 changed files with 62 additions and 4 deletions

View File

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

3
postfix-2.11.5.tar.gz Normal file
View File

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

View File

@@ -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 <sys/types.h>
#define UINT32_TYPE unsigned int

View File

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

View File

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