summaryrefslogtreecommitdiff
path: root/package/postfix
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-24 08:59:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-24 08:59:32 +0100
commit4d9ff9be37178837b914d5dee93bb02a865faf96 (patch)
treee1f86039b1387b44766f8749155764421e9bf83e /package/postfix
parent9720d9b2b5af4483817755bfab2a93e5177cd42a (diff)
postfix: update to version 3.1.0
Diffstat (limited to 'package/postfix')
-rw-r--r--package/postfix/Makefile6
-rw-r--r--package/postfix/patches/patch-makedefs29
-rw-r--r--package/postfix/patches/patch-src_posttls-finger_posttls-finger_c6
-rw-r--r--package/postfix/patches/patch-src_util_sys_defs_h8
4 files changed, 40 insertions, 9 deletions
diff --git a/package/postfix/Makefile b/package/postfix/Makefile
index 002ee65cb..96d607dd6 100644
--- a/package/postfix/Makefile
+++ b/package/postfix/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= postfix
-PKG_VERSION:= 3.0.1
+PKG_VERSION:= 3.1.0
PKG_RELEASE:= 1
-PKG_HASH:= cd2bd6447fe3368bb1a39f482f8dd1eec87c63067a0eb75f9aec8e4eadd21328
+PKG_HASH:= 88ac3e92755629077d9363319b1fa0db406efb10c2f22cdbb941bd8ab36fd733
PKG_DESCR:= popular mail transfer agent
PKG_SECTION:= net/mail
PKG_BUILDDEP:= tinycdb
@@ -16,6 +16,8 @@ PKG_SITES:= http://de.postfix.org/ftpmirror/official/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_HOST_DEPENDS:= !darwin
+# missing res_send support in resolver
+PKG_LIBC_DEPENDS:= glibc musl
include $(ADK_TOPDIR)/mk/package.mk
diff --git a/package/postfix/patches/patch-makedefs b/package/postfix/patches/patch-makedefs
new file mode 100644
index 000000000..ec81d4c40
--- /dev/null
+++ b/package/postfix/patches/patch-makedefs
@@ -0,0 +1,29 @@
+--- postfix-3.1.0.orig/makedefs 2016-02-21 23:39:45.000000000 +0100
++++ postfix-3.1.0/makedefs 2016-03-24 08:18:54.455960613 +0100
+@@ -455,7 +455,7 @@ case "$SYSTEM.$RELEASE" in
+ SYSLIBS="-ldb"
+ ;;
+ esac
+- for name in nsl resolv $GDBM_LIBS
++ for name in resolv $GDBM_LIBS
+ do
+ for lib in /usr/lib64 /lib64 /usr/lib /lib
+ do
+@@ -534,7 +534,7 @@ EOF
+ SYSLIBS="-ldb"
+ ;;
+ esac
+- for name in nsl resolv
++ for name in resolv
+ do
+ for lib in /usr/lib64 /lib64 /usr/lib /usr/lib/* /lib /lib/*
+ do
+@@ -572,7 +572,7 @@ EOF
+ SYSLIBS="-ldb"
+ ;;
+ esac
+- for name in nsl resolv
++ for name in resolv
+ do
+ for lib in /usr/lib64 /lib64 /usr/lib /lib
+ do
diff --git a/package/postfix/patches/patch-src_posttls-finger_posttls-finger_c b/package/postfix/patches/patch-src_posttls-finger_posttls-finger_c
index 6f0e74fab..5eb622e9b 100644
--- a/package/postfix/patches/patch-src_posttls-finger_posttls-finger_c
+++ b/package/postfix/patches/patch-src_posttls-finger_posttls-finger_c
@@ -1,6 +1,6 @@
---- postfix-2.11.0.orig/src/posttls-finger/posttls-finger.c 2013-12-16 17:06:33.000000000 +0100
-+++ postfix-2.11.0/src/posttls-finger/posttls-finger.c 2014-03-25 08:58:04.000000000 +0100
-@@ -290,6 +290,7 @@
+--- postfix-3.1.0.orig/src/posttls-finger/posttls-finger.c 2016-01-04 13:26:16.000000000 +0100
++++ postfix-3.1.0/src/posttls-finger/posttls-finger.c 2016-03-24 08:14:21.995964563 +0100
+@@ -307,6 +307,7 @@
*/
#include <sys_defs.h>
#include <stdarg.h>
diff --git a/package/postfix/patches/patch-src_util_sys_defs_h b/package/postfix/patches/patch-src_util_sys_defs_h
index 85974664e..874c4f1be 100644
--- a/package/postfix/patches/patch-src_util_sys_defs_h
+++ b/package/postfix/patches/patch-src_util_sys_defs_h
@@ -1,6 +1,6 @@
---- postfix-2.11.0.orig/src/util/sys_defs.h 2013-09-29 22:51:55.000000000 +0200
-+++ postfix-2.11.0/src/util/sys_defs.h 2014-03-26 19:38:02.000000000 +0100
-@@ -46,7 +46,7 @@
+--- postfix-3.1.0.orig/src/util/sys_defs.h 2016-02-06 14:30:39.000000000 +0100
++++ postfix-3.1.0/src/util/sys_defs.h 2016-03-24 08:14:21.999964563 +0100
+@@ -47,7 +47,7 @@
#define HAS_FSYNC
#define HAS_DB
#define HAS_SA_LEN
@@ -9,7 +9,7 @@
#if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000)
#define ALIAS_DB_MAP DEF_DB_TYPE ":/etc/mail/aliases" /* sendmail 8.10 */
#endif
-@@ -54,7 +54,8 @@
+@@ -55,7 +55,8 @@
#define ALIAS_DB_MAP DEF_DB_TYPE ":/etc/mail/aliases" /* OpenBSD 2.7 */
#endif
#ifndef ALIAS_DB_MAP