head	1.13;
access;
symbols
	pkgsrc-2013Q2:1.13.0.30
	pkgsrc-2013Q2-base:1.13
	pkgsrc-2012Q4:1.13.0.28
	pkgsrc-2012Q4-base:1.13
	pkgsrc-2011Q4:1.13.0.26
	pkgsrc-2011Q4-base:1.13
	pkgsrc-2011Q2:1.13.0.24
	pkgsrc-2011Q2-base:1.13
	pkgsrc-2009Q4:1.13.0.22
	pkgsrc-2009Q4-base:1.13
	pkgsrc-2008Q4:1.13.0.20
	pkgsrc-2008Q4-base:1.13
	pkgsrc-2008Q3:1.13.0.18
	pkgsrc-2008Q3-base:1.13
	cube-native-xorg:1.13.0.16
	cube-native-xorg-base:1.13
	pkgsrc-2008Q2:1.13.0.14
	pkgsrc-2008Q2-base:1.13
	pkgsrc-2008Q1:1.13.0.12
	pkgsrc-2008Q1-base:1.13
	pkgsrc-2007Q4:1.13.0.10
	pkgsrc-2007Q4-base:1.13
	pkgsrc-2007Q3:1.13.0.8
	pkgsrc-2007Q3-base:1.13
	pkgsrc-2007Q2:1.13.0.6
	pkgsrc-2007Q2-base:1.13
	pkgsrc-2007Q1:1.13.0.4
	pkgsrc-2007Q1-base:1.13
	pkgsrc-2006Q4:1.13.0.2
	pkgsrc-2006Q4-base:1.13
	pkgsrc-2006Q3:1.11.0.8
	pkgsrc-2006Q3-base:1.11
	pkgsrc-2006Q2:1.11.0.6
	pkgsrc-2006Q2-base:1.11
	pkgsrc-2006Q1:1.11.0.4
	pkgsrc-2006Q1-base:1.11
	pkgsrc-2005Q4:1.11.0.2
	pkgsrc-2005Q4-base:1.11
	pkgsrc-2005Q3:1.10.0.10
	pkgsrc-2005Q3-base:1.10
	pkgsrc-2005Q2:1.10.0.8
	pkgsrc-2005Q2-base:1.10
	pkgsrc-2005Q1:1.10.0.6
	pkgsrc-2005Q1-base:1.10
	pkgsrc-2004Q4:1.10.0.4
	pkgsrc-2004Q4-base:1.10
	pkgsrc-2004Q3:1.10.0.2
	pkgsrc-2004Q3-base:1.10
	pkgsrc-2004Q2:1.8.0.4
	pkgsrc-2004Q2-base:1.8
	pkgsrc-2004Q1:1.8.0.2
	pkgsrc-2004Q1-base:1.8
	pkgsrc-2003Q4:1.7.0.2
	pkgsrc-2003Q4-base:1.7
	netbsd-1-6:1.4.0.8
	netbsd-1-6-RELEASE-base:1.4
	pkgviews:1.4.0.4
	pkgviews-base:1.4
	buildlink2:1.4.0.2
	buildlink2-base:1.4
	netbsd-1-5-PATCH003:1.4
	netbsd-1-5-RELEASE:1.2
	netbsd-1-4-PATCH003:1.2
	netbsd-1-4-PATCH002:1.2
	comdex-fall-1999:1.2
	netbsd-1-4-PATCH001:1.2;
locks; strict;
comment	@# @;


1.13
date	2006.10.18.09.26.53;	author martti;	state dead;
branches;
next	1.12;

1.12
date	2006.10.18.05.50.42;	author martti;	state Exp;
branches;
next	1.11;

1.11
date	2005.12.01.06.46.41;	author martti;	state dead;
branches;
next	1.10;

1.10
date	2004.08.10.16.49.47;	author schmonz;	state Exp;
branches;
next	1.9;

1.9
date	2004.08.07.07.58.32;	author jlam;	state dead;
branches;
next	1.8;

1.8
date	2004.01.20.19.37.45;	author martin;	state Exp;
branches;
next	1.7;

1.7
date	2003.02.01.23.19.46;	author schmonz;	state dead;
branches;
next	1.6;

1.6
date	2003.01.31.23.53.06;	author lukem;	state Exp;
branches;
next	1.5;

