Browse Source

postfix: update to version 3.1.0

Waldemar Brodkorb 9 years ago
parent
commit
4d9ff9be37

+ 4 - 2
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
 

+ 29 - 0
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

+ 3 - 3
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>

+ 4 - 4
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