diff options
author | joerg <joerg@pkgsrc.org> | 2008-09-17 13:21:19 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-09-17 13:21:19 +0000 |
commit | 68af3a0e92efdcc4519ca35fafa641de0b6babb9 (patch) | |
tree | 789fece4c59ab4b619571e827562ca1f85a95377 /mail | |
parent | 4915b17a4063f7f2535b31ea4acd6e710f475706 (diff) | |
download | pkgsrc-68af3a0e92efdcc4519ca35fafa641de0b6babb9.tar.gz |
Support newer DragonFly versions. From PR 39148.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/postfix/distinfo | 6 | ||||
-rw-r--r-- | mail/postfix/patches/patch-ag | 54 | ||||
-rw-r--r-- | mail/postfix/patches/patch-ai | 4 |
3 files changed, 56 insertions, 8 deletions
diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo index 5fd1779a24b..c24c8f35795 100644 --- a/mail/postfix/distinfo +++ b/mail/postfix/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.119 2008/09/04 08:25:19 martti Exp $ +$NetBSD: distinfo,v 1.120 2008/09/17 13:21:19 joerg Exp $ SHA1 (postfix/postfix-2.5.5.tar.gz) = 7240be9e362b991bacfcf7e3771ab611e872ac12 RMD160 (postfix/postfix-2.5.5.tar.gz) = 2118fa61710bdb266d4fb8b7a0f60cf0f633c801 Size (postfix/postfix-2.5.5.tar.gz) = 3157877 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/patches/patch-ag b/mail/postfix/patches/patch-ag index 3109fc60380..7ea3419bebd 100644 --- a/mail/postfix/patches/patch-ag +++ b/mail/postfix/patches/patch-ag @@ -1,9 +1,18 @@ -$NetBSD: patch-ag,v 1.25 2008/09/04 08:25:20 martti Exp $ +$NetBSD: patch-ag,v 1.26 2008/09/17 13:21:19 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/patches/patch-ai b/mail/postfix/patches/patch-ai index d69207d26e0..6c30a71c3cd 100644 --- a/mail/postfix/patches/patch-ai +++ b/mail/postfix/patches/patch-ai @@ -1,4 +1,4 @@ -$NetBSD: patch-ai,v 1.22 2008/09/04 08:25:20 martti Exp $ +$NetBSD: patch-ai,v 1.23 2008/09/17 13:21:19 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 ;; |