1.5
date	2003.01.06.09.15.50;	author martti;	state Exp;
branches;
next	1.4;

1.4
date	2002.03.06.15.07.54;	author martti;	state Exp;
branches;
next	1.3;

1.3
date	2001.03.20.12.50.50;	author hubertf;	state dead;
branches;
next	1.2;

1.2
date	99.06.26.16.55.28;	author christos;	state Exp;
branches;
next	1.1;

1.1
date	99.05.30.18.18.31;	author tron;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Remove patch-ab and "rm -f auxiliary/MacOSX/Postfix.StartupItem/Postfix"
in post-extract.

I exchanges few mails with Wietse and he refused to fix the "==" lines and
instructed me to simply remove the offending file. Instead of having a patch
for a file which is not used by pkgsrc I think it makes sense to remove it.
@
text
@$NetBSD: patch-ab,v 1.12 2006/10/18 05:50:42 martti Exp $

--- auxiliary/MacOSX/Postfix.StartupItem/Postfix.orig	2006-10-18 08:42:33.000000000 +0000
+++ auxiliary/MacOSX/Postfix.StartupItem/Postfix	2006-10-18 08:43:13.000000000 +0000
@@@@ -20,18 +20,18 @@@@
 # Start mail server
 ##
 
-if [ "$1" == "start" ]
+if [ "$1" = "start" ]
 then
 	if [ "${POSTFIX:=-NO-}" = "-YES-" ]
 	then
 		ConsoleMessage "Starting Postfix mail services"
 		/usr/sbin/postfix start
 	fi
-elif [ "$1" == "stop" ]
+elif [ "$1" = "stop" ]
 then
 	ConsoleMessage "Stopping Postfix mail services"
 	/usr/sbin/postfix stop
-elif [ "$1" == "restart" ]
+elif [ "$1" = "restart" ]
 then
 	if [ "${POSTFIX:=-NO-}" = "-YES-" ]
 	then
@


1.12
log
@Fix for test ... == ...
@
text
@d1 1
a1 1
$NetBSD$
@


1.11
log
@Updated mail/postfix to 2.2.6

Postfix 2.2 patch 06 catches up with minor fixes that were fielded
earlier in the experimental Postfix 2.3 snapshots.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.10 2004/08/10 16:49:47 schmonz Exp $
d3 5
a7 10
--- src/dns/dns.h.orig	Mon Apr 30 09:22:59 2001
+++ src/dns/dns.h
@@@@ -19,6 +19,9 @@@@
 #ifdef RESOLVE_H_NEEDS_STDIO_H
 #include <stdio.h>
 #endif
+#ifdef RESOLVE_H_NEEDS_NAMESER8_COMPAT_H
+#include <nameser8_compat.h>
+#endif
 #include <resolv.h>
d9 18
a26 1
  /*
@


1.10
log
@Define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H for Mac OS X, and include
<nameser8_compat.h> before <resolv.h> if it's defined.

Along with Johnny's recent buildlink3 fixes, this fixes the build
for me on Mac OS X Server 10.3.4. Should address pkg/26584.
@
text
@d1 1
a1 1
$NetBSD$
@


1.9
log
@Reduce the number of patches needed by Postfix by using the subst
framework and also by explicitly specifying more default values for
Postfix parameters.  Also pass -I/usr/pkg/include/sasl to the compiler
when building using Cyrus SASLv2, which allows me to remove the patches
that added an unnecessary USE_SASL2_AUTH check.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.8 2004/01/20 19:37:45 martin Exp $
d3 5
a7 16
--- src/lmtp/lmtp.h.orig	2003-09-10 02:48:03.000000000 +0200
+++ src/lmtp/lmtp.h	2004-01-20 20:30:12.000000000 +0100
@@@@ -11,10 +11,18 @@@@
  /*
   * SASL library.
   */
+#ifdef USE_SASL2_AUTH
+#ifndef USE_SASL_AUTH
+#define USE_SASL_AUTH
+#endif
+#include <sasl/sasl.h>
+#include <sasl/saslutil.h>
+#else
 #ifdef USE_SASL_AUTH
 #include <sasl.h>
 #include <saslutil.h>
d9 2
d12 1
a14 1
   * Utility library.
@


