diff options
author | joerg <joerg> | 2008-09-17 13:44:16 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-09-17 13:44:16 +0000 |
commit | 89da9ca89c805d8c61277034d11e49b8805b949d (patch) | |
tree | f1d8090b83dd13c950d263b4f13a36b3977548e5 /mail/postfix-current | |
parent | ddb11d7434884d1fbed314a6b1d5e6e5882ccc3f (diff) | |
download | pkgsrc-89da9ca89c805d8c61277034d11e49b8805b949d.tar.gz |
Support newer DragonFly versions. From PR 39148.
Diffstat (limited to 'mail/postfix-current')
-rw-r--r-- | mail/postfix-current/distinfo | 6 | ||||
-rw-r--r-- | mail/postfix-current/patches/patch-ag | 54 | ||||
-rw-r--r-- | mail/postfix-current/patches/patch-ai | 4 |
3 files changed, 56 insertions, 8 deletions
diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo index f166a3909b0..89acaacdaca 100644 --- a/mail/postfix-current/distinfo +++ b/mail/postfix-current/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.46 2008/09/04 08:25:31 martti Exp $ +$NetBSD: distinfo,v 1.47 2008/09/17 13:44:16 joerg Exp $ SHA1 (postfix/postfix-2.6-20080903.tar.gz) = 9f4d7208f18f77876447b7c1c0ffe5fec5aee6d9 RMD160 (postfix/postfix-2.6-20080903.tar.gz) = 8871856da39e95c72126c78864464f5d4fca3e19 Size (postfix/postfix-2.6-20080903.tar.gz) = 3162683 bytes SHA1 (patch-aa) = 5b4923402c80957e47b8a4e16c897287b88544bb -SHA1 (patch-ag) = 3ed54069a744e214742a972738b306defe3cb69a -SHA1 (patch-ai) = 1f28a35b8c6f28f5cfc4d374d0ed30bf13886a3b +SHA1 (patch-ag) = b77081a61bc2b95a40963fb1d3ac5818d55a778b +SHA1 (patch-ai) = aedee357d43321d2c3557679d796814455ae0ea6 diff --git a/mail/postfix-current/patches/patch-ag b/mail/postfix-current/patches/patch-ag index f8c2468364f..54514e88684 100644 --- a/mail/postfix-current/patches/patch-ag +++ b/mail/postfix-current/patches/patch-ag @@ -1,9 +1,18 @@ -$NetBSD: patch-ag,v 1.17 2008/09/04 08:25:31 martti Exp $ +$NetBSD: patch-ag,v 1.18 2008/09/17 13:44:16 joerg Exp $ Only define HAS_DB if it hasn't been defined. ---- src/util/sys_defs.h.orig 2007-03-25 00:45:33.000000000 +0200 -+++ src/util/sys_defs.h 2007-04-03 08:51:26.000000000 +0300 +--- src/util/sys_defs.h.orig 2008-01-15 02:51:44 +0200 ++++ src/util/sys_defs.h 2008-07-18 22:24:22 +0300 +@@ -29,7 +29,7 @@ + || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ + || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \ + || defined(NETBSD4) \ +- || defined(EKKOBSD1) ++ || defined(EKKOBSD1) || defined(DRAGONFLY) + #define SUPPORTED + #include <sys/types.h> + #include <sys/param.h> @@ -42,7 +42,9 @@ #define DEF_MAILBOX_LOCK "flock, dotlock" #define HAS_SUN_LEN @@ -14,3 +23,42 @@ Only define HAS_DB if it hasn't been defined. #define HAS_SA_LEN #define DEF_DB_TYPE "hash" #if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000) +@@ -155,9 +157,19 @@ + #define HAS_FUTIMES + #endif + ++#if defined(__DragonFly__) ++#define HAS_DEV_URANDOM ++#define HAS_ISSETUGID ++#define HAS_FUTIMES ++#define SOCKADDR_SIZE socklen_t ++#define SOCKOPT_SIZE socklen_t ++#define HAS_DUPLEX_PIPE ++#endif ++ + #if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 105000000) \ + || (defined(__FreeBSD__) && __FreeBSD__ >= 4) \ + || (defined(OpenBSD) && OpenBSD >= 200003) \ ++ || defined(__DragonFly__) \ + || defined(USAGI_LIBINET6) + #ifndef NO_IPV6 + # define HAS_IPV6 +@@ -166,14 +178,16 @@ + + #if (defined(__FreeBSD_version) && __FreeBSD_version >= 300000) \ + || (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 103000000) \ +- || (defined(OpenBSD) && OpenBSD >= 199700) /* OpenBSD 2.0?? */ ++ || (defined(OpenBSD) && OpenBSD >= 199700) /* OpenBSD 2.0?? */ \ ++ || defined(__DragonFly__) + # define USE_SYSV_POLL + #endif + + #ifndef NO_KQUEUE + # if (defined(__FreeBSD_version) && __FreeBSD_version >= 410000) \ + || (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 200000000) \ +- || (defined(OpenBSD) && OpenBSD >= 200105) /* OpenBSD 2.9 */ ++ || (defined(OpenBSD) && OpenBSD >= 200105) /* OpenBSD 2.9 */ \ ++ || defined(__DragonFly__) + # define EVENTS_STYLE EVENTS_STYLE_KQUEUE + # endif + #endif diff --git a/mail/postfix-current/patches/patch-ai b/mail/postfix-current/patches/patch-ai index c90fa6f41e4..56e88ef3883 100644 --- a/mail/postfix-current/patches/patch-ai +++ b/mail/postfix-current/patches/patch-ai @@ -1,4 +1,4 @@ -$NetBSD: patch-ai,v 1.20 2008/09/04 08:25:31 martti Exp $ +$NetBSD: patch-ai,v 1.21 2008/09/17 13:44:16 joerg Exp $ Make this pkgsrc friendly. @@ -8,7 +8,7 @@ Make this pkgsrc friendly. ;; FreeBSD.7*) SYSTYPE=FREEBSD7 ;; -+ DragonFly.1*) SYSTYPE=FREEBSD4 ++ DragonFly.*) SYSTYPE=DRAGONFLY + ;; OpenBSD.2*) SYSTYPE=OPENBSD2 ;; |