diff options
author | reed <reed@pkgsrc.org> | 2005-08-23 02:31:44 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2005-08-23 02:31:44 +0000 |
commit | f21dbe3a1a7247eac8dc6fbff1a68de1a126c3c8 (patch) | |
tree | 07663cd4899f9f724e4eafd6846540d61eaf2cbe /mail/postfix-current | |
parent | b2067b13560870f869f40d6c0c7b01e66ed2f12d (diff) | |
download | pkgsrc-f21dbe3a1a7247eac8dc6fbff1a68de1a126c3c8.tar.gz |
Add DRAGONFLY1 and FREEBSD6 support.
TODO: this needs more testing and also needs to be submitted to developer.
Diffstat (limited to 'mail/postfix-current')
-rw-r--r-- | mail/postfix-current/distinfo | 6 | ||||
-rw-r--r-- | mail/postfix-current/patches/patch-ag | 36 | ||||
-rw-r--r-- | mail/postfix-current/patches/patch-ai | 23 |
3 files changed, 49 insertions, 16 deletions
diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo index 4b4bd3b1629..441923916dc 100644 --- a/mail/postfix-current/distinfo +++ b/mail/postfix-current/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.11 2005/08/14 21:51:02 christos Exp $ +$NetBSD: distinfo,v 1.12 2005/08/23 02:31:44 reed Exp $ SHA1 (postfix/postfix-2.3-20050726.tar.gz) = 7b5c10f01a003b4764c6e4a672ae866ca53e793c RMD160 (postfix/postfix-2.3-20050726.tar.gz) = 4eecae72057e23c97f05280485ad2ce9d1df7973 Size (postfix/postfix-2.2-20040628.tar.gz) = 2504873 bytes SHA1 (patch-aa) = 279b54f19289b56a423214716386c5aab79a57d5 -SHA1 (patch-ag) = 2982bb58df6e1a59c535e1a94c448421ee4d9bd7 -SHA1 (patch-ai) = f9ae7a455a4ac73b6a18882a31b0a5d02c0e317f +SHA1 (patch-ag) = 11af49528b1f1db2f3904dee5130a06ce9711664 +SHA1 (patch-ai) = 14fdae53a54422c9714442df2bc7c308393e0dfa diff --git a/mail/postfix-current/patches/patch-ag b/mail/postfix-current/patches/patch-ag index 2dedc3831ff..6e77ec87352 100644 --- a/mail/postfix-current/patches/patch-ag +++ b/mail/postfix-current/patches/patch-ag @@ -1,17 +1,39 @@ -$NetBSD: patch-ag,v 1.6 2005/08/14 21:51:02 christos Exp $ +$NetBSD: patch-ag,v 1.7 2005/08/23 02:31:44 reed Exp $ ---- src/util/sys_defs.h.orig 2005-07-14 17:28:33.000000000 -0400 -+++ src/util/sys_defs.h 2005-08-14 17:26:40.000000000 -0400 -@@ -27,7 +27,7 @@ - || defined(FREEBSD5) \ +--- src/util/sys_defs.h.orig 2005-07-14 14:28:33.000000000 -0700 ++++ src/util/sys_defs.h 2005-08-22 19:05:24.000000000 -0700 +@@ -24,11 +24,12 @@ + * 4.4BSD and close derivatives. + */ + #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ +- || defined(FREEBSD5) \ ++ || defined(FREEBSD5) || defined(FREEBSD6) \ || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ || defined(OPENBSD2) || defined(OPENBSD3) \ - || defined(NETBSD1) || defined(NETBSD2) \ +- || defined(EKKOBSD1) + || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \ - || defined(EKKOBSD1) ++ || defined(EKKOBSD1) \ ++ || defined(DRAGONFLY1) #define SUPPORTED #include <sys/types.h> -@@ -156,8 +156,13 @@ + #include <sys/param.h> +@@ -89,6 +90,14 @@ + #define SOCKOPT_SIZE socklen_t + #endif + ++#ifdef DRAGONFLY1 ++#define HAS_DUPLEX_PIPE ++#define HAS_DEV_URANDOM ++#define HAS_ISSETUGID ++#define SOCKADDR_SIZE socklen_t ++#define SOCKOPT_SIZE socklen_t ++#endif ++ + /* OpenBSD version is year+month */ + + #if OpenBSD >= 200000 /* XXX */ +@@ -156,8 +165,13 @@ #define ALIAS_DB_MAP "hash:/etc/aliases" #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0) #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin" diff --git a/mail/postfix-current/patches/patch-ai b/mail/postfix-current/patches/patch-ai index 3e62ffb28ab..e497f526ad1 100644 --- a/mail/postfix-current/patches/patch-ai +++ b/mail/postfix-current/patches/patch-ai @@ -1,8 +1,19 @@ -$NetBSD: patch-ai,v 1.8 2005/08/14 21:51:02 christos Exp $ +$NetBSD: patch-ai,v 1.9 2005/08/23 02:31:44 reed Exp $ ---- makedefs.orig 2005-07-16 19:51:31.000000000 -0400 -+++ makedefs 2005-08-14 17:26:07.000000000 -0400 -@@ -126,6 +126,8 @@ +--- makedefs.orig 2005-07-16 16:51:31.000000000 -0700 ++++ makedefs 2005-08-22 19:04:19.000000000 -0700 +@@ -116,6 +116,10 @@ + ;; + FreeBSD.5*) SYSTYPE=FREEBSD5 + ;; ++ FreeBSD.6*) SYSTYPE=FREEBSD6 ++ ;; ++ DragonFly.1*) SYSTYPE=DRAGONFLY1 ++ ;; + OpenBSD.2*) SYSTYPE=OPENBSD2 + ;; + OpenBSD.3*) SYSTYPE=OPENBSD3 +@@ -126,6 +130,8 @@ ;; NetBSD.2*) SYSTYPE=NETBSD2 ;; @@ -11,7 +22,7 @@ $NetBSD: patch-ai,v 1.8 2005/08/14 21:51:02 christos Exp $ BSD/OS.2*) SYSTYPE=BSDI2 ;; BSD/OS.3*) SYSTYPE=BSDI3 -@@ -217,22 +219,6 @@ +@@ -217,22 +223,6 @@ SYSLIBS="-ldb" ;; Linux.2*) SYSTYPE=LINUX2 @@ -34,7 +45,7 @@ $NetBSD: patch-ai,v 1.8 2005/08/14 21:51:02 christos Exp $ # GDBM locks the DBM .pag file after open. This breaks postmap. # if [ -f /usr/include/gdbm-ndbm.h ] # then -@@ -243,7 +229,6 @@ +@@ -243,7 +233,6 @@ # CCARGS="$CCARGS -DHAS_DBM -DPATH_NDBM_H='<gdbm/ndbm.h>'" # GDBM_LIBS=gdbm # fi |