1.8
log
@Apply the SASL2 cure to smtp and lmtp to. This makes outgoing authenticated
mail work.
@
text
@d1 1
a1 1
$NetBSD$
@


1.7
log
@Remove 0-byte patch file.
@
text
@d1 23
@


1.6
log
@+ Use PKG_SYSCONFDIR (/usr/pkg/etc/postfix) instead of /etc/postfix for
  configuration.
+ Document how to use /etc/rc.conf.d/postfix on NetBSD 1.5 and newer
  to start /usr/pkg/sbin/postfix instead of /usr/sbin/postfix
+ Ensure that the postfix user and the postfix & maildrop groups exist.

Adds Darwin support, and prevents a working NetBSD postfix setup from being
broken on a "make install" of this package because the package used to
change /etc/postfix/{post-install,postfix-files,postfix-script}.

These changes are mostly from Amitai Schlair <schmonz@@netbsd.org>,
with some tweaks by me.  (Thanks Amitai!)
@
text
@@


1.5
log
@Updated postfix to 2.0.0.2

IMPORTANT: read the documents in /usr/pkg/share/doc/postfix/ before
upgrading from Postfix 1.1.

Hightlights:

- MIME support (including 8bit->7bit conversion and more
  accurate matching of MIME headers in message bodies)
- completely rewritten RBL client code
- smarter handling of DNS lookup errors in UCE restrictions
- virtual delivery agent without transport map for every domain
- a long list of other things that are meant to improve performance
  or functionality without compromising what already existed.
@
text
@a0 21
$NetBSD: patch-ab,v 1.4 2002/03/06 15:07:54 martti Exp $

--- src/util/sys_defs.h.orig	Sun Oct 13 17:00:52 2002
+++ src/util/sys_defs.h	Sat Dec 28 08:51:26 2002
@@@@ -52,11 +52,11 @@@@
 #define STATFS_IN_SYS_MOUNT_H
 #define HAS_POSIX_REGEXP
 #define HAS_ST_GEN	/* struct stat contains inode generation number */
-#define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
-#define NATIVE_MAILQ_PATH "/usr/bin/mailq"
-#define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
-#define NATIVE_COMMAND_DIR "/usr/sbin"
-#define NATIVE_DAEMON_DIR "/usr/libexec/postfix"
+#define NATIVE_SENDMAIL_PATH "__PREFIX/sbin/sendmail"
+#define NATIVE_MAILQ_PATH "__PREFIX/bin/mailq"
+#define NATIVE_NEWALIAS_PATH "__PREFIX/bin/newaliases"
+#define NATIVE_COMMAND_DIR "__PREFIX/sbin"
+#define NATIVE_DAEMON_DIR "__PREFIX/libexec/postfix"
 #endif
 
 #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4)
@


1.4
log
@Updated postfix to 1.1.4

Major changes with release-20010228
===================================

Postfix produces DSN formatted bounced/delayed mail notifications.
The human-readable text still exists, so that users will not have
to be unnecessarily confused by all the ugliness of RFC 1894.  Full
DSN support will be later.

This release introduces full content filtering through an external
process. This involves an incompatible change in queue file format.
Mail is delivered to content filtering software via an existing
mail delivery agent, and is re-injected into Postfix via an existing
mail submission agent.  See examples in the FILTER_README file.
Depending on how the filter is implemented, you can expect to lose
a factor of 2 to 4 in delivery performance of SMTP transit mail,
more if the content filtering software needs lots of CPU or memory.

Specify "body_checks = regexp:/etc/postfix/body_checks" for a quick
and dirty emergency content filter that looks at non-header lines
one line at a time (including MIME headers inside the message body).
Details in conf/sample-filter.cf.

The header_checks and body_checks features can be used to strip
out unwanted data. Specify IGNORE on the right-hand side and the
data will disappear from the mail.

Support for SASL (RFC 2554) authentication in the SMTP server and
in the SMTP and LMTP clients. See the SASL_README file for more
details. This file still needs better examples.

Postfix now ships with an LMTP delivery agent that can deliver over
local/remote TCP sockets and over local UNIX-domain sockets.  The
LMTP_README file gives example, but still needs to be revised.

Fast "ETRN" and "sendmail -qR".  Postfix maintains per-destination
logfiles with information about what mail is queued for selected
destinations.  See the file ETRN_README for details.

