diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-12 09:08:16 +0000 | 
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-12 09:08:16 +0000 | 
| commit | 32b59b18f6999269de36c72f6beb2c4e68d7c13d (patch) | |
| tree | 5fb6ffa70446f321f0b902e7b2918781e0daf4ba | |
| parent | After repocopy from mail/postfix, add mail/postfix20 port with postfix 2.0.x (diff) | |
- Update to 2.1.0
PR:		ports/66215
Submitted by:	Vivek Khera <vivek@khera.org> (maintainer)
Notes
Notes:
    svn path=/head/; revision=108988
126 files changed, 2592 insertions, 2547 deletions
| diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 42370f14143b..814f157da47a 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for:	postfix-current +# New ports collection makefile for:	postfix  # Date created: 	18 Mar 1999  # Whom:			torstenb  # @@ -15,7 +15,7 @@  # NOTE: PCRE is enabled by default unless you specifically disable it.  PORTNAME=	postfix -PORTVERSION=	2.0.20 +PORTVERSION=	2.1.0  PORTEPOCH=	1  CATEGORIES=	mail ipv6  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ @@ -28,13 +28,10 @@ MASTER_SITE_SUBDIR=	. old related/postfix  DISTNAME=	postfix-${PORTVERSION}  DIST_SUBDIR=	${PORTNAME} -PATCH_SITES=	${MASTER_SITES} -PATCHFILES=	postfix-2.0-ns-mx-acl-patch.gz -  MAINTAINER=	vivek@khera.org  COMMENT=	A secure alternative to widely-used Sendmail -CONFLICTS=	courier-0.* postfix-1.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.* +CONFLICTS=	courier-0.* postfix-1.* postfix-2.0.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*  USE_SUBMAKE=	yes  USE_REINPLACE=	yes @@ -42,19 +39,34 @@ MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \  	postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postqueue.1 \  	postsuper.1 sendmail.1 -MAN5=	access.5 aliases.5 canonical.5 pcre_table.5 regexp_table.5 \ -	relocated.5 transport.5 virtual.5 +MAN5=	access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \ +	mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \ +	regexp_table.5 relocated.5 transport.5 virtual.5 \ +	header_checks.5 body_checks.5  MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \ -	master.8 nqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ -	smtp.8 smtpd.8 spawn.8 trivial-rewrite.8 virtual.8 +	master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ +	smtp.8 smtpd.8 spawn.8 trace.8 trivial-rewrite.8 verify.8 virtual.8  # TLS patch adds to MAN8 but doesn't have .html file, so avoid trying to  # patch it.  MAN8base=$(MAN8:S/tlsmgr.8//) -CONF1=	main.cf master.cf access aliases canonical pcre_table regexp_table \ -	relocated transport virtual +CONF1=	main.cf master.cf access aliases canonical header_checks relocated \ +	transport virtual + +README=	ADDRESS_CLASS_README ADDRESS_REWRITING_README \ +	ADDRESS_VERIFICATION_README BACKSCATTER_README \ +	BASIC_CONFIGURATION_README BUILTIN_FILTER_README \ +	CONTENT_INSPECTION_README CYRUS_README DATABASE_README DB_README \ +	DEBUG_README ETRN_README FILTER_README INSTALL LDAP_README \ +	LINUX_README LMTP_README LOCAL_RECIPIENT_README MAILDROP_README \ +	MYSQL_README NFS_README OVERVIEW PACKAGE_README PCRE_README \ +	PGSQL_README QMQP_README QSHAPE_README RESTRICTION_CLASS_README \ +	SASL_README SCHEDULER_README SMTPD_ACCESS_README SMTPD_POLICY_README \ +	SMTPD_PROXY_README STANDARD_CONFIGURATION_README TUNING_README \ +	ULTRIX_README UUCP_README VERP_README VIRTUAL_README \ +	XCLIENT_README XFORWARD_README  .if !defined(DEBUG)  MAKEFILEFLAGS+=	DEBUG= @@ -88,6 +100,7 @@ post-patch:  	${ECHO} "all: default" >> Makefile)  pre-patch: +	${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html  .for file in ${MAN1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html @@ -100,9 +113,11 @@ pre-patch:  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man8/${file} ${WRKSRC}/html/${file}.html  .endfor -.for file in faq rate rewrite uce +.for file in ${README}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/html/${file}.html +	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ +		${WRKSRC}/README_FILES/${file}  .endfor  .for file in ${CONF1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file} @@ -134,7 +149,7 @@ do-install:  .for file in ${CONF1}  	${INSTALL_DATA} ${WRKSRC}/conf/${file} \ -		${PREFIX}/etc/postfix/sample-${file} +		${PREFIX}/etc/postfix/dist-${file}  .endfor  	@${INSTALL_SCRIPT} \ @@ -143,14 +158,12 @@ do-install:  # optional TEST binaries  .for file in ${BIN1} -	@${INSTALL_PROGRAM} \ -		${WRKSRC}/src/smtpstone/${file} \ -		${PREFIX}/sbin +	@${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/sbin  .endfor  .if !defined(NOPORTDOCS)  	@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR} -	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} && \ +	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.jpg *.png ${DOCSDIR} && \  		${ECHO_MSG} "Installed HTML documentation in ${DOCSDIR}"  .endif diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo index 245924cb304b..28afa1a20582 100644 --- a/mail/postfix/distinfo +++ b/mail/postfix/distinfo @@ -1,9 +1,8 @@ -MD5 (postfix/postfix-2.0.20.tar.gz) = 92479b64d132262be505a17ec02bc2a8 -SIZE (postfix/postfix-2.0.20.tar.gz) = 1354414 -MD5 (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 55a3d76d52fddd5cd0365004957a1160 -SIZE (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 4673 -MD5 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 0d557a1331f0afc12b7decdc328947a1 -SIZE (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27423 -MD5 (postfix/pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz) = b39c08eabe807db4af5bcb1cafc9761e -MD5 (postfix/ipv6-1.21-pf-2.0.18.patch.gz) = f30495d44b140239df02a0599d280d68 -MD5 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 8d273f922352a0ff32c57c29bec26b46 +MD5 (postfix/postfix-2.1.0.tar.gz) = 286856c9597cfa244c3b6133dce12749 +SIZE (postfix/postfix-2.1.0.tar.gz) = 1992845 +MD5 (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 01785d9636bdae51a906320e581b1e6b +SIZE (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 239141 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 diff --git a/mail/postfix/files/patch-ea b/mail/postfix/files/patch-ea deleted file mode 100644 index 6c3f98d2af4f..000000000000 --- a/mail/postfix/files/patch-ea +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/cleanup/cleanup.c.orig	Sun May 28 18:33:41 2000 ---- ./src/cleanup/cleanup.c	Thu Jun  1 21:52:22 2000 -*************** -*** 118,121 **** -  /* FILES -! /*	/etc/postfix/canonical*, canonical mapping table -! /*	/etc/postfix/virtual*, virtual mapping table -  /* LICENSE ---- 118,121 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/canonical*, canonical mapping table -! /*	!!PREFIX!!/etc/postfix/virtual*, virtual mapping table -  /* LICENSE diff --git a/mail/postfix/files/patch-eb b/mail/postfix/files/patch-eb deleted file mode 100644 index e67680963d2d..000000000000 --- a/mail/postfix/files/patch-eb +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/global/mail_conf.c.orig	Sun May  7 18:51:16 2000 ---- ./src/global/mail_conf.c	Thu Jun  1 22:16:29 2000 -*************** -*** 53,55 **** -  /* FILES -! /*	/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT ---- 53,55 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT diff --git a/mail/postfix/files/patch-ec b/mail/postfix/files/patch-ec index 5f5d1ad9cadc..a3f617235fba 100644 --- a/mail/postfix/files/patch-ec +++ b/mail/postfix/files/patch-ec @@ -1,41 +1,53 @@ -*** ./src/global/mail_params.h.orig	Thu Jan  3 13:13:37 2002 ---- ./src/global/mail_params.h	Tue Jan  8 22:18:22 2002 +*** ./src/global/mail_params.h.orig	Sat Jan 17 10:04:00 2004 +--- ./src/global/mail_params.h	Fri Jan 30 14:48:23 2004  *************** -*** 51,55 **** +*** 64,70 **** +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"postdrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; ---- 51,55 ---- +   +--- 64,70 ---- +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"maildrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; +    *************** -*** 170,174 **** -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"/usr/libexec/postfix" +*** 202,208 **** +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"/usr/libexec/postfix"    #endif +  extern char *var_daemon_dir; ---- 170,174 ---- -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"!!PREFIX!!/libexec/postfix" +--- 202,208 ---- +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"!!PREFIX!!/libexec/postfix"    #endif +  extern char *var_daemon_dir;  *************** -*** 204,208 **** +*** 231,237 **** +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"/etc/postfix"    #endif    extern char *var_config_dir; ---- 204,208 ---- +   +--- 231,237 ---- +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"!!PREFIX!!/etc/postfix"    #endif    extern char *var_config_dir; +   diff --git a/mail/postfix/files/patch-ed b/mail/postfix/files/patch-ed deleted file mode 100644 index f971b62720d8..000000000000 --- a/mail/postfix/files/patch-ed +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/local/mailbox.c.orig	Fri Apr 28 16:55:53 2000 ---- ./src/local/mailbox.c	Thu Jun  1 22:37:48 2000 -*************** -*** 15,17 **** -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/[spool/]mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; ---- 15,17 ---- -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; diff --git a/mail/postfix/files/patch-ee b/mail/postfix/files/patch-ee deleted file mode 100644 index ef44eac24b73..000000000000 --- a/mail/postfix/files/patch-ee +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/master/master.c.orig	Tue Mar  7 10:25:07 2000 ---- ./src/master/master.c	Thu Jun  1 22:43:50 2000 -*************** -*** 104,107 **** -  /* FILES -! /*	/etc/postfix/main.cf: global configuration file. -! /*	/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. ---- 104,107 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/main.cf: global configuration file. -! /*	!!PREFIX!!/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. diff --git a/mail/postfix/files/patch-ef b/mail/postfix/files/patch-ef deleted file mode 100644 index 586b304a103d..000000000000 --- a/mail/postfix/files/patch-ef +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/postdrop/postdrop.c.orig	Sun Apr 25 18:05:43 1999 ---- ./src/postdrop/postdrop.c	Thu Jun  1 22:44:22 2000 -*************** -*** 39,41 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 39,41 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix/files/patch-eg b/mail/postfix/files/patch-eg deleted file mode 100644 index 2983bbfd86ea..000000000000 --- a/mail/postfix/files/patch-eg +++ /dev/null @@ -1,20 +0,0 @@ -*** ./src/sendmail/sendmail.c.orig	Tue Mar 14 10:42:06 2000 ---- ./src/sendmail/sendmail.c	Thu Jun  1 22:47:24 2000 -*************** -*** 57,59 **** -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR ---- 57,59 ---- -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB!!PREFIX!!/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR -*************** -*** 159,161 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 159,161 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix/files/patch-eh b/mail/postfix/files/patch-eh deleted file mode 100644 index c104c3680d21..000000000000 --- a/mail/postfix/files/patch-eh +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/trivial-rewrite/transport.c.orig	Tue Nov 16 19:15:41 1999 ---- ./src/trivial-rewrite/transport.c	Thu Jun  1 22:47:49 2000 -*************** -*** 32,34 **** -  /* FILES -! /*	/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS ---- 32,34 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix/files/patch-main.cf b/mail/postfix/files/patch-main.cf index 6281b6b6d7f1..7775cd80efb2 100644 --- a/mail/postfix/files/patch-main.cf +++ b/mail/postfix/files/patch-main.cf @@ -1,58 +1,108 @@ ---- ./conf/main.cf	Wed Jan  8 22:11:52 2003 -+++ ./conf/main.cf	Wed Jan  8 22:11:53 2003 -@@ -31,13 +31,13 @@ - # The command_directory parameter specifies the location of all - # postXXX commands. - # --command_directory = /usr/sbin -+command_directory = !!PREFIX!!/sbin -  - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # --daemon_directory = /usr/libexec/postfix -+daemon_directory = !!PREFIX!!/libexec/postfix -  - # QUEUE AND PROCESS OWNERSHIP - # -@@ -590,32 +590,32 @@ - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - #  --sendmail_path = -+sendmail_path = !!PREFIX!!/sbin/sendmail -  - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # --newaliases_path = -+newaliases_path = !!PREFIX!!/bin/newaliases -  - # mailq_path: The full pathname of the Postfix mailq command.  This - # is the Sendmail-compatible mail queue listing command. - #  --mailq_path = -+mailq_path = !!PREFIX!!/bin/mailq -  - # setgid_group: The group for mail submission and queue management - # commands.  This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # --setgid_group = -+setgid_group = maildrop -  - # manpage_directory: The location of the Postfix on-line manual pages. - # --manpage_directory = -+manpage_directory = !!PREFIX!!/man -  - # sample_directory: The location of the Postfix sample configuration files. - # --sample_directory = -+sample_directory = !!PREFIX!!/etc/postfix -  - # readme_directory: The location of the Postfix README files. - # --readme_directory = -+readme_directory = no +*** ./conf/main.cf~	Mon Apr 26 16:54:42 2004 +--- ./conf/main.cf	Mon Apr 26 16:54:42 2004 +*************** +*** 32,44 **** +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = /usr/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = /usr/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +--- 32,44 ---- +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = !!PREFIX!!/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = !!PREFIX!!/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +*************** +*** 595,631 **** +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = +--- 595,631 ---- +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = !!PREFIX!!/sbin/sendmail +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = !!PREFIX!!/bin/newaliases +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = !!PREFIX!!/bin/mailq +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = maildrop +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = no +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = !!PREFIX!!/man +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = !!PREFIX!!/etc/postfix +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = no diff --git a/mail/postfix/pkg-install b/mail/postfix/pkg-install index 44a1d6cbacc2..5765d42430c1 100644 --- a/mail/postfix/pkg-install +++ b/mail/postfix/pkg-install @@ -118,13 +118,14 @@ if [ x"$2" = xPRE-INSTALL ]; then  fi  if [ x"$2" = xPOST-INSTALL ]; then -	CONF1="main.cf master.cf access aliases canonical pcre_table \ -	regexp_table relocated transport virtual" +	# CONF1 copied from Makefile.  Keep consistent! +	CONF1="main.cf master.cf access aliases canonical \ +	header_checks relocated transport virtual"  	for file in $CONF1  	do  	        if [ ! -f ${PKG_PREFIX}/etc/postfix/$file ]; then -        	        cp ${PKG_PREFIX}/etc/postfix/sample-$file ${PKG_PREFIX}/etc/postfix/$file +        	        cp ${PKG_PREFIX}/etc/postfix/dist-$file ${PKG_PREFIX}/etc/postfix/$file  	        fi  	done diff --git a/mail/postfix/pkg-plist b/mail/postfix/pkg-plist index 09f2ca9027a0..23f7b45d2de0 100644 --- a/mail/postfix/pkg-plist +++ b/mail/postfix/pkg-plist @@ -1,58 +1,27 @@ -@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi -@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi -@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/sample-access; then rm -f %D/etc/postfix/access; fi -@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/sample-aliases; then rm -f %D/etc/postfix/aliases; fi -@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/sample-canonical; then rm -f %D/etc/postfix/canonical; fi -@unexec if cmp -s %D/etc/postfix/pcre_table %D/etc/postfix/sample-pcre_table; then rm -f %D/etc/postfix/pcre_table; fi -@unexec if cmp -s %D/etc/postfix/regexp_table %D/etc/postfix/sample-regexp_table; then rm -f %D/etc/postfix/regexp_table; fi -@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/sample-relocated; then rm -f %D/etc/postfix/relocated; fi -@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/sample-transport; then rm -f %D/etc/postfix/transport; fi -@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/sample-virtual; then rm -f %D/etc/postfix/virtual; fi -bin/rmail +@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/dist-main.cf; then rm -f %D/etc/postfix/main.cf; fi +@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/dist-master.cf; then rm -f %D/etc/postfix/master.cf; fi +@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/dist-access; then rm -f %D/etc/postfix/access; fi +@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/dist-aliases; then rm -f %D/etc/postfix/aliases; fi +@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/dist-canonical; then rm -f %D/etc/postfix/canonical; fi +@unexec if cmp -s %D/etc/postfix/header_checks %D/etc/postfix/dist-header_checks; then rm -f %D/etc/postfix/header_checks; fi +@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/dist-relocated; then rm -f %D/etc/postfix/relocated; fi +@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/dist-transport; then rm -f %D/etc/postfix/transport; fi +@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/dist-virtual; then rm -f %D/etc/postfix/virtual; fi  etc/postfix/LICENSE  etc/postfix/main.cf.default +etc/postfix/makedefs.out  etc/postfix/post-install  etc/postfix/postfix-files  etc/postfix/postfix-script -etc/postfix/sample-access -etc/postfix/sample-aliases -etc/postfix/sample-canonical -etc/postfix/sample-pcre_table -etc/postfix/sample-regexp_table -etc/postfix/sample-relocated -etc/postfix/sample-aliases.cf -etc/postfix/sample-auth.cf -etc/postfix/sample-canonical.cf -etc/postfix/sample-compatibility.cf -etc/postfix/sample-debug.cf -etc/postfix/sample-filter.cf -etc/postfix/sample-flush.cf -%%SUB_IPV6%%etc/postfix/sample-ipv6.cf -etc/postfix/sample-ldap.cf -etc/postfix/sample-lmtp.cf -etc/postfix/sample-local.cf -etc/postfix/sample-main.cf -etc/postfix/sample-master.cf -etc/postfix/sample-mime.cf -etc/postfix/sample-misc.cf -etc/postfix/sample-pcre-access.cf -etc/postfix/sample-pcre-body.cf -etc/postfix/sample-pcre-header.cf -etc/postfix/sample-qmqpd.cf -etc/postfix/sample-rate.cf -etc/postfix/sample-regexp-access.cf -etc/postfix/sample-regexp-body.cf -etc/postfix/sample-regexp-header.cf -etc/postfix/sample-relocated.cf -etc/postfix/sample-resource.cf -etc/postfix/sample-rewrite.cf -etc/postfix/sample-smtp.cf -etc/postfix/sample-smtpd.cf -etc/postfix/sample-transport.cf -etc/postfix/sample-virtual.cf -etc/postfix/sample-transport -etc/postfix/sample-virtual -%%SUB_TLS%%etc/postfix/sample-tls.cf +etc/postfix/dist-main.cf +etc/postfix/dist-master.cf +etc/postfix/dist-access +etc/postfix/dist-aliases +etc/postfix/dist-canonical +etc/postfix/dist-header_checks +etc/postfix/dist-relocated +etc/postfix/dist-transport +etc/postfix/dist-virtual  libexec/postfix/bounce  libexec/postfix/cleanup  libexec/postfix/error @@ -61,6 +30,7 @@ libexec/postfix/lmtp  libexec/postfix/local  libexec/postfix/master  libexec/postfix/nqmgr +libexec/postfix/oqmgr  libexec/postfix/pickup  libexec/postfix/pipe  libexec/postfix/proxymap @@ -71,6 +41,7 @@ libexec/postfix/smtp  libexec/postfix/smtpd  libexec/postfix/spawn  libexec/postfix/trivial-rewrite +libexec/postfix/verify  libexec/postfix/virtual  %%SUB_TLS%%libexec/postfix/tlsmgr  sbin/postalias @@ -85,69 +56,127 @@ sbin/postmap  sbin/postqueue  sbin/postsuper  sbin/sendmail -bin/newaliases -bin/mailq +%%SUB_TEST%%sbin/qmqp-source  %%SUB_TEST%%sbin/smtp-sink  %%SUB_TEST%%sbin/smtp-source +bin/rmail +bin/newaliases +bin/mailq +%%PORTDOCS%%%%DOCSDIR%%/AAAREADME  %%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README.html +%%PORTDOCS%%%%DOCSDIR%%/CYRUS_README.html +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README.html  %%PORTDOCS%%%%DOCSDIR%%/DB_README +%%PORTDOCS%%%%DOCSDIR%%/DB_README.html  %%PORTDOCS%%%%DOCSDIR%%/DEBUG_README +%%PORTDOCS%%%%DOCSDIR%%/DEBUG_README.html  %%PORTDOCS%%%%DOCSDIR%%/ETRN_README +%%PORTDOCS%%%%DOCSDIR%%/ETRN_README.html  %%PORTDOCS%%%%DOCSDIR%%/FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/FILTER_README.html  %%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html  %%PORTDOCS%%%%SUB_IPV6%%%%DOCSDIR%%/IPV6_README  %%PORTDOCS%%%%DOCSDIR%%/LDAP_README +%%PORTDOCS%%%%DOCSDIR%%/LDAP_README.html  %%PORTDOCS%%%%DOCSDIR%%/LINUX_README -%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LINUX_README.html  %%PORTDOCS%%%%DOCSDIR%%/LMTP_README -%%PORTDOCS%%%%DOCSDIR%%/MACOSX_README +%%PORTDOCS%%%%DOCSDIR%%/LMTP_README.html +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README.html  %%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README +%%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README.html  %%PORTDOCS%%%%DOCSDIR%%/MYSQL_README +%%PORTDOCS%%%%DOCSDIR%%/MYSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/NFS_README +%%PORTDOCS%%%%DOCSDIR%%/NFS_README.html +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW.html  %%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README +%%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README.html  %%PORTDOCS%%%%DOCSDIR%%/PCRE_README +%%PORTDOCS%%%%DOCSDIR%%/PCRE_README.html +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/QMQP_README +%%PORTDOCS%%%%DOCSDIR%%/QMQP_README.html +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README.html  %%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES  %%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README.html  %%PORTDOCS%%%%DOCSDIR%%/SASL_README +%%PORTDOCS%%%%DOCSDIR%%/SASL_README.html +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README.html +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README.html  %%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README +%%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README.html  %%PORTDOCS%%%%DOCSDIR%%/UUCP_README +%%PORTDOCS%%%%DOCSDIR%%/UUCP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VERP_README +%%PORTDOCS%%%%DOCSDIR%%/VERP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README +%%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README.html +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README.html +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README.html  %%PORTDOCS%%%%DOCSDIR%%/access.5.html  %%PORTDOCS%%%%DOCSDIR%%/aliases.5.html -%%PORTDOCS%%%%DOCSDIR%%/architecture.html -%%PORTDOCS%%%%DOCSDIR%%/backstage.html -%%PORTDOCS%%%%DOCSDIR%%/basic.html -%%PORTDOCS%%%%DOCSDIR%%/big-picture.gif -%%PORTDOCS%%%%DOCSDIR%%/big-picture.html +%%PORTDOCS%%%%DOCSDIR%%/body_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/bounce.8.html  %%PORTDOCS%%%%DOCSDIR%%/canonical.5.html +%%PORTDOCS%%%%DOCSDIR%%/cidr_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/cleanup.8.html -%%PORTDOCS%%%%DOCSDIR%%/commands.html  %%PORTDOCS%%%%DOCSDIR%%/defer.8.html -%%PORTDOCS%%%%DOCSDIR%%/delivering.html  %%PORTDOCS%%%%DOCSDIR%%/error.8.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html  %%PORTDOCS%%%%DOCSDIR%%/flush.8.html -%%PORTDOCS%%%%DOCSDIR%%/goals.html -%%PORTDOCS%%%%DOCSDIR%%/inbound.gif +%%PORTDOCS%%%%DOCSDIR%%/header_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/ldap_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/lmtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/local.8.html  %%PORTDOCS%%%%DOCSDIR%%/mailq.1.html  %%PORTDOCS%%%%DOCSDIR%%/master.8.html -%%PORTDOCS%%%%DOCSDIR%%/motivation.html +%%PORTDOCS%%%%DOCSDIR%%/mysql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/newaliases.1.html -%%PORTDOCS%%%%DOCSDIR%%/nqmgr.8.html -%%PORTDOCS%%%%DOCSDIR%%/outbound.gif +%%PORTDOCS%%%%DOCSDIR%%/oqmgr.8.html  %%PORTDOCS%%%%DOCSDIR%%/pcre_table.5.html +%%PORTDOCS%%%%DOCSDIR%%/pgsql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/pickup.8.html  %%PORTDOCS%%%%DOCSDIR%%/pipe.8.html  %%PORTDOCS%%%%DOCSDIR%%/postalias.1.html  %%PORTDOCS%%%%DOCSDIR%%/postcat.1.html  %%PORTDOCS%%%%DOCSDIR%%/postconf.1.html +%%PORTDOCS%%%%DOCSDIR%%/postconf.5.html  %%PORTDOCS%%%%DOCSDIR%%/postdrop.1.html +%%PORTDOCS%%%%DOCSDIR%%/postfix-logo.jpg +%%PORTDOCS%%%%DOCSDIR%%/postfix-power.png  %%PORTDOCS%%%%DOCSDIR%%/postfix.1.html  %%PORTDOCS%%%%DOCSDIR%%/postkick.1.html  %%PORTDOCS%%%%DOCSDIR%%/postlock.1.html @@ -157,24 +186,23 @@ bin/mailq  %%PORTDOCS%%%%DOCSDIR%%/postsuper.1.html  %%PORTDOCS%%%%DOCSDIR%%/proxymap.8.html  %%PORTDOCS%%%%DOCSDIR%%/qmgr.8.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/qmqpd.8.html -%%PORTDOCS%%%%DOCSDIR%%/queuing.html -%%PORTDOCS%%%%DOCSDIR%%/rate.html -%%PORTDOCS%%%%DOCSDIR%%/receiving.html +%%PORTDOCS%%%%DOCSDIR%%/qshape.1.html  %%PORTDOCS%%%%DOCSDIR%%/regexp_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/relocated.5.html -%%PORTDOCS%%%%DOCSDIR%%/resource.html -%%PORTDOCS%%%%DOCSDIR%%/rewrite.html -%%PORTDOCS%%%%DOCSDIR%%/security.html  %%PORTDOCS%%%%DOCSDIR%%/sendmail.1.html  %%PORTDOCS%%%%DOCSDIR%%/showq.8.html -%%PORTDOCS%%%%DOCSDIR%%/small-picture.gif +%%PORTDOCS%%%%DOCSDIR%%/smtp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/smtp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/smtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/smtpd.8.html  %%PORTDOCS%%%%DOCSDIR%%/spawn.8.html +%%PORTDOCS%%%%DOCSDIR%%/trace.8.html  %%PORTDOCS%%%%DOCSDIR%%/transport.5.html  %%PORTDOCS%%%%DOCSDIR%%/trivial-rewrite.8.html -%%PORTDOCS%%%%DOCSDIR%%/uce.html +%%PORTDOCS%%%%DOCSDIR%%/verify.8.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.5.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.8.html  %%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/mail/postfix/scripts/configure.postfix b/mail/postfix/scripts/configure.postfix index 69b354a6a630..97868f6b28ba 100644 --- a/mail/postfix/scripts/configure.postfix +++ b/mail/postfix/scripts/configure.postfix @@ -1,5 +1,5 @@  #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.46 2004-03-29 16:13:44 pav Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.47 2004-05-12 09:08:16 pav Exp $  if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then  	exit @@ -34,7 +34,7 @@ MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL"  PgSQL		"PostgreSQL v7.4 map lookups" "$status_PgSQL" \  PgSQL73		"PostgreSQL v7.3 map lookups" "$status_PgSQL73" \  PgSQL72		"PostgreSQL v7.2 map lookups" "$status_PgSQL72" \ -OpenLDAP	"OpenLDAP map lookups (choose ver. with WANT_OPENLDAP_VER)" "$status_OpenLDAP" \ +OpenLDAP	"OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \  Test		"SMTP/LMTP test server and generator" "$status_Test" \  2> $tempfile @@ -108,8 +108,8 @@ while [ "$1" ]; do  			echo "USE_OPENSSL=	yes"  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto" -			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz" -			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff" +			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz" +			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.18-2.1.0-0.9.7d/pfixtls.diff"  			echo "PATCH_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls"  			SUB_TLS="" @@ -173,9 +173,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL73) @@ -183,9 +180,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL72) @@ -193,9 +187,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		OpenLDAP) @@ -205,7 +196,8 @@ while [ "$1" ]; do  			echo "OPENLDAP_SUFFIX=	+openldap"  			;;  		Test) -			echo "BIN1=		smtp-sink smtp-source" +			echo "BIN1=		smtp-sink smtp-source qmqp-source" +#			echo "MAN1+=		smtp-sink.1 smtp-source.1 qmqp-sink.1 qmqp-source.1"  			SUB_TEST=""  			;;  		IPv6) @@ -215,7 +207,7 @@ while [ "$1" ]; do  				exit 1  			fi  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "IPv6_SUFFIX=	+ipv6"  			echo "" @@ -233,7 +225,7 @@ while [ "$1" ]; do  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto"  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	tls+ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	tls+ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls+ipv6"  			SUB_TLS="" diff --git a/mail/postfix21/Makefile b/mail/postfix21/Makefile index 42370f14143b..814f157da47a 100644 --- a/mail/postfix21/Makefile +++ b/mail/postfix21/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for:	postfix-current +# New ports collection makefile for:	postfix  # Date created: 	18 Mar 1999  # Whom:			torstenb  # @@ -15,7 +15,7 @@  # NOTE: PCRE is enabled by default unless you specifically disable it.  PORTNAME=	postfix -PORTVERSION=	2.0.20 +PORTVERSION=	2.1.0  PORTEPOCH=	1  CATEGORIES=	mail ipv6  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ @@ -28,13 +28,10 @@ MASTER_SITE_SUBDIR=	. old related/postfix  DISTNAME=	postfix-${PORTVERSION}  DIST_SUBDIR=	${PORTNAME} -PATCH_SITES=	${MASTER_SITES} -PATCHFILES=	postfix-2.0-ns-mx-acl-patch.gz -  MAINTAINER=	vivek@khera.org  COMMENT=	A secure alternative to widely-used Sendmail -CONFLICTS=	courier-0.* postfix-1.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.* +CONFLICTS=	courier-0.* postfix-1.* postfix-2.0.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*  USE_SUBMAKE=	yes  USE_REINPLACE=	yes @@ -42,19 +39,34 @@ MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \  	postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postqueue.1 \  	postsuper.1 sendmail.1 -MAN5=	access.5 aliases.5 canonical.5 pcre_table.5 regexp_table.5 \ -	relocated.5 transport.5 virtual.5 +MAN5=	access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \ +	mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \ +	regexp_table.5 relocated.5 transport.5 virtual.5 \ +	header_checks.5 body_checks.5  MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \ -	master.8 nqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ -	smtp.8 smtpd.8 spawn.8 trivial-rewrite.8 virtual.8 +	master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ +	smtp.8 smtpd.8 spawn.8 trace.8 trivial-rewrite.8 verify.8 virtual.8  # TLS patch adds to MAN8 but doesn't have .html file, so avoid trying to  # patch it.  MAN8base=$(MAN8:S/tlsmgr.8//) -CONF1=	main.cf master.cf access aliases canonical pcre_table regexp_table \ -	relocated transport virtual +CONF1=	main.cf master.cf access aliases canonical header_checks relocated \ +	transport virtual + +README=	ADDRESS_CLASS_README ADDRESS_REWRITING_README \ +	ADDRESS_VERIFICATION_README BACKSCATTER_README \ +	BASIC_CONFIGURATION_README BUILTIN_FILTER_README \ +	CONTENT_INSPECTION_README CYRUS_README DATABASE_README DB_README \ +	DEBUG_README ETRN_README FILTER_README INSTALL LDAP_README \ +	LINUX_README LMTP_README LOCAL_RECIPIENT_README MAILDROP_README \ +	MYSQL_README NFS_README OVERVIEW PACKAGE_README PCRE_README \ +	PGSQL_README QMQP_README QSHAPE_README RESTRICTION_CLASS_README \ +	SASL_README SCHEDULER_README SMTPD_ACCESS_README SMTPD_POLICY_README \ +	SMTPD_PROXY_README STANDARD_CONFIGURATION_README TUNING_README \ +	ULTRIX_README UUCP_README VERP_README VIRTUAL_README \ +	XCLIENT_README XFORWARD_README  .if !defined(DEBUG)  MAKEFILEFLAGS+=	DEBUG= @@ -88,6 +100,7 @@ post-patch:  	${ECHO} "all: default" >> Makefile)  pre-patch: +	${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html  .for file in ${MAN1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html @@ -100,9 +113,11 @@ pre-patch:  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man8/${file} ${WRKSRC}/html/${file}.html  .endfor -.for file in faq rate rewrite uce +.for file in ${README}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/html/${file}.html +	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ +		${WRKSRC}/README_FILES/${file}  .endfor  .for file in ${CONF1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file} @@ -134,7 +149,7 @@ do-install:  .for file in ${CONF1}  	${INSTALL_DATA} ${WRKSRC}/conf/${file} \ -		${PREFIX}/etc/postfix/sample-${file} +		${PREFIX}/etc/postfix/dist-${file}  .endfor  	@${INSTALL_SCRIPT} \ @@ -143,14 +158,12 @@ do-install:  # optional TEST binaries  .for file in ${BIN1} -	@${INSTALL_PROGRAM} \ -		${WRKSRC}/src/smtpstone/${file} \ -		${PREFIX}/sbin +	@${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/sbin  .endfor  .if !defined(NOPORTDOCS)  	@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR} -	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} && \ +	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.jpg *.png ${DOCSDIR} && \  		${ECHO_MSG} "Installed HTML documentation in ${DOCSDIR}"  .endif diff --git a/mail/postfix21/distinfo b/mail/postfix21/distinfo index 245924cb304b..28afa1a20582 100644 --- a/mail/postfix21/distinfo +++ b/mail/postfix21/distinfo @@ -1,9 +1,8 @@ -MD5 (postfix/postfix-2.0.20.tar.gz) = 92479b64d132262be505a17ec02bc2a8 -SIZE (postfix/postfix-2.0.20.tar.gz) = 1354414 -MD5 (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 55a3d76d52fddd5cd0365004957a1160 -SIZE (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 4673 -MD5 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 0d557a1331f0afc12b7decdc328947a1 -SIZE (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27423 -MD5 (postfix/pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz) = b39c08eabe807db4af5bcb1cafc9761e -MD5 (postfix/ipv6-1.21-pf-2.0.18.patch.gz) = f30495d44b140239df02a0599d280d68 -MD5 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 8d273f922352a0ff32c57c29bec26b46 +MD5 (postfix/postfix-2.1.0.tar.gz) = 286856c9597cfa244c3b6133dce12749 +SIZE (postfix/postfix-2.1.0.tar.gz) = 1992845 +MD5 (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 01785d9636bdae51a906320e581b1e6b +SIZE (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 239141 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 diff --git a/mail/postfix21/files/patch-ea b/mail/postfix21/files/patch-ea deleted file mode 100644 index 6c3f98d2af4f..000000000000 --- a/mail/postfix21/files/patch-ea +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/cleanup/cleanup.c.orig	Sun May 28 18:33:41 2000 ---- ./src/cleanup/cleanup.c	Thu Jun  1 21:52:22 2000 -*************** -*** 118,121 **** -  /* FILES -! /*	/etc/postfix/canonical*, canonical mapping table -! /*	/etc/postfix/virtual*, virtual mapping table -  /* LICENSE ---- 118,121 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/canonical*, canonical mapping table -! /*	!!PREFIX!!/etc/postfix/virtual*, virtual mapping table -  /* LICENSE diff --git a/mail/postfix21/files/patch-eb b/mail/postfix21/files/patch-eb deleted file mode 100644 index e67680963d2d..000000000000 --- a/mail/postfix21/files/patch-eb +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/global/mail_conf.c.orig	Sun May  7 18:51:16 2000 ---- ./src/global/mail_conf.c	Thu Jun  1 22:16:29 2000 -*************** -*** 53,55 **** -  /* FILES -! /*	/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT ---- 53,55 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT diff --git a/mail/postfix21/files/patch-ec b/mail/postfix21/files/patch-ec index 5f5d1ad9cadc..a3f617235fba 100644 --- a/mail/postfix21/files/patch-ec +++ b/mail/postfix21/files/patch-ec @@ -1,41 +1,53 @@ -*** ./src/global/mail_params.h.orig	Thu Jan  3 13:13:37 2002 ---- ./src/global/mail_params.h	Tue Jan  8 22:18:22 2002 +*** ./src/global/mail_params.h.orig	Sat Jan 17 10:04:00 2004 +--- ./src/global/mail_params.h	Fri Jan 30 14:48:23 2004  *************** -*** 51,55 **** +*** 64,70 **** +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"postdrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; ---- 51,55 ---- +   +--- 64,70 ---- +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"maildrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; +    *************** -*** 170,174 **** -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"/usr/libexec/postfix" +*** 202,208 **** +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"/usr/libexec/postfix"    #endif +  extern char *var_daemon_dir; ---- 170,174 ---- -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"!!PREFIX!!/libexec/postfix" +--- 202,208 ---- +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"!!PREFIX!!/libexec/postfix"    #endif +  extern char *var_daemon_dir;  *************** -*** 204,208 **** +*** 231,237 **** +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"/etc/postfix"    #endif    extern char *var_config_dir; ---- 204,208 ---- +   +--- 231,237 ---- +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"!!PREFIX!!/etc/postfix"    #endif    extern char *var_config_dir; +   diff --git a/mail/postfix21/files/patch-ed b/mail/postfix21/files/patch-ed deleted file mode 100644 index f971b62720d8..000000000000 --- a/mail/postfix21/files/patch-ed +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/local/mailbox.c.orig	Fri Apr 28 16:55:53 2000 ---- ./src/local/mailbox.c	Thu Jun  1 22:37:48 2000 -*************** -*** 15,17 **** -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/[spool/]mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; ---- 15,17 ---- -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; diff --git a/mail/postfix21/files/patch-ee b/mail/postfix21/files/patch-ee deleted file mode 100644 index ef44eac24b73..000000000000 --- a/mail/postfix21/files/patch-ee +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/master/master.c.orig	Tue Mar  7 10:25:07 2000 ---- ./src/master/master.c	Thu Jun  1 22:43:50 2000 -*************** -*** 104,107 **** -  /* FILES -! /*	/etc/postfix/main.cf: global configuration file. -! /*	/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. ---- 104,107 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/main.cf: global configuration file. -! /*	!!PREFIX!!/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. diff --git a/mail/postfix21/files/patch-ef b/mail/postfix21/files/patch-ef deleted file mode 100644 index 586b304a103d..000000000000 --- a/mail/postfix21/files/patch-ef +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/postdrop/postdrop.c.orig	Sun Apr 25 18:05:43 1999 ---- ./src/postdrop/postdrop.c	Thu Jun  1 22:44:22 2000 -*************** -*** 39,41 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 39,41 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix21/files/patch-eg b/mail/postfix21/files/patch-eg deleted file mode 100644 index 2983bbfd86ea..000000000000 --- a/mail/postfix21/files/patch-eg +++ /dev/null @@ -1,20 +0,0 @@ -*** ./src/sendmail/sendmail.c.orig	Tue Mar 14 10:42:06 2000 ---- ./src/sendmail/sendmail.c	Thu Jun  1 22:47:24 2000 -*************** -*** 57,59 **** -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR ---- 57,59 ---- -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB!!PREFIX!!/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR -*************** -*** 159,161 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 159,161 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix21/files/patch-eh b/mail/postfix21/files/patch-eh deleted file mode 100644 index c104c3680d21..000000000000 --- a/mail/postfix21/files/patch-eh +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/trivial-rewrite/transport.c.orig	Tue Nov 16 19:15:41 1999 ---- ./src/trivial-rewrite/transport.c	Thu Jun  1 22:47:49 2000 -*************** -*** 32,34 **** -  /* FILES -! /*	/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS ---- 32,34 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix21/files/patch-main.cf b/mail/postfix21/files/patch-main.cf index 6281b6b6d7f1..7775cd80efb2 100644 --- a/mail/postfix21/files/patch-main.cf +++ b/mail/postfix21/files/patch-main.cf @@ -1,58 +1,108 @@ ---- ./conf/main.cf	Wed Jan  8 22:11:52 2003 -+++ ./conf/main.cf	Wed Jan  8 22:11:53 2003 -@@ -31,13 +31,13 @@ - # The command_directory parameter specifies the location of all - # postXXX commands. - # --command_directory = /usr/sbin -+command_directory = !!PREFIX!!/sbin -  - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # --daemon_directory = /usr/libexec/postfix -+daemon_directory = !!PREFIX!!/libexec/postfix -  - # QUEUE AND PROCESS OWNERSHIP - # -@@ -590,32 +590,32 @@ - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - #  --sendmail_path = -+sendmail_path = !!PREFIX!!/sbin/sendmail -  - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # --newaliases_path = -+newaliases_path = !!PREFIX!!/bin/newaliases -  - # mailq_path: The full pathname of the Postfix mailq command.  This - # is the Sendmail-compatible mail queue listing command. - #  --mailq_path = -+mailq_path = !!PREFIX!!/bin/mailq -  - # setgid_group: The group for mail submission and queue management - # commands.  This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # --setgid_group = -+setgid_group = maildrop -  - # manpage_directory: The location of the Postfix on-line manual pages. - # --manpage_directory = -+manpage_directory = !!PREFIX!!/man -  - # sample_directory: The location of the Postfix sample configuration files. - # --sample_directory = -+sample_directory = !!PREFIX!!/etc/postfix -  - # readme_directory: The location of the Postfix README files. - # --readme_directory = -+readme_directory = no +*** ./conf/main.cf~	Mon Apr 26 16:54:42 2004 +--- ./conf/main.cf	Mon Apr 26 16:54:42 2004 +*************** +*** 32,44 **** +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = /usr/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = /usr/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +--- 32,44 ---- +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = !!PREFIX!!/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = !!PREFIX!!/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +*************** +*** 595,631 **** +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = +--- 595,631 ---- +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = !!PREFIX!!/sbin/sendmail +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = !!PREFIX!!/bin/newaliases +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = !!PREFIX!!/bin/mailq +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = maildrop +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = no +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = !!PREFIX!!/man +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = !!PREFIX!!/etc/postfix +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = no diff --git a/mail/postfix21/pkg-install b/mail/postfix21/pkg-install index 44a1d6cbacc2..5765d42430c1 100644 --- a/mail/postfix21/pkg-install +++ b/mail/postfix21/pkg-install @@ -118,13 +118,14 @@ if [ x"$2" = xPRE-INSTALL ]; then  fi  if [ x"$2" = xPOST-INSTALL ]; then -	CONF1="main.cf master.cf access aliases canonical pcre_table \ -	regexp_table relocated transport virtual" +	# CONF1 copied from Makefile.  Keep consistent! +	CONF1="main.cf master.cf access aliases canonical \ +	header_checks relocated transport virtual"  	for file in $CONF1  	do  	        if [ ! -f ${PKG_PREFIX}/etc/postfix/$file ]; then -        	        cp ${PKG_PREFIX}/etc/postfix/sample-$file ${PKG_PREFIX}/etc/postfix/$file +        	        cp ${PKG_PREFIX}/etc/postfix/dist-$file ${PKG_PREFIX}/etc/postfix/$file  	        fi  	done diff --git a/mail/postfix21/pkg-plist b/mail/postfix21/pkg-plist index 09f2ca9027a0..23f7b45d2de0 100644 --- a/mail/postfix21/pkg-plist +++ b/mail/postfix21/pkg-plist @@ -1,58 +1,27 @@ -@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi -@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi -@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/sample-access; then rm -f %D/etc/postfix/access; fi -@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/sample-aliases; then rm -f %D/etc/postfix/aliases; fi -@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/sample-canonical; then rm -f %D/etc/postfix/canonical; fi -@unexec if cmp -s %D/etc/postfix/pcre_table %D/etc/postfix/sample-pcre_table; then rm -f %D/etc/postfix/pcre_table; fi -@unexec if cmp -s %D/etc/postfix/regexp_table %D/etc/postfix/sample-regexp_table; then rm -f %D/etc/postfix/regexp_table; fi -@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/sample-relocated; then rm -f %D/etc/postfix/relocated; fi -@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/sample-transport; then rm -f %D/etc/postfix/transport; fi -@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/sample-virtual; then rm -f %D/etc/postfix/virtual; fi -bin/rmail +@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/dist-main.cf; then rm -f %D/etc/postfix/main.cf; fi +@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/dist-master.cf; then rm -f %D/etc/postfix/master.cf; fi +@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/dist-access; then rm -f %D/etc/postfix/access; fi +@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/dist-aliases; then rm -f %D/etc/postfix/aliases; fi +@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/dist-canonical; then rm -f %D/etc/postfix/canonical; fi +@unexec if cmp -s %D/etc/postfix/header_checks %D/etc/postfix/dist-header_checks; then rm -f %D/etc/postfix/header_checks; fi +@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/dist-relocated; then rm -f %D/etc/postfix/relocated; fi +@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/dist-transport; then rm -f %D/etc/postfix/transport; fi +@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/dist-virtual; then rm -f %D/etc/postfix/virtual; fi  etc/postfix/LICENSE  etc/postfix/main.cf.default +etc/postfix/makedefs.out  etc/postfix/post-install  etc/postfix/postfix-files  etc/postfix/postfix-script -etc/postfix/sample-access -etc/postfix/sample-aliases -etc/postfix/sample-canonical -etc/postfix/sample-pcre_table -etc/postfix/sample-regexp_table -etc/postfix/sample-relocated -etc/postfix/sample-aliases.cf -etc/postfix/sample-auth.cf -etc/postfix/sample-canonical.cf -etc/postfix/sample-compatibility.cf -etc/postfix/sample-debug.cf -etc/postfix/sample-filter.cf -etc/postfix/sample-flush.cf -%%SUB_IPV6%%etc/postfix/sample-ipv6.cf -etc/postfix/sample-ldap.cf -etc/postfix/sample-lmtp.cf -etc/postfix/sample-local.cf -etc/postfix/sample-main.cf -etc/postfix/sample-master.cf -etc/postfix/sample-mime.cf -etc/postfix/sample-misc.cf -etc/postfix/sample-pcre-access.cf -etc/postfix/sample-pcre-body.cf -etc/postfix/sample-pcre-header.cf -etc/postfix/sample-qmqpd.cf -etc/postfix/sample-rate.cf -etc/postfix/sample-regexp-access.cf -etc/postfix/sample-regexp-body.cf -etc/postfix/sample-regexp-header.cf -etc/postfix/sample-relocated.cf -etc/postfix/sample-resource.cf -etc/postfix/sample-rewrite.cf -etc/postfix/sample-smtp.cf -etc/postfix/sample-smtpd.cf -etc/postfix/sample-transport.cf -etc/postfix/sample-virtual.cf -etc/postfix/sample-transport -etc/postfix/sample-virtual -%%SUB_TLS%%etc/postfix/sample-tls.cf +etc/postfix/dist-main.cf +etc/postfix/dist-master.cf +etc/postfix/dist-access +etc/postfix/dist-aliases +etc/postfix/dist-canonical +etc/postfix/dist-header_checks +etc/postfix/dist-relocated +etc/postfix/dist-transport +etc/postfix/dist-virtual  libexec/postfix/bounce  libexec/postfix/cleanup  libexec/postfix/error @@ -61,6 +30,7 @@ libexec/postfix/lmtp  libexec/postfix/local  libexec/postfix/master  libexec/postfix/nqmgr +libexec/postfix/oqmgr  libexec/postfix/pickup  libexec/postfix/pipe  libexec/postfix/proxymap @@ -71,6 +41,7 @@ libexec/postfix/smtp  libexec/postfix/smtpd  libexec/postfix/spawn  libexec/postfix/trivial-rewrite +libexec/postfix/verify  libexec/postfix/virtual  %%SUB_TLS%%libexec/postfix/tlsmgr  sbin/postalias @@ -85,69 +56,127 @@ sbin/postmap  sbin/postqueue  sbin/postsuper  sbin/sendmail -bin/newaliases -bin/mailq +%%SUB_TEST%%sbin/qmqp-source  %%SUB_TEST%%sbin/smtp-sink  %%SUB_TEST%%sbin/smtp-source +bin/rmail +bin/newaliases +bin/mailq +%%PORTDOCS%%%%DOCSDIR%%/AAAREADME  %%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README.html +%%PORTDOCS%%%%DOCSDIR%%/CYRUS_README.html +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README.html  %%PORTDOCS%%%%DOCSDIR%%/DB_README +%%PORTDOCS%%%%DOCSDIR%%/DB_README.html  %%PORTDOCS%%%%DOCSDIR%%/DEBUG_README +%%PORTDOCS%%%%DOCSDIR%%/DEBUG_README.html  %%PORTDOCS%%%%DOCSDIR%%/ETRN_README +%%PORTDOCS%%%%DOCSDIR%%/ETRN_README.html  %%PORTDOCS%%%%DOCSDIR%%/FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/FILTER_README.html  %%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html  %%PORTDOCS%%%%SUB_IPV6%%%%DOCSDIR%%/IPV6_README  %%PORTDOCS%%%%DOCSDIR%%/LDAP_README +%%PORTDOCS%%%%DOCSDIR%%/LDAP_README.html  %%PORTDOCS%%%%DOCSDIR%%/LINUX_README -%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LINUX_README.html  %%PORTDOCS%%%%DOCSDIR%%/LMTP_README -%%PORTDOCS%%%%DOCSDIR%%/MACOSX_README +%%PORTDOCS%%%%DOCSDIR%%/LMTP_README.html +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README.html  %%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README +%%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README.html  %%PORTDOCS%%%%DOCSDIR%%/MYSQL_README +%%PORTDOCS%%%%DOCSDIR%%/MYSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/NFS_README +%%PORTDOCS%%%%DOCSDIR%%/NFS_README.html +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW.html  %%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README +%%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README.html  %%PORTDOCS%%%%DOCSDIR%%/PCRE_README +%%PORTDOCS%%%%DOCSDIR%%/PCRE_README.html +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/QMQP_README +%%PORTDOCS%%%%DOCSDIR%%/QMQP_README.html +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README.html  %%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES  %%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README.html  %%PORTDOCS%%%%DOCSDIR%%/SASL_README +%%PORTDOCS%%%%DOCSDIR%%/SASL_README.html +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README.html +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README.html  %%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README +%%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README.html  %%PORTDOCS%%%%DOCSDIR%%/UUCP_README +%%PORTDOCS%%%%DOCSDIR%%/UUCP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VERP_README +%%PORTDOCS%%%%DOCSDIR%%/VERP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README +%%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README.html +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README.html +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README.html  %%PORTDOCS%%%%DOCSDIR%%/access.5.html  %%PORTDOCS%%%%DOCSDIR%%/aliases.5.html -%%PORTDOCS%%%%DOCSDIR%%/architecture.html -%%PORTDOCS%%%%DOCSDIR%%/backstage.html -%%PORTDOCS%%%%DOCSDIR%%/basic.html -%%PORTDOCS%%%%DOCSDIR%%/big-picture.gif -%%PORTDOCS%%%%DOCSDIR%%/big-picture.html +%%PORTDOCS%%%%DOCSDIR%%/body_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/bounce.8.html  %%PORTDOCS%%%%DOCSDIR%%/canonical.5.html +%%PORTDOCS%%%%DOCSDIR%%/cidr_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/cleanup.8.html -%%PORTDOCS%%%%DOCSDIR%%/commands.html  %%PORTDOCS%%%%DOCSDIR%%/defer.8.html -%%PORTDOCS%%%%DOCSDIR%%/delivering.html  %%PORTDOCS%%%%DOCSDIR%%/error.8.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html  %%PORTDOCS%%%%DOCSDIR%%/flush.8.html -%%PORTDOCS%%%%DOCSDIR%%/goals.html -%%PORTDOCS%%%%DOCSDIR%%/inbound.gif +%%PORTDOCS%%%%DOCSDIR%%/header_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/ldap_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/lmtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/local.8.html  %%PORTDOCS%%%%DOCSDIR%%/mailq.1.html  %%PORTDOCS%%%%DOCSDIR%%/master.8.html -%%PORTDOCS%%%%DOCSDIR%%/motivation.html +%%PORTDOCS%%%%DOCSDIR%%/mysql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/newaliases.1.html -%%PORTDOCS%%%%DOCSDIR%%/nqmgr.8.html -%%PORTDOCS%%%%DOCSDIR%%/outbound.gif +%%PORTDOCS%%%%DOCSDIR%%/oqmgr.8.html  %%PORTDOCS%%%%DOCSDIR%%/pcre_table.5.html +%%PORTDOCS%%%%DOCSDIR%%/pgsql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/pickup.8.html  %%PORTDOCS%%%%DOCSDIR%%/pipe.8.html  %%PORTDOCS%%%%DOCSDIR%%/postalias.1.html  %%PORTDOCS%%%%DOCSDIR%%/postcat.1.html  %%PORTDOCS%%%%DOCSDIR%%/postconf.1.html +%%PORTDOCS%%%%DOCSDIR%%/postconf.5.html  %%PORTDOCS%%%%DOCSDIR%%/postdrop.1.html +%%PORTDOCS%%%%DOCSDIR%%/postfix-logo.jpg +%%PORTDOCS%%%%DOCSDIR%%/postfix-power.png  %%PORTDOCS%%%%DOCSDIR%%/postfix.1.html  %%PORTDOCS%%%%DOCSDIR%%/postkick.1.html  %%PORTDOCS%%%%DOCSDIR%%/postlock.1.html @@ -157,24 +186,23 @@ bin/mailq  %%PORTDOCS%%%%DOCSDIR%%/postsuper.1.html  %%PORTDOCS%%%%DOCSDIR%%/proxymap.8.html  %%PORTDOCS%%%%DOCSDIR%%/qmgr.8.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/qmqpd.8.html -%%PORTDOCS%%%%DOCSDIR%%/queuing.html -%%PORTDOCS%%%%DOCSDIR%%/rate.html -%%PORTDOCS%%%%DOCSDIR%%/receiving.html +%%PORTDOCS%%%%DOCSDIR%%/qshape.1.html  %%PORTDOCS%%%%DOCSDIR%%/regexp_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/relocated.5.html -%%PORTDOCS%%%%DOCSDIR%%/resource.html -%%PORTDOCS%%%%DOCSDIR%%/rewrite.html -%%PORTDOCS%%%%DOCSDIR%%/security.html  %%PORTDOCS%%%%DOCSDIR%%/sendmail.1.html  %%PORTDOCS%%%%DOCSDIR%%/showq.8.html -%%PORTDOCS%%%%DOCSDIR%%/small-picture.gif +%%PORTDOCS%%%%DOCSDIR%%/smtp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/smtp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/smtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/smtpd.8.html  %%PORTDOCS%%%%DOCSDIR%%/spawn.8.html +%%PORTDOCS%%%%DOCSDIR%%/trace.8.html  %%PORTDOCS%%%%DOCSDIR%%/transport.5.html  %%PORTDOCS%%%%DOCSDIR%%/trivial-rewrite.8.html -%%PORTDOCS%%%%DOCSDIR%%/uce.html +%%PORTDOCS%%%%DOCSDIR%%/verify.8.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.5.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.8.html  %%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/mail/postfix21/scripts/configure.postfix b/mail/postfix21/scripts/configure.postfix index ae533d83b8ed..356600e24238 100644 --- a/mail/postfix21/scripts/configure.postfix +++ b/mail/postfix21/scripts/configure.postfix @@ -1,5 +1,5 @@  #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.46 2004-03-29 16:13:44 pav Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.47 2004-05-12 09:08:16 pav Exp $  if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then  	exit @@ -34,7 +34,7 @@ MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL"  PgSQL		"PostgreSQL v7.4 map lookups" "$status_PgSQL" \  PgSQL73		"PostgreSQL v7.3 map lookups" "$status_PgSQL73" \  PgSQL72		"PostgreSQL v7.2 map lookups" "$status_PgSQL72" \ -OpenLDAP	"OpenLDAP map lookups (choose ver. with WANT_OPENLDAP_VER)" "$status_OpenLDAP" \ +OpenLDAP	"OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \  Test		"SMTP/LMTP test server and generator" "$status_Test" \  2> $tempfile @@ -108,8 +108,8 @@ while [ "$1" ]; do  			echo "USE_OPENSSL=	yes"  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto" -			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz" -			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff" +			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz" +			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.18-2.1.0-0.9.7d/pfixtls.diff"  			echo "PATCH_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls"  			SUB_TLS="" @@ -173,9 +173,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL73) @@ -183,9 +180,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL72) @@ -193,9 +187,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		OpenLDAP) @@ -205,7 +196,8 @@ while [ "$1" ]; do  			echo "OPENLDAP_SUFFIX=	+openldap"  			;;  		Test) -			echo "BIN1=		smtp-sink smtp-source" +			echo "BIN1=		smtp-sink smtp-source qmqp-source" +#			echo "MAN1+=		smtp-sink.1 smtp-source.1 qmqp-sink.1 qmqp-source.1"  			SUB_TEST=""  			;;  		IPv6) @@ -215,7 +207,7 @@ while [ "$1" ]; do  				exit 1  			fi  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "IPv6_SUFFIX=	+ipv6"  			echo "" @@ -233,7 +225,7 @@ while [ "$1" ]; do  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto"  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	tls+ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	tls+ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls+ipv6"  			SUB_TLS="" diff --git a/mail/postfix22/Makefile b/mail/postfix22/Makefile index 42370f14143b..814f157da47a 100644 --- a/mail/postfix22/Makefile +++ b/mail/postfix22/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for:	postfix-current +# New ports collection makefile for:	postfix  # Date created: 	18 Mar 1999  # Whom:			torstenb  # @@ -15,7 +15,7 @@  # NOTE: PCRE is enabled by default unless you specifically disable it.  PORTNAME=	postfix -PORTVERSION=	2.0.20 +PORTVERSION=	2.1.0  PORTEPOCH=	1  CATEGORIES=	mail ipv6  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ @@ -28,13 +28,10 @@ MASTER_SITE_SUBDIR=	. old related/postfix  DISTNAME=	postfix-${PORTVERSION}  DIST_SUBDIR=	${PORTNAME} -PATCH_SITES=	${MASTER_SITES} -PATCHFILES=	postfix-2.0-ns-mx-acl-patch.gz -  MAINTAINER=	vivek@khera.org  COMMENT=	A secure alternative to widely-used Sendmail -CONFLICTS=	courier-0.* postfix-1.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.* +CONFLICTS=	courier-0.* postfix-1.* postfix-2.0.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*  USE_SUBMAKE=	yes  USE_REINPLACE=	yes @@ -42,19 +39,34 @@ MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \  	postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postqueue.1 \  	postsuper.1 sendmail.1 -MAN5=	access.5 aliases.5 canonical.5 pcre_table.5 regexp_table.5 \ -	relocated.5 transport.5 virtual.5 +MAN5=	access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \ +	mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \ +	regexp_table.5 relocated.5 transport.5 virtual.5 \ +	header_checks.5 body_checks.5  MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \ -	master.8 nqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ -	smtp.8 smtpd.8 spawn.8 trivial-rewrite.8 virtual.8 +	master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ +	smtp.8 smtpd.8 spawn.8 trace.8 trivial-rewrite.8 verify.8 virtual.8  # TLS patch adds to MAN8 but doesn't have .html file, so avoid trying to  # patch it.  MAN8base=$(MAN8:S/tlsmgr.8//) -CONF1=	main.cf master.cf access aliases canonical pcre_table regexp_table \ -	relocated transport virtual +CONF1=	main.cf master.cf access aliases canonical header_checks relocated \ +	transport virtual + +README=	ADDRESS_CLASS_README ADDRESS_REWRITING_README \ +	ADDRESS_VERIFICATION_README BACKSCATTER_README \ +	BASIC_CONFIGURATION_README BUILTIN_FILTER_README \ +	CONTENT_INSPECTION_README CYRUS_README DATABASE_README DB_README \ +	DEBUG_README ETRN_README FILTER_README INSTALL LDAP_README \ +	LINUX_README LMTP_README LOCAL_RECIPIENT_README MAILDROP_README \ +	MYSQL_README NFS_README OVERVIEW PACKAGE_README PCRE_README \ +	PGSQL_README QMQP_README QSHAPE_README RESTRICTION_CLASS_README \ +	SASL_README SCHEDULER_README SMTPD_ACCESS_README SMTPD_POLICY_README \ +	SMTPD_PROXY_README STANDARD_CONFIGURATION_README TUNING_README \ +	ULTRIX_README UUCP_README VERP_README VIRTUAL_README \ +	XCLIENT_README XFORWARD_README  .if !defined(DEBUG)  MAKEFILEFLAGS+=	DEBUG= @@ -88,6 +100,7 @@ post-patch:  	${ECHO} "all: default" >> Makefile)  pre-patch: +	${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html  .for file in ${MAN1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html @@ -100,9 +113,11 @@ pre-patch:  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man8/${file} ${WRKSRC}/html/${file}.html  .endfor -.for file in faq rate rewrite uce +.for file in ${README}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/html/${file}.html +	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ +		${WRKSRC}/README_FILES/${file}  .endfor  .for file in ${CONF1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file} @@ -134,7 +149,7 @@ do-install:  .for file in ${CONF1}  	${INSTALL_DATA} ${WRKSRC}/conf/${file} \ -		${PREFIX}/etc/postfix/sample-${file} +		${PREFIX}/etc/postfix/dist-${file}  .endfor  	@${INSTALL_SCRIPT} \ @@ -143,14 +158,12 @@ do-install:  # optional TEST binaries  .for file in ${BIN1} -	@${INSTALL_PROGRAM} \ -		${WRKSRC}/src/smtpstone/${file} \ -		${PREFIX}/sbin +	@${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/sbin  .endfor  .if !defined(NOPORTDOCS)  	@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR} -	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} && \ +	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.jpg *.png ${DOCSDIR} && \  		${ECHO_MSG} "Installed HTML documentation in ${DOCSDIR}"  .endif diff --git a/mail/postfix22/distinfo b/mail/postfix22/distinfo index 245924cb304b..28afa1a20582 100644 --- a/mail/postfix22/distinfo +++ b/mail/postfix22/distinfo @@ -1,9 +1,8 @@ -MD5 (postfix/postfix-2.0.20.tar.gz) = 92479b64d132262be505a17ec02bc2a8 -SIZE (postfix/postfix-2.0.20.tar.gz) = 1354414 -MD5 (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 55a3d76d52fddd5cd0365004957a1160 -SIZE (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 4673 -MD5 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 0d557a1331f0afc12b7decdc328947a1 -SIZE (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27423 -MD5 (postfix/pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz) = b39c08eabe807db4af5bcb1cafc9761e -MD5 (postfix/ipv6-1.21-pf-2.0.18.patch.gz) = f30495d44b140239df02a0599d280d68 -MD5 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 8d273f922352a0ff32c57c29bec26b46 +MD5 (postfix/postfix-2.1.0.tar.gz) = 286856c9597cfa244c3b6133dce12749 +SIZE (postfix/postfix-2.1.0.tar.gz) = 1992845 +MD5 (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 01785d9636bdae51a906320e581b1e6b +SIZE (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 239141 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 diff --git a/mail/postfix22/files/patch-ea b/mail/postfix22/files/patch-ea deleted file mode 100644 index 6c3f98d2af4f..000000000000 --- a/mail/postfix22/files/patch-ea +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/cleanup/cleanup.c.orig	Sun May 28 18:33:41 2000 ---- ./src/cleanup/cleanup.c	Thu Jun  1 21:52:22 2000 -*************** -*** 118,121 **** -  /* FILES -! /*	/etc/postfix/canonical*, canonical mapping table -! /*	/etc/postfix/virtual*, virtual mapping table -  /* LICENSE ---- 118,121 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/canonical*, canonical mapping table -! /*	!!PREFIX!!/etc/postfix/virtual*, virtual mapping table -  /* LICENSE diff --git a/mail/postfix22/files/patch-eb b/mail/postfix22/files/patch-eb deleted file mode 100644 index e67680963d2d..000000000000 --- a/mail/postfix22/files/patch-eb +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/global/mail_conf.c.orig	Sun May  7 18:51:16 2000 ---- ./src/global/mail_conf.c	Thu Jun  1 22:16:29 2000 -*************** -*** 53,55 **** -  /* FILES -! /*	/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT ---- 53,55 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT diff --git a/mail/postfix22/files/patch-ec b/mail/postfix22/files/patch-ec index 5f5d1ad9cadc..a3f617235fba 100644 --- a/mail/postfix22/files/patch-ec +++ b/mail/postfix22/files/patch-ec @@ -1,41 +1,53 @@ -*** ./src/global/mail_params.h.orig	Thu Jan  3 13:13:37 2002 ---- ./src/global/mail_params.h	Tue Jan  8 22:18:22 2002 +*** ./src/global/mail_params.h.orig	Sat Jan 17 10:04:00 2004 +--- ./src/global/mail_params.h	Fri Jan 30 14:48:23 2004  *************** -*** 51,55 **** +*** 64,70 **** +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"postdrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; ---- 51,55 ---- +   +--- 64,70 ---- +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"maildrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; +    *************** -*** 170,174 **** -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"/usr/libexec/postfix" +*** 202,208 **** +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"/usr/libexec/postfix"    #endif +  extern char *var_daemon_dir; ---- 170,174 ---- -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"!!PREFIX!!/libexec/postfix" +--- 202,208 ---- +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"!!PREFIX!!/libexec/postfix"    #endif +  extern char *var_daemon_dir;  *************** -*** 204,208 **** +*** 231,237 **** +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"/etc/postfix"    #endif    extern char *var_config_dir; ---- 204,208 ---- +   +--- 231,237 ---- +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"!!PREFIX!!/etc/postfix"    #endif    extern char *var_config_dir; +   diff --git a/mail/postfix22/files/patch-ed b/mail/postfix22/files/patch-ed deleted file mode 100644 index f971b62720d8..000000000000 --- a/mail/postfix22/files/patch-ed +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/local/mailbox.c.orig	Fri Apr 28 16:55:53 2000 ---- ./src/local/mailbox.c	Thu Jun  1 22:37:48 2000 -*************** -*** 15,17 **** -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/[spool/]mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; ---- 15,17 ---- -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; diff --git a/mail/postfix22/files/patch-ee b/mail/postfix22/files/patch-ee deleted file mode 100644 index ef44eac24b73..000000000000 --- a/mail/postfix22/files/patch-ee +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/master/master.c.orig	Tue Mar  7 10:25:07 2000 ---- ./src/master/master.c	Thu Jun  1 22:43:50 2000 -*************** -*** 104,107 **** -  /* FILES -! /*	/etc/postfix/main.cf: global configuration file. -! /*	/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. ---- 104,107 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/main.cf: global configuration file. -! /*	!!PREFIX!!/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. diff --git a/mail/postfix22/files/patch-ef b/mail/postfix22/files/patch-ef deleted file mode 100644 index 586b304a103d..000000000000 --- a/mail/postfix22/files/patch-ef +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/postdrop/postdrop.c.orig	Sun Apr 25 18:05:43 1999 ---- ./src/postdrop/postdrop.c	Thu Jun  1 22:44:22 2000 -*************** -*** 39,41 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 39,41 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix22/files/patch-eg b/mail/postfix22/files/patch-eg deleted file mode 100644 index 2983bbfd86ea..000000000000 --- a/mail/postfix22/files/patch-eg +++ /dev/null @@ -1,20 +0,0 @@ -*** ./src/sendmail/sendmail.c.orig	Tue Mar 14 10:42:06 2000 ---- ./src/sendmail/sendmail.c	Thu Jun  1 22:47:24 2000 -*************** -*** 57,59 **** -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR ---- 57,59 ---- -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB!!PREFIX!!/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR -*************** -*** 159,161 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 159,161 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix22/files/patch-eh b/mail/postfix22/files/patch-eh deleted file mode 100644 index c104c3680d21..000000000000 --- a/mail/postfix22/files/patch-eh +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/trivial-rewrite/transport.c.orig	Tue Nov 16 19:15:41 1999 ---- ./src/trivial-rewrite/transport.c	Thu Jun  1 22:47:49 2000 -*************** -*** 32,34 **** -  /* FILES -! /*	/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS ---- 32,34 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix22/files/patch-main.cf b/mail/postfix22/files/patch-main.cf index 6281b6b6d7f1..7775cd80efb2 100644 --- a/mail/postfix22/files/patch-main.cf +++ b/mail/postfix22/files/patch-main.cf @@ -1,58 +1,108 @@ ---- ./conf/main.cf	Wed Jan  8 22:11:52 2003 -+++ ./conf/main.cf	Wed Jan  8 22:11:53 2003 -@@ -31,13 +31,13 @@ - # The command_directory parameter specifies the location of all - # postXXX commands. - # --command_directory = /usr/sbin -+command_directory = !!PREFIX!!/sbin -  - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # --daemon_directory = /usr/libexec/postfix -+daemon_directory = !!PREFIX!!/libexec/postfix -  - # QUEUE AND PROCESS OWNERSHIP - # -@@ -590,32 +590,32 @@ - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - #  --sendmail_path = -+sendmail_path = !!PREFIX!!/sbin/sendmail -  - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # --newaliases_path = -+newaliases_path = !!PREFIX!!/bin/newaliases -  - # mailq_path: The full pathname of the Postfix mailq command.  This - # is the Sendmail-compatible mail queue listing command. - #  --mailq_path = -+mailq_path = !!PREFIX!!/bin/mailq -  - # setgid_group: The group for mail submission and queue management - # commands.  This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # --setgid_group = -+setgid_group = maildrop -  - # manpage_directory: The location of the Postfix on-line manual pages. - # --manpage_directory = -+manpage_directory = !!PREFIX!!/man -  - # sample_directory: The location of the Postfix sample configuration files. - # --sample_directory = -+sample_directory = !!PREFIX!!/etc/postfix -  - # readme_directory: The location of the Postfix README files. - # --readme_directory = -+readme_directory = no +*** ./conf/main.cf~	Mon Apr 26 16:54:42 2004 +--- ./conf/main.cf	Mon Apr 26 16:54:42 2004 +*************** +*** 32,44 **** +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = /usr/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = /usr/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +--- 32,44 ---- +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = !!PREFIX!!/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = !!PREFIX!!/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +*************** +*** 595,631 **** +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = +--- 595,631 ---- +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = !!PREFIX!!/sbin/sendmail +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = !!PREFIX!!/bin/newaliases +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = !!PREFIX!!/bin/mailq +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = maildrop +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = no +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = !!PREFIX!!/man +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = !!PREFIX!!/etc/postfix +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = no diff --git a/mail/postfix22/pkg-install b/mail/postfix22/pkg-install index 44a1d6cbacc2..5765d42430c1 100644 --- a/mail/postfix22/pkg-install +++ b/mail/postfix22/pkg-install @@ -118,13 +118,14 @@ if [ x"$2" = xPRE-INSTALL ]; then  fi  if [ x"$2" = xPOST-INSTALL ]; then -	CONF1="main.cf master.cf access aliases canonical pcre_table \ -	regexp_table relocated transport virtual" +	# CONF1 copied from Makefile.  Keep consistent! +	CONF1="main.cf master.cf access aliases canonical \ +	header_checks relocated transport virtual"  	for file in $CONF1  	do  	        if [ ! -f ${PKG_PREFIX}/etc/postfix/$file ]; then -        	        cp ${PKG_PREFIX}/etc/postfix/sample-$file ${PKG_PREFIX}/etc/postfix/$file +        	        cp ${PKG_PREFIX}/etc/postfix/dist-$file ${PKG_PREFIX}/etc/postfix/$file  	        fi  	done diff --git a/mail/postfix22/pkg-plist b/mail/postfix22/pkg-plist index 09f2ca9027a0..23f7b45d2de0 100644 --- a/mail/postfix22/pkg-plist +++ b/mail/postfix22/pkg-plist @@ -1,58 +1,27 @@ -@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi -@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi -@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/sample-access; then rm -f %D/etc/postfix/access; fi -@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/sample-aliases; then rm -f %D/etc/postfix/aliases; fi -@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/sample-canonical; then rm -f %D/etc/postfix/canonical; fi -@unexec if cmp -s %D/etc/postfix/pcre_table %D/etc/postfix/sample-pcre_table; then rm -f %D/etc/postfix/pcre_table; fi -@unexec if cmp -s %D/etc/postfix/regexp_table %D/etc/postfix/sample-regexp_table; then rm -f %D/etc/postfix/regexp_table; fi -@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/sample-relocated; then rm -f %D/etc/postfix/relocated; fi -@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/sample-transport; then rm -f %D/etc/postfix/transport; fi -@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/sample-virtual; then rm -f %D/etc/postfix/virtual; fi -bin/rmail +@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/dist-main.cf; then rm -f %D/etc/postfix/main.cf; fi +@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/dist-master.cf; then rm -f %D/etc/postfix/master.cf; fi +@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/dist-access; then rm -f %D/etc/postfix/access; fi +@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/dist-aliases; then rm -f %D/etc/postfix/aliases; fi +@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/dist-canonical; then rm -f %D/etc/postfix/canonical; fi +@unexec if cmp -s %D/etc/postfix/header_checks %D/etc/postfix/dist-header_checks; then rm -f %D/etc/postfix/header_checks; fi +@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/dist-relocated; then rm -f %D/etc/postfix/relocated; fi +@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/dist-transport; then rm -f %D/etc/postfix/transport; fi +@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/dist-virtual; then rm -f %D/etc/postfix/virtual; fi  etc/postfix/LICENSE  etc/postfix/main.cf.default +etc/postfix/makedefs.out  etc/postfix/post-install  etc/postfix/postfix-files  etc/postfix/postfix-script -etc/postfix/sample-access -etc/postfix/sample-aliases -etc/postfix/sample-canonical -etc/postfix/sample-pcre_table -etc/postfix/sample-regexp_table -etc/postfix/sample-relocated -etc/postfix/sample-aliases.cf -etc/postfix/sample-auth.cf -etc/postfix/sample-canonical.cf -etc/postfix/sample-compatibility.cf -etc/postfix/sample-debug.cf -etc/postfix/sample-filter.cf -etc/postfix/sample-flush.cf -%%SUB_IPV6%%etc/postfix/sample-ipv6.cf -etc/postfix/sample-ldap.cf -etc/postfix/sample-lmtp.cf -etc/postfix/sample-local.cf -etc/postfix/sample-main.cf -etc/postfix/sample-master.cf -etc/postfix/sample-mime.cf -etc/postfix/sample-misc.cf -etc/postfix/sample-pcre-access.cf -etc/postfix/sample-pcre-body.cf -etc/postfix/sample-pcre-header.cf -etc/postfix/sample-qmqpd.cf -etc/postfix/sample-rate.cf -etc/postfix/sample-regexp-access.cf -etc/postfix/sample-regexp-body.cf -etc/postfix/sample-regexp-header.cf -etc/postfix/sample-relocated.cf -etc/postfix/sample-resource.cf -etc/postfix/sample-rewrite.cf -etc/postfix/sample-smtp.cf -etc/postfix/sample-smtpd.cf -etc/postfix/sample-transport.cf -etc/postfix/sample-virtual.cf -etc/postfix/sample-transport -etc/postfix/sample-virtual -%%SUB_TLS%%etc/postfix/sample-tls.cf +etc/postfix/dist-main.cf +etc/postfix/dist-master.cf +etc/postfix/dist-access +etc/postfix/dist-aliases +etc/postfix/dist-canonical +etc/postfix/dist-header_checks +etc/postfix/dist-relocated +etc/postfix/dist-transport +etc/postfix/dist-virtual  libexec/postfix/bounce  libexec/postfix/cleanup  libexec/postfix/error @@ -61,6 +30,7 @@ libexec/postfix/lmtp  libexec/postfix/local  libexec/postfix/master  libexec/postfix/nqmgr +libexec/postfix/oqmgr  libexec/postfix/pickup  libexec/postfix/pipe  libexec/postfix/proxymap @@ -71,6 +41,7 @@ libexec/postfix/smtp  libexec/postfix/smtpd  libexec/postfix/spawn  libexec/postfix/trivial-rewrite +libexec/postfix/verify  libexec/postfix/virtual  %%SUB_TLS%%libexec/postfix/tlsmgr  sbin/postalias @@ -85,69 +56,127 @@ sbin/postmap  sbin/postqueue  sbin/postsuper  sbin/sendmail -bin/newaliases -bin/mailq +%%SUB_TEST%%sbin/qmqp-source  %%SUB_TEST%%sbin/smtp-sink  %%SUB_TEST%%sbin/smtp-source +bin/rmail +bin/newaliases +bin/mailq +%%PORTDOCS%%%%DOCSDIR%%/AAAREADME  %%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README.html +%%PORTDOCS%%%%DOCSDIR%%/CYRUS_README.html +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README.html  %%PORTDOCS%%%%DOCSDIR%%/DB_README +%%PORTDOCS%%%%DOCSDIR%%/DB_README.html  %%PORTDOCS%%%%DOCSDIR%%/DEBUG_README +%%PORTDOCS%%%%DOCSDIR%%/DEBUG_README.html  %%PORTDOCS%%%%DOCSDIR%%/ETRN_README +%%PORTDOCS%%%%DOCSDIR%%/ETRN_README.html  %%PORTDOCS%%%%DOCSDIR%%/FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/FILTER_README.html  %%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html  %%PORTDOCS%%%%SUB_IPV6%%%%DOCSDIR%%/IPV6_README  %%PORTDOCS%%%%DOCSDIR%%/LDAP_README +%%PORTDOCS%%%%DOCSDIR%%/LDAP_README.html  %%PORTDOCS%%%%DOCSDIR%%/LINUX_README -%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LINUX_README.html  %%PORTDOCS%%%%DOCSDIR%%/LMTP_README -%%PORTDOCS%%%%DOCSDIR%%/MACOSX_README +%%PORTDOCS%%%%DOCSDIR%%/LMTP_README.html +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README.html  %%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README +%%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README.html  %%PORTDOCS%%%%DOCSDIR%%/MYSQL_README +%%PORTDOCS%%%%DOCSDIR%%/MYSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/NFS_README +%%PORTDOCS%%%%DOCSDIR%%/NFS_README.html +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW.html  %%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README +%%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README.html  %%PORTDOCS%%%%DOCSDIR%%/PCRE_README +%%PORTDOCS%%%%DOCSDIR%%/PCRE_README.html +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/QMQP_README +%%PORTDOCS%%%%DOCSDIR%%/QMQP_README.html +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README.html  %%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES  %%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README.html  %%PORTDOCS%%%%DOCSDIR%%/SASL_README +%%PORTDOCS%%%%DOCSDIR%%/SASL_README.html +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README.html +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README.html  %%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README +%%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README.html  %%PORTDOCS%%%%DOCSDIR%%/UUCP_README +%%PORTDOCS%%%%DOCSDIR%%/UUCP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VERP_README +%%PORTDOCS%%%%DOCSDIR%%/VERP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README +%%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README.html +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README.html +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README.html  %%PORTDOCS%%%%DOCSDIR%%/access.5.html  %%PORTDOCS%%%%DOCSDIR%%/aliases.5.html -%%PORTDOCS%%%%DOCSDIR%%/architecture.html -%%PORTDOCS%%%%DOCSDIR%%/backstage.html -%%PORTDOCS%%%%DOCSDIR%%/basic.html -%%PORTDOCS%%%%DOCSDIR%%/big-picture.gif -%%PORTDOCS%%%%DOCSDIR%%/big-picture.html +%%PORTDOCS%%%%DOCSDIR%%/body_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/bounce.8.html  %%PORTDOCS%%%%DOCSDIR%%/canonical.5.html +%%PORTDOCS%%%%DOCSDIR%%/cidr_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/cleanup.8.html -%%PORTDOCS%%%%DOCSDIR%%/commands.html  %%PORTDOCS%%%%DOCSDIR%%/defer.8.html -%%PORTDOCS%%%%DOCSDIR%%/delivering.html  %%PORTDOCS%%%%DOCSDIR%%/error.8.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html  %%PORTDOCS%%%%DOCSDIR%%/flush.8.html -%%PORTDOCS%%%%DOCSDIR%%/goals.html -%%PORTDOCS%%%%DOCSDIR%%/inbound.gif +%%PORTDOCS%%%%DOCSDIR%%/header_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/ldap_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/lmtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/local.8.html  %%PORTDOCS%%%%DOCSDIR%%/mailq.1.html  %%PORTDOCS%%%%DOCSDIR%%/master.8.html -%%PORTDOCS%%%%DOCSDIR%%/motivation.html +%%PORTDOCS%%%%DOCSDIR%%/mysql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/newaliases.1.html -%%PORTDOCS%%%%DOCSDIR%%/nqmgr.8.html -%%PORTDOCS%%%%DOCSDIR%%/outbound.gif +%%PORTDOCS%%%%DOCSDIR%%/oqmgr.8.html  %%PORTDOCS%%%%DOCSDIR%%/pcre_table.5.html +%%PORTDOCS%%%%DOCSDIR%%/pgsql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/pickup.8.html  %%PORTDOCS%%%%DOCSDIR%%/pipe.8.html  %%PORTDOCS%%%%DOCSDIR%%/postalias.1.html  %%PORTDOCS%%%%DOCSDIR%%/postcat.1.html  %%PORTDOCS%%%%DOCSDIR%%/postconf.1.html +%%PORTDOCS%%%%DOCSDIR%%/postconf.5.html  %%PORTDOCS%%%%DOCSDIR%%/postdrop.1.html +%%PORTDOCS%%%%DOCSDIR%%/postfix-logo.jpg +%%PORTDOCS%%%%DOCSDIR%%/postfix-power.png  %%PORTDOCS%%%%DOCSDIR%%/postfix.1.html  %%PORTDOCS%%%%DOCSDIR%%/postkick.1.html  %%PORTDOCS%%%%DOCSDIR%%/postlock.1.html @@ -157,24 +186,23 @@ bin/mailq  %%PORTDOCS%%%%DOCSDIR%%/postsuper.1.html  %%PORTDOCS%%%%DOCSDIR%%/proxymap.8.html  %%PORTDOCS%%%%DOCSDIR%%/qmgr.8.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/qmqpd.8.html -%%PORTDOCS%%%%DOCSDIR%%/queuing.html -%%PORTDOCS%%%%DOCSDIR%%/rate.html -%%PORTDOCS%%%%DOCSDIR%%/receiving.html +%%PORTDOCS%%%%DOCSDIR%%/qshape.1.html  %%PORTDOCS%%%%DOCSDIR%%/regexp_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/relocated.5.html -%%PORTDOCS%%%%DOCSDIR%%/resource.html -%%PORTDOCS%%%%DOCSDIR%%/rewrite.html -%%PORTDOCS%%%%DOCSDIR%%/security.html  %%PORTDOCS%%%%DOCSDIR%%/sendmail.1.html  %%PORTDOCS%%%%DOCSDIR%%/showq.8.html -%%PORTDOCS%%%%DOCSDIR%%/small-picture.gif +%%PORTDOCS%%%%DOCSDIR%%/smtp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/smtp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/smtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/smtpd.8.html  %%PORTDOCS%%%%DOCSDIR%%/spawn.8.html +%%PORTDOCS%%%%DOCSDIR%%/trace.8.html  %%PORTDOCS%%%%DOCSDIR%%/transport.5.html  %%PORTDOCS%%%%DOCSDIR%%/trivial-rewrite.8.html -%%PORTDOCS%%%%DOCSDIR%%/uce.html +%%PORTDOCS%%%%DOCSDIR%%/verify.8.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.5.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.8.html  %%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/mail/postfix22/scripts/configure.postfix b/mail/postfix22/scripts/configure.postfix index e8bcbb8e6c87..67e34862e360 100644 --- a/mail/postfix22/scripts/configure.postfix +++ b/mail/postfix22/scripts/configure.postfix @@ -1,5 +1,5 @@  #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix22/scripts/Attic/configure.postfix,v 1.46 2004-03-29 16:13:44 pav Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix22/scripts/Attic/configure.postfix,v 1.47 2004-05-12 09:08:16 pav Exp $  if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then  	exit @@ -34,7 +34,7 @@ MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL"  PgSQL		"PostgreSQL v7.4 map lookups" "$status_PgSQL" \  PgSQL73		"PostgreSQL v7.3 map lookups" "$status_PgSQL73" \  PgSQL72		"PostgreSQL v7.2 map lookups" "$status_PgSQL72" \ -OpenLDAP	"OpenLDAP map lookups (choose ver. with WANT_OPENLDAP_VER)" "$status_OpenLDAP" \ +OpenLDAP	"OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \  Test		"SMTP/LMTP test server and generator" "$status_Test" \  2> $tempfile @@ -108,8 +108,8 @@ while [ "$1" ]; do  			echo "USE_OPENSSL=	yes"  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto" -			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz" -			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff" +			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz" +			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.18-2.1.0-0.9.7d/pfixtls.diff"  			echo "PATCH_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls"  			SUB_TLS="" @@ -173,9 +173,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL73) @@ -183,9 +180,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL72) @@ -193,9 +187,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		OpenLDAP) @@ -205,7 +196,8 @@ while [ "$1" ]; do  			echo "OPENLDAP_SUFFIX=	+openldap"  			;;  		Test) -			echo "BIN1=		smtp-sink smtp-source" +			echo "BIN1=		smtp-sink smtp-source qmqp-source" +#			echo "MAN1+=		smtp-sink.1 smtp-source.1 qmqp-sink.1 qmqp-source.1"  			SUB_TEST=""  			;;  		IPv6) @@ -215,7 +207,7 @@ while [ "$1" ]; do  				exit 1  			fi  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "IPv6_SUFFIX=	+ipv6"  			echo "" @@ -233,7 +225,7 @@ while [ "$1" ]; do  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto"  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	tls+ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	tls+ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls+ipv6"  			SUB_TLS="" diff --git a/mail/postfix23/Makefile b/mail/postfix23/Makefile index 42370f14143b..814f157da47a 100644 --- a/mail/postfix23/Makefile +++ b/mail/postfix23/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for:	postfix-current +# New ports collection makefile for:	postfix  # Date created: 	18 Mar 1999  # Whom:			torstenb  # @@ -15,7 +15,7 @@  # NOTE: PCRE is enabled by default unless you specifically disable it.  PORTNAME=	postfix -PORTVERSION=	2.0.20 +PORTVERSION=	2.1.0  PORTEPOCH=	1  CATEGORIES=	mail ipv6  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ @@ -28,13 +28,10 @@ MASTER_SITE_SUBDIR=	. old related/postfix  DISTNAME=	postfix-${PORTVERSION}  DIST_SUBDIR=	${PORTNAME} -PATCH_SITES=	${MASTER_SITES} -PATCHFILES=	postfix-2.0-ns-mx-acl-patch.gz -  MAINTAINER=	vivek@khera.org  COMMENT=	A secure alternative to widely-used Sendmail -CONFLICTS=	courier-0.* postfix-1.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.* +CONFLICTS=	courier-0.* postfix-1.* postfix-2.0.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*  USE_SUBMAKE=	yes  USE_REINPLACE=	yes @@ -42,19 +39,34 @@ MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \  	postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postqueue.1 \  	postsuper.1 sendmail.1 -MAN5=	access.5 aliases.5 canonical.5 pcre_table.5 regexp_table.5 \ -	relocated.5 transport.5 virtual.5 +MAN5=	access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \ +	mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \ +	regexp_table.5 relocated.5 transport.5 virtual.5 \ +	header_checks.5 body_checks.5  MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \ -	master.8 nqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ -	smtp.8 smtpd.8 spawn.8 trivial-rewrite.8 virtual.8 +	master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ +	smtp.8 smtpd.8 spawn.8 trace.8 trivial-rewrite.8 verify.8 virtual.8  # TLS patch adds to MAN8 but doesn't have .html file, so avoid trying to  # patch it.  MAN8base=$(MAN8:S/tlsmgr.8//) -CONF1=	main.cf master.cf access aliases canonical pcre_table regexp_table \ -	relocated transport virtual +CONF1=	main.cf master.cf access aliases canonical header_checks relocated \ +	transport virtual + +README=	ADDRESS_CLASS_README ADDRESS_REWRITING_README \ +	ADDRESS_VERIFICATION_README BACKSCATTER_README \ +	BASIC_CONFIGURATION_README BUILTIN_FILTER_README \ +	CONTENT_INSPECTION_README CYRUS_README DATABASE_README DB_README \ +	DEBUG_README ETRN_README FILTER_README INSTALL LDAP_README \ +	LINUX_README LMTP_README LOCAL_RECIPIENT_README MAILDROP_README \ +	MYSQL_README NFS_README OVERVIEW PACKAGE_README PCRE_README \ +	PGSQL_README QMQP_README QSHAPE_README RESTRICTION_CLASS_README \ +	SASL_README SCHEDULER_README SMTPD_ACCESS_README SMTPD_POLICY_README \ +	SMTPD_PROXY_README STANDARD_CONFIGURATION_README TUNING_README \ +	ULTRIX_README UUCP_README VERP_README VIRTUAL_README \ +	XCLIENT_README XFORWARD_README  .if !defined(DEBUG)  MAKEFILEFLAGS+=	DEBUG= @@ -88,6 +100,7 @@ post-patch:  	${ECHO} "all: default" >> Makefile)  pre-patch: +	${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html  .for file in ${MAN1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html @@ -100,9 +113,11 @@ pre-patch:  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man8/${file} ${WRKSRC}/html/${file}.html  .endfor -.for file in faq rate rewrite uce +.for file in ${README}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/html/${file}.html +	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ +		${WRKSRC}/README_FILES/${file}  .endfor  .for file in ${CONF1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file} @@ -134,7 +149,7 @@ do-install:  .for file in ${CONF1}  	${INSTALL_DATA} ${WRKSRC}/conf/${file} \ -		${PREFIX}/etc/postfix/sample-${file} +		${PREFIX}/etc/postfix/dist-${file}  .endfor  	@${INSTALL_SCRIPT} \ @@ -143,14 +158,12 @@ do-install:  # optional TEST binaries  .for file in ${BIN1} -	@${INSTALL_PROGRAM} \ -		${WRKSRC}/src/smtpstone/${file} \ -		${PREFIX}/sbin +	@${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/sbin  .endfor  .if !defined(NOPORTDOCS)  	@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR} -	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} && \ +	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.jpg *.png ${DOCSDIR} && \  		${ECHO_MSG} "Installed HTML documentation in ${DOCSDIR}"  .endif diff --git a/mail/postfix23/distinfo b/mail/postfix23/distinfo index 245924cb304b..28afa1a20582 100644 --- a/mail/postfix23/distinfo +++ b/mail/postfix23/distinfo @@ -1,9 +1,8 @@ -MD5 (postfix/postfix-2.0.20.tar.gz) = 92479b64d132262be505a17ec02bc2a8 -SIZE (postfix/postfix-2.0.20.tar.gz) = 1354414 -MD5 (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 55a3d76d52fddd5cd0365004957a1160 -SIZE (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 4673 -MD5 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 0d557a1331f0afc12b7decdc328947a1 -SIZE (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27423 -MD5 (postfix/pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz) = b39c08eabe807db4af5bcb1cafc9761e -MD5 (postfix/ipv6-1.21-pf-2.0.18.patch.gz) = f30495d44b140239df02a0599d280d68 -MD5 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 8d273f922352a0ff32c57c29bec26b46 +MD5 (postfix/postfix-2.1.0.tar.gz) = 286856c9597cfa244c3b6133dce12749 +SIZE (postfix/postfix-2.1.0.tar.gz) = 1992845 +MD5 (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 01785d9636bdae51a906320e581b1e6b +SIZE (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 239141 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 diff --git a/mail/postfix23/files/patch-ea b/mail/postfix23/files/patch-ea deleted file mode 100644 index 6c3f98d2af4f..000000000000 --- a/mail/postfix23/files/patch-ea +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/cleanup/cleanup.c.orig	Sun May 28 18:33:41 2000 ---- ./src/cleanup/cleanup.c	Thu Jun  1 21:52:22 2000 -*************** -*** 118,121 **** -  /* FILES -! /*	/etc/postfix/canonical*, canonical mapping table -! /*	/etc/postfix/virtual*, virtual mapping table -  /* LICENSE ---- 118,121 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/canonical*, canonical mapping table -! /*	!!PREFIX!!/etc/postfix/virtual*, virtual mapping table -  /* LICENSE diff --git a/mail/postfix23/files/patch-eb b/mail/postfix23/files/patch-eb deleted file mode 100644 index e67680963d2d..000000000000 --- a/mail/postfix23/files/patch-eb +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/global/mail_conf.c.orig	Sun May  7 18:51:16 2000 ---- ./src/global/mail_conf.c	Thu Jun  1 22:16:29 2000 -*************** -*** 53,55 **** -  /* FILES -! /*	/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT ---- 53,55 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT diff --git a/mail/postfix23/files/patch-ec b/mail/postfix23/files/patch-ec index 5f5d1ad9cadc..a3f617235fba 100644 --- a/mail/postfix23/files/patch-ec +++ b/mail/postfix23/files/patch-ec @@ -1,41 +1,53 @@ -*** ./src/global/mail_params.h.orig	Thu Jan  3 13:13:37 2002 ---- ./src/global/mail_params.h	Tue Jan  8 22:18:22 2002 +*** ./src/global/mail_params.h.orig	Sat Jan 17 10:04:00 2004 +--- ./src/global/mail_params.h	Fri Jan 30 14:48:23 2004  *************** -*** 51,55 **** +*** 64,70 **** +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"postdrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; ---- 51,55 ---- +   +--- 64,70 ---- +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"maildrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; +    *************** -*** 170,174 **** -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"/usr/libexec/postfix" +*** 202,208 **** +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"/usr/libexec/postfix"    #endif +  extern char *var_daemon_dir; ---- 170,174 ---- -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"!!PREFIX!!/libexec/postfix" +--- 202,208 ---- +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"!!PREFIX!!/libexec/postfix"    #endif +  extern char *var_daemon_dir;  *************** -*** 204,208 **** +*** 231,237 **** +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"/etc/postfix"    #endif    extern char *var_config_dir; ---- 204,208 ---- +   +--- 231,237 ---- +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"!!PREFIX!!/etc/postfix"    #endif    extern char *var_config_dir; +   diff --git a/mail/postfix23/files/patch-ed b/mail/postfix23/files/patch-ed deleted file mode 100644 index f971b62720d8..000000000000 --- a/mail/postfix23/files/patch-ed +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/local/mailbox.c.orig	Fri Apr 28 16:55:53 2000 ---- ./src/local/mailbox.c	Thu Jun  1 22:37:48 2000 -*************** -*** 15,17 **** -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/[spool/]mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; ---- 15,17 ---- -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; diff --git a/mail/postfix23/files/patch-ee b/mail/postfix23/files/patch-ee deleted file mode 100644 index ef44eac24b73..000000000000 --- a/mail/postfix23/files/patch-ee +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/master/master.c.orig	Tue Mar  7 10:25:07 2000 ---- ./src/master/master.c	Thu Jun  1 22:43:50 2000 -*************** -*** 104,107 **** -  /* FILES -! /*	/etc/postfix/main.cf: global configuration file. -! /*	/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. ---- 104,107 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/main.cf: global configuration file. -! /*	!!PREFIX!!/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. diff --git a/mail/postfix23/files/patch-ef b/mail/postfix23/files/patch-ef deleted file mode 100644 index 586b304a103d..000000000000 --- a/mail/postfix23/files/patch-ef +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/postdrop/postdrop.c.orig	Sun Apr 25 18:05:43 1999 ---- ./src/postdrop/postdrop.c	Thu Jun  1 22:44:22 2000 -*************** -*** 39,41 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 39,41 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix23/files/patch-eg b/mail/postfix23/files/patch-eg deleted file mode 100644 index 2983bbfd86ea..000000000000 --- a/mail/postfix23/files/patch-eg +++ /dev/null @@ -1,20 +0,0 @@ -*** ./src/sendmail/sendmail.c.orig	Tue Mar 14 10:42:06 2000 ---- ./src/sendmail/sendmail.c	Thu Jun  1 22:47:24 2000 -*************** -*** 57,59 **** -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR ---- 57,59 ---- -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB!!PREFIX!!/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR -*************** -*** 159,161 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 159,161 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix23/files/patch-eh b/mail/postfix23/files/patch-eh deleted file mode 100644 index c104c3680d21..000000000000 --- a/mail/postfix23/files/patch-eh +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/trivial-rewrite/transport.c.orig	Tue Nov 16 19:15:41 1999 ---- ./src/trivial-rewrite/transport.c	Thu Jun  1 22:47:49 2000 -*************** -*** 32,34 **** -  /* FILES -! /*	/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS ---- 32,34 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix23/files/patch-main.cf b/mail/postfix23/files/patch-main.cf index 6281b6b6d7f1..7775cd80efb2 100644 --- a/mail/postfix23/files/patch-main.cf +++ b/mail/postfix23/files/patch-main.cf @@ -1,58 +1,108 @@ ---- ./conf/main.cf	Wed Jan  8 22:11:52 2003 -+++ ./conf/main.cf	Wed Jan  8 22:11:53 2003 -@@ -31,13 +31,13 @@ - # The command_directory parameter specifies the location of all - # postXXX commands. - # --command_directory = /usr/sbin -+command_directory = !!PREFIX!!/sbin -  - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # --daemon_directory = /usr/libexec/postfix -+daemon_directory = !!PREFIX!!/libexec/postfix -  - # QUEUE AND PROCESS OWNERSHIP - # -@@ -590,32 +590,32 @@ - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - #  --sendmail_path = -+sendmail_path = !!PREFIX!!/sbin/sendmail -  - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # --newaliases_path = -+newaliases_path = !!PREFIX!!/bin/newaliases -  - # mailq_path: The full pathname of the Postfix mailq command.  This - # is the Sendmail-compatible mail queue listing command. - #  --mailq_path = -+mailq_path = !!PREFIX!!/bin/mailq -  - # setgid_group: The group for mail submission and queue management - # commands.  This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # --setgid_group = -+setgid_group = maildrop -  - # manpage_directory: The location of the Postfix on-line manual pages. - # --manpage_directory = -+manpage_directory = !!PREFIX!!/man -  - # sample_directory: The location of the Postfix sample configuration files. - # --sample_directory = -+sample_directory = !!PREFIX!!/etc/postfix -  - # readme_directory: The location of the Postfix README files. - # --readme_directory = -+readme_directory = no +*** ./conf/main.cf~	Mon Apr 26 16:54:42 2004 +--- ./conf/main.cf	Mon Apr 26 16:54:42 2004 +*************** +*** 32,44 **** +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = /usr/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = /usr/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +--- 32,44 ---- +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = !!PREFIX!!/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = !!PREFIX!!/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +*************** +*** 595,631 **** +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = +--- 595,631 ---- +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = !!PREFIX!!/sbin/sendmail +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = !!PREFIX!!/bin/newaliases +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = !!PREFIX!!/bin/mailq +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = maildrop +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = no +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = !!PREFIX!!/man +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = !!PREFIX!!/etc/postfix +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = no diff --git a/mail/postfix23/pkg-install b/mail/postfix23/pkg-install index 44a1d6cbacc2..5765d42430c1 100644 --- a/mail/postfix23/pkg-install +++ b/mail/postfix23/pkg-install @@ -118,13 +118,14 @@ if [ x"$2" = xPRE-INSTALL ]; then  fi  if [ x"$2" = xPOST-INSTALL ]; then -	CONF1="main.cf master.cf access aliases canonical pcre_table \ -	regexp_table relocated transport virtual" +	# CONF1 copied from Makefile.  Keep consistent! +	CONF1="main.cf master.cf access aliases canonical \ +	header_checks relocated transport virtual"  	for file in $CONF1  	do  	        if [ ! -f ${PKG_PREFIX}/etc/postfix/$file ]; then -        	        cp ${PKG_PREFIX}/etc/postfix/sample-$file ${PKG_PREFIX}/etc/postfix/$file +        	        cp ${PKG_PREFIX}/etc/postfix/dist-$file ${PKG_PREFIX}/etc/postfix/$file  	        fi  	done diff --git a/mail/postfix23/pkg-plist b/mail/postfix23/pkg-plist index 09f2ca9027a0..23f7b45d2de0 100644 --- a/mail/postfix23/pkg-plist +++ b/mail/postfix23/pkg-plist @@ -1,58 +1,27 @@ -@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi -@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi -@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/sample-access; then rm -f %D/etc/postfix/access; fi -@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/sample-aliases; then rm -f %D/etc/postfix/aliases; fi -@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/sample-canonical; then rm -f %D/etc/postfix/canonical; fi -@unexec if cmp -s %D/etc/postfix/pcre_table %D/etc/postfix/sample-pcre_table; then rm -f %D/etc/postfix/pcre_table; fi -@unexec if cmp -s %D/etc/postfix/regexp_table %D/etc/postfix/sample-regexp_table; then rm -f %D/etc/postfix/regexp_table; fi -@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/sample-relocated; then rm -f %D/etc/postfix/relocated; fi -@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/sample-transport; then rm -f %D/etc/postfix/transport; fi -@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/sample-virtual; then rm -f %D/etc/postfix/virtual; fi -bin/rmail +@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/dist-main.cf; then rm -f %D/etc/postfix/main.cf; fi +@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/dist-master.cf; then rm -f %D/etc/postfix/master.cf; fi +@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/dist-access; then rm -f %D/etc/postfix/access; fi +@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/dist-aliases; then rm -f %D/etc/postfix/aliases; fi +@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/dist-canonical; then rm -f %D/etc/postfix/canonical; fi +@unexec if cmp -s %D/etc/postfix/header_checks %D/etc/postfix/dist-header_checks; then rm -f %D/etc/postfix/header_checks; fi +@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/dist-relocated; then rm -f %D/etc/postfix/relocated; fi +@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/dist-transport; then rm -f %D/etc/postfix/transport; fi +@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/dist-virtual; then rm -f %D/etc/postfix/virtual; fi  etc/postfix/LICENSE  etc/postfix/main.cf.default +etc/postfix/makedefs.out  etc/postfix/post-install  etc/postfix/postfix-files  etc/postfix/postfix-script -etc/postfix/sample-access -etc/postfix/sample-aliases -etc/postfix/sample-canonical -etc/postfix/sample-pcre_table -etc/postfix/sample-regexp_table -etc/postfix/sample-relocated -etc/postfix/sample-aliases.cf -etc/postfix/sample-auth.cf -etc/postfix/sample-canonical.cf -etc/postfix/sample-compatibility.cf -etc/postfix/sample-debug.cf -etc/postfix/sample-filter.cf -etc/postfix/sample-flush.cf -%%SUB_IPV6%%etc/postfix/sample-ipv6.cf -etc/postfix/sample-ldap.cf -etc/postfix/sample-lmtp.cf -etc/postfix/sample-local.cf -etc/postfix/sample-main.cf -etc/postfix/sample-master.cf -etc/postfix/sample-mime.cf -etc/postfix/sample-misc.cf -etc/postfix/sample-pcre-access.cf -etc/postfix/sample-pcre-body.cf -etc/postfix/sample-pcre-header.cf -etc/postfix/sample-qmqpd.cf -etc/postfix/sample-rate.cf -etc/postfix/sample-regexp-access.cf -etc/postfix/sample-regexp-body.cf -etc/postfix/sample-regexp-header.cf -etc/postfix/sample-relocated.cf -etc/postfix/sample-resource.cf -etc/postfix/sample-rewrite.cf -etc/postfix/sample-smtp.cf -etc/postfix/sample-smtpd.cf -etc/postfix/sample-transport.cf -etc/postfix/sample-virtual.cf -etc/postfix/sample-transport -etc/postfix/sample-virtual -%%SUB_TLS%%etc/postfix/sample-tls.cf +etc/postfix/dist-main.cf +etc/postfix/dist-master.cf +etc/postfix/dist-access +etc/postfix/dist-aliases +etc/postfix/dist-canonical +etc/postfix/dist-header_checks +etc/postfix/dist-relocated +etc/postfix/dist-transport +etc/postfix/dist-virtual  libexec/postfix/bounce  libexec/postfix/cleanup  libexec/postfix/error @@ -61,6 +30,7 @@ libexec/postfix/lmtp  libexec/postfix/local  libexec/postfix/master  libexec/postfix/nqmgr +libexec/postfix/oqmgr  libexec/postfix/pickup  libexec/postfix/pipe  libexec/postfix/proxymap @@ -71,6 +41,7 @@ libexec/postfix/smtp  libexec/postfix/smtpd  libexec/postfix/spawn  libexec/postfix/trivial-rewrite +libexec/postfix/verify  libexec/postfix/virtual  %%SUB_TLS%%libexec/postfix/tlsmgr  sbin/postalias @@ -85,69 +56,127 @@ sbin/postmap  sbin/postqueue  sbin/postsuper  sbin/sendmail -bin/newaliases -bin/mailq +%%SUB_TEST%%sbin/qmqp-source  %%SUB_TEST%%sbin/smtp-sink  %%SUB_TEST%%sbin/smtp-source +bin/rmail +bin/newaliases +bin/mailq +%%PORTDOCS%%%%DOCSDIR%%/AAAREADME  %%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README.html +%%PORTDOCS%%%%DOCSDIR%%/CYRUS_README.html +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README.html  %%PORTDOCS%%%%DOCSDIR%%/DB_README +%%PORTDOCS%%%%DOCSDIR%%/DB_README.html  %%PORTDOCS%%%%DOCSDIR%%/DEBUG_README +%%PORTDOCS%%%%DOCSDIR%%/DEBUG_README.html  %%PORTDOCS%%%%DOCSDIR%%/ETRN_README +%%PORTDOCS%%%%DOCSDIR%%/ETRN_README.html  %%PORTDOCS%%%%DOCSDIR%%/FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/FILTER_README.html  %%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html  %%PORTDOCS%%%%SUB_IPV6%%%%DOCSDIR%%/IPV6_README  %%PORTDOCS%%%%DOCSDIR%%/LDAP_README +%%PORTDOCS%%%%DOCSDIR%%/LDAP_README.html  %%PORTDOCS%%%%DOCSDIR%%/LINUX_README -%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LINUX_README.html  %%PORTDOCS%%%%DOCSDIR%%/LMTP_README -%%PORTDOCS%%%%DOCSDIR%%/MACOSX_README +%%PORTDOCS%%%%DOCSDIR%%/LMTP_README.html +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README.html  %%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README +%%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README.html  %%PORTDOCS%%%%DOCSDIR%%/MYSQL_README +%%PORTDOCS%%%%DOCSDIR%%/MYSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/NFS_README +%%PORTDOCS%%%%DOCSDIR%%/NFS_README.html +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW.html  %%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README +%%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README.html  %%PORTDOCS%%%%DOCSDIR%%/PCRE_README +%%PORTDOCS%%%%DOCSDIR%%/PCRE_README.html +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/QMQP_README +%%PORTDOCS%%%%DOCSDIR%%/QMQP_README.html +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README.html  %%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES  %%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README.html  %%PORTDOCS%%%%DOCSDIR%%/SASL_README +%%PORTDOCS%%%%DOCSDIR%%/SASL_README.html +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README.html +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README.html  %%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README +%%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README.html  %%PORTDOCS%%%%DOCSDIR%%/UUCP_README +%%PORTDOCS%%%%DOCSDIR%%/UUCP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VERP_README +%%PORTDOCS%%%%DOCSDIR%%/VERP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README +%%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README.html +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README.html +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README.html  %%PORTDOCS%%%%DOCSDIR%%/access.5.html  %%PORTDOCS%%%%DOCSDIR%%/aliases.5.html -%%PORTDOCS%%%%DOCSDIR%%/architecture.html -%%PORTDOCS%%%%DOCSDIR%%/backstage.html -%%PORTDOCS%%%%DOCSDIR%%/basic.html -%%PORTDOCS%%%%DOCSDIR%%/big-picture.gif -%%PORTDOCS%%%%DOCSDIR%%/big-picture.html +%%PORTDOCS%%%%DOCSDIR%%/body_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/bounce.8.html  %%PORTDOCS%%%%DOCSDIR%%/canonical.5.html +%%PORTDOCS%%%%DOCSDIR%%/cidr_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/cleanup.8.html -%%PORTDOCS%%%%DOCSDIR%%/commands.html  %%PORTDOCS%%%%DOCSDIR%%/defer.8.html -%%PORTDOCS%%%%DOCSDIR%%/delivering.html  %%PORTDOCS%%%%DOCSDIR%%/error.8.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html  %%PORTDOCS%%%%DOCSDIR%%/flush.8.html -%%PORTDOCS%%%%DOCSDIR%%/goals.html -%%PORTDOCS%%%%DOCSDIR%%/inbound.gif +%%PORTDOCS%%%%DOCSDIR%%/header_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/ldap_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/lmtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/local.8.html  %%PORTDOCS%%%%DOCSDIR%%/mailq.1.html  %%PORTDOCS%%%%DOCSDIR%%/master.8.html -%%PORTDOCS%%%%DOCSDIR%%/motivation.html +%%PORTDOCS%%%%DOCSDIR%%/mysql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/newaliases.1.html -%%PORTDOCS%%%%DOCSDIR%%/nqmgr.8.html -%%PORTDOCS%%%%DOCSDIR%%/outbound.gif +%%PORTDOCS%%%%DOCSDIR%%/oqmgr.8.html  %%PORTDOCS%%%%DOCSDIR%%/pcre_table.5.html +%%PORTDOCS%%%%DOCSDIR%%/pgsql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/pickup.8.html  %%PORTDOCS%%%%DOCSDIR%%/pipe.8.html  %%PORTDOCS%%%%DOCSDIR%%/postalias.1.html  %%PORTDOCS%%%%DOCSDIR%%/postcat.1.html  %%PORTDOCS%%%%DOCSDIR%%/postconf.1.html +%%PORTDOCS%%%%DOCSDIR%%/postconf.5.html  %%PORTDOCS%%%%DOCSDIR%%/postdrop.1.html +%%PORTDOCS%%%%DOCSDIR%%/postfix-logo.jpg +%%PORTDOCS%%%%DOCSDIR%%/postfix-power.png  %%PORTDOCS%%%%DOCSDIR%%/postfix.1.html  %%PORTDOCS%%%%DOCSDIR%%/postkick.1.html  %%PORTDOCS%%%%DOCSDIR%%/postlock.1.html @@ -157,24 +186,23 @@ bin/mailq  %%PORTDOCS%%%%DOCSDIR%%/postsuper.1.html  %%PORTDOCS%%%%DOCSDIR%%/proxymap.8.html  %%PORTDOCS%%%%DOCSDIR%%/qmgr.8.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/qmqpd.8.html -%%PORTDOCS%%%%DOCSDIR%%/queuing.html -%%PORTDOCS%%%%DOCSDIR%%/rate.html -%%PORTDOCS%%%%DOCSDIR%%/receiving.html +%%PORTDOCS%%%%DOCSDIR%%/qshape.1.html  %%PORTDOCS%%%%DOCSDIR%%/regexp_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/relocated.5.html -%%PORTDOCS%%%%DOCSDIR%%/resource.html -%%PORTDOCS%%%%DOCSDIR%%/rewrite.html -%%PORTDOCS%%%%DOCSDIR%%/security.html  %%PORTDOCS%%%%DOCSDIR%%/sendmail.1.html  %%PORTDOCS%%%%DOCSDIR%%/showq.8.html -%%PORTDOCS%%%%DOCSDIR%%/small-picture.gif +%%PORTDOCS%%%%DOCSDIR%%/smtp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/smtp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/smtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/smtpd.8.html  %%PORTDOCS%%%%DOCSDIR%%/spawn.8.html +%%PORTDOCS%%%%DOCSDIR%%/trace.8.html  %%PORTDOCS%%%%DOCSDIR%%/transport.5.html  %%PORTDOCS%%%%DOCSDIR%%/trivial-rewrite.8.html -%%PORTDOCS%%%%DOCSDIR%%/uce.html +%%PORTDOCS%%%%DOCSDIR%%/verify.8.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.5.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.8.html  %%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/mail/postfix23/scripts/configure.postfix b/mail/postfix23/scripts/configure.postfix index 7b74b45cefac..b1ed122a7141 100644 --- a/mail/postfix23/scripts/configure.postfix +++ b/mail/postfix23/scripts/configure.postfix @@ -1,5 +1,5 @@  #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix23/scripts/Attic/configure.postfix,v 1.46 2004-03-29 16:13:44 pav Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix23/scripts/Attic/configure.postfix,v 1.47 2004-05-12 09:08:16 pav Exp $  if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then  	exit @@ -34,7 +34,7 @@ MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL"  PgSQL		"PostgreSQL v7.4 map lookups" "$status_PgSQL" \  PgSQL73		"PostgreSQL v7.3 map lookups" "$status_PgSQL73" \  PgSQL72		"PostgreSQL v7.2 map lookups" "$status_PgSQL72" \ -OpenLDAP	"OpenLDAP map lookups (choose ver. with WANT_OPENLDAP_VER)" "$status_OpenLDAP" \ +OpenLDAP	"OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \  Test		"SMTP/LMTP test server and generator" "$status_Test" \  2> $tempfile @@ -108,8 +108,8 @@ while [ "$1" ]; do  			echo "USE_OPENSSL=	yes"  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto" -			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz" -			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff" +			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz" +			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.18-2.1.0-0.9.7d/pfixtls.diff"  			echo "PATCH_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls"  			SUB_TLS="" @@ -173,9 +173,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL73) @@ -183,9 +180,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL72) @@ -193,9 +187,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		OpenLDAP) @@ -205,7 +196,8 @@ while [ "$1" ]; do  			echo "OPENLDAP_SUFFIX=	+openldap"  			;;  		Test) -			echo "BIN1=		smtp-sink smtp-source" +			echo "BIN1=		smtp-sink smtp-source qmqp-source" +#			echo "MAN1+=		smtp-sink.1 smtp-source.1 qmqp-sink.1 qmqp-source.1"  			SUB_TEST=""  			;;  		IPv6) @@ -215,7 +207,7 @@ while [ "$1" ]; do  				exit 1  			fi  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "IPv6_SUFFIX=	+ipv6"  			echo "" @@ -233,7 +225,7 @@ while [ "$1" ]; do  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto"  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	tls+ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	tls+ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls+ipv6"  			SUB_TLS="" diff --git a/mail/postfix24/Makefile b/mail/postfix24/Makefile index 42370f14143b..814f157da47a 100644 --- a/mail/postfix24/Makefile +++ b/mail/postfix24/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for:	postfix-current +# New ports collection makefile for:	postfix  # Date created: 	18 Mar 1999  # Whom:			torstenb  # @@ -15,7 +15,7 @@  # NOTE: PCRE is enabled by default unless you specifically disable it.  PORTNAME=	postfix -PORTVERSION=	2.0.20 +PORTVERSION=	2.1.0  PORTEPOCH=	1  CATEGORIES=	mail ipv6  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ @@ -28,13 +28,10 @@ MASTER_SITE_SUBDIR=	. old related/postfix  DISTNAME=	postfix-${PORTVERSION}  DIST_SUBDIR=	${PORTNAME} -PATCH_SITES=	${MASTER_SITES} -PATCHFILES=	postfix-2.0-ns-mx-acl-patch.gz -  MAINTAINER=	vivek@khera.org  COMMENT=	A secure alternative to widely-used Sendmail -CONFLICTS=	courier-0.* postfix-1.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.* +CONFLICTS=	courier-0.* postfix-1.* postfix-2.0.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*  USE_SUBMAKE=	yes  USE_REINPLACE=	yes @@ -42,19 +39,34 @@ MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \  	postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postqueue.1 \  	postsuper.1 sendmail.1 -MAN5=	access.5 aliases.5 canonical.5 pcre_table.5 regexp_table.5 \ -	relocated.5 transport.5 virtual.5 +MAN5=	access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \ +	mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \ +	regexp_table.5 relocated.5 transport.5 virtual.5 \ +	header_checks.5 body_checks.5  MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \ -	master.8 nqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ -	smtp.8 smtpd.8 spawn.8 trivial-rewrite.8 virtual.8 +	master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ +	smtp.8 smtpd.8 spawn.8 trace.8 trivial-rewrite.8 verify.8 virtual.8  # TLS patch adds to MAN8 but doesn't have .html file, so avoid trying to  # patch it.  MAN8base=$(MAN8:S/tlsmgr.8//) -CONF1=	main.cf master.cf access aliases canonical pcre_table regexp_table \ -	relocated transport virtual +CONF1=	main.cf master.cf access aliases canonical header_checks relocated \ +	transport virtual + +README=	ADDRESS_CLASS_README ADDRESS_REWRITING_README \ +	ADDRESS_VERIFICATION_README BACKSCATTER_README \ +	BASIC_CONFIGURATION_README BUILTIN_FILTER_README \ +	CONTENT_INSPECTION_README CYRUS_README DATABASE_README DB_README \ +	DEBUG_README ETRN_README FILTER_README INSTALL LDAP_README \ +	LINUX_README LMTP_README LOCAL_RECIPIENT_README MAILDROP_README \ +	MYSQL_README NFS_README OVERVIEW PACKAGE_README PCRE_README \ +	PGSQL_README QMQP_README QSHAPE_README RESTRICTION_CLASS_README \ +	SASL_README SCHEDULER_README SMTPD_ACCESS_README SMTPD_POLICY_README \ +	SMTPD_PROXY_README STANDARD_CONFIGURATION_README TUNING_README \ +	ULTRIX_README UUCP_README VERP_README VIRTUAL_README \ +	XCLIENT_README XFORWARD_README  .if !defined(DEBUG)  MAKEFILEFLAGS+=	DEBUG= @@ -88,6 +100,7 @@ post-patch:  	${ECHO} "all: default" >> Makefile)  pre-patch: +	${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html  .for file in ${MAN1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html @@ -100,9 +113,11 @@ pre-patch:  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man8/${file} ${WRKSRC}/html/${file}.html  .endfor -.for file in faq rate rewrite uce +.for file in ${README}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/html/${file}.html +	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ +		${WRKSRC}/README_FILES/${file}  .endfor  .for file in ${CONF1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file} @@ -134,7 +149,7 @@ do-install:  .for file in ${CONF1}  	${INSTALL_DATA} ${WRKSRC}/conf/${file} \ -		${PREFIX}/etc/postfix/sample-${file} +		${PREFIX}/etc/postfix/dist-${file}  .endfor  	@${INSTALL_SCRIPT} \ @@ -143,14 +158,12 @@ do-install:  # optional TEST binaries  .for file in ${BIN1} -	@${INSTALL_PROGRAM} \ -		${WRKSRC}/src/smtpstone/${file} \ -		${PREFIX}/sbin +	@${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/sbin  .endfor  .if !defined(NOPORTDOCS)  	@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR} -	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} && \ +	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.jpg *.png ${DOCSDIR} && \  		${ECHO_MSG} "Installed HTML documentation in ${DOCSDIR}"  .endif diff --git a/mail/postfix24/distinfo b/mail/postfix24/distinfo index 245924cb304b..28afa1a20582 100644 --- a/mail/postfix24/distinfo +++ b/mail/postfix24/distinfo @@ -1,9 +1,8 @@ -MD5 (postfix/postfix-2.0.20.tar.gz) = 92479b64d132262be505a17ec02bc2a8 -SIZE (postfix/postfix-2.0.20.tar.gz) = 1354414 -MD5 (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 55a3d76d52fddd5cd0365004957a1160 -SIZE (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 4673 -MD5 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 0d557a1331f0afc12b7decdc328947a1 -SIZE (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27423 -MD5 (postfix/pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz) = b39c08eabe807db4af5bcb1cafc9761e -MD5 (postfix/ipv6-1.21-pf-2.0.18.patch.gz) = f30495d44b140239df02a0599d280d68 -MD5 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 8d273f922352a0ff32c57c29bec26b46 +MD5 (postfix/postfix-2.1.0.tar.gz) = 286856c9597cfa244c3b6133dce12749 +SIZE (postfix/postfix-2.1.0.tar.gz) = 1992845 +MD5 (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 01785d9636bdae51a906320e581b1e6b +SIZE (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 239141 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 diff --git a/mail/postfix24/files/patch-ea b/mail/postfix24/files/patch-ea deleted file mode 100644 index 6c3f98d2af4f..000000000000 --- a/mail/postfix24/files/patch-ea +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/cleanup/cleanup.c.orig	Sun May 28 18:33:41 2000 ---- ./src/cleanup/cleanup.c	Thu Jun  1 21:52:22 2000 -*************** -*** 118,121 **** -  /* FILES -! /*	/etc/postfix/canonical*, canonical mapping table -! /*	/etc/postfix/virtual*, virtual mapping table -  /* LICENSE ---- 118,121 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/canonical*, canonical mapping table -! /*	!!PREFIX!!/etc/postfix/virtual*, virtual mapping table -  /* LICENSE diff --git a/mail/postfix24/files/patch-eb b/mail/postfix24/files/patch-eb deleted file mode 100644 index e67680963d2d..000000000000 --- a/mail/postfix24/files/patch-eb +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/global/mail_conf.c.orig	Sun May  7 18:51:16 2000 ---- ./src/global/mail_conf.c	Thu Jun  1 22:16:29 2000 -*************** -*** 53,55 **** -  /* FILES -! /*	/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT ---- 53,55 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT diff --git a/mail/postfix24/files/patch-ec b/mail/postfix24/files/patch-ec index 5f5d1ad9cadc..a3f617235fba 100644 --- a/mail/postfix24/files/patch-ec +++ b/mail/postfix24/files/patch-ec @@ -1,41 +1,53 @@ -*** ./src/global/mail_params.h.orig	Thu Jan  3 13:13:37 2002 ---- ./src/global/mail_params.h	Tue Jan  8 22:18:22 2002 +*** ./src/global/mail_params.h.orig	Sat Jan 17 10:04:00 2004 +--- ./src/global/mail_params.h	Fri Jan 30 14:48:23 2004  *************** -*** 51,55 **** +*** 64,70 **** +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"postdrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; ---- 51,55 ---- +   +--- 64,70 ---- +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"maildrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; +    *************** -*** 170,174 **** -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"/usr/libexec/postfix" +*** 202,208 **** +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"/usr/libexec/postfix"    #endif +  extern char *var_daemon_dir; ---- 170,174 ---- -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"!!PREFIX!!/libexec/postfix" +--- 202,208 ---- +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"!!PREFIX!!/libexec/postfix"    #endif +  extern char *var_daemon_dir;  *************** -*** 204,208 **** +*** 231,237 **** +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"/etc/postfix"    #endif    extern char *var_config_dir; ---- 204,208 ---- +   +--- 231,237 ---- +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"!!PREFIX!!/etc/postfix"    #endif    extern char *var_config_dir; +   diff --git a/mail/postfix24/files/patch-ed b/mail/postfix24/files/patch-ed deleted file mode 100644 index f971b62720d8..000000000000 --- a/mail/postfix24/files/patch-ed +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/local/mailbox.c.orig	Fri Apr 28 16:55:53 2000 ---- ./src/local/mailbox.c	Thu Jun  1 22:37:48 2000 -*************** -*** 15,17 **** -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/[spool/]mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; ---- 15,17 ---- -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; diff --git a/mail/postfix24/files/patch-ee b/mail/postfix24/files/patch-ee deleted file mode 100644 index ef44eac24b73..000000000000 --- a/mail/postfix24/files/patch-ee +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/master/master.c.orig	Tue Mar  7 10:25:07 2000 ---- ./src/master/master.c	Thu Jun  1 22:43:50 2000 -*************** -*** 104,107 **** -  /* FILES -! /*	/etc/postfix/main.cf: global configuration file. -! /*	/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. ---- 104,107 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/main.cf: global configuration file. -! /*	!!PREFIX!!/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. diff --git a/mail/postfix24/files/patch-ef b/mail/postfix24/files/patch-ef deleted file mode 100644 index 586b304a103d..000000000000 --- a/mail/postfix24/files/patch-ef +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/postdrop/postdrop.c.orig	Sun Apr 25 18:05:43 1999 ---- ./src/postdrop/postdrop.c	Thu Jun  1 22:44:22 2000 -*************** -*** 39,41 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 39,41 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix24/files/patch-eg b/mail/postfix24/files/patch-eg deleted file mode 100644 index 2983bbfd86ea..000000000000 --- a/mail/postfix24/files/patch-eg +++ /dev/null @@ -1,20 +0,0 @@ -*** ./src/sendmail/sendmail.c.orig	Tue Mar 14 10:42:06 2000 ---- ./src/sendmail/sendmail.c	Thu Jun  1 22:47:24 2000 -*************** -*** 57,59 **** -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR ---- 57,59 ---- -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB!!PREFIX!!/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR -*************** -*** 159,161 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 159,161 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix24/files/patch-eh b/mail/postfix24/files/patch-eh deleted file mode 100644 index c104c3680d21..000000000000 --- a/mail/postfix24/files/patch-eh +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/trivial-rewrite/transport.c.orig	Tue Nov 16 19:15:41 1999 ---- ./src/trivial-rewrite/transport.c	Thu Jun  1 22:47:49 2000 -*************** -*** 32,34 **** -  /* FILES -! /*	/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS ---- 32,34 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix24/files/patch-main.cf b/mail/postfix24/files/patch-main.cf index 6281b6b6d7f1..7775cd80efb2 100644 --- a/mail/postfix24/files/patch-main.cf +++ b/mail/postfix24/files/patch-main.cf @@ -1,58 +1,108 @@ ---- ./conf/main.cf	Wed Jan  8 22:11:52 2003 -+++ ./conf/main.cf	Wed Jan  8 22:11:53 2003 -@@ -31,13 +31,13 @@ - # The command_directory parameter specifies the location of all - # postXXX commands. - # --command_directory = /usr/sbin -+command_directory = !!PREFIX!!/sbin -  - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # --daemon_directory = /usr/libexec/postfix -+daemon_directory = !!PREFIX!!/libexec/postfix -  - # QUEUE AND PROCESS OWNERSHIP - # -@@ -590,32 +590,32 @@ - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - #  --sendmail_path = -+sendmail_path = !!PREFIX!!/sbin/sendmail -  - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # --newaliases_path = -+newaliases_path = !!PREFIX!!/bin/newaliases -  - # mailq_path: The full pathname of the Postfix mailq command.  This - # is the Sendmail-compatible mail queue listing command. - #  --mailq_path = -+mailq_path = !!PREFIX!!/bin/mailq -  - # setgid_group: The group for mail submission and queue management - # commands.  This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # --setgid_group = -+setgid_group = maildrop -  - # manpage_directory: The location of the Postfix on-line manual pages. - # --manpage_directory = -+manpage_directory = !!PREFIX!!/man -  - # sample_directory: The location of the Postfix sample configuration files. - # --sample_directory = -+sample_directory = !!PREFIX!!/etc/postfix -  - # readme_directory: The location of the Postfix README files. - # --readme_directory = -+readme_directory = no +*** ./conf/main.cf~	Mon Apr 26 16:54:42 2004 +--- ./conf/main.cf	Mon Apr 26 16:54:42 2004 +*************** +*** 32,44 **** +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = /usr/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = /usr/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +--- 32,44 ---- +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = !!PREFIX!!/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = !!PREFIX!!/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +*************** +*** 595,631 **** +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = +--- 595,631 ---- +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = !!PREFIX!!/sbin/sendmail +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = !!PREFIX!!/bin/newaliases +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = !!PREFIX!!/bin/mailq +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = maildrop +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = no +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = !!PREFIX!!/man +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = !!PREFIX!!/etc/postfix +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = no diff --git a/mail/postfix24/pkg-install b/mail/postfix24/pkg-install index 44a1d6cbacc2..5765d42430c1 100644 --- a/mail/postfix24/pkg-install +++ b/mail/postfix24/pkg-install @@ -118,13 +118,14 @@ if [ x"$2" = xPRE-INSTALL ]; then  fi  if [ x"$2" = xPOST-INSTALL ]; then -	CONF1="main.cf master.cf access aliases canonical pcre_table \ -	regexp_table relocated transport virtual" +	# CONF1 copied from Makefile.  Keep consistent! +	CONF1="main.cf master.cf access aliases canonical \ +	header_checks relocated transport virtual"  	for file in $CONF1  	do  	        if [ ! -f ${PKG_PREFIX}/etc/postfix/$file ]; then -        	        cp ${PKG_PREFIX}/etc/postfix/sample-$file ${PKG_PREFIX}/etc/postfix/$file +        	        cp ${PKG_PREFIX}/etc/postfix/dist-$file ${PKG_PREFIX}/etc/postfix/$file  	        fi  	done diff --git a/mail/postfix24/pkg-plist b/mail/postfix24/pkg-plist index 09f2ca9027a0..23f7b45d2de0 100644 --- a/mail/postfix24/pkg-plist +++ b/mail/postfix24/pkg-plist @@ -1,58 +1,27 @@ -@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi -@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi -@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/sample-access; then rm -f %D/etc/postfix/access; fi -@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/sample-aliases; then rm -f %D/etc/postfix/aliases; fi -@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/sample-canonical; then rm -f %D/etc/postfix/canonical; fi -@unexec if cmp -s %D/etc/postfix/pcre_table %D/etc/postfix/sample-pcre_table; then rm -f %D/etc/postfix/pcre_table; fi -@unexec if cmp -s %D/etc/postfix/regexp_table %D/etc/postfix/sample-regexp_table; then rm -f %D/etc/postfix/regexp_table; fi -@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/sample-relocated; then rm -f %D/etc/postfix/relocated; fi -@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/sample-transport; then rm -f %D/etc/postfix/transport; fi -@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/sample-virtual; then rm -f %D/etc/postfix/virtual; fi -bin/rmail +@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/dist-main.cf; then rm -f %D/etc/postfix/main.cf; fi +@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/dist-master.cf; then rm -f %D/etc/postfix/master.cf; fi +@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/dist-access; then rm -f %D/etc/postfix/access; fi +@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/dist-aliases; then rm -f %D/etc/postfix/aliases; fi +@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/dist-canonical; then rm -f %D/etc/postfix/canonical; fi +@unexec if cmp -s %D/etc/postfix/header_checks %D/etc/postfix/dist-header_checks; then rm -f %D/etc/postfix/header_checks; fi +@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/dist-relocated; then rm -f %D/etc/postfix/relocated; fi +@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/dist-transport; then rm -f %D/etc/postfix/transport; fi +@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/dist-virtual; then rm -f %D/etc/postfix/virtual; fi  etc/postfix/LICENSE  etc/postfix/main.cf.default +etc/postfix/makedefs.out  etc/postfix/post-install  etc/postfix/postfix-files  etc/postfix/postfix-script -etc/postfix/sample-access -etc/postfix/sample-aliases -etc/postfix/sample-canonical -etc/postfix/sample-pcre_table -etc/postfix/sample-regexp_table -etc/postfix/sample-relocated -etc/postfix/sample-aliases.cf -etc/postfix/sample-auth.cf -etc/postfix/sample-canonical.cf -etc/postfix/sample-compatibility.cf -etc/postfix/sample-debug.cf -etc/postfix/sample-filter.cf -etc/postfix/sample-flush.cf -%%SUB_IPV6%%etc/postfix/sample-ipv6.cf -etc/postfix/sample-ldap.cf -etc/postfix/sample-lmtp.cf -etc/postfix/sample-local.cf -etc/postfix/sample-main.cf -etc/postfix/sample-master.cf -etc/postfix/sample-mime.cf -etc/postfix/sample-misc.cf -etc/postfix/sample-pcre-access.cf -etc/postfix/sample-pcre-body.cf -etc/postfix/sample-pcre-header.cf -etc/postfix/sample-qmqpd.cf -etc/postfix/sample-rate.cf -etc/postfix/sample-regexp-access.cf -etc/postfix/sample-regexp-body.cf -etc/postfix/sample-regexp-header.cf -etc/postfix/sample-relocated.cf -etc/postfix/sample-resource.cf -etc/postfix/sample-rewrite.cf -etc/postfix/sample-smtp.cf -etc/postfix/sample-smtpd.cf -etc/postfix/sample-transport.cf -etc/postfix/sample-virtual.cf -etc/postfix/sample-transport -etc/postfix/sample-virtual -%%SUB_TLS%%etc/postfix/sample-tls.cf +etc/postfix/dist-main.cf +etc/postfix/dist-master.cf +etc/postfix/dist-access +etc/postfix/dist-aliases +etc/postfix/dist-canonical +etc/postfix/dist-header_checks +etc/postfix/dist-relocated +etc/postfix/dist-transport +etc/postfix/dist-virtual  libexec/postfix/bounce  libexec/postfix/cleanup  libexec/postfix/error @@ -61,6 +30,7 @@ libexec/postfix/lmtp  libexec/postfix/local  libexec/postfix/master  libexec/postfix/nqmgr +libexec/postfix/oqmgr  libexec/postfix/pickup  libexec/postfix/pipe  libexec/postfix/proxymap @@ -71,6 +41,7 @@ libexec/postfix/smtp  libexec/postfix/smtpd  libexec/postfix/spawn  libexec/postfix/trivial-rewrite +libexec/postfix/verify  libexec/postfix/virtual  %%SUB_TLS%%libexec/postfix/tlsmgr  sbin/postalias @@ -85,69 +56,127 @@ sbin/postmap  sbin/postqueue  sbin/postsuper  sbin/sendmail -bin/newaliases -bin/mailq +%%SUB_TEST%%sbin/qmqp-source  %%SUB_TEST%%sbin/smtp-sink  %%SUB_TEST%%sbin/smtp-source +bin/rmail +bin/newaliases +bin/mailq +%%PORTDOCS%%%%DOCSDIR%%/AAAREADME  %%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README.html +%%PORTDOCS%%%%DOCSDIR%%/CYRUS_README.html +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README.html  %%PORTDOCS%%%%DOCSDIR%%/DB_README +%%PORTDOCS%%%%DOCSDIR%%/DB_README.html  %%PORTDOCS%%%%DOCSDIR%%/DEBUG_README +%%PORTDOCS%%%%DOCSDIR%%/DEBUG_README.html  %%PORTDOCS%%%%DOCSDIR%%/ETRN_README +%%PORTDOCS%%%%DOCSDIR%%/ETRN_README.html  %%PORTDOCS%%%%DOCSDIR%%/FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/FILTER_README.html  %%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html  %%PORTDOCS%%%%SUB_IPV6%%%%DOCSDIR%%/IPV6_README  %%PORTDOCS%%%%DOCSDIR%%/LDAP_README +%%PORTDOCS%%%%DOCSDIR%%/LDAP_README.html  %%PORTDOCS%%%%DOCSDIR%%/LINUX_README -%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LINUX_README.html  %%PORTDOCS%%%%DOCSDIR%%/LMTP_README -%%PORTDOCS%%%%DOCSDIR%%/MACOSX_README +%%PORTDOCS%%%%DOCSDIR%%/LMTP_README.html +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README.html  %%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README +%%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README.html  %%PORTDOCS%%%%DOCSDIR%%/MYSQL_README +%%PORTDOCS%%%%DOCSDIR%%/MYSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/NFS_README +%%PORTDOCS%%%%DOCSDIR%%/NFS_README.html +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW.html  %%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README +%%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README.html  %%PORTDOCS%%%%DOCSDIR%%/PCRE_README +%%PORTDOCS%%%%DOCSDIR%%/PCRE_README.html +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/QMQP_README +%%PORTDOCS%%%%DOCSDIR%%/QMQP_README.html +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README.html  %%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES  %%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README.html  %%PORTDOCS%%%%DOCSDIR%%/SASL_README +%%PORTDOCS%%%%DOCSDIR%%/SASL_README.html +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README.html +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README.html  %%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README +%%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README.html  %%PORTDOCS%%%%DOCSDIR%%/UUCP_README +%%PORTDOCS%%%%DOCSDIR%%/UUCP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VERP_README +%%PORTDOCS%%%%DOCSDIR%%/VERP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README +%%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README.html +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README.html +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README.html  %%PORTDOCS%%%%DOCSDIR%%/access.5.html  %%PORTDOCS%%%%DOCSDIR%%/aliases.5.html -%%PORTDOCS%%%%DOCSDIR%%/architecture.html -%%PORTDOCS%%%%DOCSDIR%%/backstage.html -%%PORTDOCS%%%%DOCSDIR%%/basic.html -%%PORTDOCS%%%%DOCSDIR%%/big-picture.gif -%%PORTDOCS%%%%DOCSDIR%%/big-picture.html +%%PORTDOCS%%%%DOCSDIR%%/body_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/bounce.8.html  %%PORTDOCS%%%%DOCSDIR%%/canonical.5.html +%%PORTDOCS%%%%DOCSDIR%%/cidr_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/cleanup.8.html -%%PORTDOCS%%%%DOCSDIR%%/commands.html  %%PORTDOCS%%%%DOCSDIR%%/defer.8.html -%%PORTDOCS%%%%DOCSDIR%%/delivering.html  %%PORTDOCS%%%%DOCSDIR%%/error.8.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html  %%PORTDOCS%%%%DOCSDIR%%/flush.8.html -%%PORTDOCS%%%%DOCSDIR%%/goals.html -%%PORTDOCS%%%%DOCSDIR%%/inbound.gif +%%PORTDOCS%%%%DOCSDIR%%/header_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/ldap_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/lmtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/local.8.html  %%PORTDOCS%%%%DOCSDIR%%/mailq.1.html  %%PORTDOCS%%%%DOCSDIR%%/master.8.html -%%PORTDOCS%%%%DOCSDIR%%/motivation.html +%%PORTDOCS%%%%DOCSDIR%%/mysql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/newaliases.1.html -%%PORTDOCS%%%%DOCSDIR%%/nqmgr.8.html -%%PORTDOCS%%%%DOCSDIR%%/outbound.gif +%%PORTDOCS%%%%DOCSDIR%%/oqmgr.8.html  %%PORTDOCS%%%%DOCSDIR%%/pcre_table.5.html +%%PORTDOCS%%%%DOCSDIR%%/pgsql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/pickup.8.html  %%PORTDOCS%%%%DOCSDIR%%/pipe.8.html  %%PORTDOCS%%%%DOCSDIR%%/postalias.1.html  %%PORTDOCS%%%%DOCSDIR%%/postcat.1.html  %%PORTDOCS%%%%DOCSDIR%%/postconf.1.html +%%PORTDOCS%%%%DOCSDIR%%/postconf.5.html  %%PORTDOCS%%%%DOCSDIR%%/postdrop.1.html +%%PORTDOCS%%%%DOCSDIR%%/postfix-logo.jpg +%%PORTDOCS%%%%DOCSDIR%%/postfix-power.png  %%PORTDOCS%%%%DOCSDIR%%/postfix.1.html  %%PORTDOCS%%%%DOCSDIR%%/postkick.1.html  %%PORTDOCS%%%%DOCSDIR%%/postlock.1.html @@ -157,24 +186,23 @@ bin/mailq  %%PORTDOCS%%%%DOCSDIR%%/postsuper.1.html  %%PORTDOCS%%%%DOCSDIR%%/proxymap.8.html  %%PORTDOCS%%%%DOCSDIR%%/qmgr.8.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/qmqpd.8.html -%%PORTDOCS%%%%DOCSDIR%%/queuing.html -%%PORTDOCS%%%%DOCSDIR%%/rate.html -%%PORTDOCS%%%%DOCSDIR%%/receiving.html +%%PORTDOCS%%%%DOCSDIR%%/qshape.1.html  %%PORTDOCS%%%%DOCSDIR%%/regexp_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/relocated.5.html -%%PORTDOCS%%%%DOCSDIR%%/resource.html -%%PORTDOCS%%%%DOCSDIR%%/rewrite.html -%%PORTDOCS%%%%DOCSDIR%%/security.html  %%PORTDOCS%%%%DOCSDIR%%/sendmail.1.html  %%PORTDOCS%%%%DOCSDIR%%/showq.8.html -%%PORTDOCS%%%%DOCSDIR%%/small-picture.gif +%%PORTDOCS%%%%DOCSDIR%%/smtp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/smtp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/smtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/smtpd.8.html  %%PORTDOCS%%%%DOCSDIR%%/spawn.8.html +%%PORTDOCS%%%%DOCSDIR%%/trace.8.html  %%PORTDOCS%%%%DOCSDIR%%/transport.5.html  %%PORTDOCS%%%%DOCSDIR%%/trivial-rewrite.8.html -%%PORTDOCS%%%%DOCSDIR%%/uce.html +%%PORTDOCS%%%%DOCSDIR%%/verify.8.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.5.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.8.html  %%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/mail/postfix24/scripts/configure.postfix b/mail/postfix24/scripts/configure.postfix index 5871cdd294dc..e99b5c2adb38 100644 --- a/mail/postfix24/scripts/configure.postfix +++ b/mail/postfix24/scripts/configure.postfix @@ -1,5 +1,5 @@  #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.46 2004-03-29 16:13:44 pav Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.47 2004-05-12 09:08:16 pav Exp $  if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then  	exit @@ -34,7 +34,7 @@ MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL"  PgSQL		"PostgreSQL v7.4 map lookups" "$status_PgSQL" \  PgSQL73		"PostgreSQL v7.3 map lookups" "$status_PgSQL73" \  PgSQL72		"PostgreSQL v7.2 map lookups" "$status_PgSQL72" \ -OpenLDAP	"OpenLDAP map lookups (choose ver. with WANT_OPENLDAP_VER)" "$status_OpenLDAP" \ +OpenLDAP	"OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \  Test		"SMTP/LMTP test server and generator" "$status_Test" \  2> $tempfile @@ -108,8 +108,8 @@ while [ "$1" ]; do  			echo "USE_OPENSSL=	yes"  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto" -			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz" -			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff" +			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz" +			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.18-2.1.0-0.9.7d/pfixtls.diff"  			echo "PATCH_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls"  			SUB_TLS="" @@ -173,9 +173,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL73) @@ -183,9 +180,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL72) @@ -193,9 +187,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		OpenLDAP) @@ -205,7 +196,8 @@ while [ "$1" ]; do  			echo "OPENLDAP_SUFFIX=	+openldap"  			;;  		Test) -			echo "BIN1=		smtp-sink smtp-source" +			echo "BIN1=		smtp-sink smtp-source qmqp-source" +#			echo "MAN1+=		smtp-sink.1 smtp-source.1 qmqp-sink.1 qmqp-source.1"  			SUB_TEST=""  			;;  		IPv6) @@ -215,7 +207,7 @@ while [ "$1" ]; do  				exit 1  			fi  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "IPv6_SUFFIX=	+ipv6"  			echo "" @@ -233,7 +225,7 @@ while [ "$1" ]; do  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto"  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	tls+ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	tls+ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls+ipv6"  			SUB_TLS="" diff --git a/mail/postfix25/Makefile b/mail/postfix25/Makefile index 42370f14143b..814f157da47a 100644 --- a/mail/postfix25/Makefile +++ b/mail/postfix25/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for:	postfix-current +# New ports collection makefile for:	postfix  # Date created: 	18 Mar 1999  # Whom:			torstenb  # @@ -15,7 +15,7 @@  # NOTE: PCRE is enabled by default unless you specifically disable it.  PORTNAME=	postfix -PORTVERSION=	2.0.20 +PORTVERSION=	2.1.0  PORTEPOCH=	1  CATEGORIES=	mail ipv6  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ @@ -28,13 +28,10 @@ MASTER_SITE_SUBDIR=	. old related/postfix  DISTNAME=	postfix-${PORTVERSION}  DIST_SUBDIR=	${PORTNAME} -PATCH_SITES=	${MASTER_SITES} -PATCHFILES=	postfix-2.0-ns-mx-acl-patch.gz -  MAINTAINER=	vivek@khera.org  COMMENT=	A secure alternative to widely-used Sendmail -CONFLICTS=	courier-0.* postfix-1.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.* +CONFLICTS=	courier-0.* postfix-1.* postfix-2.0.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*  USE_SUBMAKE=	yes  USE_REINPLACE=	yes @@ -42,19 +39,34 @@ MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \  	postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postqueue.1 \  	postsuper.1 sendmail.1 -MAN5=	access.5 aliases.5 canonical.5 pcre_table.5 regexp_table.5 \ -	relocated.5 transport.5 virtual.5 +MAN5=	access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \ +	mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \ +	regexp_table.5 relocated.5 transport.5 virtual.5 \ +	header_checks.5 body_checks.5  MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \ -	master.8 nqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ -	smtp.8 smtpd.8 spawn.8 trivial-rewrite.8 virtual.8 +	master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ +	smtp.8 smtpd.8 spawn.8 trace.8 trivial-rewrite.8 verify.8 virtual.8  # TLS patch adds to MAN8 but doesn't have .html file, so avoid trying to  # patch it.  MAN8base=$(MAN8:S/tlsmgr.8//) -CONF1=	main.cf master.cf access aliases canonical pcre_table regexp_table \ -	relocated transport virtual +CONF1=	main.cf master.cf access aliases canonical header_checks relocated \ +	transport virtual + +README=	ADDRESS_CLASS_README ADDRESS_REWRITING_README \ +	ADDRESS_VERIFICATION_README BACKSCATTER_README \ +	BASIC_CONFIGURATION_README BUILTIN_FILTER_README \ +	CONTENT_INSPECTION_README CYRUS_README DATABASE_README DB_README \ +	DEBUG_README ETRN_README FILTER_README INSTALL LDAP_README \ +	LINUX_README LMTP_README LOCAL_RECIPIENT_README MAILDROP_README \ +	MYSQL_README NFS_README OVERVIEW PACKAGE_README PCRE_README \ +	PGSQL_README QMQP_README QSHAPE_README RESTRICTION_CLASS_README \ +	SASL_README SCHEDULER_README SMTPD_ACCESS_README SMTPD_POLICY_README \ +	SMTPD_PROXY_README STANDARD_CONFIGURATION_README TUNING_README \ +	ULTRIX_README UUCP_README VERP_README VIRTUAL_README \ +	XCLIENT_README XFORWARD_README  .if !defined(DEBUG)  MAKEFILEFLAGS+=	DEBUG= @@ -88,6 +100,7 @@ post-patch:  	${ECHO} "all: default" >> Makefile)  pre-patch: +	${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html  .for file in ${MAN1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html @@ -100,9 +113,11 @@ pre-patch:  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man8/${file} ${WRKSRC}/html/${file}.html  .endfor -.for file in faq rate rewrite uce +.for file in ${README}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/html/${file}.html +	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ +		${WRKSRC}/README_FILES/${file}  .endfor  .for file in ${CONF1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file} @@ -134,7 +149,7 @@ do-install:  .for file in ${CONF1}  	${INSTALL_DATA} ${WRKSRC}/conf/${file} \ -		${PREFIX}/etc/postfix/sample-${file} +		${PREFIX}/etc/postfix/dist-${file}  .endfor  	@${INSTALL_SCRIPT} \ @@ -143,14 +158,12 @@ do-install:  # optional TEST binaries  .for file in ${BIN1} -	@${INSTALL_PROGRAM} \ -		${WRKSRC}/src/smtpstone/${file} \ -		${PREFIX}/sbin +	@${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/sbin  .endfor  .if !defined(NOPORTDOCS)  	@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR} -	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} && \ +	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.jpg *.png ${DOCSDIR} && \  		${ECHO_MSG} "Installed HTML documentation in ${DOCSDIR}"  .endif diff --git a/mail/postfix25/distinfo b/mail/postfix25/distinfo index 245924cb304b..28afa1a20582 100644 --- a/mail/postfix25/distinfo +++ b/mail/postfix25/distinfo @@ -1,9 +1,8 @@ -MD5 (postfix/postfix-2.0.20.tar.gz) = 92479b64d132262be505a17ec02bc2a8 -SIZE (postfix/postfix-2.0.20.tar.gz) = 1354414 -MD5 (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 55a3d76d52fddd5cd0365004957a1160 -SIZE (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 4673 -MD5 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 0d557a1331f0afc12b7decdc328947a1 -SIZE (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27423 -MD5 (postfix/pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz) = b39c08eabe807db4af5bcb1cafc9761e -MD5 (postfix/ipv6-1.21-pf-2.0.18.patch.gz) = f30495d44b140239df02a0599d280d68 -MD5 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 8d273f922352a0ff32c57c29bec26b46 +MD5 (postfix/postfix-2.1.0.tar.gz) = 286856c9597cfa244c3b6133dce12749 +SIZE (postfix/postfix-2.1.0.tar.gz) = 1992845 +MD5 (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 01785d9636bdae51a906320e581b1e6b +SIZE (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 239141 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 diff --git a/mail/postfix25/files/patch-ea b/mail/postfix25/files/patch-ea deleted file mode 100644 index 6c3f98d2af4f..000000000000 --- a/mail/postfix25/files/patch-ea +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/cleanup/cleanup.c.orig	Sun May 28 18:33:41 2000 ---- ./src/cleanup/cleanup.c	Thu Jun  1 21:52:22 2000 -*************** -*** 118,121 **** -  /* FILES -! /*	/etc/postfix/canonical*, canonical mapping table -! /*	/etc/postfix/virtual*, virtual mapping table -  /* LICENSE ---- 118,121 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/canonical*, canonical mapping table -! /*	!!PREFIX!!/etc/postfix/virtual*, virtual mapping table -  /* LICENSE diff --git a/mail/postfix25/files/patch-eb b/mail/postfix25/files/patch-eb deleted file mode 100644 index e67680963d2d..000000000000 --- a/mail/postfix25/files/patch-eb +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/global/mail_conf.c.orig	Sun May  7 18:51:16 2000 ---- ./src/global/mail_conf.c	Thu Jun  1 22:16:29 2000 -*************** -*** 53,55 **** -  /* FILES -! /*	/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT ---- 53,55 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT diff --git a/mail/postfix25/files/patch-ec b/mail/postfix25/files/patch-ec index 5f5d1ad9cadc..a3f617235fba 100644 --- a/mail/postfix25/files/patch-ec +++ b/mail/postfix25/files/patch-ec @@ -1,41 +1,53 @@ -*** ./src/global/mail_params.h.orig	Thu Jan  3 13:13:37 2002 ---- ./src/global/mail_params.h	Tue Jan  8 22:18:22 2002 +*** ./src/global/mail_params.h.orig	Sat Jan 17 10:04:00 2004 +--- ./src/global/mail_params.h	Fri Jan 30 14:48:23 2004  *************** -*** 51,55 **** +*** 64,70 **** +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"postdrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; ---- 51,55 ---- +   +--- 64,70 ---- +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"maildrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; +    *************** -*** 170,174 **** -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"/usr/libexec/postfix" +*** 202,208 **** +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"/usr/libexec/postfix"    #endif +  extern char *var_daemon_dir; ---- 170,174 ---- -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"!!PREFIX!!/libexec/postfix" +--- 202,208 ---- +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"!!PREFIX!!/libexec/postfix"    #endif +  extern char *var_daemon_dir;  *************** -*** 204,208 **** +*** 231,237 **** +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"/etc/postfix"    #endif    extern char *var_config_dir; ---- 204,208 ---- +   +--- 231,237 ---- +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"!!PREFIX!!/etc/postfix"    #endif    extern char *var_config_dir; +   diff --git a/mail/postfix25/files/patch-ed b/mail/postfix25/files/patch-ed deleted file mode 100644 index f971b62720d8..000000000000 --- a/mail/postfix25/files/patch-ed +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/local/mailbox.c.orig	Fri Apr 28 16:55:53 2000 ---- ./src/local/mailbox.c	Thu Jun  1 22:37:48 2000 -*************** -*** 15,17 **** -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/[spool/]mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; ---- 15,17 ---- -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; diff --git a/mail/postfix25/files/patch-ee b/mail/postfix25/files/patch-ee deleted file mode 100644 index ef44eac24b73..000000000000 --- a/mail/postfix25/files/patch-ee +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/master/master.c.orig	Tue Mar  7 10:25:07 2000 ---- ./src/master/master.c	Thu Jun  1 22:43:50 2000 -*************** -*** 104,107 **** -  /* FILES -! /*	/etc/postfix/main.cf: global configuration file. -! /*	/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. ---- 104,107 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/main.cf: global configuration file. -! /*	!!PREFIX!!/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. diff --git a/mail/postfix25/files/patch-ef b/mail/postfix25/files/patch-ef deleted file mode 100644 index 586b304a103d..000000000000 --- a/mail/postfix25/files/patch-ef +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/postdrop/postdrop.c.orig	Sun Apr 25 18:05:43 1999 ---- ./src/postdrop/postdrop.c	Thu Jun  1 22:44:22 2000 -*************** -*** 39,41 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 39,41 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix25/files/patch-eg b/mail/postfix25/files/patch-eg deleted file mode 100644 index 2983bbfd86ea..000000000000 --- a/mail/postfix25/files/patch-eg +++ /dev/null @@ -1,20 +0,0 @@ -*** ./src/sendmail/sendmail.c.orig	Tue Mar 14 10:42:06 2000 ---- ./src/sendmail/sendmail.c	Thu Jun  1 22:47:24 2000 -*************** -*** 57,59 **** -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR ---- 57,59 ---- -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB!!PREFIX!!/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR -*************** -*** 159,161 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 159,161 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix25/files/patch-eh b/mail/postfix25/files/patch-eh deleted file mode 100644 index c104c3680d21..000000000000 --- a/mail/postfix25/files/patch-eh +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/trivial-rewrite/transport.c.orig	Tue Nov 16 19:15:41 1999 ---- ./src/trivial-rewrite/transport.c	Thu Jun  1 22:47:49 2000 -*************** -*** 32,34 **** -  /* FILES -! /*	/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS ---- 32,34 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix25/files/patch-main.cf b/mail/postfix25/files/patch-main.cf index 6281b6b6d7f1..7775cd80efb2 100644 --- a/mail/postfix25/files/patch-main.cf +++ b/mail/postfix25/files/patch-main.cf @@ -1,58 +1,108 @@ ---- ./conf/main.cf	Wed Jan  8 22:11:52 2003 -+++ ./conf/main.cf	Wed Jan  8 22:11:53 2003 -@@ -31,13 +31,13 @@ - # The command_directory parameter specifies the location of all - # postXXX commands. - # --command_directory = /usr/sbin -+command_directory = !!PREFIX!!/sbin -  - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # --daemon_directory = /usr/libexec/postfix -+daemon_directory = !!PREFIX!!/libexec/postfix -  - # QUEUE AND PROCESS OWNERSHIP - # -@@ -590,32 +590,32 @@ - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - #  --sendmail_path = -+sendmail_path = !!PREFIX!!/sbin/sendmail -  - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # --newaliases_path = -+newaliases_path = !!PREFIX!!/bin/newaliases -  - # mailq_path: The full pathname of the Postfix mailq command.  This - # is the Sendmail-compatible mail queue listing command. - #  --mailq_path = -+mailq_path = !!PREFIX!!/bin/mailq -  - # setgid_group: The group for mail submission and queue management - # commands.  This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # --setgid_group = -+setgid_group = maildrop -  - # manpage_directory: The location of the Postfix on-line manual pages. - # --manpage_directory = -+manpage_directory = !!PREFIX!!/man -  - # sample_directory: The location of the Postfix sample configuration files. - # --sample_directory = -+sample_directory = !!PREFIX!!/etc/postfix -  - # readme_directory: The location of the Postfix README files. - # --readme_directory = -+readme_directory = no +*** ./conf/main.cf~	Mon Apr 26 16:54:42 2004 +--- ./conf/main.cf	Mon Apr 26 16:54:42 2004 +*************** +*** 32,44 **** +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = /usr/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = /usr/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +--- 32,44 ---- +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = !!PREFIX!!/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = !!PREFIX!!/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +*************** +*** 595,631 **** +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = +--- 595,631 ---- +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = !!PREFIX!!/sbin/sendmail +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = !!PREFIX!!/bin/newaliases +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = !!PREFIX!!/bin/mailq +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = maildrop +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = no +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = !!PREFIX!!/man +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = !!PREFIX!!/etc/postfix +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = no diff --git a/mail/postfix25/pkg-install b/mail/postfix25/pkg-install index 44a1d6cbacc2..5765d42430c1 100644 --- a/mail/postfix25/pkg-install +++ b/mail/postfix25/pkg-install @@ -118,13 +118,14 @@ if [ x"$2" = xPRE-INSTALL ]; then  fi  if [ x"$2" = xPOST-INSTALL ]; then -	CONF1="main.cf master.cf access aliases canonical pcre_table \ -	regexp_table relocated transport virtual" +	# CONF1 copied from Makefile.  Keep consistent! +	CONF1="main.cf master.cf access aliases canonical \ +	header_checks relocated transport virtual"  	for file in $CONF1  	do  	        if [ ! -f ${PKG_PREFIX}/etc/postfix/$file ]; then -        	        cp ${PKG_PREFIX}/etc/postfix/sample-$file ${PKG_PREFIX}/etc/postfix/$file +        	        cp ${PKG_PREFIX}/etc/postfix/dist-$file ${PKG_PREFIX}/etc/postfix/$file  	        fi  	done diff --git a/mail/postfix25/pkg-plist b/mail/postfix25/pkg-plist index 09f2ca9027a0..23f7b45d2de0 100644 --- a/mail/postfix25/pkg-plist +++ b/mail/postfix25/pkg-plist @@ -1,58 +1,27 @@ -@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi -@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi -@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/sample-access; then rm -f %D/etc/postfix/access; fi -@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/sample-aliases; then rm -f %D/etc/postfix/aliases; fi -@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/sample-canonical; then rm -f %D/etc/postfix/canonical; fi -@unexec if cmp -s %D/etc/postfix/pcre_table %D/etc/postfix/sample-pcre_table; then rm -f %D/etc/postfix/pcre_table; fi -@unexec if cmp -s %D/etc/postfix/regexp_table %D/etc/postfix/sample-regexp_table; then rm -f %D/etc/postfix/regexp_table; fi -@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/sample-relocated; then rm -f %D/etc/postfix/relocated; fi -@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/sample-transport; then rm -f %D/etc/postfix/transport; fi -@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/sample-virtual; then rm -f %D/etc/postfix/virtual; fi -bin/rmail +@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/dist-main.cf; then rm -f %D/etc/postfix/main.cf; fi +@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/dist-master.cf; then rm -f %D/etc/postfix/master.cf; fi +@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/dist-access; then rm -f %D/etc/postfix/access; fi +@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/dist-aliases; then rm -f %D/etc/postfix/aliases; fi +@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/dist-canonical; then rm -f %D/etc/postfix/canonical; fi +@unexec if cmp -s %D/etc/postfix/header_checks %D/etc/postfix/dist-header_checks; then rm -f %D/etc/postfix/header_checks; fi +@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/dist-relocated; then rm -f %D/etc/postfix/relocated; fi +@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/dist-transport; then rm -f %D/etc/postfix/transport; fi +@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/dist-virtual; then rm -f %D/etc/postfix/virtual; fi  etc/postfix/LICENSE  etc/postfix/main.cf.default +etc/postfix/makedefs.out  etc/postfix/post-install  etc/postfix/postfix-files  etc/postfix/postfix-script -etc/postfix/sample-access -etc/postfix/sample-aliases -etc/postfix/sample-canonical -etc/postfix/sample-pcre_table -etc/postfix/sample-regexp_table -etc/postfix/sample-relocated -etc/postfix/sample-aliases.cf -etc/postfix/sample-auth.cf -etc/postfix/sample-canonical.cf -etc/postfix/sample-compatibility.cf -etc/postfix/sample-debug.cf -etc/postfix/sample-filter.cf -etc/postfix/sample-flush.cf -%%SUB_IPV6%%etc/postfix/sample-ipv6.cf -etc/postfix/sample-ldap.cf -etc/postfix/sample-lmtp.cf -etc/postfix/sample-local.cf -etc/postfix/sample-main.cf -etc/postfix/sample-master.cf -etc/postfix/sample-mime.cf -etc/postfix/sample-misc.cf -etc/postfix/sample-pcre-access.cf -etc/postfix/sample-pcre-body.cf -etc/postfix/sample-pcre-header.cf -etc/postfix/sample-qmqpd.cf -etc/postfix/sample-rate.cf -etc/postfix/sample-regexp-access.cf -etc/postfix/sample-regexp-body.cf -etc/postfix/sample-regexp-header.cf -etc/postfix/sample-relocated.cf -etc/postfix/sample-resource.cf -etc/postfix/sample-rewrite.cf -etc/postfix/sample-smtp.cf -etc/postfix/sample-smtpd.cf -etc/postfix/sample-transport.cf -etc/postfix/sample-virtual.cf -etc/postfix/sample-transport -etc/postfix/sample-virtual -%%SUB_TLS%%etc/postfix/sample-tls.cf +etc/postfix/dist-main.cf +etc/postfix/dist-master.cf +etc/postfix/dist-access +etc/postfix/dist-aliases +etc/postfix/dist-canonical +etc/postfix/dist-header_checks +etc/postfix/dist-relocated +etc/postfix/dist-transport +etc/postfix/dist-virtual  libexec/postfix/bounce  libexec/postfix/cleanup  libexec/postfix/error @@ -61,6 +30,7 @@ libexec/postfix/lmtp  libexec/postfix/local  libexec/postfix/master  libexec/postfix/nqmgr +libexec/postfix/oqmgr  libexec/postfix/pickup  libexec/postfix/pipe  libexec/postfix/proxymap @@ -71,6 +41,7 @@ libexec/postfix/smtp  libexec/postfix/smtpd  libexec/postfix/spawn  libexec/postfix/trivial-rewrite +libexec/postfix/verify  libexec/postfix/virtual  %%SUB_TLS%%libexec/postfix/tlsmgr  sbin/postalias @@ -85,69 +56,127 @@ sbin/postmap  sbin/postqueue  sbin/postsuper  sbin/sendmail -bin/newaliases -bin/mailq +%%SUB_TEST%%sbin/qmqp-source  %%SUB_TEST%%sbin/smtp-sink  %%SUB_TEST%%sbin/smtp-source +bin/rmail +bin/newaliases +bin/mailq +%%PORTDOCS%%%%DOCSDIR%%/AAAREADME  %%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README.html +%%PORTDOCS%%%%DOCSDIR%%/CYRUS_README.html +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README.html  %%PORTDOCS%%%%DOCSDIR%%/DB_README +%%PORTDOCS%%%%DOCSDIR%%/DB_README.html  %%PORTDOCS%%%%DOCSDIR%%/DEBUG_README +%%PORTDOCS%%%%DOCSDIR%%/DEBUG_README.html  %%PORTDOCS%%%%DOCSDIR%%/ETRN_README +%%PORTDOCS%%%%DOCSDIR%%/ETRN_README.html  %%PORTDOCS%%%%DOCSDIR%%/FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/FILTER_README.html  %%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html  %%PORTDOCS%%%%SUB_IPV6%%%%DOCSDIR%%/IPV6_README  %%PORTDOCS%%%%DOCSDIR%%/LDAP_README +%%PORTDOCS%%%%DOCSDIR%%/LDAP_README.html  %%PORTDOCS%%%%DOCSDIR%%/LINUX_README -%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LINUX_README.html  %%PORTDOCS%%%%DOCSDIR%%/LMTP_README -%%PORTDOCS%%%%DOCSDIR%%/MACOSX_README +%%PORTDOCS%%%%DOCSDIR%%/LMTP_README.html +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README.html  %%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README +%%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README.html  %%PORTDOCS%%%%DOCSDIR%%/MYSQL_README +%%PORTDOCS%%%%DOCSDIR%%/MYSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/NFS_README +%%PORTDOCS%%%%DOCSDIR%%/NFS_README.html +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW.html  %%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README +%%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README.html  %%PORTDOCS%%%%DOCSDIR%%/PCRE_README +%%PORTDOCS%%%%DOCSDIR%%/PCRE_README.html +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/QMQP_README +%%PORTDOCS%%%%DOCSDIR%%/QMQP_README.html +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README.html  %%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES  %%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README.html  %%PORTDOCS%%%%DOCSDIR%%/SASL_README +%%PORTDOCS%%%%DOCSDIR%%/SASL_README.html +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README.html +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README.html  %%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README +%%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README.html  %%PORTDOCS%%%%DOCSDIR%%/UUCP_README +%%PORTDOCS%%%%DOCSDIR%%/UUCP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VERP_README +%%PORTDOCS%%%%DOCSDIR%%/VERP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README +%%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README.html +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README.html +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README.html  %%PORTDOCS%%%%DOCSDIR%%/access.5.html  %%PORTDOCS%%%%DOCSDIR%%/aliases.5.html -%%PORTDOCS%%%%DOCSDIR%%/architecture.html -%%PORTDOCS%%%%DOCSDIR%%/backstage.html -%%PORTDOCS%%%%DOCSDIR%%/basic.html -%%PORTDOCS%%%%DOCSDIR%%/big-picture.gif -%%PORTDOCS%%%%DOCSDIR%%/big-picture.html +%%PORTDOCS%%%%DOCSDIR%%/body_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/bounce.8.html  %%PORTDOCS%%%%DOCSDIR%%/canonical.5.html +%%PORTDOCS%%%%DOCSDIR%%/cidr_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/cleanup.8.html -%%PORTDOCS%%%%DOCSDIR%%/commands.html  %%PORTDOCS%%%%DOCSDIR%%/defer.8.html -%%PORTDOCS%%%%DOCSDIR%%/delivering.html  %%PORTDOCS%%%%DOCSDIR%%/error.8.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html  %%PORTDOCS%%%%DOCSDIR%%/flush.8.html -%%PORTDOCS%%%%DOCSDIR%%/goals.html -%%PORTDOCS%%%%DOCSDIR%%/inbound.gif +%%PORTDOCS%%%%DOCSDIR%%/header_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/ldap_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/lmtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/local.8.html  %%PORTDOCS%%%%DOCSDIR%%/mailq.1.html  %%PORTDOCS%%%%DOCSDIR%%/master.8.html -%%PORTDOCS%%%%DOCSDIR%%/motivation.html +%%PORTDOCS%%%%DOCSDIR%%/mysql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/newaliases.1.html -%%PORTDOCS%%%%DOCSDIR%%/nqmgr.8.html -%%PORTDOCS%%%%DOCSDIR%%/outbound.gif +%%PORTDOCS%%%%DOCSDIR%%/oqmgr.8.html  %%PORTDOCS%%%%DOCSDIR%%/pcre_table.5.html +%%PORTDOCS%%%%DOCSDIR%%/pgsql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/pickup.8.html  %%PORTDOCS%%%%DOCSDIR%%/pipe.8.html  %%PORTDOCS%%%%DOCSDIR%%/postalias.1.html  %%PORTDOCS%%%%DOCSDIR%%/postcat.1.html  %%PORTDOCS%%%%DOCSDIR%%/postconf.1.html +%%PORTDOCS%%%%DOCSDIR%%/postconf.5.html  %%PORTDOCS%%%%DOCSDIR%%/postdrop.1.html +%%PORTDOCS%%%%DOCSDIR%%/postfix-logo.jpg +%%PORTDOCS%%%%DOCSDIR%%/postfix-power.png  %%PORTDOCS%%%%DOCSDIR%%/postfix.1.html  %%PORTDOCS%%%%DOCSDIR%%/postkick.1.html  %%PORTDOCS%%%%DOCSDIR%%/postlock.1.html @@ -157,24 +186,23 @@ bin/mailq  %%PORTDOCS%%%%DOCSDIR%%/postsuper.1.html  %%PORTDOCS%%%%DOCSDIR%%/proxymap.8.html  %%PORTDOCS%%%%DOCSDIR%%/qmgr.8.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/qmqpd.8.html -%%PORTDOCS%%%%DOCSDIR%%/queuing.html -%%PORTDOCS%%%%DOCSDIR%%/rate.html -%%PORTDOCS%%%%DOCSDIR%%/receiving.html +%%PORTDOCS%%%%DOCSDIR%%/qshape.1.html  %%PORTDOCS%%%%DOCSDIR%%/regexp_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/relocated.5.html -%%PORTDOCS%%%%DOCSDIR%%/resource.html -%%PORTDOCS%%%%DOCSDIR%%/rewrite.html -%%PORTDOCS%%%%DOCSDIR%%/security.html  %%PORTDOCS%%%%DOCSDIR%%/sendmail.1.html  %%PORTDOCS%%%%DOCSDIR%%/showq.8.html -%%PORTDOCS%%%%DOCSDIR%%/small-picture.gif +%%PORTDOCS%%%%DOCSDIR%%/smtp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/smtp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/smtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/smtpd.8.html  %%PORTDOCS%%%%DOCSDIR%%/spawn.8.html +%%PORTDOCS%%%%DOCSDIR%%/trace.8.html  %%PORTDOCS%%%%DOCSDIR%%/transport.5.html  %%PORTDOCS%%%%DOCSDIR%%/trivial-rewrite.8.html -%%PORTDOCS%%%%DOCSDIR%%/uce.html +%%PORTDOCS%%%%DOCSDIR%%/verify.8.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.5.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.8.html  %%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/mail/postfix25/scripts/configure.postfix b/mail/postfix25/scripts/configure.postfix index af8097c9059b..ce2c988df8ca 100644 --- a/mail/postfix25/scripts/configure.postfix +++ b/mail/postfix25/scripts/configure.postfix @@ -1,5 +1,5 @@  #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix25/scripts/Attic/configure.postfix,v 1.46 2004-03-29 16:13:44 pav Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix25/scripts/Attic/configure.postfix,v 1.47 2004-05-12 09:08:16 pav Exp $  if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then  	exit @@ -34,7 +34,7 @@ MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL"  PgSQL		"PostgreSQL v7.4 map lookups" "$status_PgSQL" \  PgSQL73		"PostgreSQL v7.3 map lookups" "$status_PgSQL73" \  PgSQL72		"PostgreSQL v7.2 map lookups" "$status_PgSQL72" \ -OpenLDAP	"OpenLDAP map lookups (choose ver. with WANT_OPENLDAP_VER)" "$status_OpenLDAP" \ +OpenLDAP	"OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \  Test		"SMTP/LMTP test server and generator" "$status_Test" \  2> $tempfile @@ -108,8 +108,8 @@ while [ "$1" ]; do  			echo "USE_OPENSSL=	yes"  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto" -			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz" -			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff" +			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz" +			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.18-2.1.0-0.9.7d/pfixtls.diff"  			echo "PATCH_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls"  			SUB_TLS="" @@ -173,9 +173,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL73) @@ -183,9 +180,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL72) @@ -193,9 +187,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		OpenLDAP) @@ -205,7 +196,8 @@ while [ "$1" ]; do  			echo "OPENLDAP_SUFFIX=	+openldap"  			;;  		Test) -			echo "BIN1=		smtp-sink smtp-source" +			echo "BIN1=		smtp-sink smtp-source qmqp-source" +#			echo "MAN1+=		smtp-sink.1 smtp-source.1 qmqp-sink.1 qmqp-source.1"  			SUB_TEST=""  			;;  		IPv6) @@ -215,7 +207,7 @@ while [ "$1" ]; do  				exit 1  			fi  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "IPv6_SUFFIX=	+ipv6"  			echo "" @@ -233,7 +225,7 @@ while [ "$1" ]; do  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto"  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	tls+ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	tls+ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls+ipv6"  			SUB_TLS="" diff --git a/mail/postfix26/Makefile b/mail/postfix26/Makefile index 42370f14143b..814f157da47a 100644 --- a/mail/postfix26/Makefile +++ b/mail/postfix26/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for:	postfix-current +# New ports collection makefile for:	postfix  # Date created: 	18 Mar 1999  # Whom:			torstenb  # @@ -15,7 +15,7 @@  # NOTE: PCRE is enabled by default unless you specifically disable it.  PORTNAME=	postfix -PORTVERSION=	2.0.20 +PORTVERSION=	2.1.0  PORTEPOCH=	1  CATEGORIES=	mail ipv6  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ @@ -28,13 +28,10 @@ MASTER_SITE_SUBDIR=	. old related/postfix  DISTNAME=	postfix-${PORTVERSION}  DIST_SUBDIR=	${PORTNAME} -PATCH_SITES=	${MASTER_SITES} -PATCHFILES=	postfix-2.0-ns-mx-acl-patch.gz -  MAINTAINER=	vivek@khera.org  COMMENT=	A secure alternative to widely-used Sendmail -CONFLICTS=	courier-0.* postfix-1.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.* +CONFLICTS=	courier-0.* postfix-1.* postfix-2.0.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*  USE_SUBMAKE=	yes  USE_REINPLACE=	yes @@ -42,19 +39,34 @@ MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \  	postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postqueue.1 \  	postsuper.1 sendmail.1 -MAN5=	access.5 aliases.5 canonical.5 pcre_table.5 regexp_table.5 \ -	relocated.5 transport.5 virtual.5 +MAN5=	access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \ +	mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \ +	regexp_table.5 relocated.5 transport.5 virtual.5 \ +	header_checks.5 body_checks.5  MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \ -	master.8 nqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ -	smtp.8 smtpd.8 spawn.8 trivial-rewrite.8 virtual.8 +	master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ +	smtp.8 smtpd.8 spawn.8 trace.8 trivial-rewrite.8 verify.8 virtual.8  # TLS patch adds to MAN8 but doesn't have .html file, so avoid trying to  # patch it.  MAN8base=$(MAN8:S/tlsmgr.8//) -CONF1=	main.cf master.cf access aliases canonical pcre_table regexp_table \ -	relocated transport virtual +CONF1=	main.cf master.cf access aliases canonical header_checks relocated \ +	transport virtual + +README=	ADDRESS_CLASS_README ADDRESS_REWRITING_README \ +	ADDRESS_VERIFICATION_README BACKSCATTER_README \ +	BASIC_CONFIGURATION_README BUILTIN_FILTER_README \ +	CONTENT_INSPECTION_README CYRUS_README DATABASE_README DB_README \ +	DEBUG_README ETRN_README FILTER_README INSTALL LDAP_README \ +	LINUX_README LMTP_README LOCAL_RECIPIENT_README MAILDROP_README \ +	MYSQL_README NFS_README OVERVIEW PACKAGE_README PCRE_README \ +	PGSQL_README QMQP_README QSHAPE_README RESTRICTION_CLASS_README \ +	SASL_README SCHEDULER_README SMTPD_ACCESS_README SMTPD_POLICY_README \ +	SMTPD_PROXY_README STANDARD_CONFIGURATION_README TUNING_README \ +	ULTRIX_README UUCP_README VERP_README VIRTUAL_README \ +	XCLIENT_README XFORWARD_README  .if !defined(DEBUG)  MAKEFILEFLAGS+=	DEBUG= @@ -88,6 +100,7 @@ post-patch:  	${ECHO} "all: default" >> Makefile)  pre-patch: +	${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html  .for file in ${MAN1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html @@ -100,9 +113,11 @@ pre-patch:  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man8/${file} ${WRKSRC}/html/${file}.html  .endfor -.for file in faq rate rewrite uce +.for file in ${README}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/html/${file}.html +	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ +		${WRKSRC}/README_FILES/${file}  .endfor  .for file in ${CONF1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file} @@ -134,7 +149,7 @@ do-install:  .for file in ${CONF1}  	${INSTALL_DATA} ${WRKSRC}/conf/${file} \ -		${PREFIX}/etc/postfix/sample-${file} +		${PREFIX}/etc/postfix/dist-${file}  .endfor  	@${INSTALL_SCRIPT} \ @@ -143,14 +158,12 @@ do-install:  # optional TEST binaries  .for file in ${BIN1} -	@${INSTALL_PROGRAM} \ -		${WRKSRC}/src/smtpstone/${file} \ -		${PREFIX}/sbin +	@${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/sbin  .endfor  .if !defined(NOPORTDOCS)  	@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR} -	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} && \ +	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.jpg *.png ${DOCSDIR} && \  		${ECHO_MSG} "Installed HTML documentation in ${DOCSDIR}"  .endif diff --git a/mail/postfix26/distinfo b/mail/postfix26/distinfo index 245924cb304b..28afa1a20582 100644 --- a/mail/postfix26/distinfo +++ b/mail/postfix26/distinfo @@ -1,9 +1,8 @@ -MD5 (postfix/postfix-2.0.20.tar.gz) = 92479b64d132262be505a17ec02bc2a8 -SIZE (postfix/postfix-2.0.20.tar.gz) = 1354414 -MD5 (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 55a3d76d52fddd5cd0365004957a1160 -SIZE (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 4673 -MD5 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 0d557a1331f0afc12b7decdc328947a1 -SIZE (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27423 -MD5 (postfix/pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz) = b39c08eabe807db4af5bcb1cafc9761e -MD5 (postfix/ipv6-1.21-pf-2.0.18.patch.gz) = f30495d44b140239df02a0599d280d68 -MD5 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 8d273f922352a0ff32c57c29bec26b46 +MD5 (postfix/postfix-2.1.0.tar.gz) = 286856c9597cfa244c3b6133dce12749 +SIZE (postfix/postfix-2.1.0.tar.gz) = 1992845 +MD5 (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 01785d9636bdae51a906320e581b1e6b +SIZE (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 239141 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 diff --git a/mail/postfix26/files/patch-ea b/mail/postfix26/files/patch-ea deleted file mode 100644 index 6c3f98d2af4f..000000000000 --- a/mail/postfix26/files/patch-ea +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/cleanup/cleanup.c.orig	Sun May 28 18:33:41 2000 ---- ./src/cleanup/cleanup.c	Thu Jun  1 21:52:22 2000 -*************** -*** 118,121 **** -  /* FILES -! /*	/etc/postfix/canonical*, canonical mapping table -! /*	/etc/postfix/virtual*, virtual mapping table -  /* LICENSE ---- 118,121 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/canonical*, canonical mapping table -! /*	!!PREFIX!!/etc/postfix/virtual*, virtual mapping table -  /* LICENSE diff --git a/mail/postfix26/files/patch-eb b/mail/postfix26/files/patch-eb deleted file mode 100644 index e67680963d2d..000000000000 --- a/mail/postfix26/files/patch-eb +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/global/mail_conf.c.orig	Sun May  7 18:51:16 2000 ---- ./src/global/mail_conf.c	Thu Jun  1 22:16:29 2000 -*************** -*** 53,55 **** -  /* FILES -! /*	/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT ---- 53,55 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT diff --git a/mail/postfix26/files/patch-ec b/mail/postfix26/files/patch-ec index 5f5d1ad9cadc..a3f617235fba 100644 --- a/mail/postfix26/files/patch-ec +++ b/mail/postfix26/files/patch-ec @@ -1,41 +1,53 @@ -*** ./src/global/mail_params.h.orig	Thu Jan  3 13:13:37 2002 ---- ./src/global/mail_params.h	Tue Jan  8 22:18:22 2002 +*** ./src/global/mail_params.h.orig	Sat Jan 17 10:04:00 2004 +--- ./src/global/mail_params.h	Fri Jan 30 14:48:23 2004  *************** -*** 51,55 **** +*** 64,70 **** +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"postdrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; ---- 51,55 ---- +   +--- 64,70 ---- +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"maildrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; +    *************** -*** 170,174 **** -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"/usr/libexec/postfix" +*** 202,208 **** +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"/usr/libexec/postfix"    #endif +  extern char *var_daemon_dir; ---- 170,174 ---- -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"!!PREFIX!!/libexec/postfix" +--- 202,208 ---- +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"!!PREFIX!!/libexec/postfix"    #endif +  extern char *var_daemon_dir;  *************** -*** 204,208 **** +*** 231,237 **** +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"/etc/postfix"    #endif    extern char *var_config_dir; ---- 204,208 ---- +   +--- 231,237 ---- +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"!!PREFIX!!/etc/postfix"    #endif    extern char *var_config_dir; +   diff --git a/mail/postfix26/files/patch-ed b/mail/postfix26/files/patch-ed deleted file mode 100644 index f971b62720d8..000000000000 --- a/mail/postfix26/files/patch-ed +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/local/mailbox.c.orig	Fri Apr 28 16:55:53 2000 ---- ./src/local/mailbox.c	Thu Jun  1 22:37:48 2000 -*************** -*** 15,17 **** -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/[spool/]mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; ---- 15,17 ---- -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; diff --git a/mail/postfix26/files/patch-ee b/mail/postfix26/files/patch-ee deleted file mode 100644 index ef44eac24b73..000000000000 --- a/mail/postfix26/files/patch-ee +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/master/master.c.orig	Tue Mar  7 10:25:07 2000 ---- ./src/master/master.c	Thu Jun  1 22:43:50 2000 -*************** -*** 104,107 **** -  /* FILES -! /*	/etc/postfix/main.cf: global configuration file. -! /*	/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. ---- 104,107 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/main.cf: global configuration file. -! /*	!!PREFIX!!/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. diff --git a/mail/postfix26/files/patch-ef b/mail/postfix26/files/patch-ef deleted file mode 100644 index 586b304a103d..000000000000 --- a/mail/postfix26/files/patch-ef +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/postdrop/postdrop.c.orig	Sun Apr 25 18:05:43 1999 ---- ./src/postdrop/postdrop.c	Thu Jun  1 22:44:22 2000 -*************** -*** 39,41 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 39,41 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix26/files/patch-eg b/mail/postfix26/files/patch-eg deleted file mode 100644 index 2983bbfd86ea..000000000000 --- a/mail/postfix26/files/patch-eg +++ /dev/null @@ -1,20 +0,0 @@ -*** ./src/sendmail/sendmail.c.orig	Tue Mar 14 10:42:06 2000 ---- ./src/sendmail/sendmail.c	Thu Jun  1 22:47:24 2000 -*************** -*** 57,59 **** -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR ---- 57,59 ---- -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB!!PREFIX!!/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR -*************** -*** 159,161 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 159,161 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix26/files/patch-eh b/mail/postfix26/files/patch-eh deleted file mode 100644 index c104c3680d21..000000000000 --- a/mail/postfix26/files/patch-eh +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/trivial-rewrite/transport.c.orig	Tue Nov 16 19:15:41 1999 ---- ./src/trivial-rewrite/transport.c	Thu Jun  1 22:47:49 2000 -*************** -*** 32,34 **** -  /* FILES -! /*	/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS ---- 32,34 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix26/files/patch-main.cf b/mail/postfix26/files/patch-main.cf index 6281b6b6d7f1..7775cd80efb2 100644 --- a/mail/postfix26/files/patch-main.cf +++ b/mail/postfix26/files/patch-main.cf @@ -1,58 +1,108 @@ ---- ./conf/main.cf	Wed Jan  8 22:11:52 2003 -+++ ./conf/main.cf	Wed Jan  8 22:11:53 2003 -@@ -31,13 +31,13 @@ - # The command_directory parameter specifies the location of all - # postXXX commands. - # --command_directory = /usr/sbin -+command_directory = !!PREFIX!!/sbin -  - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # --daemon_directory = /usr/libexec/postfix -+daemon_directory = !!PREFIX!!/libexec/postfix -  - # QUEUE AND PROCESS OWNERSHIP - # -@@ -590,32 +590,32 @@ - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - #  --sendmail_path = -+sendmail_path = !!PREFIX!!/sbin/sendmail -  - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # --newaliases_path = -+newaliases_path = !!PREFIX!!/bin/newaliases -  - # mailq_path: The full pathname of the Postfix mailq command.  This - # is the Sendmail-compatible mail queue listing command. - #  --mailq_path = -+mailq_path = !!PREFIX!!/bin/mailq -  - # setgid_group: The group for mail submission and queue management - # commands.  This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # --setgid_group = -+setgid_group = maildrop -  - # manpage_directory: The location of the Postfix on-line manual pages. - # --manpage_directory = -+manpage_directory = !!PREFIX!!/man -  - # sample_directory: The location of the Postfix sample configuration files. - # --sample_directory = -+sample_directory = !!PREFIX!!/etc/postfix -  - # readme_directory: The location of the Postfix README files. - # --readme_directory = -+readme_directory = no +*** ./conf/main.cf~	Mon Apr 26 16:54:42 2004 +--- ./conf/main.cf	Mon Apr 26 16:54:42 2004 +*************** +*** 32,44 **** +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = /usr/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = /usr/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +--- 32,44 ---- +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = !!PREFIX!!/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = !!PREFIX!!/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +*************** +*** 595,631 **** +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = +--- 595,631 ---- +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = !!PREFIX!!/sbin/sendmail +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = !!PREFIX!!/bin/newaliases +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = !!PREFIX!!/bin/mailq +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = maildrop +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = no +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = !!PREFIX!!/man +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = !!PREFIX!!/etc/postfix +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = no diff --git a/mail/postfix26/pkg-install b/mail/postfix26/pkg-install index 44a1d6cbacc2..5765d42430c1 100644 --- a/mail/postfix26/pkg-install +++ b/mail/postfix26/pkg-install @@ -118,13 +118,14 @@ if [ x"$2" = xPRE-INSTALL ]; then  fi  if [ x"$2" = xPOST-INSTALL ]; then -	CONF1="main.cf master.cf access aliases canonical pcre_table \ -	regexp_table relocated transport virtual" +	# CONF1 copied from Makefile.  Keep consistent! +	CONF1="main.cf master.cf access aliases canonical \ +	header_checks relocated transport virtual"  	for file in $CONF1  	do  	        if [ ! -f ${PKG_PREFIX}/etc/postfix/$file ]; then -        	        cp ${PKG_PREFIX}/etc/postfix/sample-$file ${PKG_PREFIX}/etc/postfix/$file +        	        cp ${PKG_PREFIX}/etc/postfix/dist-$file ${PKG_PREFIX}/etc/postfix/$file  	        fi  	done diff --git a/mail/postfix26/pkg-plist b/mail/postfix26/pkg-plist index 09f2ca9027a0..23f7b45d2de0 100644 --- a/mail/postfix26/pkg-plist +++ b/mail/postfix26/pkg-plist @@ -1,58 +1,27 @@ -@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi -@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi -@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/sample-access; then rm -f %D/etc/postfix/access; fi -@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/sample-aliases; then rm -f %D/etc/postfix/aliases; fi -@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/sample-canonical; then rm -f %D/etc/postfix/canonical; fi -@unexec if cmp -s %D/etc/postfix/pcre_table %D/etc/postfix/sample-pcre_table; then rm -f %D/etc/postfix/pcre_table; fi -@unexec if cmp -s %D/etc/postfix/regexp_table %D/etc/postfix/sample-regexp_table; then rm -f %D/etc/postfix/regexp_table; fi -@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/sample-relocated; then rm -f %D/etc/postfix/relocated; fi -@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/sample-transport; then rm -f %D/etc/postfix/transport; fi -@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/sample-virtual; then rm -f %D/etc/postfix/virtual; fi -bin/rmail +@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/dist-main.cf; then rm -f %D/etc/postfix/main.cf; fi +@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/dist-master.cf; then rm -f %D/etc/postfix/master.cf; fi +@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/dist-access; then rm -f %D/etc/postfix/access; fi +@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/dist-aliases; then rm -f %D/etc/postfix/aliases; fi +@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/dist-canonical; then rm -f %D/etc/postfix/canonical; fi +@unexec if cmp -s %D/etc/postfix/header_checks %D/etc/postfix/dist-header_checks; then rm -f %D/etc/postfix/header_checks; fi +@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/dist-relocated; then rm -f %D/etc/postfix/relocated; fi +@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/dist-transport; then rm -f %D/etc/postfix/transport; fi +@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/dist-virtual; then rm -f %D/etc/postfix/virtual; fi  etc/postfix/LICENSE  etc/postfix/main.cf.default +etc/postfix/makedefs.out  etc/postfix/post-install  etc/postfix/postfix-files  etc/postfix/postfix-script -etc/postfix/sample-access -etc/postfix/sample-aliases -etc/postfix/sample-canonical -etc/postfix/sample-pcre_table -etc/postfix/sample-regexp_table -etc/postfix/sample-relocated -etc/postfix/sample-aliases.cf -etc/postfix/sample-auth.cf -etc/postfix/sample-canonical.cf -etc/postfix/sample-compatibility.cf -etc/postfix/sample-debug.cf -etc/postfix/sample-filter.cf -etc/postfix/sample-flush.cf -%%SUB_IPV6%%etc/postfix/sample-ipv6.cf -etc/postfix/sample-ldap.cf -etc/postfix/sample-lmtp.cf -etc/postfix/sample-local.cf -etc/postfix/sample-main.cf -etc/postfix/sample-master.cf -etc/postfix/sample-mime.cf -etc/postfix/sample-misc.cf -etc/postfix/sample-pcre-access.cf -etc/postfix/sample-pcre-body.cf -etc/postfix/sample-pcre-header.cf -etc/postfix/sample-qmqpd.cf -etc/postfix/sample-rate.cf -etc/postfix/sample-regexp-access.cf -etc/postfix/sample-regexp-body.cf -etc/postfix/sample-regexp-header.cf -etc/postfix/sample-relocated.cf -etc/postfix/sample-resource.cf -etc/postfix/sample-rewrite.cf -etc/postfix/sample-smtp.cf -etc/postfix/sample-smtpd.cf -etc/postfix/sample-transport.cf -etc/postfix/sample-virtual.cf -etc/postfix/sample-transport -etc/postfix/sample-virtual -%%SUB_TLS%%etc/postfix/sample-tls.cf +etc/postfix/dist-main.cf +etc/postfix/dist-master.cf +etc/postfix/dist-access +etc/postfix/dist-aliases +etc/postfix/dist-canonical +etc/postfix/dist-header_checks +etc/postfix/dist-relocated +etc/postfix/dist-transport +etc/postfix/dist-virtual  libexec/postfix/bounce  libexec/postfix/cleanup  libexec/postfix/error @@ -61,6 +30,7 @@ libexec/postfix/lmtp  libexec/postfix/local  libexec/postfix/master  libexec/postfix/nqmgr +libexec/postfix/oqmgr  libexec/postfix/pickup  libexec/postfix/pipe  libexec/postfix/proxymap @@ -71,6 +41,7 @@ libexec/postfix/smtp  libexec/postfix/smtpd  libexec/postfix/spawn  libexec/postfix/trivial-rewrite +libexec/postfix/verify  libexec/postfix/virtual  %%SUB_TLS%%libexec/postfix/tlsmgr  sbin/postalias @@ -85,69 +56,127 @@ sbin/postmap  sbin/postqueue  sbin/postsuper  sbin/sendmail -bin/newaliases -bin/mailq +%%SUB_TEST%%sbin/qmqp-source  %%SUB_TEST%%sbin/smtp-sink  %%SUB_TEST%%sbin/smtp-source +bin/rmail +bin/newaliases +bin/mailq +%%PORTDOCS%%%%DOCSDIR%%/AAAREADME  %%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README.html +%%PORTDOCS%%%%DOCSDIR%%/CYRUS_README.html +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README.html  %%PORTDOCS%%%%DOCSDIR%%/DB_README +%%PORTDOCS%%%%DOCSDIR%%/DB_README.html  %%PORTDOCS%%%%DOCSDIR%%/DEBUG_README +%%PORTDOCS%%%%DOCSDIR%%/DEBUG_README.html  %%PORTDOCS%%%%DOCSDIR%%/ETRN_README +%%PORTDOCS%%%%DOCSDIR%%/ETRN_README.html  %%PORTDOCS%%%%DOCSDIR%%/FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/FILTER_README.html  %%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html  %%PORTDOCS%%%%SUB_IPV6%%%%DOCSDIR%%/IPV6_README  %%PORTDOCS%%%%DOCSDIR%%/LDAP_README +%%PORTDOCS%%%%DOCSDIR%%/LDAP_README.html  %%PORTDOCS%%%%DOCSDIR%%/LINUX_README -%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LINUX_README.html  %%PORTDOCS%%%%DOCSDIR%%/LMTP_README -%%PORTDOCS%%%%DOCSDIR%%/MACOSX_README +%%PORTDOCS%%%%DOCSDIR%%/LMTP_README.html +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README.html  %%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README +%%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README.html  %%PORTDOCS%%%%DOCSDIR%%/MYSQL_README +%%PORTDOCS%%%%DOCSDIR%%/MYSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/NFS_README +%%PORTDOCS%%%%DOCSDIR%%/NFS_README.html +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW.html  %%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README +%%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README.html  %%PORTDOCS%%%%DOCSDIR%%/PCRE_README +%%PORTDOCS%%%%DOCSDIR%%/PCRE_README.html +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/QMQP_README +%%PORTDOCS%%%%DOCSDIR%%/QMQP_README.html +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README.html  %%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES  %%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README.html  %%PORTDOCS%%%%DOCSDIR%%/SASL_README +%%PORTDOCS%%%%DOCSDIR%%/SASL_README.html +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README.html +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README.html  %%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README +%%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README.html  %%PORTDOCS%%%%DOCSDIR%%/UUCP_README +%%PORTDOCS%%%%DOCSDIR%%/UUCP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VERP_README +%%PORTDOCS%%%%DOCSDIR%%/VERP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README +%%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README.html +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README.html +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README.html  %%PORTDOCS%%%%DOCSDIR%%/access.5.html  %%PORTDOCS%%%%DOCSDIR%%/aliases.5.html -%%PORTDOCS%%%%DOCSDIR%%/architecture.html -%%PORTDOCS%%%%DOCSDIR%%/backstage.html -%%PORTDOCS%%%%DOCSDIR%%/basic.html -%%PORTDOCS%%%%DOCSDIR%%/big-picture.gif -%%PORTDOCS%%%%DOCSDIR%%/big-picture.html +%%PORTDOCS%%%%DOCSDIR%%/body_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/bounce.8.html  %%PORTDOCS%%%%DOCSDIR%%/canonical.5.html +%%PORTDOCS%%%%DOCSDIR%%/cidr_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/cleanup.8.html -%%PORTDOCS%%%%DOCSDIR%%/commands.html  %%PORTDOCS%%%%DOCSDIR%%/defer.8.html -%%PORTDOCS%%%%DOCSDIR%%/delivering.html  %%PORTDOCS%%%%DOCSDIR%%/error.8.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html  %%PORTDOCS%%%%DOCSDIR%%/flush.8.html -%%PORTDOCS%%%%DOCSDIR%%/goals.html -%%PORTDOCS%%%%DOCSDIR%%/inbound.gif +%%PORTDOCS%%%%DOCSDIR%%/header_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/ldap_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/lmtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/local.8.html  %%PORTDOCS%%%%DOCSDIR%%/mailq.1.html  %%PORTDOCS%%%%DOCSDIR%%/master.8.html -%%PORTDOCS%%%%DOCSDIR%%/motivation.html +%%PORTDOCS%%%%DOCSDIR%%/mysql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/newaliases.1.html -%%PORTDOCS%%%%DOCSDIR%%/nqmgr.8.html -%%PORTDOCS%%%%DOCSDIR%%/outbound.gif +%%PORTDOCS%%%%DOCSDIR%%/oqmgr.8.html  %%PORTDOCS%%%%DOCSDIR%%/pcre_table.5.html +%%PORTDOCS%%%%DOCSDIR%%/pgsql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/pickup.8.html  %%PORTDOCS%%%%DOCSDIR%%/pipe.8.html  %%PORTDOCS%%%%DOCSDIR%%/postalias.1.html  %%PORTDOCS%%%%DOCSDIR%%/postcat.1.html  %%PORTDOCS%%%%DOCSDIR%%/postconf.1.html +%%PORTDOCS%%%%DOCSDIR%%/postconf.5.html  %%PORTDOCS%%%%DOCSDIR%%/postdrop.1.html +%%PORTDOCS%%%%DOCSDIR%%/postfix-logo.jpg +%%PORTDOCS%%%%DOCSDIR%%/postfix-power.png  %%PORTDOCS%%%%DOCSDIR%%/postfix.1.html  %%PORTDOCS%%%%DOCSDIR%%/postkick.1.html  %%PORTDOCS%%%%DOCSDIR%%/postlock.1.html @@ -157,24 +186,23 @@ bin/mailq  %%PORTDOCS%%%%DOCSDIR%%/postsuper.1.html  %%PORTDOCS%%%%DOCSDIR%%/proxymap.8.html  %%PORTDOCS%%%%DOCSDIR%%/qmgr.8.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/qmqpd.8.html -%%PORTDOCS%%%%DOCSDIR%%/queuing.html -%%PORTDOCS%%%%DOCSDIR%%/rate.html -%%PORTDOCS%%%%DOCSDIR%%/receiving.html +%%PORTDOCS%%%%DOCSDIR%%/qshape.1.html  %%PORTDOCS%%%%DOCSDIR%%/regexp_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/relocated.5.html -%%PORTDOCS%%%%DOCSDIR%%/resource.html -%%PORTDOCS%%%%DOCSDIR%%/rewrite.html -%%PORTDOCS%%%%DOCSDIR%%/security.html  %%PORTDOCS%%%%DOCSDIR%%/sendmail.1.html  %%PORTDOCS%%%%DOCSDIR%%/showq.8.html -%%PORTDOCS%%%%DOCSDIR%%/small-picture.gif +%%PORTDOCS%%%%DOCSDIR%%/smtp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/smtp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/smtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/smtpd.8.html  %%PORTDOCS%%%%DOCSDIR%%/spawn.8.html +%%PORTDOCS%%%%DOCSDIR%%/trace.8.html  %%PORTDOCS%%%%DOCSDIR%%/transport.5.html  %%PORTDOCS%%%%DOCSDIR%%/trivial-rewrite.8.html -%%PORTDOCS%%%%DOCSDIR%%/uce.html +%%PORTDOCS%%%%DOCSDIR%%/verify.8.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.5.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.8.html  %%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/mail/postfix26/scripts/configure.postfix b/mail/postfix26/scripts/configure.postfix index 7eb910f9e93f..3cb838d56bd0 100644 --- a/mail/postfix26/scripts/configure.postfix +++ b/mail/postfix26/scripts/configure.postfix @@ -1,5 +1,5 @@  #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.46 2004-03-29 16:13:44 pav Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.47 2004-05-12 09:08:16 pav Exp $  if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then  	exit @@ -34,7 +34,7 @@ MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL"  PgSQL		"PostgreSQL v7.4 map lookups" "$status_PgSQL" \  PgSQL73		"PostgreSQL v7.3 map lookups" "$status_PgSQL73" \  PgSQL72		"PostgreSQL v7.2 map lookups" "$status_PgSQL72" \ -OpenLDAP	"OpenLDAP map lookups (choose ver. with WANT_OPENLDAP_VER)" "$status_OpenLDAP" \ +OpenLDAP	"OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \  Test		"SMTP/LMTP test server and generator" "$status_Test" \  2> $tempfile @@ -108,8 +108,8 @@ while [ "$1" ]; do  			echo "USE_OPENSSL=	yes"  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto" -			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz" -			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff" +			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz" +			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.18-2.1.0-0.9.7d/pfixtls.diff"  			echo "PATCH_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls"  			SUB_TLS="" @@ -173,9 +173,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL73) @@ -183,9 +180,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL72) @@ -193,9 +187,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		OpenLDAP) @@ -205,7 +196,8 @@ while [ "$1" ]; do  			echo "OPENLDAP_SUFFIX=	+openldap"  			;;  		Test) -			echo "BIN1=		smtp-sink smtp-source" +			echo "BIN1=		smtp-sink smtp-source qmqp-source" +#			echo "MAN1+=		smtp-sink.1 smtp-source.1 qmqp-sink.1 qmqp-source.1"  			SUB_TEST=""  			;;  		IPv6) @@ -215,7 +207,7 @@ while [ "$1" ]; do  				exit 1  			fi  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "IPv6_SUFFIX=	+ipv6"  			echo "" @@ -233,7 +225,7 @@ while [ "$1" ]; do  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto"  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	tls+ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	tls+ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls+ipv6"  			SUB_TLS="" diff --git a/mail/postfix27/Makefile b/mail/postfix27/Makefile index 42370f14143b..814f157da47a 100644 --- a/mail/postfix27/Makefile +++ b/mail/postfix27/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for:	postfix-current +# New ports collection makefile for:	postfix  # Date created: 	18 Mar 1999  # Whom:			torstenb  # @@ -15,7 +15,7 @@  # NOTE: PCRE is enabled by default unless you specifically disable it.  PORTNAME=	postfix -PORTVERSION=	2.0.20 +PORTVERSION=	2.1.0  PORTEPOCH=	1  CATEGORIES=	mail ipv6  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ @@ -28,13 +28,10 @@ MASTER_SITE_SUBDIR=	. old related/postfix  DISTNAME=	postfix-${PORTVERSION}  DIST_SUBDIR=	${PORTNAME} -PATCH_SITES=	${MASTER_SITES} -PATCHFILES=	postfix-2.0-ns-mx-acl-patch.gz -  MAINTAINER=	vivek@khera.org  COMMENT=	A secure alternative to widely-used Sendmail -CONFLICTS=	courier-0.* postfix-1.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.* +CONFLICTS=	courier-0.* postfix-1.* postfix-2.0.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*  USE_SUBMAKE=	yes  USE_REINPLACE=	yes @@ -42,19 +39,34 @@ MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \  	postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postqueue.1 \  	postsuper.1 sendmail.1 -MAN5=	access.5 aliases.5 canonical.5 pcre_table.5 regexp_table.5 \ -	relocated.5 transport.5 virtual.5 +MAN5=	access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \ +	mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \ +	regexp_table.5 relocated.5 transport.5 virtual.5 \ +	header_checks.5 body_checks.5  MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \ -	master.8 nqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ -	smtp.8 smtpd.8 spawn.8 trivial-rewrite.8 virtual.8 +	master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ +	smtp.8 smtpd.8 spawn.8 trace.8 trivial-rewrite.8 verify.8 virtual.8  # TLS patch adds to MAN8 but doesn't have .html file, so avoid trying to  # patch it.  MAN8base=$(MAN8:S/tlsmgr.8//) -CONF1=	main.cf master.cf access aliases canonical pcre_table regexp_table \ -	relocated transport virtual +CONF1=	main.cf master.cf access aliases canonical header_checks relocated \ +	transport virtual + +README=	ADDRESS_CLASS_README ADDRESS_REWRITING_README \ +	ADDRESS_VERIFICATION_README BACKSCATTER_README \ +	BASIC_CONFIGURATION_README BUILTIN_FILTER_README \ +	CONTENT_INSPECTION_README CYRUS_README DATABASE_README DB_README \ +	DEBUG_README ETRN_README FILTER_README INSTALL LDAP_README \ +	LINUX_README LMTP_README LOCAL_RECIPIENT_README MAILDROP_README \ +	MYSQL_README NFS_README OVERVIEW PACKAGE_README PCRE_README \ +	PGSQL_README QMQP_README QSHAPE_README RESTRICTION_CLASS_README \ +	SASL_README SCHEDULER_README SMTPD_ACCESS_README SMTPD_POLICY_README \ +	SMTPD_PROXY_README STANDARD_CONFIGURATION_README TUNING_README \ +	ULTRIX_README UUCP_README VERP_README VIRTUAL_README \ +	XCLIENT_README XFORWARD_README  .if !defined(DEBUG)  MAKEFILEFLAGS+=	DEBUG= @@ -88,6 +100,7 @@ post-patch:  	${ECHO} "all: default" >> Makefile)  pre-patch: +	${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html  .for file in ${MAN1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html @@ -100,9 +113,11 @@ pre-patch:  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man8/${file} ${WRKSRC}/html/${file}.html  .endfor -.for file in faq rate rewrite uce +.for file in ${README}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/html/${file}.html +	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ +		${WRKSRC}/README_FILES/${file}  .endfor  .for file in ${CONF1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file} @@ -134,7 +149,7 @@ do-install:  .for file in ${CONF1}  	${INSTALL_DATA} ${WRKSRC}/conf/${file} \ -		${PREFIX}/etc/postfix/sample-${file} +		${PREFIX}/etc/postfix/dist-${file}  .endfor  	@${INSTALL_SCRIPT} \ @@ -143,14 +158,12 @@ do-install:  # optional TEST binaries  .for file in ${BIN1} -	@${INSTALL_PROGRAM} \ -		${WRKSRC}/src/smtpstone/${file} \ -		${PREFIX}/sbin +	@${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/sbin  .endfor  .if !defined(NOPORTDOCS)  	@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR} -	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} && \ +	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.jpg *.png ${DOCSDIR} && \  		${ECHO_MSG} "Installed HTML documentation in ${DOCSDIR}"  .endif diff --git a/mail/postfix27/distinfo b/mail/postfix27/distinfo index 245924cb304b..28afa1a20582 100644 --- a/mail/postfix27/distinfo +++ b/mail/postfix27/distinfo @@ -1,9 +1,8 @@ -MD5 (postfix/postfix-2.0.20.tar.gz) = 92479b64d132262be505a17ec02bc2a8 -SIZE (postfix/postfix-2.0.20.tar.gz) = 1354414 -MD5 (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 55a3d76d52fddd5cd0365004957a1160 -SIZE (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 4673 -MD5 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 0d557a1331f0afc12b7decdc328947a1 -SIZE (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27423 -MD5 (postfix/pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz) = b39c08eabe807db4af5bcb1cafc9761e -MD5 (postfix/ipv6-1.21-pf-2.0.18.patch.gz) = f30495d44b140239df02a0599d280d68 -MD5 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 8d273f922352a0ff32c57c29bec26b46 +MD5 (postfix/postfix-2.1.0.tar.gz) = 286856c9597cfa244c3b6133dce12749 +SIZE (postfix/postfix-2.1.0.tar.gz) = 1992845 +MD5 (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 01785d9636bdae51a906320e581b1e6b +SIZE (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 239141 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 diff --git a/mail/postfix27/files/patch-ea b/mail/postfix27/files/patch-ea deleted file mode 100644 index 6c3f98d2af4f..000000000000 --- a/mail/postfix27/files/patch-ea +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/cleanup/cleanup.c.orig	Sun May 28 18:33:41 2000 ---- ./src/cleanup/cleanup.c	Thu Jun  1 21:52:22 2000 -*************** -*** 118,121 **** -  /* FILES -! /*	/etc/postfix/canonical*, canonical mapping table -! /*	/etc/postfix/virtual*, virtual mapping table -  /* LICENSE ---- 118,121 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/canonical*, canonical mapping table -! /*	!!PREFIX!!/etc/postfix/virtual*, virtual mapping table -  /* LICENSE diff --git a/mail/postfix27/files/patch-eb b/mail/postfix27/files/patch-eb deleted file mode 100644 index e67680963d2d..000000000000 --- a/mail/postfix27/files/patch-eb +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/global/mail_conf.c.orig	Sun May  7 18:51:16 2000 ---- ./src/global/mail_conf.c	Thu Jun  1 22:16:29 2000 -*************** -*** 53,55 **** -  /* FILES -! /*	/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT ---- 53,55 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT diff --git a/mail/postfix27/files/patch-ec b/mail/postfix27/files/patch-ec index 5f5d1ad9cadc..a3f617235fba 100644 --- a/mail/postfix27/files/patch-ec +++ b/mail/postfix27/files/patch-ec @@ -1,41 +1,53 @@ -*** ./src/global/mail_params.h.orig	Thu Jan  3 13:13:37 2002 ---- ./src/global/mail_params.h	Tue Jan  8 22:18:22 2002 +*** ./src/global/mail_params.h.orig	Sat Jan 17 10:04:00 2004 +--- ./src/global/mail_params.h	Fri Jan 30 14:48:23 2004  *************** -*** 51,55 **** +*** 64,70 **** +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"postdrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; ---- 51,55 ---- +   +--- 64,70 ---- +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"maildrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; +    *************** -*** 170,174 **** -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"/usr/libexec/postfix" +*** 202,208 **** +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"/usr/libexec/postfix"    #endif +  extern char *var_daemon_dir; ---- 170,174 ---- -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"!!PREFIX!!/libexec/postfix" +--- 202,208 ---- +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"!!PREFIX!!/libexec/postfix"    #endif +  extern char *var_daemon_dir;  *************** -*** 204,208 **** +*** 231,237 **** +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"/etc/postfix"    #endif    extern char *var_config_dir; ---- 204,208 ---- +   +--- 231,237 ---- +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"!!PREFIX!!/etc/postfix"    #endif    extern char *var_config_dir; +   diff --git a/mail/postfix27/files/patch-ed b/mail/postfix27/files/patch-ed deleted file mode 100644 index f971b62720d8..000000000000 --- a/mail/postfix27/files/patch-ed +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/local/mailbox.c.orig	Fri Apr 28 16:55:53 2000 ---- ./src/local/mailbox.c	Thu Jun  1 22:37:48 2000 -*************** -*** 15,17 **** -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/[spool/]mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; ---- 15,17 ---- -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; diff --git a/mail/postfix27/files/patch-ee b/mail/postfix27/files/patch-ee deleted file mode 100644 index ef44eac24b73..000000000000 --- a/mail/postfix27/files/patch-ee +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/master/master.c.orig	Tue Mar  7 10:25:07 2000 ---- ./src/master/master.c	Thu Jun  1 22:43:50 2000 -*************** -*** 104,107 **** -  /* FILES -! /*	/etc/postfix/main.cf: global configuration file. -! /*	/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. ---- 104,107 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/main.cf: global configuration file. -! /*	!!PREFIX!!/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. diff --git a/mail/postfix27/files/patch-ef b/mail/postfix27/files/patch-ef deleted file mode 100644 index 586b304a103d..000000000000 --- a/mail/postfix27/files/patch-ef +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/postdrop/postdrop.c.orig	Sun Apr 25 18:05:43 1999 ---- ./src/postdrop/postdrop.c	Thu Jun  1 22:44:22 2000 -*************** -*** 39,41 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 39,41 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix27/files/patch-eg b/mail/postfix27/files/patch-eg deleted file mode 100644 index 2983bbfd86ea..000000000000 --- a/mail/postfix27/files/patch-eg +++ /dev/null @@ -1,20 +0,0 @@ -*** ./src/sendmail/sendmail.c.orig	Tue Mar 14 10:42:06 2000 ---- ./src/sendmail/sendmail.c	Thu Jun  1 22:47:24 2000 -*************** -*** 57,59 **** -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR ---- 57,59 ---- -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB!!PREFIX!!/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR -*************** -*** 159,161 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 159,161 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix27/files/patch-eh b/mail/postfix27/files/patch-eh deleted file mode 100644 index c104c3680d21..000000000000 --- a/mail/postfix27/files/patch-eh +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/trivial-rewrite/transport.c.orig	Tue Nov 16 19:15:41 1999 ---- ./src/trivial-rewrite/transport.c	Thu Jun  1 22:47:49 2000 -*************** -*** 32,34 **** -  /* FILES -! /*	/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS ---- 32,34 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix27/files/patch-main.cf b/mail/postfix27/files/patch-main.cf index 6281b6b6d7f1..7775cd80efb2 100644 --- a/mail/postfix27/files/patch-main.cf +++ b/mail/postfix27/files/patch-main.cf @@ -1,58 +1,108 @@ ---- ./conf/main.cf	Wed Jan  8 22:11:52 2003 -+++ ./conf/main.cf	Wed Jan  8 22:11:53 2003 -@@ -31,13 +31,13 @@ - # The command_directory parameter specifies the location of all - # postXXX commands. - # --command_directory = /usr/sbin -+command_directory = !!PREFIX!!/sbin -  - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # --daemon_directory = /usr/libexec/postfix -+daemon_directory = !!PREFIX!!/libexec/postfix -  - # QUEUE AND PROCESS OWNERSHIP - # -@@ -590,32 +590,32 @@ - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - #  --sendmail_path = -+sendmail_path = !!PREFIX!!/sbin/sendmail -  - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # --newaliases_path = -+newaliases_path = !!PREFIX!!/bin/newaliases -  - # mailq_path: The full pathname of the Postfix mailq command.  This - # is the Sendmail-compatible mail queue listing command. - #  --mailq_path = -+mailq_path = !!PREFIX!!/bin/mailq -  - # setgid_group: The group for mail submission and queue management - # commands.  This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # --setgid_group = -+setgid_group = maildrop -  - # manpage_directory: The location of the Postfix on-line manual pages. - # --manpage_directory = -+manpage_directory = !!PREFIX!!/man -  - # sample_directory: The location of the Postfix sample configuration files. - # --sample_directory = -+sample_directory = !!PREFIX!!/etc/postfix -  - # readme_directory: The location of the Postfix README files. - # --readme_directory = -+readme_directory = no +*** ./conf/main.cf~	Mon Apr 26 16:54:42 2004 +--- ./conf/main.cf	Mon Apr 26 16:54:42 2004 +*************** +*** 32,44 **** +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = /usr/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = /usr/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +--- 32,44 ---- +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = !!PREFIX!!/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = !!PREFIX!!/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +*************** +*** 595,631 **** +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = +--- 595,631 ---- +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = !!PREFIX!!/sbin/sendmail +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = !!PREFIX!!/bin/newaliases +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = !!PREFIX!!/bin/mailq +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = maildrop +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = no +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = !!PREFIX!!/man +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = !!PREFIX!!/etc/postfix +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = no diff --git a/mail/postfix27/pkg-install b/mail/postfix27/pkg-install index 44a1d6cbacc2..5765d42430c1 100644 --- a/mail/postfix27/pkg-install +++ b/mail/postfix27/pkg-install @@ -118,13 +118,14 @@ if [ x"$2" = xPRE-INSTALL ]; then  fi  if [ x"$2" = xPOST-INSTALL ]; then -	CONF1="main.cf master.cf access aliases canonical pcre_table \ -	regexp_table relocated transport virtual" +	# CONF1 copied from Makefile.  Keep consistent! +	CONF1="main.cf master.cf access aliases canonical \ +	header_checks relocated transport virtual"  	for file in $CONF1  	do  	        if [ ! -f ${PKG_PREFIX}/etc/postfix/$file ]; then -        	        cp ${PKG_PREFIX}/etc/postfix/sample-$file ${PKG_PREFIX}/etc/postfix/$file +        	        cp ${PKG_PREFIX}/etc/postfix/dist-$file ${PKG_PREFIX}/etc/postfix/$file  	        fi  	done diff --git a/mail/postfix27/pkg-plist b/mail/postfix27/pkg-plist index 09f2ca9027a0..23f7b45d2de0 100644 --- a/mail/postfix27/pkg-plist +++ b/mail/postfix27/pkg-plist @@ -1,58 +1,27 @@ -@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi -@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi -@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/sample-access; then rm -f %D/etc/postfix/access; fi -@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/sample-aliases; then rm -f %D/etc/postfix/aliases; fi -@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/sample-canonical; then rm -f %D/etc/postfix/canonical; fi -@unexec if cmp -s %D/etc/postfix/pcre_table %D/etc/postfix/sample-pcre_table; then rm -f %D/etc/postfix/pcre_table; fi -@unexec if cmp -s %D/etc/postfix/regexp_table %D/etc/postfix/sample-regexp_table; then rm -f %D/etc/postfix/regexp_table; fi -@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/sample-relocated; then rm -f %D/etc/postfix/relocated; fi -@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/sample-transport; then rm -f %D/etc/postfix/transport; fi -@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/sample-virtual; then rm -f %D/etc/postfix/virtual; fi -bin/rmail +@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/dist-main.cf; then rm -f %D/etc/postfix/main.cf; fi +@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/dist-master.cf; then rm -f %D/etc/postfix/master.cf; fi +@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/dist-access; then rm -f %D/etc/postfix/access; fi +@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/dist-aliases; then rm -f %D/etc/postfix/aliases; fi +@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/dist-canonical; then rm -f %D/etc/postfix/canonical; fi +@unexec if cmp -s %D/etc/postfix/header_checks %D/etc/postfix/dist-header_checks; then rm -f %D/etc/postfix/header_checks; fi +@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/dist-relocated; then rm -f %D/etc/postfix/relocated; fi +@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/dist-transport; then rm -f %D/etc/postfix/transport; fi +@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/dist-virtual; then rm -f %D/etc/postfix/virtual; fi  etc/postfix/LICENSE  etc/postfix/main.cf.default +etc/postfix/makedefs.out  etc/postfix/post-install  etc/postfix/postfix-files  etc/postfix/postfix-script -etc/postfix/sample-access -etc/postfix/sample-aliases -etc/postfix/sample-canonical -etc/postfix/sample-pcre_table -etc/postfix/sample-regexp_table -etc/postfix/sample-relocated -etc/postfix/sample-aliases.cf -etc/postfix/sample-auth.cf -etc/postfix/sample-canonical.cf -etc/postfix/sample-compatibility.cf -etc/postfix/sample-debug.cf -etc/postfix/sample-filter.cf -etc/postfix/sample-flush.cf -%%SUB_IPV6%%etc/postfix/sample-ipv6.cf -etc/postfix/sample-ldap.cf -etc/postfix/sample-lmtp.cf -etc/postfix/sample-local.cf -etc/postfix/sample-main.cf -etc/postfix/sample-master.cf -etc/postfix/sample-mime.cf -etc/postfix/sample-misc.cf -etc/postfix/sample-pcre-access.cf -etc/postfix/sample-pcre-body.cf -etc/postfix/sample-pcre-header.cf -etc/postfix/sample-qmqpd.cf -etc/postfix/sample-rate.cf -etc/postfix/sample-regexp-access.cf -etc/postfix/sample-regexp-body.cf -etc/postfix/sample-regexp-header.cf -etc/postfix/sample-relocated.cf -etc/postfix/sample-resource.cf -etc/postfix/sample-rewrite.cf -etc/postfix/sample-smtp.cf -etc/postfix/sample-smtpd.cf -etc/postfix/sample-transport.cf -etc/postfix/sample-virtual.cf -etc/postfix/sample-transport -etc/postfix/sample-virtual -%%SUB_TLS%%etc/postfix/sample-tls.cf +etc/postfix/dist-main.cf +etc/postfix/dist-master.cf +etc/postfix/dist-access +etc/postfix/dist-aliases +etc/postfix/dist-canonical +etc/postfix/dist-header_checks +etc/postfix/dist-relocated +etc/postfix/dist-transport +etc/postfix/dist-virtual  libexec/postfix/bounce  libexec/postfix/cleanup  libexec/postfix/error @@ -61,6 +30,7 @@ libexec/postfix/lmtp  libexec/postfix/local  libexec/postfix/master  libexec/postfix/nqmgr +libexec/postfix/oqmgr  libexec/postfix/pickup  libexec/postfix/pipe  libexec/postfix/proxymap @@ -71,6 +41,7 @@ libexec/postfix/smtp  libexec/postfix/smtpd  libexec/postfix/spawn  libexec/postfix/trivial-rewrite +libexec/postfix/verify  libexec/postfix/virtual  %%SUB_TLS%%libexec/postfix/tlsmgr  sbin/postalias @@ -85,69 +56,127 @@ sbin/postmap  sbin/postqueue  sbin/postsuper  sbin/sendmail -bin/newaliases -bin/mailq +%%SUB_TEST%%sbin/qmqp-source  %%SUB_TEST%%sbin/smtp-sink  %%SUB_TEST%%sbin/smtp-source +bin/rmail +bin/newaliases +bin/mailq +%%PORTDOCS%%%%DOCSDIR%%/AAAREADME  %%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README.html +%%PORTDOCS%%%%DOCSDIR%%/CYRUS_README.html +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README.html  %%PORTDOCS%%%%DOCSDIR%%/DB_README +%%PORTDOCS%%%%DOCSDIR%%/DB_README.html  %%PORTDOCS%%%%DOCSDIR%%/DEBUG_README +%%PORTDOCS%%%%DOCSDIR%%/DEBUG_README.html  %%PORTDOCS%%%%DOCSDIR%%/ETRN_README +%%PORTDOCS%%%%DOCSDIR%%/ETRN_README.html  %%PORTDOCS%%%%DOCSDIR%%/FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/FILTER_README.html  %%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html  %%PORTDOCS%%%%SUB_IPV6%%%%DOCSDIR%%/IPV6_README  %%PORTDOCS%%%%DOCSDIR%%/LDAP_README +%%PORTDOCS%%%%DOCSDIR%%/LDAP_README.html  %%PORTDOCS%%%%DOCSDIR%%/LINUX_README -%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LINUX_README.html  %%PORTDOCS%%%%DOCSDIR%%/LMTP_README -%%PORTDOCS%%%%DOCSDIR%%/MACOSX_README +%%PORTDOCS%%%%DOCSDIR%%/LMTP_README.html +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README.html  %%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README +%%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README.html  %%PORTDOCS%%%%DOCSDIR%%/MYSQL_README +%%PORTDOCS%%%%DOCSDIR%%/MYSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/NFS_README +%%PORTDOCS%%%%DOCSDIR%%/NFS_README.html +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW.html  %%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README +%%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README.html  %%PORTDOCS%%%%DOCSDIR%%/PCRE_README +%%PORTDOCS%%%%DOCSDIR%%/PCRE_README.html +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/QMQP_README +%%PORTDOCS%%%%DOCSDIR%%/QMQP_README.html +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README.html  %%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES  %%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README.html  %%PORTDOCS%%%%DOCSDIR%%/SASL_README +%%PORTDOCS%%%%DOCSDIR%%/SASL_README.html +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README.html +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README.html  %%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README +%%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README.html  %%PORTDOCS%%%%DOCSDIR%%/UUCP_README +%%PORTDOCS%%%%DOCSDIR%%/UUCP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VERP_README +%%PORTDOCS%%%%DOCSDIR%%/VERP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README +%%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README.html +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README.html +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README.html  %%PORTDOCS%%%%DOCSDIR%%/access.5.html  %%PORTDOCS%%%%DOCSDIR%%/aliases.5.html -%%PORTDOCS%%%%DOCSDIR%%/architecture.html -%%PORTDOCS%%%%DOCSDIR%%/backstage.html -%%PORTDOCS%%%%DOCSDIR%%/basic.html -%%PORTDOCS%%%%DOCSDIR%%/big-picture.gif -%%PORTDOCS%%%%DOCSDIR%%/big-picture.html +%%PORTDOCS%%%%DOCSDIR%%/body_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/bounce.8.html  %%PORTDOCS%%%%DOCSDIR%%/canonical.5.html +%%PORTDOCS%%%%DOCSDIR%%/cidr_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/cleanup.8.html -%%PORTDOCS%%%%DOCSDIR%%/commands.html  %%PORTDOCS%%%%DOCSDIR%%/defer.8.html -%%PORTDOCS%%%%DOCSDIR%%/delivering.html  %%PORTDOCS%%%%DOCSDIR%%/error.8.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html  %%PORTDOCS%%%%DOCSDIR%%/flush.8.html -%%PORTDOCS%%%%DOCSDIR%%/goals.html -%%PORTDOCS%%%%DOCSDIR%%/inbound.gif +%%PORTDOCS%%%%DOCSDIR%%/header_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/ldap_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/lmtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/local.8.html  %%PORTDOCS%%%%DOCSDIR%%/mailq.1.html  %%PORTDOCS%%%%DOCSDIR%%/master.8.html -%%PORTDOCS%%%%DOCSDIR%%/motivation.html +%%PORTDOCS%%%%DOCSDIR%%/mysql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/newaliases.1.html -%%PORTDOCS%%%%DOCSDIR%%/nqmgr.8.html -%%PORTDOCS%%%%DOCSDIR%%/outbound.gif +%%PORTDOCS%%%%DOCSDIR%%/oqmgr.8.html  %%PORTDOCS%%%%DOCSDIR%%/pcre_table.5.html +%%PORTDOCS%%%%DOCSDIR%%/pgsql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/pickup.8.html  %%PORTDOCS%%%%DOCSDIR%%/pipe.8.html  %%PORTDOCS%%%%DOCSDIR%%/postalias.1.html  %%PORTDOCS%%%%DOCSDIR%%/postcat.1.html  %%PORTDOCS%%%%DOCSDIR%%/postconf.1.html +%%PORTDOCS%%%%DOCSDIR%%/postconf.5.html  %%PORTDOCS%%%%DOCSDIR%%/postdrop.1.html +%%PORTDOCS%%%%DOCSDIR%%/postfix-logo.jpg +%%PORTDOCS%%%%DOCSDIR%%/postfix-power.png  %%PORTDOCS%%%%DOCSDIR%%/postfix.1.html  %%PORTDOCS%%%%DOCSDIR%%/postkick.1.html  %%PORTDOCS%%%%DOCSDIR%%/postlock.1.html @@ -157,24 +186,23 @@ bin/mailq  %%PORTDOCS%%%%DOCSDIR%%/postsuper.1.html  %%PORTDOCS%%%%DOCSDIR%%/proxymap.8.html  %%PORTDOCS%%%%DOCSDIR%%/qmgr.8.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/qmqpd.8.html -%%PORTDOCS%%%%DOCSDIR%%/queuing.html -%%PORTDOCS%%%%DOCSDIR%%/rate.html -%%PORTDOCS%%%%DOCSDIR%%/receiving.html +%%PORTDOCS%%%%DOCSDIR%%/qshape.1.html  %%PORTDOCS%%%%DOCSDIR%%/regexp_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/relocated.5.html -%%PORTDOCS%%%%DOCSDIR%%/resource.html -%%PORTDOCS%%%%DOCSDIR%%/rewrite.html -%%PORTDOCS%%%%DOCSDIR%%/security.html  %%PORTDOCS%%%%DOCSDIR%%/sendmail.1.html  %%PORTDOCS%%%%DOCSDIR%%/showq.8.html -%%PORTDOCS%%%%DOCSDIR%%/small-picture.gif +%%PORTDOCS%%%%DOCSDIR%%/smtp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/smtp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/smtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/smtpd.8.html  %%PORTDOCS%%%%DOCSDIR%%/spawn.8.html +%%PORTDOCS%%%%DOCSDIR%%/trace.8.html  %%PORTDOCS%%%%DOCSDIR%%/transport.5.html  %%PORTDOCS%%%%DOCSDIR%%/trivial-rewrite.8.html -%%PORTDOCS%%%%DOCSDIR%%/uce.html +%%PORTDOCS%%%%DOCSDIR%%/verify.8.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.5.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.8.html  %%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/mail/postfix27/scripts/configure.postfix b/mail/postfix27/scripts/configure.postfix index 0f85d1516dbf..77b31f62e5af 100644 --- a/mail/postfix27/scripts/configure.postfix +++ b/mail/postfix27/scripts/configure.postfix @@ -1,5 +1,5 @@  #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix27/scripts/Attic/configure.postfix,v 1.46 2004-03-29 16:13:44 pav Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix27/scripts/Attic/configure.postfix,v 1.47 2004-05-12 09:08:16 pav Exp $  if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then  	exit @@ -34,7 +34,7 @@ MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL"  PgSQL		"PostgreSQL v7.4 map lookups" "$status_PgSQL" \  PgSQL73		"PostgreSQL v7.3 map lookups" "$status_PgSQL73" \  PgSQL72		"PostgreSQL v7.2 map lookups" "$status_PgSQL72" \ -OpenLDAP	"OpenLDAP map lookups (choose ver. with WANT_OPENLDAP_VER)" "$status_OpenLDAP" \ +OpenLDAP	"OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \  Test		"SMTP/LMTP test server and generator" "$status_Test" \  2> $tempfile @@ -108,8 +108,8 @@ while [ "$1" ]; do  			echo "USE_OPENSSL=	yes"  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto" -			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz" -			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff" +			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz" +			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.18-2.1.0-0.9.7d/pfixtls.diff"  			echo "PATCH_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls"  			SUB_TLS="" @@ -173,9 +173,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL73) @@ -183,9 +180,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL72) @@ -193,9 +187,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		OpenLDAP) @@ -205,7 +196,8 @@ while [ "$1" ]; do  			echo "OPENLDAP_SUFFIX=	+openldap"  			;;  		Test) -			echo "BIN1=		smtp-sink smtp-source" +			echo "BIN1=		smtp-sink smtp-source qmqp-source" +#			echo "MAN1+=		smtp-sink.1 smtp-source.1 qmqp-sink.1 qmqp-source.1"  			SUB_TEST=""  			;;  		IPv6) @@ -215,7 +207,7 @@ while [ "$1" ]; do  				exit 1  			fi  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "IPv6_SUFFIX=	+ipv6"  			echo "" @@ -233,7 +225,7 @@ while [ "$1" ]; do  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto"  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	tls+ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	tls+ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls+ipv6"  			SUB_TLS="" diff --git a/mail/postfix28/Makefile b/mail/postfix28/Makefile index 42370f14143b..814f157da47a 100644 --- a/mail/postfix28/Makefile +++ b/mail/postfix28/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for:	postfix-current +# New ports collection makefile for:	postfix  # Date created: 	18 Mar 1999  # Whom:			torstenb  # @@ -15,7 +15,7 @@  # NOTE: PCRE is enabled by default unless you specifically disable it.  PORTNAME=	postfix -PORTVERSION=	2.0.20 +PORTVERSION=	2.1.0  PORTEPOCH=	1  CATEGORIES=	mail ipv6  MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ @@ -28,13 +28,10 @@ MASTER_SITE_SUBDIR=	. old related/postfix  DISTNAME=	postfix-${PORTVERSION}  DIST_SUBDIR=	${PORTNAME} -PATCH_SITES=	${MASTER_SITES} -PATCHFILES=	postfix-2.0-ns-mx-acl-patch.gz -  MAINTAINER=	vivek@khera.org  COMMENT=	A secure alternative to widely-used Sendmail -CONFLICTS=	courier-0.* postfix-1.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.* +CONFLICTS=	courier-0.* postfix-1.* postfix-2.0.* sendmail-8.* sendmail-*-8.* smail-3.* zmailer-2.*  USE_SUBMAKE=	yes  USE_REINPLACE=	yes @@ -42,19 +39,34 @@ MAN1=	mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \  	postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postqueue.1 \  	postsuper.1 sendmail.1 -MAN5=	access.5 aliases.5 canonical.5 pcre_table.5 regexp_table.5 \ -	relocated.5 transport.5 virtual.5 +MAN5=	access.5 aliases.5 canonical.5 cidr_table.5 ldap_table.5 \ +	mysql_table.5 pgsql_table.5 postconf.5 pcre_table.5 \ +	regexp_table.5 relocated.5 transport.5 virtual.5 \ +	header_checks.5 body_checks.5  MAN8=	bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \ -	master.8 nqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ -	smtp.8 smtpd.8 spawn.8 trivial-rewrite.8 virtual.8 +	master.8 oqmgr.8 pickup.8 pipe.8 proxymap.8 qmgr.8 qmqpd.8 showq.8 \ +	smtp.8 smtpd.8 spawn.8 trace.8 trivial-rewrite.8 verify.8 virtual.8  # TLS patch adds to MAN8 but doesn't have .html file, so avoid trying to  # patch it.  MAN8base=$(MAN8:S/tlsmgr.8//) -CONF1=	main.cf master.cf access aliases canonical pcre_table regexp_table \ -	relocated transport virtual +CONF1=	main.cf master.cf access aliases canonical header_checks relocated \ +	transport virtual + +README=	ADDRESS_CLASS_README ADDRESS_REWRITING_README \ +	ADDRESS_VERIFICATION_README BACKSCATTER_README \ +	BASIC_CONFIGURATION_README BUILTIN_FILTER_README \ +	CONTENT_INSPECTION_README CYRUS_README DATABASE_README DB_README \ +	DEBUG_README ETRN_README FILTER_README INSTALL LDAP_README \ +	LINUX_README LMTP_README LOCAL_RECIPIENT_README MAILDROP_README \ +	MYSQL_README NFS_README OVERVIEW PACKAGE_README PCRE_README \ +	PGSQL_README QMQP_README QSHAPE_README RESTRICTION_CLASS_README \ +	SASL_README SCHEDULER_README SMTPD_ACCESS_README SMTPD_POLICY_README \ +	SMTPD_PROXY_README STANDARD_CONFIGURATION_README TUNING_README \ +	ULTRIX_README UUCP_README VERP_README VIRTUAL_README \ +	XCLIENT_README XFORWARD_README  .if !defined(DEBUG)  MAKEFILEFLAGS+=	DEBUG= @@ -88,6 +100,7 @@ post-patch:  	${ECHO} "all: default" >> Makefile)  pre-patch: +	${ECHO} "<body>See <A HREF="header_checks.5.html">header_checks.5.html</A></BODY>" > ${WRKSRC}/html/body_checks.5.html  .for file in ${MAN1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man1/${file} ${WRKSRC}/html/${file}.html @@ -100,9 +113,11 @@ pre-patch:  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/man/man8/${file} ${WRKSRC}/html/${file}.html  .endfor -.for file in faq rate rewrite uce +.for file in ${README}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \  		${WRKSRC}/html/${file}.html +	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" \ +		${WRKSRC}/README_FILES/${file}  .endfor  .for file in ${CONF1}  	@${REINPLACE_CMD} -e "s|/etc/postfix|${PREFIX}/etc/postfix|g" ${WRKSRC}/conf/${file} @@ -134,7 +149,7 @@ do-install:  .for file in ${CONF1}  	${INSTALL_DATA} ${WRKSRC}/conf/${file} \ -		${PREFIX}/etc/postfix/sample-${file} +		${PREFIX}/etc/postfix/dist-${file}  .endfor  	@${INSTALL_SCRIPT} \ @@ -143,14 +158,12 @@ do-install:  # optional TEST binaries  .for file in ${BIN1} -	@${INSTALL_PROGRAM} \ -		${WRKSRC}/src/smtpstone/${file} \ -		${PREFIX}/sbin +	@${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/sbin  .endfor  .if !defined(NOPORTDOCS)  	@${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCSDIR} -	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} && \ +	@cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.jpg *.png ${DOCSDIR} && \  		${ECHO_MSG} "Installed HTML documentation in ${DOCSDIR}"  .endif diff --git a/mail/postfix28/distinfo b/mail/postfix28/distinfo index 245924cb304b..28afa1a20582 100644 --- a/mail/postfix28/distinfo +++ b/mail/postfix28/distinfo @@ -1,9 +1,8 @@ -MD5 (postfix/postfix-2.0.20.tar.gz) = 92479b64d132262be505a17ec02bc2a8 -SIZE (postfix/postfix-2.0.20.tar.gz) = 1354414 -MD5 (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 55a3d76d52fddd5cd0365004957a1160 -SIZE (postfix/postfix-2.0-ns-mx-acl-patch.gz) = 4673 -MD5 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 0d557a1331f0afc12b7decdc328947a1 -SIZE (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27423 -MD5 (postfix/pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz) = b39c08eabe807db4af5bcb1cafc9761e -MD5 (postfix/ipv6-1.21-pf-2.0.18.patch.gz) = f30495d44b140239df02a0599d280d68 -MD5 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 8d273f922352a0ff32c57c29bec26b46 +MD5 (postfix/postfix-2.1.0.tar.gz) = 286856c9597cfa244c3b6133dce12749 +SIZE (postfix/postfix-2.1.0.tar.gz) = 1992845 +MD5 (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 01785d9636bdae51a906320e581b1e6b +SIZE (postfix/pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz) = 239141 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 +MD5 (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 1939697e37d9b420b1cfbeafaa68b8cc +SIZE (postfix/ipv6-1.23-pf-2.1.0.patch.gz) = 51962 diff --git a/mail/postfix28/files/patch-ea b/mail/postfix28/files/patch-ea deleted file mode 100644 index 6c3f98d2af4f..000000000000 --- a/mail/postfix28/files/patch-ea +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/cleanup/cleanup.c.orig	Sun May 28 18:33:41 2000 ---- ./src/cleanup/cleanup.c	Thu Jun  1 21:52:22 2000 -*************** -*** 118,121 **** -  /* FILES -! /*	/etc/postfix/canonical*, canonical mapping table -! /*	/etc/postfix/virtual*, virtual mapping table -  /* LICENSE ---- 118,121 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/canonical*, canonical mapping table -! /*	!!PREFIX!!/etc/postfix/virtual*, virtual mapping table -  /* LICENSE diff --git a/mail/postfix28/files/patch-eb b/mail/postfix28/files/patch-eb deleted file mode 100644 index e67680963d2d..000000000000 --- a/mail/postfix28/files/patch-eb +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/global/mail_conf.c.orig	Sun May  7 18:51:16 2000 ---- ./src/global/mail_conf.c	Thu Jun  1 22:16:29 2000 -*************** -*** 53,55 **** -  /* FILES -! /*	/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT ---- 53,55 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix: default Postfix configuration directory. -  /* ENVIRONMENT diff --git a/mail/postfix28/files/patch-ec b/mail/postfix28/files/patch-ec index 5f5d1ad9cadc..a3f617235fba 100644 --- a/mail/postfix28/files/patch-ec +++ b/mail/postfix28/files/patch-ec @@ -1,41 +1,53 @@ -*** ./src/global/mail_params.h.orig	Thu Jan  3 13:13:37 2002 ---- ./src/global/mail_params.h	Tue Jan  8 22:18:22 2002 +*** ./src/global/mail_params.h.orig	Sat Jan 17 10:04:00 2004 +--- ./src/global/mail_params.h	Fri Jan 30 14:48:23 2004  *************** -*** 51,55 **** +*** 64,70 **** +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"postdrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; ---- 51,55 ---- +   +--- 64,70 ---- +  extern gid_t var_owner_gid;    #define VAR_SGID_GROUP		"setgid_group"  ! #define DEF_SGID_GROUP		"maildrop"    extern char *var_sgid_group;    extern gid_t var_sgid_gid; +    *************** -*** 170,174 **** -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"/usr/libexec/postfix" +*** 202,208 **** +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"/usr/libexec/postfix"    #endif +  extern char *var_daemon_dir; ---- 170,174 ---- -  #define VAR_PROGRAM_DIR		"program_directory" -  #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR		"!!PREFIX!!/libexec/postfix" +--- 202,208 ---- +    */ +  #define VAR_DAEMON_DIR		"daemon_directory" +  #ifndef DEF_DAEMON_DIR +! #define DEF_DAEMON_DIR		"!!PREFIX!!/libexec/postfix"    #endif +  extern char *var_daemon_dir;  *************** -*** 204,208 **** +*** 231,237 **** +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"/etc/postfix"    #endif    extern char *var_config_dir; ---- 204,208 ---- +   +--- 231,237 ---- +    */    #define VAR_CONFIG_DIR		"config_directory"    #ifndef DEF_CONFIG_DIR  ! #define DEF_CONFIG_DIR		"!!PREFIX!!/etc/postfix"    #endif    extern char *var_config_dir; +   diff --git a/mail/postfix28/files/patch-ed b/mail/postfix28/files/patch-ed deleted file mode 100644 index f971b62720d8..000000000000 --- a/mail/postfix28/files/patch-ed +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/local/mailbox.c.orig	Fri Apr 28 16:55:53 2000 ---- ./src/local/mailbox.c	Thu Jun  1 22:37:48 2000 -*************** -*** 15,17 **** -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/[spool/]mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; ---- 15,17 ---- -  /*	suppression. The default is direct mailbox delivery to -! /*	/var/mail/\fIuser\fR; when a \fIhome_mailbox\fR -  /*	has been configured, mail is delivered to ~/$\fIhome_mailbox\fR; diff --git a/mail/postfix28/files/patch-ee b/mail/postfix28/files/patch-ee deleted file mode 100644 index ef44eac24b73..000000000000 --- a/mail/postfix28/files/patch-ee +++ /dev/null @@ -1,13 +0,0 @@ -*** ./src/master/master.c.orig	Tue Mar  7 10:25:07 2000 ---- ./src/master/master.c	Thu Jun  1 22:43:50 2000 -*************** -*** 104,107 **** -  /* FILES -! /*	/etc/postfix/main.cf: global configuration file. -! /*	/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. ---- 104,107 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/main.cf: global configuration file. -! /*	!!PREFIX!!/etc/postfix/master.cf: master process configuration file. -  /*	/var/spool/postfix/pid/master.pid: master lock file. diff --git a/mail/postfix28/files/patch-ef b/mail/postfix28/files/patch-ef deleted file mode 100644 index 586b304a103d..000000000000 --- a/mail/postfix28/files/patch-ef +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/postdrop/postdrop.c.orig	Sun Apr 25 18:05:43 1999 ---- ./src/postdrop/postdrop.c	Thu Jun  1 22:44:22 2000 -*************** -*** 39,41 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 39,41 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix28/files/patch-eg b/mail/postfix28/files/patch-eg deleted file mode 100644 index 2983bbfd86ea..000000000000 --- a/mail/postfix28/files/patch-eg +++ /dev/null @@ -1,20 +0,0 @@ -*** ./src/sendmail/sendmail.c.orig	Tue Mar 14 10:42:06 2000 ---- ./src/sendmail/sendmail.c	Thu Jun  1 22:47:24 2000 -*************** -*** 57,59 **** -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR ---- 57,59 ---- -  /*	The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /*	files are kept in \fB!!PREFIX!!/etc/postfix\fR. -  /* .IP "\fB-F \fIfull_name\fR -*************** -*** 159,161 **** -  /*	/var/spool/postfix, mail queue -! /*	/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS ---- 159,161 ---- -  /*	/var/spool/postfix, mail queue -! /*	!!PREFIX!!/etc/postfix, configuration files -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix28/files/patch-eh b/mail/postfix28/files/patch-eh deleted file mode 100644 index c104c3680d21..000000000000 --- a/mail/postfix28/files/patch-eh +++ /dev/null @@ -1,11 +0,0 @@ -*** ./src/trivial-rewrite/transport.c.orig	Tue Nov 16 19:15:41 1999 ---- ./src/trivial-rewrite/transport.c	Thu Jun  1 22:47:49 2000 -*************** -*** 32,34 **** -  /* FILES -! /*	/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS ---- 32,34 ---- -  /* FILES -! /*	!!PREFIX!!/etc/postfix/transport* -  /* CONFIGURATION PARAMETERS diff --git a/mail/postfix28/files/patch-main.cf b/mail/postfix28/files/patch-main.cf index 6281b6b6d7f1..7775cd80efb2 100644 --- a/mail/postfix28/files/patch-main.cf +++ b/mail/postfix28/files/patch-main.cf @@ -1,58 +1,108 @@ ---- ./conf/main.cf	Wed Jan  8 22:11:52 2003 -+++ ./conf/main.cf	Wed Jan  8 22:11:53 2003 -@@ -31,13 +31,13 @@ - # The command_directory parameter specifies the location of all - # postXXX commands. - # --command_directory = /usr/sbin -+command_directory = !!PREFIX!!/sbin -  - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # --daemon_directory = /usr/libexec/postfix -+daemon_directory = !!PREFIX!!/libexec/postfix -  - # QUEUE AND PROCESS OWNERSHIP - # -@@ -590,32 +590,32 @@ - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - #  --sendmail_path = -+sendmail_path = !!PREFIX!!/sbin/sendmail -  - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # --newaliases_path = -+newaliases_path = !!PREFIX!!/bin/newaliases -  - # mailq_path: The full pathname of the Postfix mailq command.  This - # is the Sendmail-compatible mail queue listing command. - #  --mailq_path = -+mailq_path = !!PREFIX!!/bin/mailq -  - # setgid_group: The group for mail submission and queue management - # commands.  This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # --setgid_group = -+setgid_group = maildrop -  - # manpage_directory: The location of the Postfix on-line manual pages. - # --manpage_directory = -+manpage_directory = !!PREFIX!!/man -  - # sample_directory: The location of the Postfix sample configuration files. - # --sample_directory = -+sample_directory = !!PREFIX!!/etc/postfix -  - # readme_directory: The location of the Postfix README files. - # --readme_directory = -+readme_directory = no +*** ./conf/main.cf~	Mon Apr 26 16:54:42 2004 +--- ./conf/main.cf	Mon Apr 26 16:54:42 2004 +*************** +*** 32,44 **** +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = /usr/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = /usr/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +--- 32,44 ---- +  # The command_directory parameter specifies the location of all +  # postXXX commands. +  # +! command_directory = !!PREFIX!!/sbin +   +  # The daemon_directory parameter specifies the location of all Postfix +  # daemon programs (i.e. programs listed in the master.cf file). This +  # directory must be owned by root. +  # +! daemon_directory = !!PREFIX!!/libexec/postfix +   +  # QUEUE AND PROCESS OWNERSHIP +  # +*************** +*** 595,631 **** +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = +--- 595,631 ---- +  # sendmail_path: The full pathname of the Postfix sendmail command. +  # This is the Sendmail-compatible mail posting interface. +  #  +! sendmail_path = !!PREFIX!!/sbin/sendmail +   +  # newaliases_path: The full pathname of the Postfix newaliases command. +  # This is the Sendmail-compatible command to build alias databases. +  # +! newaliases_path = !!PREFIX!!/bin/newaliases +   +  # mailq_path: The full pathname of the Postfix mailq command.  This +  # is the Sendmail-compatible mail queue listing command. +  #  +! mailq_path = !!PREFIX!!/bin/mailq +   +  # setgid_group: The group for mail submission and queue management +  # commands.  This must be a group name with a numerical group ID that +  # is not shared with other accounts, not even with the Postfix account. +  # +! setgid_group = maildrop +   +  # html_directory: The location of the Postfix HTML documentation. +  # +! html_directory = no +   +  # manpage_directory: The location of the Postfix on-line manual pages. +  # +! manpage_directory = !!PREFIX!!/man +   +  # sample_directory: The location of the Postfix sample configuration files. +  # This parameter is obsolete as of Postfix 2.1. +  # +! sample_directory = !!PREFIX!!/etc/postfix +   +  # readme_directory: The location of the Postfix README files. +  # +! readme_directory = no diff --git a/mail/postfix28/pkg-install b/mail/postfix28/pkg-install index 44a1d6cbacc2..5765d42430c1 100644 --- a/mail/postfix28/pkg-install +++ b/mail/postfix28/pkg-install @@ -118,13 +118,14 @@ if [ x"$2" = xPRE-INSTALL ]; then  fi  if [ x"$2" = xPOST-INSTALL ]; then -	CONF1="main.cf master.cf access aliases canonical pcre_table \ -	regexp_table relocated transport virtual" +	# CONF1 copied from Makefile.  Keep consistent! +	CONF1="main.cf master.cf access aliases canonical \ +	header_checks relocated transport virtual"  	for file in $CONF1  	do  	        if [ ! -f ${PKG_PREFIX}/etc/postfix/$file ]; then -        	        cp ${PKG_PREFIX}/etc/postfix/sample-$file ${PKG_PREFIX}/etc/postfix/$file +        	        cp ${PKG_PREFIX}/etc/postfix/dist-$file ${PKG_PREFIX}/etc/postfix/$file  	        fi  	done diff --git a/mail/postfix28/pkg-plist b/mail/postfix28/pkg-plist index 09f2ca9027a0..23f7b45d2de0 100644 --- a/mail/postfix28/pkg-plist +++ b/mail/postfix28/pkg-plist @@ -1,58 +1,27 @@ -@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi -@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi -@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/sample-access; then rm -f %D/etc/postfix/access; fi -@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/sample-aliases; then rm -f %D/etc/postfix/aliases; fi -@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/sample-canonical; then rm -f %D/etc/postfix/canonical; fi -@unexec if cmp -s %D/etc/postfix/pcre_table %D/etc/postfix/sample-pcre_table; then rm -f %D/etc/postfix/pcre_table; fi -@unexec if cmp -s %D/etc/postfix/regexp_table %D/etc/postfix/sample-regexp_table; then rm -f %D/etc/postfix/regexp_table; fi -@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/sample-relocated; then rm -f %D/etc/postfix/relocated; fi -@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/sample-transport; then rm -f %D/etc/postfix/transport; fi -@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/sample-virtual; then rm -f %D/etc/postfix/virtual; fi -bin/rmail +@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/dist-main.cf; then rm -f %D/etc/postfix/main.cf; fi +@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/dist-master.cf; then rm -f %D/etc/postfix/master.cf; fi +@unexec if cmp -s %D/etc/postfix/access %D/etc/postfix/dist-access; then rm -f %D/etc/postfix/access; fi +@unexec if cmp -s %D/etc/postfix/aliases %D/etc/postfix/dist-aliases; then rm -f %D/etc/postfix/aliases; fi +@unexec if cmp -s %D/etc/postfix/canonical %D/etc/postfix/dist-canonical; then rm -f %D/etc/postfix/canonical; fi +@unexec if cmp -s %D/etc/postfix/header_checks %D/etc/postfix/dist-header_checks; then rm -f %D/etc/postfix/header_checks; fi +@unexec if cmp -s %D/etc/postfix/relocated %D/etc/postfix/dist-relocated; then rm -f %D/etc/postfix/relocated; fi +@unexec if cmp -s %D/etc/postfix/transport %D/etc/postfix/dist-transport; then rm -f %D/etc/postfix/transport; fi +@unexec if cmp -s %D/etc/postfix/virtual %D/etc/postfix/dist-virtual; then rm -f %D/etc/postfix/virtual; fi  etc/postfix/LICENSE  etc/postfix/main.cf.default +etc/postfix/makedefs.out  etc/postfix/post-install  etc/postfix/postfix-files  etc/postfix/postfix-script -etc/postfix/sample-access -etc/postfix/sample-aliases -etc/postfix/sample-canonical -etc/postfix/sample-pcre_table -etc/postfix/sample-regexp_table -etc/postfix/sample-relocated -etc/postfix/sample-aliases.cf -etc/postfix/sample-auth.cf -etc/postfix/sample-canonical.cf -etc/postfix/sample-compatibility.cf -etc/postfix/sample-debug.cf -etc/postfix/sample-filter.cf -etc/postfix/sample-flush.cf -%%SUB_IPV6%%etc/postfix/sample-ipv6.cf -etc/postfix/sample-ldap.cf -etc/postfix/sample-lmtp.cf -etc/postfix/sample-local.cf -etc/postfix/sample-main.cf -etc/postfix/sample-master.cf -etc/postfix/sample-mime.cf -etc/postfix/sample-misc.cf -etc/postfix/sample-pcre-access.cf -etc/postfix/sample-pcre-body.cf -etc/postfix/sample-pcre-header.cf -etc/postfix/sample-qmqpd.cf -etc/postfix/sample-rate.cf -etc/postfix/sample-regexp-access.cf -etc/postfix/sample-regexp-body.cf -etc/postfix/sample-regexp-header.cf -etc/postfix/sample-relocated.cf -etc/postfix/sample-resource.cf -etc/postfix/sample-rewrite.cf -etc/postfix/sample-smtp.cf -etc/postfix/sample-smtpd.cf -etc/postfix/sample-transport.cf -etc/postfix/sample-virtual.cf -etc/postfix/sample-transport -etc/postfix/sample-virtual -%%SUB_TLS%%etc/postfix/sample-tls.cf +etc/postfix/dist-main.cf +etc/postfix/dist-master.cf +etc/postfix/dist-access +etc/postfix/dist-aliases +etc/postfix/dist-canonical +etc/postfix/dist-header_checks +etc/postfix/dist-relocated +etc/postfix/dist-transport +etc/postfix/dist-virtual  libexec/postfix/bounce  libexec/postfix/cleanup  libexec/postfix/error @@ -61,6 +30,7 @@ libexec/postfix/lmtp  libexec/postfix/local  libexec/postfix/master  libexec/postfix/nqmgr +libexec/postfix/oqmgr  libexec/postfix/pickup  libexec/postfix/pipe  libexec/postfix/proxymap @@ -71,6 +41,7 @@ libexec/postfix/smtp  libexec/postfix/smtpd  libexec/postfix/spawn  libexec/postfix/trivial-rewrite +libexec/postfix/verify  libexec/postfix/virtual  %%SUB_TLS%%libexec/postfix/tlsmgr  sbin/postalias @@ -85,69 +56,127 @@ sbin/postmap  sbin/postqueue  sbin/postsuper  sbin/sendmail -bin/newaliases -bin/mailq +%%SUB_TEST%%sbin/qmqp-source  %%SUB_TEST%%sbin/smtp-sink  %%SUB_TEST%%sbin/smtp-source +bin/rmail +bin/newaliases +bin/mailq +%%PORTDOCS%%%%DOCSDIR%%/AAAREADME  %%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_CLASS_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_REWRITING_README.html +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README +%%PORTDOCS%%%%DOCSDIR%%/ADDRESS_VERIFICATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README +%%PORTDOCS%%%%DOCSDIR%%/BACKSCATTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/BASIC_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/BUILTIN_FILTER_README.html +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README +%%PORTDOCS%%%%DOCSDIR%%/CONTENT_INSPECTION_README.html +%%PORTDOCS%%%%DOCSDIR%%/CYRUS_README.html +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README +%%PORTDOCS%%%%DOCSDIR%%/DATABASE_README.html  %%PORTDOCS%%%%DOCSDIR%%/DB_README +%%PORTDOCS%%%%DOCSDIR%%/DB_README.html  %%PORTDOCS%%%%DOCSDIR%%/DEBUG_README +%%PORTDOCS%%%%DOCSDIR%%/DEBUG_README.html  %%PORTDOCS%%%%DOCSDIR%%/ETRN_README +%%PORTDOCS%%%%DOCSDIR%%/ETRN_README.html  %%PORTDOCS%%%%DOCSDIR%%/FILTER_README +%%PORTDOCS%%%%DOCSDIR%%/FILTER_README.html  %%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html  %%PORTDOCS%%%%SUB_IPV6%%%%DOCSDIR%%/IPV6_README  %%PORTDOCS%%%%DOCSDIR%%/LDAP_README +%%PORTDOCS%%%%DOCSDIR%%/LDAP_README.html  %%PORTDOCS%%%%DOCSDIR%%/LINUX_README -%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LINUX_README.html  %%PORTDOCS%%%%DOCSDIR%%/LMTP_README -%%PORTDOCS%%%%DOCSDIR%%/MACOSX_README +%%PORTDOCS%%%%DOCSDIR%%/LMTP_README.html +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README +%%PORTDOCS%%%%DOCSDIR%%/LOCAL_RECIPIENT_README.html  %%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README +%%PORTDOCS%%%%DOCSDIR%%/MAILDROP_README.html  %%PORTDOCS%%%%DOCSDIR%%/MYSQL_README +%%PORTDOCS%%%%DOCSDIR%%/MYSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/NFS_README +%%PORTDOCS%%%%DOCSDIR%%/NFS_README.html +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW +%%PORTDOCS%%%%DOCSDIR%%/OVERVIEW.html  %%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README +%%PORTDOCS%%%%DOCSDIR%%/PACKAGE_README.html  %%PORTDOCS%%%%DOCSDIR%%/PCRE_README +%%PORTDOCS%%%%DOCSDIR%%/PCRE_README.html +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README +%%PORTDOCS%%%%DOCSDIR%%/PGSQL_README.html  %%PORTDOCS%%%%DOCSDIR%%/QMQP_README +%%PORTDOCS%%%%DOCSDIR%%/QMQP_README.html +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README +%%PORTDOCS%%%%DOCSDIR%%/QSHAPE_README.html  %%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES  %%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README +%%PORTDOCS%%%%DOCSDIR%%/RESTRICTION_CLASS_README.html  %%PORTDOCS%%%%DOCSDIR%%/SASL_README +%%PORTDOCS%%%%DOCSDIR%%/SASL_README.html +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README +%%PORTDOCS%%%%DOCSDIR%%/SCHEDULER_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_ACCESS_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_POLICY_README.html +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README +%%PORTDOCS%%%%DOCSDIR%%/SMTPD_PROXY_README.html +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README +%%PORTDOCS%%%%DOCSDIR%%/STANDARD_CONFIGURATION_README.html +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README +%%PORTDOCS%%%%DOCSDIR%%/TUNING_README.html  %%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README +%%PORTDOCS%%%%DOCSDIR%%/ULTRIX_README.html  %%PORTDOCS%%%%DOCSDIR%%/UUCP_README +%%PORTDOCS%%%%DOCSDIR%%/UUCP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VERP_README +%%PORTDOCS%%%%DOCSDIR%%/VERP_README.html  %%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README +%%PORTDOCS%%%%DOCSDIR%%/VIRTUAL_README.html +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README +%%PORTDOCS%%%%DOCSDIR%%/XCLIENT_README.html +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README +%%PORTDOCS%%%%DOCSDIR%%/XFORWARD_README.html  %%PORTDOCS%%%%DOCSDIR%%/access.5.html  %%PORTDOCS%%%%DOCSDIR%%/aliases.5.html -%%PORTDOCS%%%%DOCSDIR%%/architecture.html -%%PORTDOCS%%%%DOCSDIR%%/backstage.html -%%PORTDOCS%%%%DOCSDIR%%/basic.html -%%PORTDOCS%%%%DOCSDIR%%/big-picture.gif -%%PORTDOCS%%%%DOCSDIR%%/big-picture.html +%%PORTDOCS%%%%DOCSDIR%%/body_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/bounce.8.html  %%PORTDOCS%%%%DOCSDIR%%/canonical.5.html +%%PORTDOCS%%%%DOCSDIR%%/cidr_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/cleanup.8.html -%%PORTDOCS%%%%DOCSDIR%%/commands.html  %%PORTDOCS%%%%DOCSDIR%%/defer.8.html -%%PORTDOCS%%%%DOCSDIR%%/delivering.html  %%PORTDOCS%%%%DOCSDIR%%/error.8.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html  %%PORTDOCS%%%%DOCSDIR%%/flush.8.html -%%PORTDOCS%%%%DOCSDIR%%/goals.html -%%PORTDOCS%%%%DOCSDIR%%/inbound.gif +%%PORTDOCS%%%%DOCSDIR%%/header_checks.5.html  %%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/ldap_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/lmtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/local.8.html  %%PORTDOCS%%%%DOCSDIR%%/mailq.1.html  %%PORTDOCS%%%%DOCSDIR%%/master.8.html -%%PORTDOCS%%%%DOCSDIR%%/motivation.html +%%PORTDOCS%%%%DOCSDIR%%/mysql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/newaliases.1.html -%%PORTDOCS%%%%DOCSDIR%%/nqmgr.8.html -%%PORTDOCS%%%%DOCSDIR%%/outbound.gif +%%PORTDOCS%%%%DOCSDIR%%/oqmgr.8.html  %%PORTDOCS%%%%DOCSDIR%%/pcre_table.5.html +%%PORTDOCS%%%%DOCSDIR%%/pgsql_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/pickup.8.html  %%PORTDOCS%%%%DOCSDIR%%/pipe.8.html  %%PORTDOCS%%%%DOCSDIR%%/postalias.1.html  %%PORTDOCS%%%%DOCSDIR%%/postcat.1.html  %%PORTDOCS%%%%DOCSDIR%%/postconf.1.html +%%PORTDOCS%%%%DOCSDIR%%/postconf.5.html  %%PORTDOCS%%%%DOCSDIR%%/postdrop.1.html +%%PORTDOCS%%%%DOCSDIR%%/postfix-logo.jpg +%%PORTDOCS%%%%DOCSDIR%%/postfix-power.png  %%PORTDOCS%%%%DOCSDIR%%/postfix.1.html  %%PORTDOCS%%%%DOCSDIR%%/postkick.1.html  %%PORTDOCS%%%%DOCSDIR%%/postlock.1.html @@ -157,24 +186,23 @@ bin/mailq  %%PORTDOCS%%%%DOCSDIR%%/postsuper.1.html  %%PORTDOCS%%%%DOCSDIR%%/proxymap.8.html  %%PORTDOCS%%%%DOCSDIR%%/qmgr.8.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/qmqp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/qmqpd.8.html -%%PORTDOCS%%%%DOCSDIR%%/queuing.html -%%PORTDOCS%%%%DOCSDIR%%/rate.html -%%PORTDOCS%%%%DOCSDIR%%/receiving.html +%%PORTDOCS%%%%DOCSDIR%%/qshape.1.html  %%PORTDOCS%%%%DOCSDIR%%/regexp_table.5.html  %%PORTDOCS%%%%DOCSDIR%%/relocated.5.html -%%PORTDOCS%%%%DOCSDIR%%/resource.html -%%PORTDOCS%%%%DOCSDIR%%/rewrite.html -%%PORTDOCS%%%%DOCSDIR%%/security.html  %%PORTDOCS%%%%DOCSDIR%%/sendmail.1.html  %%PORTDOCS%%%%DOCSDIR%%/showq.8.html -%%PORTDOCS%%%%DOCSDIR%%/small-picture.gif +%%PORTDOCS%%%%DOCSDIR%%/smtp-sink.1.html +%%PORTDOCS%%%%DOCSDIR%%/smtp-source.1.html  %%PORTDOCS%%%%DOCSDIR%%/smtp.8.html  %%PORTDOCS%%%%DOCSDIR%%/smtpd.8.html  %%PORTDOCS%%%%DOCSDIR%%/spawn.8.html +%%PORTDOCS%%%%DOCSDIR%%/trace.8.html  %%PORTDOCS%%%%DOCSDIR%%/transport.5.html  %%PORTDOCS%%%%DOCSDIR%%/trivial-rewrite.8.html -%%PORTDOCS%%%%DOCSDIR%%/uce.html +%%PORTDOCS%%%%DOCSDIR%%/verify.8.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.5.html  %%PORTDOCS%%%%DOCSDIR%%/virtual.8.html  %%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/mail/postfix28/scripts/configure.postfix b/mail/postfix28/scripts/configure.postfix index 28ea45440744..723c86b717e8 100644 --- a/mail/postfix28/scripts/configure.postfix +++ b/mail/postfix28/scripts/configure.postfix @@ -1,5 +1,5 @@  #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/scripts/Attic/configure.postfix,v 1.46 2004-03-29 16:13:44 pav Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/scripts/Attic/configure.postfix,v 1.47 2004-05-12 09:08:16 pav Exp $  if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then  	exit @@ -34,7 +34,7 @@ MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL"  PgSQL		"PostgreSQL v7.4 map lookups" "$status_PgSQL" \  PgSQL73		"PostgreSQL v7.3 map lookups" "$status_PgSQL73" \  PgSQL72		"PostgreSQL v7.2 map lookups" "$status_PgSQL72" \ -OpenLDAP	"OpenLDAP map lookups (choose ver. with WANT_OPENLDAP_VER)" "$status_OpenLDAP" \ +OpenLDAP	"OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \  Test		"SMTP/LMTP test server and generator" "$status_Test" \  2> $tempfile @@ -108,8 +108,8 @@ while [ "$1" ]; do  			echo "USE_OPENSSL=	yes"  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto" -			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.16-2.0.16-0.9.7b.tar.gz" -			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff" +			echo "DISTFILES+=	\${DISTNAME}.tar.gz pfixtls-0.8.18-2.1.0-0.9.7d.tar.gz" +			echo "EXTRA_PATCHES+=	\${WRKDIR}/pfixtls-0.8.18-2.1.0-0.9.7d/pfixtls.diff"  			echo "PATCH_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls"  			SUB_TLS="" @@ -173,9 +173,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL73) @@ -183,9 +180,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		PgSQL72) @@ -193,9 +187,6 @@ while [ "$1" ]; do  			echo "LIB_DEPENDS+=	pq.2:\${PORTSDIR}/\${POSTGRESQL_PORT}"  			echo "POSTFIX_CCARGS+=	-DHAS_PGSQL -I\${LOCALBASE}/include  -I\${LOCALBASE}/pgsql/include"  			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt" -			echo "PATCH_SITES+=	http://mat.cc/postfix/" -			echo "PATCHFILES+=	postfix-pg.postfix-2.0.0.2.patch" -			echo "PATCH_DIST_STRIP= -p1"  			echo "PGSQL_SUFFIX=	+pgsql"  			;;  		OpenLDAP) @@ -205,7 +196,8 @@ while [ "$1" ]; do  			echo "OPENLDAP_SUFFIX=	+openldap"  			;;  		Test) -			echo "BIN1=		smtp-sink smtp-source" +			echo "BIN1=		smtp-sink smtp-source qmqp-source" +#			echo "MAN1+=		smtp-sink.1 smtp-source.1 qmqp-sink.1 qmqp-source.1"  			SUB_TEST=""  			;;  		IPv6) @@ -215,7 +207,7 @@ while [ "$1" ]; do  				exit 1  			fi  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "IPv6_SUFFIX=	+ipv6"  			echo "" @@ -233,7 +225,7 @@ while [ "$1" ]; do  			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I\${OPENSSLINC}"  			echo "POSTFIX_AUXLIBS+=	-L\${OPENSSLLIB} -lssl -lcrypto"  			echo "PATCH_SITES+=	http://www.ipnet6.org/postfix/download/" -			echo "PATCHFILES+=	tls+ipv6-1.21-pf-2.0.18.patch.gz" +			echo "PATCHFILES+=	tls+ipv6-1.23-pf-2.1.0.patch.gz"  			echo "PATCH_DIST_STRIP=	-p1"  			echo "TLS_SUFFIX=	+tls+ipv6"  			SUB_TLS="" | 
