head 1.23; access; symbols pkgsrc-2013Q2:1.23.0.8 pkgsrc-2013Q2-base:1.23 pkgsrc-2012Q4:1.23.0.6 pkgsrc-2012Q4-base:1.23 pkgsrc-2011Q4:1.23.0.4 pkgsrc-2011Q4-base:1.23 pkgsrc-2011Q2:1.23.0.2 pkgsrc-2011Q2-base:1.23 pkgsrc-2010Q4:1.22.0.6 pkgsrc-2010Q4-base:1.22 pkgsrc-2010Q3:1.22.0.4 pkgsrc-2010Q3-base:1.22 pkgsrc-2010Q2:1.22.0.2 pkgsrc-2010Q2-base:1.22 pkgsrc-2010Q1:1.21.0.4 pkgsrc-2010Q1-base:1.21 pkgsrc-2009Q4:1.21.0.2 pkgsrc-2009Q4-base:1.21 pkgsrc-2009Q3:1.20.0.4 pkgsrc-2009Q3-base:1.20 pkgsrc-2009Q2:1.20.0.2 pkgsrc-2009Q2-base:1.20 pkgsrc-2009Q1:1.19.0.4 pkgsrc-2009Q1-base:1.19 pkgsrc-2008Q4:1.19.0.2 pkgsrc-2008Q4-base:1.19 pkgsrc-2008Q3:1.18.0.2 pkgsrc-2008Q3-base:1.18 cube-native-xorg:1.17.0.2 cube-native-xorg-base:1.17 pkgsrc-2008Q2:1.16.0.14 pkgsrc-2008Q2-base:1.16 cwrapper:1.16.0.12 pkgsrc-2008Q1:1.16.0.10 pkgsrc-2008Q1-base:1.16 pkgsrc-2007Q4:1.16.0.8 pkgsrc-2007Q4-base:1.16 pkgsrc-2007Q3:1.16.0.6 pkgsrc-2007Q3-base:1.16 pkgsrc-2007Q2:1.16.0.4 pkgsrc-2007Q2-base:1.16 pkgsrc-2007Q1:1.16.0.2 pkgsrc-2007Q1-base:1.16 pkgsrc-2006Q4:1.15.0.2 pkgsrc-2006Q4-base:1.15 pkgsrc-2006Q3:1.14.0.2 pkgsrc-2006Q3-base:1.14 pkgsrc-2006Q2:1.12.0.6 pkgsrc-2006Q2-base:1.12 pkgsrc-2006Q1:1.12.0.4 pkgsrc-2006Q1-base:1.12 pkgsrc-2005Q4:1.12.0.2 pkgsrc-2005Q4-base:1.12 pkgsrc-2005Q3:1.8.0.2 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.5.0.8 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.6 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.4 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.2 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.4.0.2 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 NetBSD-current-20000814:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.23 date 2011.02.26.09.01.36; author tron; state dead; branches; next 1.22; 1.22 date 2010.04.16.15.32.59; author taca; state Exp; branches 1.22.6.1; next 1.21; 1.21 date 2009.12.13.08.55.57; author martti; state Exp; branches 1.21.4.1; next 1.20; 1.20 date 2009.05.13.10.34.06; author martti; state Exp; branches; next 1.19; 1.19 date 2008.11.03.00.47.36; author taca; state Exp; branches; next 1.18; 1.18 date 2008.09.17.13.44.16; author joerg; state Exp; branches; next 1.17; 1.17 date 2008.09.04.08.25.31; author martti; state Exp; branches; next 1.16; 1.16 date 2007.04.03.07.35.47; author martti; state Exp; branches 1.16.14.1; next 1.15; 1.15 date 2006.10.16.09.48.00; author martti; state Exp; branches; next 1.14; 1.14 date 2006.08.31.18.45.02; author martti; state Exp; branches; next 1.13; 1.13 date 2006.08.11.12.34.54; author taca; state Exp; branches; next 1.12; 1.12 date 2005.11.30.14.02.47; author martti; state dead; branches; next 1.11; 1.11 date 2005.11.13.10.37.10; author martti; state Exp; branches; next 1.10; 1.10 date 2005.11.12.05.23.17; author martti; state Exp; branches; next 1.9; 1.9 date 2005.09.30.06.04.32; author martti; state Exp; branches; next 1.8; 1.8 date 2005.09.06.08.10.58; author abs; state Exp; branches 1.8.2.1; next 1.7; 1.7 date 2005.08.23.02.31.44; author reed; state Exp; branches; next 1.6; 1.6 date 2005.08.14.21.51.02; author christos; state Exp; branches; next 1.5; 1.5 date 2004.07.02.08.03.04; author martti; state Exp; branches; next 1.4; 1.4 date 2004.06.06.13.50.41; author taca; state Exp; branches; next 1.3; 1.3 date 2004.05.04.19.59.06; author minskim; state Exp; branches; next 1.2; 1.2 date 2000.08.14.04.40.00; author itojun; state dead; branches; next 1.1; 1.1 date 2000.08.14.04.33.24; author itojun; state Exp; branches 1.1.1.1; next ; 1.22.6.1 date 2011.03.11.10.54.03; author tron; state Exp; branches; next ; 1.21.4.1 date 2010.04.25.18.16.59; author tron; state Exp; branches; next ; 1.16.14.1 date 2008.09.05.11.55.45; author ghen; state Exp; branches; next ; 1.8.2.1 date 2005.10.05.13.45.39; author salo; state Exp; branches; next 1.8.2.2; 1.8.2.2 date 2005.11.15.11.42.44; author salo; state Exp; branches; next ; 1.1.1.1 date 2000.08.14.04.33.24; author itojun; state Exp; branches; next ; desc @@ 1.23 log @Remove outdated and unmaintained "postfix-current" package. Please use the "postfix" package instead which contains a more recent version. @ text @$NetBSD: patch-ag,v 1.22 2010/04/16 15:32:59 taca Exp $ Only define HAS_DB if it hasn't been defined. Add support for NetBSD 5.x and DragonFly BSD. Handle closefrom() on FreeBSD. --- src/util/sys_defs.h.orig 2009-11-14 23:32:37.000000000 +0000 +++ src/util/sys_defs.h @@@@ -29,8 +29,8 @@@@ || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \ - || defined(NETBSD4) \ - || defined(EKKOBSD1) + || defined(NETBSD4) || defined(NETBSD5) \ + || defined(EKKOBSD1) || defined(DRAGONFLY) #define SUPPORTED #include #include @@@@ -43,7 +43,9 @@@@ #define DEF_MAILBOX_LOCK "flock, dotlock" #define HAS_SUN_LEN #define HAS_FSYNC +#ifndef HAS_DB #define HAS_DB +#endif #define HAS_SA_LEN #define DEF_DB_TYPE "hash" #if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000) @@@@ -111,7 +113,8 @@@@ #define HAS_DUPLEX_PIPE /* 4.1 breaks with kqueue(2) */ #endif -#if __FreeBSD_version >= 800107 /* safe; don't believe the experts */ +#if (__FreeBSD_version >= 702104 && __FreeBSD_version <= 800000) \ + || __FreeBSD_version >= 800100 #define HAS_CLOSEFROM #endif @@@@ -163,9 +166,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 @@@@ -174,14 +187,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 @ 1.22 log @Add patch to fix closefrom() problem on FreeBSD. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.21 2009/12/13 08:55:57 martti Exp $ @ 1.22.6.1 log @Pullup ticket #3385 - requested by taca mail/postfix-current: security update Revisions pulled up: - mail/postfix-current/MESSAGE patch - mail/postfix-current/MESSAGE.sasl patch - mail/postfix-current/Makefile patch - mail/postfix-current/PLIST patch - mail/postfix-current/distinfo patch - mail/postfix-current/files/mailer.conf patch - mail/postfix-current/patches/patch-aa patch - mail/postfix-current/patches/patch-ag patch - mail/postfix-current/patches/patch-ai patch - mail/postfix-current/patches/patch-as patch - mail/postfix-current/patches/patch-at deleted - mail/postfix-current/patches/patch-au deleted - mail/postfix-current/patches/patch-av deleted --- Update "postfix-current" package to version 2.8.1: Postfix stable release 2.8.0 is available. This release continues the move towards improving code and documentation, and making the system better prepared for changes in the threat environment. The postscreen daemon (a zombie blocker in front of Postfix) is now included with the stable release. postscreen now supports TLS and can log the rejected sender, recipient and helo information. See the POSTSCREEN_README file for recommended usage scenarios. Support for DNS whitelisting (permit_rhswl_client), and for pattern matching to filter the responses from DNS white/blacklist servers (e.g., reject_rhsbl_client zen.spamhaus.org=127.0.0.[1..10]). Improved message tracking across SMTP-based content filters; the after-filter SMTP server can log the before-filter queue ID (the XCLIENT protocol was extended). Read-only support for sqlite databases. See sqlite_table(5) and SQLITE_README. Support for 'footers' that are appended to SMTP server "reject" responses. See "smtpd_reject_footer" in the postconf(5) manpage. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.30 2010/04/16 15:32:58 taca Exp $ @ 1.21 log @Updated to the latest development release. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.20 2009/05/13 10:34:06 martti Exp $ d5 1 d7 2 a8 2 --- src/util/sys_defs.h.orig 2009-11-15 01:32:37.000000000 +0200 +++ src/util/sys_defs.h 2009-12-13 10:46:54.000000000 +0200 d30 11 a40 1 @@@@ -163,9 +165,19 @@@@ d60 1 a60 1 @@@@ -174,14 +186,16 @@@@ @ 1.21.4.1 log @Pullup ticket #3094 - requested by taca mail/postfix: build fix mail/postfix-current: build fix Revisions pulled up: - mail/postfix-current/distinfo 1.58 - mail/postfix-current/patches/patch-ag 1.22 - mail/postfix/distinfo 1.130 - mail/postfix/patches/patch-ag 1.30 --- Module Name: pkgsrc Committed By: taca Date: Fri Apr 16 15:32:59 UTC 2010 Modified Files: pkgsrc/mail/postfix: distinfo pkgsrc/mail/postfix-current: distinfo pkgsrc/mail/postfix-current/patches: patch-ag pkgsrc/mail/postfix/patches: patch-ag Log Message: Add patch to fix closefrom() problem on FreeBSD. @ text @d1 1 a1 1 $NetBSD$ a4 1 Handle closefrom() on FreeBSD. d6 2 a7 2 --- src/util/sys_defs.h.orig 2009-11-14 23:32:37.000000000 +0000 +++ src/util/sys_defs.h d29 1 a29 11 @@@@ -111,7 +113,8 @@@@ #define HAS_DUPLEX_PIPE /* 4.1 breaks with kqueue(2) */ #endif -#if __FreeBSD_version >= 800107 /* safe; don't believe the experts */ +#if (__FreeBSD_version >= 702104 && __FreeBSD_version <= 800000) \ + || __FreeBSD_version >= 800100 #define HAS_CLOSEFROM #endif @@@@ -163,9 +166,19 @@@@ d49 1 a49 1 @@@@ -174,14 +187,16 @@@@ @ 1.20 log @Updated mail/postfix-current to 2.7.20090511 This same as 2.6.0... @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.27 2008/11/03 00:47:17 taca Exp $ d6 3 a8 3 --- src/util/sys_defs.h.orig 2009-05-11 03:45:27.000000000 +0300 +++ src/util/sys_defs.h 2009-05-13 12:25:40.000000000 +0300 @@@@ -28,8 +28,8 @@@@ d19 1 a19 1 @@@@ -42,7 +42,9 @@@@ d29 1 a29 1 @@@@ -158,9 +160,19 @@@@ d49 1 a49 1 @@@@ -169,14 +181,16 @@@@ @ 1.19 log @Make it build on NetBSD current (and NetBSD 5.x). @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.18 2008/09/17 13:44:16 joerg Exp $ d6 2 a7 2 --- src/util/sys_defs.h.orig 2008-08-23 05:47:16.000000000 +0900 +++ src/util/sys_defs.h d29 1 a29 1 @@@@ -155,9 +157,19 @@@@ d49 1 a49 1 @@@@ -166,14 +178,16 @@@@ @ 1.18 log @Support newer DragonFly versions. From PR 39148. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.17 2008/09/04 08:25:31 martti Exp $ d4 1 d6 4 a9 3 --- 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 @@@@ d12 1 a12 1 || defined(NETBSD4) \ d14 1 @ 1.17 log @Updated mail/postfix-current to 2.6.20080903 Postfix 2.4 and later, on Linux kernel 2.6, is vulnerable to a denial of service attack by a local user. There is no breach of data confidentiality or data integrity. This problem was found by the Postfix author during routine source code maintenance. An on-line version of this announcement is available at http://www.postfix.org/announcements/20080902.html @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.16 2007/04/03 07:35:47 martti Exp $ d5 11 a15 2 --- 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 d26 39 @ 1.16 log @Updated mail/postfix-current to 2.5-20070402 This is a new development snapshot. Sync with Makefile with mail/postfix. @ text @d1 3 a3 1 $NetBSD: patch-ag,v 1.24 2007/04/03 07:27:51 martti Exp $ @ 1.16.14.1 log @Pullup ticket 2518 - requested by martti security update for postfix - pkgsrc/mail/postfix/Makefile 1.219, 1.220 - pkgsrc/mail/postfix/distinfo 1.119 - pkgsrc/mail/postfix/patches/patch-aa 1.21 - pkgsrc/mail/postfix/patches/patch-ag 1.25 - pkgsrc/mail/postfix/patches/patch-ai 1.22 - pkgsrc/mail/postfix-current/Makefile 1.100, 1.101 - pkgsrc/mail/postfix-current/distinfo 1.46 - pkgsrc/mail/postfix-current/patches/patch-aa 1.19 - pkgsrc/mail/postfix-current/patches/patch-ag 1.17 - pkgsrc/mail/postfix-current/patches/patch-ai 1.20 Module Name: pkgsrc Committed By: ghen Date: Fri Aug 22 20:29:55 UTC 2008 Modified Files: pkgsrc/mail/postfix: Makefile pkgsrc/mail/postfix-current: Makefile Log Message: Add some (http) mirrors. --- Module Name: pkgsrc Committed By: martti Date: Thu Sep 4 08:25:20 UTC 2008 Modified Files: pkgsrc/mail/postfix: Makefile distinfo pkgsrc/mail/postfix/patches: patch-aa patch-ag patch-ai Log Message: Updated mail/postfix to 2.5.5 Postfix 2.4 and later, on Linux kernel 2.6, is vulnerable to a denial of service attack by a local user. There is no breach of data confidentiality or data integrity. This problem was found by the Postfix author during routine source code maintenance. An on-line version of this announcement is available at http://www.postfix.org/announcements/20080902.html --- Module Name: pkgsrc Committed By: martti Date: Thu Sep 4 08:25:31 UTC 2008 Modified Files: pkgsrc/mail/postfix-current: Makefile distinfo pkgsrc/mail/postfix-current/patches: patch-aa patch-ag patch-ai Log Message: Updated mail/postfix-current to 2.6.20080903 Postfix 2.4 and later, on Linux kernel 2.6, is vulnerable to a denial of service attack by a local user. There is no breach of data confidentiality or data integrity. This problem was found by the Postfix author during routine source code maintenance. An on-line version of this announcement is available at http://www.postfix.org/announcements/20080902.html @ text @d1 1 a1 3 $NetBSD: patch-ag,v 1.16 2007/04/03 07:35:47 martti Exp $ Only define HAS_DB if it hasn't been defined. @ 1.15 log @Updated mail/postfix-current to 2.4-20061015 * lots of bugfixes and cleanups @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.14 2006/08/31 18:45:02 martti Exp $ d3 2 a4 2 --- src/util/sys_defs.h.orig 2006-10-16 12:39:27.000000000 +0000 +++ src/util/sys_defs.h 2006-10-16 12:40:30.000000000 +0000 d6 1 a6 1 #define DEF_MAILBOX_LOCK "flock" @ 1.14 log @Updated mail/postfix-current to 2.4-20060825 Lots of bug fixes, see HISTORY for details... @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.13 2006/08/11 12:34:54 taca Exp $ d3 3 a5 11 --- src/util/sys_defs.h.orig 2006-07-31 13:04:29.000000000 +0000 +++ src/util/sys_defs.h 2006-08-31 21:38:57.000000000 +0000 @@@@ -28,6 +28,7 @@@@ || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \ + || defined(NETBSD4) \ || defined(EKKOBSD1) #define SUPPORTED #include @@@@ -41,7 +42,9 @@@@ @ 1.13 log @Accept NetBSD 4.* as NETBSD4 to compile on NetBSD current. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- src/util/sys_defs.h.orig 2006-07-03 21:37:32.000000000 +0900 +++ src/util/sys_defs.h d7 1 a7 1 || defined(OPENBSD2) || defined(OPENBSD3) \ @ 1.12 log @Updated postfix to 2.3-20051128 - Configurable text for (non)delivery status notifications. - Support for multiple ISP accounts, implemented with sender-dependent relayhosts and with sender-dependent SASL passwords. - Enhanced status codes per RFC 2034. This enables much improved error reporting with mail client programs, possibly in the user's own language. - Complete support for (non)delivery status notifications (DSN) per RFC 346[1-4]. This also enables improved error reporting. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.11 2005/11/13 10:37:10 martti Exp $ d3 20 a22 16 --- src/util/sys_defs.h.orig 2005-07-15 00:28:33.000000000 +0300 +++ src/util/sys_defs.h 2005-11-13 09:22:07.000000000 +0200 @@@@ -52,3 +52,3 @@@@ #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin" -#if (defined(__NetBSD_Version__) && __NetBSD_Version__ > 200040000) +#if (defined(__NetBSD_Version__) && __NetBSD_Version__ > 299000900) # define USE_STATVFS @@@@ -124,3 +124,3 @@@@ -#if __NetBSD_Version__ >= 200060000 /* 2.0F */ +#if __NetBSD_Version__ >= 299000900 /* 2.99.9 */ #define HAS_CLOSEFROM @@@@ -157,2 +157,3 @@@@ #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0) +#define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin" @ 1.11 log @Regenerate the patches not to add NetBSD stuff inside Mac OS X section. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.17 2005/11/12 05:19:24 martti Exp $ @ 1.10 log @Make this compile on NetBSD 2.1. Does not affect other versions so no version bump. Fixes same problem as pkg/31952. @ text @d3 2 a4 2 --- src/util/sys_defs.h.orig 2005-07-11 23:00:38.000000000 +0300 +++ src/util/sys_defs.h 2005-11-11 06:01:49.000000000 +0200 d15 1 a15 1 @@@@ -157,5 +157,11 @@@@ a18 8 +#if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900) /* NetBSD 2.99.9 */ +#define USE_STATVFS +#define STATVFS_IN_SYS_STATVFS_H +#else #define USE_STATFS #define STATFS_IN_SYS_MOUNT_H +#endif #define HAS_POSIX_REGEXP @ 1.9 log @Updated postfix-current to 2.3-20050922 * lots of bug fixes and new features (see RELEASE_NOTES for details) * sync PLIST.*, MESSAGE.*, Makefile and options.mk with pkgsrc/mail/postfix @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.8 2005/09/06 08:10:58 abs Exp $ d3 13 a15 5 --- src/util/sys_defs.h.orig 2005-07-15 00:28:33.000000000 +0300 +++ src/util/sys_defs.h 2005-09-30 05:52:00.000000000 +0300 @@@@ -155,9 +155,15 @@@@ #define DEF_DB_TYPE "hash" #define ALIAS_DB_MAP "hash:/etc/aliases" a26 2 #define NORETURN void #define PRINTFLIKE(x,y) @ 1.8 log @Fix NetBSD statvfs check to be >= 299000900 not >= 200040000 No pkgrevision bumps needed. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.7 2005/08/23 02:31:44 reed Exp $ d3 4 a6 34 --- 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(DRAGONFLY1) #define SUPPORTED #include #include @@@@ -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 @@@@ d9 1 @ 1.8.2.1 log @Pullup ticket 801 - requested by Martti Kuparinen postfix-current update and PLIST fix Revisions pulled up: - pkgsrc/mail/postfix-current/MESSAGE.sasl 1.3 - pkgsrc/mail/postfix-current/MESSAGE.tls removed - pkgsrc/mail/postfix-current/Makefile 1.45 - pkgsrc/mail/postfix-current/PLIST 1.7, 1.8 - pkgsrc/mail/postfix-current/PLIST.inet6 removed - pkgsrc/mail/postfix-current/PLIST.sasl removed - pkgsrc/mail/postfix-current/PLIST.tls removed - pkgsrc/mail/postfix-current/distinfo 1.14 - pkgsrc/mail/postfix-current/options.mk 1.11 - pkgsrc/mail/postfix-current/patches/patch-aa 1.15 - pkgsrc/mail/postfix-current/patches/patch-ab 1.8 - pkgsrc/mail/postfix-current/patches/patch-ac 1.6 - pkgsrc/mail/postfix-current/patches/patch-ag 1.9 - pkgsrc/mail/postfix-current/patches/patch-ai 1.10 Module Name: pkgsrc Committed By: martti Date: Fri Sep 30 05:42:38 UTC 2005 Modified Files: pkgsrc/mail/postfix-current: PLIST Removed Files: pkgsrc/mail/postfix-current: PLIST.tls Log Message: Fix PLIST issues noted in bulkbuilds --- Module Name: pkgsrc Committed By: martti Date: Fri Sep 30 06:04:32 UTC 2005 Modified Files: pkgsrc/mail/postfix-current: MESSAGE.sasl Makefile PLIST distinfo options.mk pkgsrc/mail/postfix-current/patches: patch-aa patch-ag patch-ai Added Files: pkgsrc/mail/postfix-current/patches: patch-ab patch-ac Removed Files: pkgsrc/mail/postfix-current: MESSAGE.tls PLIST.inet6 PLIST.sasl Log Message: Updated postfix-current to 2.3-20050922 * lots of bug fixes and new features (see RELEASE_NOTES for details) * sync PLIST.*, MESSAGE.*, Makefile and options.mk with pkgsrc/mail/postfix @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.9 2005/09/30 06:04:32 martti Exp $ d3 34 a36 4 --- src/util/sys_defs.h.orig 2005-07-15 00:28:33.000000000 +0300 +++ src/util/sys_defs.h 2005-09-30 05:52:00.000000000 +0300 @@@@ -155,9 +155,15 @@@@ #define DEF_DB_TYPE "hash" a38 1 +#define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H @ 1.8.2.2 log @Pullup ticket 905 - requested by Martti Kuparinen portability fixes for postfix Revisions pulled up: - pkgsrc/mail/postfix/distinfo 1.90, 1.91, 1.92 - pkgsrc/mail/postfix/patches/patch-ag 1.17, 1.18 - pkgsrc/mail/postfix/patches/patch-ai 1.14 - pkgsrc/mail/postfix-current/distinfo 1.15, 1.16, 1.17 - pkgsrc/mail/postfix-current/patches/patch-ag 1.10, 1.11 - pkgsrc/mail/postfix-current/patches/patch-ai 1.11 Module Name: pkgsrc Committed By: joerg Date: Thu Oct 13 13:06:38 UTC 2005 Modified Files: pkgsrc/mail/postfix: distinfo pkgsrc/mail/postfix/patches: patch-ai Log Message: Treat DragonFly as FreeBSD 4 to let Postfix build. --- Module Name: pkgsrc Committed By: martti Date: Sat Nov 12 05:19:25 UTC 2005 Modified Files: pkgsrc/mail/postfix: distinfo pkgsrc/mail/postfix/patches: patch-ag Log Message: Make this compile on NetBSD 2.1. Does not affect other versions so no version bump. Fixes pkg/31952. --- Module Name: pkgsrc Committed By: martti Date: Sat Nov 12 05:23:18 UTC 2005 Modified Files: pkgsrc/mail/postfix-current: distinfo pkgsrc/mail/postfix-current/patches: patch-ag Log Message: Make this compile on NetBSD 2.1. Does not affect other versions so no version bump. Fixes same problem as pkg/31952. --- Module Name: pkgsrc Committed By: martti Date: Sun Nov 13 10:37:10 UTC 2005 Modified Files: pkgsrc/mail/postfix: distinfo pkgsrc/mail/postfix-current: distinfo pkgsrc/mail/postfix-current/patches: patch-ag pkgsrc/mail/postfix/patches: patch-ag Log Message: Regenerate the patches not to add NetBSD stuff inside Mac OS X section. --- Module Name: pkgsrc Committed By: martti Date: Tue Nov 15 10:43:20 UTC 2005 Modified Files: pkgsrc/mail/postfix-current: distinfo pkgsrc/mail/postfix-current/patches: patch-ai Log Message: Treat DragonFly as FreeBSD 4 to let Postfix build. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.11 2005/11/13 10:37:10 martti Exp $ d4 4 a7 12 +++ src/util/sys_defs.h 2005-11-13 09:22:07.000000000 +0200 @@@@ -52,3 +52,3 @@@@ #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin" -#if (defined(__NetBSD_Version__) && __NetBSD_Version__ > 200040000) +#if (defined(__NetBSD_Version__) && __NetBSD_Version__ > 299000900) # define USE_STATVFS @@@@ -124,3 +124,3 @@@@ -#if __NetBSD_Version__ >= 200060000 /* 2.0F */ +#if __NetBSD_Version__ >= 299000900 /* 2.99.9 */ #define HAS_CLOSEFROM @@@@ -157,2 +157,3 @@@@ d11 10 @ 1.7 log @Add DRAGONFLY1 and FREEBSD6 support. TODO: this needs more testing and also needs to be submitted to developer. @ text @d1 1 a1 1 $NetBSD$ d40 1 a40 1 +#if (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */ @ 1.6 log @Update to postfix-2.3-20050726 @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.5 2004/07/02 08:03:04 martti Exp $ d3 8 a10 4 --- 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) \ d14 1 d16 2 a17 1 || defined(EKKOBSD1) d20 17 a36 1 @@@@ -156,8 +156,13 @@@@ @ 1.5 log @Updated postfix-current to 2.2-20040628 * Sync with pkgsrc/mail/postfix * Get rid of canonical_classes patch * No IPv6 patch @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.12 2004/06/21 16:13:24 martti Exp $ d3 12 a14 3 --- src/util/sys_defs.h.orig 2004-06-14 21:13:40.000000000 +0300 +++ src/util/sys_defs.h 2004-06-20 11:40:54.000000000 +0300 @@@@ -127,8 +127,13 @@@@ @ 1.4 log @Update postfix-current pacakge to postfix-20040504. pkgsrc changes: - install smtpd-policy script as example. - adapot NetBSD 2.X and later. - make local(8) handle EDQUOT as temporary error. - enable RECEIVED_ENVELOPE_FROM. Postfix changes: 20040324 Portability: ekkoBSD support by Philip Reynolds. Files: makedefs, util/sys_defs.h. 20040325 Cleanup: smtp_skip_4xx_greeting and smtp_skip_5xx_greeting functionality is moved from connection management to SMTP protocol processing, so that Postfix now logs the server response when a server refuses to provide service. Files: smtp/smtp_connect.c, smtp/smtp_proto.c. Cleanup: smtp_skip_4xx_greeting is no longer configurable; it is now permanently turned on. 20040326 Workaround: in the trivial-rewrite server, turn on the code to strip trailing "." while rewriting addresses, and change the address resolver to strip trailing "." in a compatible manner. This does not eliminate the problem that the SMTP server may use a different address for recipient validation than what the cleanup server uses for virtual alias mapping. 20040329 Bugfix: the SMTP server did not log client (and SASL) information with the real-time content filter was enabled. Files: smtpd/smtpd.c, smtpd/smtpd_sasl_proto.c. Compatibility: smtpd_reject_unlisted_sender is turned off by default, to avoid trouble with with in-house software that sends out mail software with an unreplyable address. 20040331 Bugfix: postdrop should not abandon mail submission after receiving a SIGHUP signal when SIGHUP was ignored by the parent process. Victor Duchovni, Morgan Stanley. File: postdrop/postdrop.c. Bugfix: parsing bug in PgSQL dictionaries causing UNIX sockets to be ignored. Liviu Daia. Files: global/dict*sql.c. Performance: allow MySQL and PgSQL database connections to be closed when idle for more than 1 minute; Liviu Daia. Files: global/dict*sql.c. 20040401 Sanity: the SMTP server no longer accepts sender or recipient addresses that end in the "@@" null domain, as well as addresses that rewrite into such a form. Specify "resolve_null_domain=yes" to get the old behavior back. File: trivial-rewrite/resolve.c. 20040402 Cleanup: added WARN action support for access maps, for consistency with the WARN action in header and body checks. File: smtpd/smtpd_check.c. 20040407 Bugfix: missing return statement at the end of the FREE_MEMORY_AND_RETURN error handling macro. Adi Prasaja. File: trivial-rewrite/resolve.c. 20040411 Future proofing: client_rate_time_unit is renamed to anvil_rate_time_unit, so that it is no longer limited to clients only. File: src/global/mail_params.h. Cleanup: postalias and postmap now log problems to syslogd. Files: postalias/postalias.c, postmap/postmap.c. 20040413 Feature: "postfix set-permissions" (re)sets ownership and access permissions of Postfix files and directories. Feature: "postfix upgrade-configuration" updates main.cf and master.cf. This is for people who people copy over their old files after installing a newer Postfix version. Feature: HTML files are now optionally installed under control of the html_directory configuration parameter. Files: postfix-install, conf/postfix-files, conf/post-install. Cleanup: README file installation is now optional. Files: postfix-install, conf/postfix-files, conf/post-install. 20040414 Cleanup: references to sample-mumble.cf files removed, conf/mumble_table files removed, new commands added to conf/postfix-script. Cleanups: function declared in but used as void, missing include file, missing const qualifier, unused variable. Matthias Andree. Files: bounce/bounce_notify_util.c, bounce/bounce_service.h, postlog/postlog.c, smtpd/smtpd_check.c, util/attr_scan64.c. Bugfix: more robust version of SIGHUP test of 20040331. Victor Duchovni, Morgan Stanley. File: postdrop/postdrop.c. Safety: added NOCLOBBER qualifiers to local variables that might be clobbered by longjmp(). Files: util/sys_defs.h, smtp/smtp_proto.c, lmtp/lmtp_proto.c, smtpd/smtpd_check.c, smtpstone/smtp-source.c. Bugfix: sub-level Makefiles no longer turned on the extra compiler warnings. Files: Makefile.in.*, makedefs.*. 20040415 Bugfix: the LMTP client attempted to reuse a connection after timeout, causing protocol synchronization errors. Reported by Rob Mueller. File: lmtp/lmtp.c. 20040416 Cleanup: non-delivery reports now include the original recipient information. File: bounce/bounce_notify_util.c. 20040415-18 Typos: many documentation fixes by Rob Foehl. 20040418 Cleanup: "int" versus "const int" prototype mismatch between the DICT sequence method prototype and possible implementations. Files: util/dict_db.c, util/dict_dbm.c. 20040419 Bugfix: the code that rejects client/helo RESTRICTIONS with smtpd_delay_reject=no looked at the wrong evidence and rejected client/helo ACCESS MAP lookups instead. Michael Tokarev. Files: smtpd/smtpd.c, smtpd/smtpd_check.c. Bugfix: missing # in master.cf in optional submission service. 20040420 Bugfix: smtpd logged the client too often. Michael Tokarev. File: smtpd/smtpd.c. Cleanup: client_event_status_update_time renamed to anvil_status_update_time. Files: mantools/postlink, proto/postconf.proto, anvil/anvil.c. 20040421 Workaround: allow pipelined SMTP clients to overshoot the SMTP server recipient limit without triggering the server hard error limit. The SMTP server does not count "too many recipients" towards the hard error limit, as long as the number of excess recipients stays within a configurable overshoot limit (default: smtpd_recipient_overshoot_limit = 1000). Solution in cooperation with Victor Duchovni. Files: smtpd/smtpd.c, smtpd/smtpd_state.c, smtpd/smtpd.h. 20040502 Missing test for a never used flag (the problematic and thus never completed INSPECT feature that doesn't re-inject mail into Postfix). Victor Duchovni, Morgan Stanley. File: virtual/virtual.c. 20040503 Bugfix: missing "sasl enabled" guard in the SMTPD policy client. File: smtpd/smtpd_check.c. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.3 2004/05/04 19:59:06 minskim Exp $ d3 5 a7 5 --- src/util/sys_defs.h.orig 2004-04-15 04:49:40.000000000 +0900 +++ src/util/sys_defs.h @@@@ -50,8 +50,13 @@@@ #endif #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0) d17 2 a18 2 #define HAS_ST_GEN /* struct stat contains inode generation number */ #define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail" @ 1.3 log @statvfs fix for postfix and postfix-current on NetBSD-current>=2.0D. Patch provided by John R. Shannon in PR pkg/25430. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/util/sys_defs.h.orig 2004-01-04 15:49:15.000000000 -0600 d5 1 a5 1 @@@@ -48,8 +48,13 @@@@ @ 1.2 log @postfix 20000531 + IPv6 patch (not sure if it works right - please test). uses postfix Makefiles, not patches/*. experimental. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.1 2000/08/14 04:33:24 itojun Exp $ d3 16 a18 19 --- dns/Makefile.orig Sat Apr 8 22:14:35 2000 +++ dns/Makefile Sat Apr 8 23:18:53 2000 @@@@ -0,0 +1,16 @@@@ +# $NetBSD: patch-ag,v 1.1 2000/08/14 04:33:24 itojun Exp $ + +LIB = dns +SRCS = dns_lookup.c dns_rr.c dns_strerror.c dns_strtype.c + +MKLINT= no +MKPIC= no +MKPROFILE= no +NOLINT= yes +NOPIC= yes +NOPROFILE= yes + +# only needed during build +libinstall:: + +.include @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.2 2000/04/10 00:19:17 bad Exp $ d6 1 a6 1 +# $NetBSD: patch-ag,v 1.2 2000/04/10 00:19:17 bad Exp $ @ 1.1.1.1 log @mail/postfix-current, for experimental postfix code - based on mail/postfix @ text @@