The mailbox locking style is now fully configurable at runtime.
The new configuration parameter is called "mailbox_delivery_lock".
Depending on the operating system type, mailboxes can be locked
with one or more of "flock", "fcntl" or "dotlock".  The command
"postconf -l" shows the available locking styles.  The default
mailbox locking style is system dependent.  This change affects
all mailbox and all "/file/name" deliveries by the Postfix local
delivery agent.
@
text
@d1 1
a1 1
$NetBSD$
d3 2
a4 2
--- src/util/sys_defs.h.orig	Tue Feb 12 13:46:16 2002
+++ src/util/sys_defs.h	Tue Feb 12 13:47:13 2002
d9 10
a18 10
-#define DEF_SENDMAIL_PATH "/usr/sbin/sendmail"
-#define DEF_MAILQ_PATH	"/usr/bin/mailq"
-#define DEF_NEWALIAS_PATH "/usr/bin/newaliases"
-#define DEF_COMMAND_DIR	"/usr/sbin"
-#define DEF_DAEMON_DIR	"/usr/libexec/postfix"
+#define DEF_SENDMAIL_PATH "__PREFIX/sbin/sendmail"
+#define DEF_MAILQ_PATH	"__PREFIX/bin/mailq"
+#define DEF_NEWALIAS_PATH "__PREFIX/bin/newaliases"
+#define DEF_COMMAND_DIR	"__PREFIX/sbin"
+#define DEF_DAEMON_DIR	"__PREFIX/libexec/postfix"
@


1.3
log
@Move files from postfix-current to postfix, as that's actually the
latest release (it's also in the base src).

Adresses PR 12426 by Martti Kuparinen <martti.kuparinen@@iki.fi>
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.2 1999/06/26 16:55:28 christos Exp $
d3 19
a21 35
--- Makefile.inc.orig	Sun May 30 18:49:12 1999
+++ Makefile.inc	Sun May 30 18:49:12 1999
@@@@ -0,0 +1,32 @@@@
+#	$NetBSD: patch-ab,v 1.2 1999/06/26 16:55:28 christos Exp $
+
+WARNS?=	0
+
+DOBJDIR!=cd $(.CURDIR)/../dns; \
+	printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
+
+MOBJDIR!=cd $(.CURDIR)/../masterlib; \
+	printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
+
+GOBJDIR!=cd $(.CURDIR)/../global; \
+	printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
+
+UOBJDIR!=cd $(.CURDIR)/../util; \
+	printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
+
+CPPFLAGS+= -Wno-comment -D@@OPSYS@@ -I${.CURDIR}/ \
+	-I${.CURDIR}/../master -I${.CURDIR}/../global -I${.CURDIR}/../util \
+	-I${.CURDIR}/../dns
+
+
+LIBPDNS=	${DOBJDIR}/libdns.a
+LIBPMASTER=	${MOBJDIR}/libmaster.a
+LIBPGLOBAL=	${GOBJDIR}/libglobal.a
+LIBPUTIL=	${UOBJDIR}/libutil.a
+
+#LDADD=    
+#DPADD=  ${MOBJDIR}/libmaster.a ${GOBJDIR}/libglobal.a ${UOBJDIR}/libutil.a
+
+.if exists(${.CURDIR}/../../Makefile.inc)
+.include "${.CURDIR}/../../Makefile.inc"
+.endif
@


1.2
log
@Make this work on linux (and possibly solaris) and fix a few hardcoded
path bugs:
- pass OPSYS to Makefile.inc, don't hardcode NETBSD1
- command_directory, daemon_directory, share_directory, man_directory
  were hard-coded to /usr/pkg, bleh!
- and so was the ROOT_PATH.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.1 1999/05/30 18:18:31 tron Exp $
d6 1
a6 1
+#	$NetBSD: patch-ab,v 1.1 1999/05/30 18:18:31 tron Exp $
@


1.1
log
@Patch one file per patch file.
@
text
@d1 1
a1 1
$NetBSD$
d6 1
a6 1
+#	$NetBSD: patch-aa,v 1.1 1999/05/29 20:57:19 christos Exp $
d22 1
a22 1
+CPPFLAGS+= -Wno-comment -DNETBSD1 -I${.CURDIR}/ \
@

