Browse Source

first shot for postfix

Waldemar Brodkorb 12 years ago
parent
commit
8679e7fb64

+ 29 - 0
package/postfix/Makefile

@@ -0,0 +1,29 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=		postfix
+PKG_VERSION:=		2.8.7
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		b3ff47a38db920fc15bb207f42da53db
+PKG_DESCR:=		Postfix MTA
+PKG_SECTION:=		mail
+PKG_BUILDDEP:=		db
+PKG_URL:=		http://www.postfix.org/
+PKG_SITES:=		http://de.postfix.org/ftpmirror/official/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,POSTFIX,postfix,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+XAKE_FLAGS+=		GCC_HONOUR_COPTS=s
+CONFIG_STYLE:=		manual
+ALL_TARGET:=		
+
+postfix-install:
+	$(INSTALL_DIR) $(IDIR_POSTFIX)/usr/bin
+	$(INSTALL_BIN) $(WRKINST)/usr/bin/postfix \
+		$(IDIR_POSTFIX)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk

+ 13 - 0
package/postfix/patches/patch-makedefs

@@ -0,0 +1,13 @@
+--- postfix-2.8.7.orig/makedefs	2011-11-03 00:46:22.000000000 +0100
++++ postfix-2.8.7/makedefs	2011-12-03 13:06:00.000000000 +0100
+@@ -97,8 +97,8 @@ error() {
+ 
+ case $# in
+  # Officially supported usage.
+- 0) SYSTEM=`(uname -s) 2>/dev/null`
+-    RELEASE=`(uname -r) 2>/dev/null`
++ 0) SYSTEM=Linux
++    RELEASE=3.1.4
+     VERSION=`(uname -v) 2>/dev/null`
+     case "$VERSION" in
+      dcosx*) SYSTEM=$VERSION;;

+ 33 - 0
package/postfix/patches/patch-src_util_Makefile_in

@@ -0,0 +1,33 @@
+--- postfix-2.8.7.orig/src/util/Makefile.in	2011-04-15 18:52:47.000000000 +0200
++++ postfix-2.8.7/src/util/Makefile.in	2011-12-03 13:16:59.000000000 +0100
+@@ -4,8 +4,8 @@ SRCS	= alldig.c allprint.c argv.c argv_s
+ 	attr_scan_plain.c auto_clnt.c base64_code.c basename.c binhash.c \
+ 	chroot_uid.c cidr_match.c clean_env.c close_on_exec.c concatenate.c \
+ 	ctable.c dict.c dict_alloc.c dict_cdb.c dict_cidr.c dict_db.c \
+-	dict_dbm.c dict_debug.c dict_env.c dict_ht.c dict_ni.c dict_nis.c \
+-	dict_nisplus.c dict_open.c dict_pcre.c dict_regexp.c dict_sdbm.c \
++	dict_dbm.c dict_debug.c dict_env.c dict_ht.c dict_ni.c \
++	dict_open.c dict_pcre.c dict_regexp.c dict_sdbm.c \
+ 	dict_static.c dict_tcp.c dict_unix.c dir_forest.c doze.c dummy_read.c \
+ 	dummy_write.c duplex_pipe.c environ.c events.c exec_command.c \
+ 	fifo_listen.c fifo_trigger.c file_limit.c find_inet.c fsspace.c \
+@@ -39,8 +39,8 @@ OBJS	= alldig.o allprint.o argv.o argv_s
+ 	attr_scan_plain.o auto_clnt.o base64_code.o basename.o binhash.o \
+ 	chroot_uid.o cidr_match.o clean_env.o close_on_exec.o concatenate.o \
+ 	ctable.o dict.o dict_alloc.o dict_cdb.o dict_cidr.o dict_db.o \
+-	dict_dbm.o dict_debug.o dict_env.o dict_ht.o dict_ni.o dict_nis.o \
+-	dict_nisplus.o dict_open.o dict_pcre.o dict_regexp.o dict_sdbm.o \
++	dict_dbm.o dict_debug.o dict_env.o dict_ht.o dict_ni.o \
++	dict_open.o dict_pcre.o dict_regexp.o dict_sdbm.o \
+ 	dict_static.o dict_tcp.o dict_unix.o dir_forest.o doze.o dummy_read.o \
+ 	dummy_write.o duplex_pipe.o environ.o events.o exec_command.o \
+ 	fifo_listen.o fifo_trigger.o file_limit.o find_inet.o fsspace.o \
+@@ -72,7 +72,7 @@ OBJS	= alldig.o allprint.o argv.o argv_s
+ HDRS	= argv.h attr.h attr_clnt.h auto_clnt.h base64_code.h binhash.h \
+ 	chroot_uid.h cidr_match.h clean_env.h connect.h ctable.h dict.h \
+ 	dict_cdb.h dict_cidr.h dict_db.h dict_dbm.h dict_env.h dict_ht.h \
+-	dict_ni.h dict_nis.h dict_nisplus.h dict_pcre.h dict_regexp.h \
++	dict_ni.h dict_pcre.h dict_regexp.h \
+ 	dict_sdbm.h dict_static.h dict_tcp.h dict_unix.h dir_forest.h \
+ 	events.h exec_command.h find_inet.h fsspace.h fullname.h \
+ 	get_domainname.h get_hostname.h hex_code.h hex_quote.h host_port.h \