diff options
author | will <will@FreeBSD.org> | 2000-11-14 14:28:58 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-11-14 14:28:58 +0800 |
commit | 819b5edae18490cfe71280e102de577e82e42856 (patch) | |
tree | 37b3f3a763233e0919bab9bc6d7d68603a507edc /mail/postfix1 | |
parent | 9a37c2d9f8b0daa66da581cec9851e9301fac661 (diff) | |
download | freebsd-ports-gnome-819b5edae18490cfe71280e102de577e82e42856.tar.gz freebsd-ports-gnome-819b5edae18490cfe71280e102de577e82e42856.tar.zst freebsd-ports-gnome-819b5edae18490cfe71280e102de577e82e42856.zip |
Update to postfix 19991231-pl10. Install LDAP_README and MYSQL_README along
with documentation. Fix manpage generation. Consistently use INSTALL_*
macros (from postfix-current). Modify packaging list using WITH_PCRE and
WITH_LDAP PLIST_SUBs (as per postfix-current). Add knob to enable PCRE (again
from postfix-current). Use better package description (postfix-current).
Fix PLIST. Conditionally remove main.cf and master.cf when they are
unmodified from default (postfix-current). Fully institute new maintainer
as a real one. :-)
PR: 17777, 19185, 20565, 21819, 22613 (also postfix-current)
Submitted by: maintainer (THANKS!)
Diffstat (limited to 'mail/postfix1')
57 files changed, 1061 insertions, 435 deletions
diff --git a/mail/postfix1/Makefile b/mail/postfix1/Makefile index 0dcea195540d..a481cc275f22 100644 --- a/mail/postfix1/Makefile +++ b/mail/postfix1/Makefile @@ -6,109 +6,157 @@ # PORTNAME= postfix -PORTVERSION= 19991231.08 +PORTVERSION= 19991231.10 CATEGORIES= mail MASTER_SITES= ftp://ftp.merit.edu/postfix/official/ \ - ftp://ftp.snoopy.net/pub/mirrors/postfix/official/ \ - ftp://ftp.reverse.net/pub/postfix/official/ \ - ftp://postfix.eu.org/pub/postfix/official/ \ - ftp://ftp.sunet.se/pub/unix/mail/postfix/official/ \ + ftp://ftp.tux.org/pub/net/postfix/official/ \ + ftp://ftp.utoronto.ca/mirror/packages/postfix/official/ \ + ftp://ftp.samurai.com/pub/postfix/official/ \ + ftp://ftp.nl.uu.net/pub/unix/mail/postfix/official/ \ ftp://ftp.cs.tu-berlin.de/pub/net/mail/postfix/official/ \ - ftp://ftp.postfix.oaktree.co.uk/pub/postfix/official/ -DISTNAME= ${PORTNAME}-19991231-pl08 + ftp://ftp.mira.net/pub/unix/mail/postfix/official/ \ + ftp://coda.nctu.edu.tw/network/mail/postfix/official/ +DISTNAME= ${PORTNAME}-19991231-pl10 MAINTAINER= blaz@amis.net -# WARNING: this is based on a patch submitted by a user and has not been -# tested. Use it at your own risk ! +.if !defined(DEBUG) +MAKEFILEFLAGS+= DEBUG= +.endif + +.if defined(CC) +MAKEFILEFLAGS+= CC="${CC}" +.endif + +MAKEFILEFLAGS+= OPT="${CFLAGS}" +SCRIPTS_ENV+= MAN1="${MAN1}" MAN5="${MAN5}" MAN8="${MAN8}" + +MAN1= mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \ + postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postsuper.1 \ + sendmail.1 + +MAN5= access.5 aliases.5 canonical.5 relocated.5 transport.5 virtual.5 + +MAN8= bounce.8 cleanup.8 defer.8 error.8 local.8 master.8 pickup.8 \ + pipe.8 qmgr.8 showq.8 smtp.8 smtpd.8 trivial-rewrite.8 + +CONF1= access aliases canonical main.cf master.cf \ + relocated transport virtual + +CONF2= sample-aliases.cf sample-canonical.cf sample-debug.cf \ + sample-filter.cf sample-local.cf sample-misc.cf \ + sample-rate.cf sample-regexp.cf sample-relocated.cf \ + sample-resource.cf sample-rewrite.cf sample-smtp.cf \ + sample-smtpd.cf sample-transport.cf sample-virtual.cf + +BIN1= bounce cleanup error local master pickup \ + pipe qmgr showq smtp smtpd trivial-rewrite + +BIN2= postalias postcat postconf postdrop postfix \ + postkick postlock postlog postmap postsuper sendmail + .if defined(WITH_MYSQL) BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql322-client POSTFIX_CCARGS+= -DHAS_MYSQL -I${LOCALBASE}/include/mysql POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a -lm .endif -# WARNING: this is based on a patch submitted by a user and has not been -# tested. Use it at your own risk ! .if defined(WITH_LDAP) +CONF2+= sample-ldap.cf BUILD_DEPENDS+= ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap POSTFIX_CCARGS+= -DHAS_LDAP -I${LOCALBASE}/include POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/libldap.a ${PREFIX}/lib/liblber.a +PLIST_SUB+= WITH_LDAP="" +.else +PLIST_SUB+= WITH_LDAP="@comment " .endif -ALL_TARGET= CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" +.if defined(WITH_PCRE) +CONF2+= sample-pcre.cf +BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre +POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include +POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/libpcre.a +PLIST_SUB+= WITH_PCRE="" +.else +PLIST_SUB+= WITH_PCRE="@comment " +.endif -SCRIPTS_ENV+= MAN1="${MAN1}" MAN5="${MAN5}" MAN8="${MAN8}" -MAKE_ENV+= "OPT=${CFLAGS}" +post-patch: + (cd ${WRKSRC} && make -f Makefile.init makefiles ${MAKEFILEFLAGS} \ + CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \ + ${ECHO} "all: default" >> Makefile) -MAN1= mailq.1 newaliases.1 postalias.1 postcat.1 postconf.1 postdrop.1 \ - postfix.1 postkick.1 postlock.1 postlog.1 postmap.1 postsuper.1 \ - sendmail.1 -MAN5= access.5 aliases.5 canonical.5 relocated.5 transport.5 virtual.5 -MAN8= bounce.8 cleanup.8 defer.8 local.8 master.8 pickup.8 pipe.8 qmgr.8 \ - showq.8 smtp.8 smtpd.8 trivial-rewrite.8 error.8 - -SHAREMODE= 0444 -PDOC= ${PREFIX}/share/doc/postfix +pre-install: + @PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL do-install: - @${MKDIR} -m 755 ${PREFIX}/etc/postfix - @${CHOWN} root:wheel ${PREFIX}/etc/postfix - @${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/conf/LICENSE \ - ${PREFIX}/etc/postfix/LICENSE - @for f in access main.cf master.cf ; do \ - ${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/conf/$$f \ - ${PREFIX}/etc/postfix/sample-$$f ; \ - done - @for f in sample-aliases.cf sample-canonical.cf sample-debug.cf \ - sample-ldap.cf sample-local.cf sample-misc.cf sample-pcre.cf \ - sample-rate.cf sample-relocated.cf sample-resource.cf \ - sample-rewrite.cf sample-smtp.cf sample-smtpd.cf \ - sample-transport.cf sample-virtual.cf ; do \ - ${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/conf/$$f \ - ${PREFIX}/etc/postfix/$$f ;\ - done - @${INSTALL} -C -o root -g wheel -m 755 ${WRKSRC}/conf/postfix-script-sgid \ + @${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 0755 \ + ${PREFIX}/etc/postfix \ + ${PREFIX}/libexec/postfix \ + /var/spool/postfix + @${INSTALL_DATA} ${WRKSRC}/conf/LICENSE ${PREFIX}/etc/postfix + +.for file in ${CONF1} + @${INSTALL_DATA} \ + ${WRKSRC}/conf/${file} \ + ${PREFIX}/etc/postfix/sample-${file} +.endfor + +.for file in ${CONF2} + @${INSTALL_DATA} \ + ${WRKSRC}/conf/${file} \ + ${PREFIX}/etc/postfix +.endfor + + @${INSTALL_SCRIPT} \ + ${WRKSRC}/conf/postfix-script-sgid \ ${PREFIX}/etc/postfix/postfix-script - @${MKDIR} -m 0755 ${PREFIX}/libexec/postfix - @for f in bounce cleanup error local master pickup pipe qmgr \ - showq smtp smtpd trivial-rewrite ; do \ - ${INSTALL} -C -o root -g wheel -m 0755 -s \ - ${WRKSRC}/libexec/$$f ${PREFIX}/libexec/postfix/$$f ;\ - done - @for f in postalias postcat postconf postfix postkick postlock postlog\ - postmap postsuper sendmail smtp-sink smtp-source ; do \ - ${INSTALL} -C -o root -g wheel -m 0755 -s ${WRKSRC}/bin/$$f \ - ${PREFIX}/sbin/$$f ;\ - done - @${INSTALL} -C -o root -g maildrop -m 2755 -s ${WRKSRC}/bin/postdrop \ - ${PREFIX}/sbin/postdrop - @for f in ${MAN1} ; do \ - ${INSTALL} -C -o root -g wheel -m 0755 ${WRKSRC}/man/man1/$$f \ - ${PREFIX}/man/man1/$$f ;\ - done - @for f in ${MAN5} ; do \ - ${INSTALL} -C -o root -g wheel -m 0755 ${WRKSRC}/man/man5/$$f \ - ${PREFIX}/man/man5/$$f ;\ - done - @for f in ${MAN8} ; do \ - ${INSTALL} -C -o root -g wheel -m 0755 ${WRKSRC}/man/man8/$$f \ - ${PREFIX}/man/man8/$$f ;\ - done - @${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${PDOC} - @cd ${WRKSRC} && ${INSTALL_DATA} \ - html/*.html html/*.gif ${PDOC} && \ - ${ECHO_MSG} "Installed HTML documentation in ${PDOC}" - @${MKDIR} -m 0755 /var/spool/postfix - @${ECHO_MSG} "--------------------------------------------------" - @${ECHO_MSG} "- To replace your existing sendmail with postfix -" - @${ECHO_MSG} "- type \"make replace\" -" - @${ECHO_MSG} "--------------------------------------------------" -pre-install: - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL +.for file in ${BIN1} + @${INSTALL_PROGRAM} \ + ${WRKSRC}/libexec/${file} \ + ${PREFIX}/libexec/postfix +.endfor + +.for file in ${BIN2} + @${INSTALL_PROGRAM} \ + ${WRKSRC}/${file}/${file} \ + ${PREFIX}/sbin +.endfor + +.for file in ${MAN1} + @${INSTALL_MAN} \ + ${WRKSRC}/man/man1/${file} \ + ${PREFIX}/man/man1 +.endfor + +.for file in ${MAN5} + @${INSTALL_MAN} \ + ${WRKSRC}/man/man5/${file} \ + ${PREFIX}/man/man5 +.endfor + +.for file in ${MAN8} + @${INSTALL_MAN} \ + ${WRKSRC}/man/man8/${file} \ + ${PREFIX}/man/man8 +.endfor + +.if !defined(NOPORTDOCS) + @${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${PREFIX}/share/doc/postfix + @cd ${WRKSRC} && ${INSTALL_DATA} LDAP_README MYSQL_README ${PREFIX}/share/doc/postfix + @${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${PREFIX}/share/doc/postfix/html + @cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${PREFIX}/share/doc/postfix/html && \ + ${ECHO_MSG} "Installed documentation in ${PREFIX}/share/doc/postfix" +.endif + + @${ECHO_MSG} '--------------------------------------------------' + @${ECHO_MSG} '- To replace your existing sendmail with postfix -' + @${ECHO_MSG} '- type "make replace" -' + @${ECHO_MSG} '--------------------------------------------------' post-install: - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.pre.mk> @@ -116,32 +164,41 @@ replace: .if ${OSVERSION} >= 400014 @${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf" ${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak - ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf - ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf - ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf - ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf + ${ECHO} "#" > /etc/mail/mailer.conf + ${ECHO} -n "# Execute the Postfix sendmail program" >> /etc/mail/mailer.conf + ${ECHO} ", named ${PREFIX}/sbin/sendmail" >> /etc/mail/mailer.conf + ${ECHO} "#" >> /etc/mail/mailer.conf + ${ECHO} "sendmail ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf + ${ECHO} "send-mail ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf + ${ECHO} "mailq ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf + ${ECHO} "newaliases ${PREFIX}/sbin/sendmail" >>/etc/mail/mailer.conf .else @${ECHO_MSG} "===> Replacing sendmail" @if [ -e /usr/sbin/sendmail ]; then \ ${MV} -f /usr/sbin/sendmail /usr/sbin/sendmail.OFF; \ ${CHMOD} 0 /usr/sbin/sendmail.OFF; \ fi + @if [ -e ${PREFIX}/sbin/sendmail ]; then \ ${LN} -s ${PREFIX}/sbin/sendmail /usr/sbin/sendmail; \ fi + @${ECHO_MSG} "===> Replacing mailq" @if [ -e /usr/bin/mailq ]; then \ ${MV} -f /usr/bin/mailq /usr/bin/mailq.OFF; \ ${CHMOD} 0 /usr/bin/mailq.OFF; \ fi + @if [ -e ${PREFIX}/sbin/sendmail ]; then \ ${LN} -s ${PREFIX}/sbin/sendmail /usr/bin/mailq; \ fi + @${ECHO_MSG} "===> Replacing newaliases" @if [ -e /usr/bin/newaliases ]; then \ ${MV} -f /usr/bin/newaliases /usr/bin/newaliases.OFF; \ ${CHMOD} 0 /usr/bin/newaliases.OFF; \ fi + @if [ -e ${PREFIX}/sbin/sendmail ]; then \ ${LN} -s ${PREFIX}/sbin/sendmail /usr/bin/newaliases; \ fi diff --git a/mail/postfix1/distinfo b/mail/postfix1/distinfo index c8a018d3ad7f..af7687731c54 100644 --- a/mail/postfix1/distinfo +++ b/mail/postfix1/distinfo @@ -1 +1 @@ -MD5 (postfix-19991231-pl08.tar.gz) = 0461524d91c87b03c80cc640ec953a63 +MD5 (postfix-19991231-pl10.tar.gz) = 0ff9c13e83ea5123852603904d4f1978 diff --git a/mail/postfix1/files/patch-aa b/mail/postfix1/files/patch-aa index 3af6375f1959..a5f9ee7a5b2e 100644 --- a/mail/postfix1/files/patch-aa +++ b/mail/postfix1/files/patch-aa @@ -1,36 +1,69 @@ -*** global/mail_params.h.orig Sat Mar 20 15:09:46 1999 ---- global/mail_params.h Sat Mar 20 15:10:46 1999 +*** ./conf/main.cf.orig Fri Jan 28 09:44:47 2000 +--- ./conf/main.cf Thu Jun 1 22:01:21 2000 *************** -*** 127,133 **** - */ - #define VAR_PROGRAM_DIR "program_directory" - #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR "/usr/libexec/postfix" - #endif - - #define VAR_DAEMON_DIR "daemon_directory" ---- 127,133 ---- - */ - #define VAR_PROGRAM_DIR "program_directory" - #ifndef DEF_PROGRAM_DIR -! #define DEF_PROGRAM_DIR "!!PREFIX!!/libexec/postfix" - #endif - - #define VAR_DAEMON_DIR "daemon_directory" +*** 19,21 **** + # +! command_directory = /usr/sbin + +--- 19,21 ---- + # +! command_directory = !!PREFIX!!/sbin + +*************** +*** 26,28 **** + # +! daemon_directory = /usr/libexec/postfix + +--- 26,28 ---- + # +! daemon_directory = !!PREFIX!!/libexec/postfix + +*************** +*** 43,45 **** + # +! #default_privs = nobody + +--- 43,45 ---- + # +! default_privs = nobody + +*************** +*** 180,182 **** + #alias_database = dbm:/etc/aliases +! #alias_database = dbm:/etc/mail/aliases + #alias_database = hash:/etc/aliases +--- 180,182 ---- + #alias_database = dbm:/etc/aliases +! #alias_database = dbm:/etc/aliases + #alias_database = hash:/etc/aliases *************** -*** 161,167 **** - */ - #define VAR_CONFIG_DIR "config_directory" - #ifndef DEF_CONFIG_DIR -! #define DEF_CONFIG_DIR "/etc/postfix" - #endif - extern char *var_config_dir; - ---- 161,167 ---- - */ - #define VAR_CONFIG_DIR "config_directory" - #ifndef DEF_CONFIG_DIR -! #define DEF_CONFIG_DIR "!!PREFIX!!/etc/postfix" - #endif - extern char *var_config_dir; +*** 199,202 **** + # mailbox file relative to a user's home directory. The default +! # mailbox file is /var/spool/mail/user or /var/mail/user. Specify +! # "Maildir/" for qmail-style delivery (the / is required). + # +--- 199,202 ---- + # mailbox file relative to a user's home directory. The default +! # mailbox file is /var/mail/user. Specify "Maildir/" for +! # qmail-style delivery (the / is required). + # +*************** +*** 209,211 **** + # +! # mail_spool_directory = /var/mail + # mail_spool_directory = /var/spool/mail +--- 209,211 ---- + # +! mail_spool_directory = /var/mail + # mail_spool_directory = /var/spool/mail +*************** +*** 274,277 **** + # +! #header_checks = regexp:/etc/postfix/filename +! #header_checks = pcre:/etc/postfix/filename + +--- 274,277 ---- + # +! #header_checks = regexp:!!PREFIX!!/etc/postfix/filename +! #header_checks = pcre:!!PREFIX!!/etc/postfix/filename diff --git a/mail/postfix1/files/patch-ab b/mail/postfix1/files/patch-ab index 32a96b27bbc0..d705b8a7f594 100644 --- a/mail/postfix1/files/patch-ab +++ b/mail/postfix1/files/patch-ab @@ -1,28 +1,11 @@ ---- conf/main.cf.orig Tue Dec 28 05:03:38 1999 -+++ conf/main.cf Sun Jan 2 21:31:24 2000 -@@ -17,14 +17,14 @@ - # The command_directory parameter specifies the location of all - # postXXX commands. The default value is $program_directory. - # --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). The - # default value is $program_directory. This directory must be owned - # by root. - # --daemon_directory = /usr/libexec/postfix -+daemon_directory = !!PREFIX!!/libexec/postfix - - # QUEUE AND PROCESS OWNERSHIP - # -@@ -41,7 +41,7 @@ - # These rights are used in the absence of a recipient user context. - # DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER. - # --#default_privs = nobody -+default_privs = nobody - - # INTERNET HOST AND DOMAIN NAMES - # +--- conf/canonical.orig Sun Sep 5 23:47:01 1999 ++++ conf/canonical Tue Nov 7 22:24:42 2000 +@@ -4,7 +4,7 @@ + # SUMMARY + # format of Postfix canonical table + # SYNOPSIS +-# \fBpostmap /etc/postfix/canonical\fR ++# \fBpostmap !!PREFIX!!/etc/postfix/canonical\fR + # DESCRIPTION + # The optional \fBcanonical\fR file specifies an address mapping for + # local and non-local addresses. The mapping is used by the diff --git a/mail/postfix1/files/patch-ac b/mail/postfix1/files/patch-ac new file mode 100644 index 000000000000..264335cb70fa --- /dev/null +++ b/mail/postfix1/files/patch-ac @@ -0,0 +1,11 @@ +--- conf/access.orig Fri Dec 11 19:55:48 1998 ++++ conf/access Tue Nov 7 22:25:54 2000 +@@ -4,7 +4,7 @@ + # SUMMARY + # format of Postfix access table + # SYNOPSIS +-# \fBpostmap /etc/postfix/access\fR ++# \fBpostmap !!PREFIX!!/etc/postfix/access\fR + # DESCRIPTION + # The optional \fBaccess\fR table directs the Postfix SMTP server + # to selectively reject or accept mail from or to specific hosts, diff --git a/mail/postfix1/files/patch-af b/mail/postfix1/files/patch-af new file mode 100644 index 000000000000..ec92981276c6 --- /dev/null +++ b/mail/postfix1/files/patch-af @@ -0,0 +1,11 @@ +--- conf/relocated.orig Sun Sep 5 23:47:01 1999 ++++ conf/relocated Tue Nov 7 22:28:27 2000 +@@ -4,7 +4,7 @@ + # SUMMARY + # format of Postfix relocated table + # SYNOPSIS +-# \fBpostmap /etc/postfix/relocated\fR ++# \fBpostmap !!PREFIX!!/etc/postfix/relocated\fR + # DESCRIPTION + # The optional \fBrelocated\fR file provides the information that is + # used in "user has moved to \fInew_location\fR" bounce messages. diff --git a/mail/postfix1/files/patch-ah b/mail/postfix1/files/patch-ah new file mode 100644 index 000000000000..c8c769e8f815 --- /dev/null +++ b/mail/postfix1/files/patch-ah @@ -0,0 +1,44 @@ +*** ./conf/sample-canonical.cf.orig Thu Sep 23 14:10:38 1999 +--- ./conf/sample-canonical.cf Thu Jun 1 22:07:23 2000 +*************** +*** 14,16 **** + # +! # If you use this feature, run "postmap /etc/postfix/canonical" to + # build the necessary DBM or DB file after every change. The changes +--- 14,16 ---- + # +! # If you use this feature, run "postmap !!PREFIX!!/etc/postfix/canonical" to + # build the necessary DBM or DB file after every change. The changes +*************** +*** 19,24 **** + # +! # canonical_maps = dbm:/etc/postfix/canonical +! # canonical_maps = hash:/etc/postfix/canonical +! # canonical_maps = hash:/etc/postfix/canonical, nis:canonical +! # canonical_maps = hash:/etc/postfix/canonical, netinfo:/canonical + canonical_maps = +--- 19,24 ---- + # +! # canonical_maps = dbm:!!PREFIX!!/etc/postfix/canonical +! # canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical +! # canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical, nis:canonical +! # canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical, netinfo:/canonical + canonical_maps = +*************** +*** 32,34 **** + # +! # recipient_canonical_maps = hash:/etc/postfix/recipient_canonical + recipient_canonical_maps = +--- 32,34 ---- + # +! # recipient_canonical_maps = hash:!!PREFIX!!/etc/postfix/recipient_canonical + recipient_canonical_maps = +*************** +*** 46,48 **** + # +! # sender_canonical_maps = hash:/etc/postfix/sender_canonical + sender_canonical_maps = +--- 46,48 ---- + # +! # sender_canonical_maps = hash:!!PREFIX!!/etc/postfix/sender_canonical + sender_canonical_maps = diff --git a/mail/postfix1/files/patch-ai b/mail/postfix1/files/patch-ai new file mode 100644 index 000000000000..f7aa2fd5f4c6 --- /dev/null +++ b/mail/postfix1/files/patch-ai @@ -0,0 +1,18 @@ +*** ./conf/sample-filter.cf.orig Mon May 29 11:30:44 2000 +--- ./conf/sample-filter.cf Thu Jun 1 22:07:58 2000 +*************** +*** 15,17 **** + # +! header_checks = regexp:/etc/postfix/header_checks + +--- 15,17 ---- + # +! header_checks = regexp:!!PREFIX!!/etc/postfix/header_checks + +*************** +*** 26,27 **** + # +! body_checks = regexp:/etc/postfix/body_checks +--- 26,27 ---- + # +! body_checks = regexp:!!PREFIX!!/etc/postfix/body_checks diff --git a/mail/postfix1/files/patch-aj b/mail/postfix1/files/patch-aj new file mode 100644 index 000000000000..fa3cc640eb53 --- /dev/null +++ b/mail/postfix1/files/patch-aj @@ -0,0 +1,24 @@ +*** ./conf/sample-misc.cf.orig Thu Sep 23 14:10:52 1999 +--- ./conf/sample-misc.cf Thu Jun 1 22:09:39 2000 +*************** +*** 220,222 **** + # +! program_directory = /usr/libexec/postfix + +--- 220,222 ---- + # +! program_directory = !!PREFIX!!/usr/libexec/postfix + +*************** +*** 263,267 **** + # Specify the types and names of databases to use. After change, +! # run "postmap /etc/postfix/relocated", then "postfix reload". + # +! # relocated_maps = hash:/etc/postfix/relocated + relocated_maps = +--- 263,267 ---- + # Specify the types and names of databases to use. After change, +! # run "postmap !!PREFIX!!/etc/postfix/relocated", then "postfix reload". + # +! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated + relocated_maps = diff --git a/mail/postfix1/files/patch-ak b/mail/postfix1/files/patch-ak new file mode 100644 index 000000000000..249a427016f2 --- /dev/null +++ b/mail/postfix1/files/patch-ak @@ -0,0 +1,26 @@ +*** ./conf/sample-relocated.cf.orig Thu Sep 23 14:11:17 1999 +--- ./conf/sample-relocated.cf Thu Jun 1 22:10:43 2000 +*************** +*** 12,14 **** + # +! # If you use this feature, run "postmap /etc/postfix/relocated" to + # build the necessary DBM or DB file after change, then "postfix +--- 12,14 ---- + # +! # If you use this feature, run "postmap !!PREFIX!!/etc/postfix/relocated" to + # build the necessary DBM or DB file after change, then "postfix +*************** +*** 16,21 **** + # +! # relocated_maps = dbm:/etc/postfix/relocated +! # relocated_maps = hash:/etc/postfix/relocated +! # relocated_maps = hash:/etc/postfix/relocated, nis:virtual +! # relocated_maps = hash:/etc/postfix/relocated, netinfo:/relocated + relocated_maps = +--- 16,21 ---- + # +! # relocated_maps = dbm:!!PREFIX!!/etc/postfix/relocated +! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated +! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated, nis:virtual +! # relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated, netinfo:/relocated + relocated_maps = diff --git a/mail/postfix1/files/patch-al b/mail/postfix1/files/patch-al new file mode 100644 index 000000000000..d363aba1d02e --- /dev/null +++ b/mail/postfix1/files/patch-al @@ -0,0 +1,11 @@ +*** ./conf/sample-smtpd.cf.orig Mon Dec 27 19:41:37 1999 +--- ./conf/sample-smtpd.cf Thu Jun 1 22:11:22 2000 +*************** +*** 183,185 **** + # smtpd_sender_restrictions = reject_unknown_sender_domain +! # smtpd_sender_restrictions = reject_unknown_sender_domain, hash:/etc/postfix/access + smtpd_sender_restrictions = +--- 183,185 ---- + # smtpd_sender_restrictions = reject_unknown_sender_domain +! # smtpd_sender_restrictions = reject_unknown_sender_domain, hash:!!PREFIX!!/etc/postfix/access + smtpd_sender_restrictions = diff --git a/mail/postfix1/files/patch-am b/mail/postfix1/files/patch-am new file mode 100644 index 000000000000..3328cc42ab77 --- /dev/null +++ b/mail/postfix1/files/patch-am @@ -0,0 +1,23 @@ +*** ./conf/sample-transport.cf.orig Thu Dec 23 10:50:00 1999 +--- ./conf/sample-transport.cf Thu Jun 1 22:13:09 2000 +*************** +*** 10,18 **** + # By default, this feature is disabled. Specify the types of databases +! # to use. If you use this feature, run "postmap /etc/postfix/transport" + # after change, then "postfix reload". + # +! # transport_maps = dbm:/etc/postfix/transport +! # transport_maps = hash:/etc/postfix/transport +! # transport_maps = hash:/etc/postfix/transport, nis:transport +! # transport_maps = hash:/etc/postfix/transport, netinfo:/transport + transport_maps = +--- 10,18 ---- + # By default, this feature is disabled. Specify the types of databases +! # to use. If you use this feature, run "postmap !!PREFIX!!/etc/postfix/transport" + # after change, then "postfix reload". + # +! # transport_maps = dbm:!!PREFIX!!/etc/postfix/transport +! # transport_maps = hash:!!PREFIX!!/etc/postfix/transport +! # transport_maps = hash:!!PREFIX!!/etc/postfix/transport, nis:transport +! # transport_maps = hash:!!PREFIX!!/etc/postfix/transport, netinfo:/transport + transport_maps = diff --git a/mail/postfix1/files/patch-an b/mail/postfix1/files/patch-an new file mode 100644 index 000000000000..4da6a093d4f3 --- /dev/null +++ b/mail/postfix1/files/patch-an @@ -0,0 +1,26 @@ +*** ./conf/sample-virtual.cf.orig Mon Dec 20 21:00:42 1999 +--- ./conf/sample-virtual.cf Thu Jun 1 22:13:32 2000 +*************** +*** 12,14 **** + # +! # If you use this feature, run "postmap /etc/postfix/virtual" to + # build the necessary DBM or DB file after change. +--- 12,14 ---- + # +! # If you use this feature, run "postmap !!PREFIX!!/etc/postfix/virtual" to + # build the necessary DBM or DB file after change. +*************** +*** 18,23 **** + # +! # virtual_maps = dbm:/etc/postfix/virtual +! # virtual_maps = hash:/etc/postfix/virtual +! # virtual_maps = hash:/etc/postfix/virtual, nis:virtual +! # virtual_maps = hash:/etc/postfix/virtual, netinfo:/virtual + virtual_maps = +--- 18,23 ---- + # +! # virtual_maps = dbm:!!PREFIX!!/etc/postfix/virtual +! # virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual +! # virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual, nis:virtual +! # virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual, netinfo:/virtual + virtual_maps = diff --git a/mail/postfix1/files/patch-ao b/mail/postfix1/files/patch-ao new file mode 100644 index 000000000000..206c152728da --- /dev/null +++ b/mail/postfix1/files/patch-ao @@ -0,0 +1,11 @@ +--- conf/transport.orig Fri Dec 31 20:54:11 1999 ++++ conf/transport Tue Nov 7 22:46:59 2000 +@@ -4,7 +4,7 @@ + # SUMMARY + # format of Postfix transport table + # SYNOPSIS +-# \fBpostmap /etc/postfix/transport\fR ++# \fBpostmap !!PREFIX!!/etc/postfix/transport\fR + # DESCRIPTION + # The optional \fBtransport\fR file specifies a mapping from domain + # hierarchies to message delivery transports and/or relay hosts. The diff --git a/mail/postfix1/files/patch-ap b/mail/postfix1/files/patch-ap new file mode 100644 index 000000000000..b412ce386f8d --- /dev/null +++ b/mail/postfix1/files/patch-ap @@ -0,0 +1,11 @@ +--- conf/virtual.orig Tue Dec 21 03:00:13 1999 ++++ conf/virtual Tue Nov 7 22:48:18 2000 +@@ -4,7 +4,7 @@ + # SUMMARY + # format of Postfix virtual table + # SYNOPSIS +-# \fBpostmap /etc/postfix/virtual\fR ++# \fBpostmap !!PREFIX!!/etc/postfix/virtual\fR + # DESCRIPTION + # The optional \fBvirtual\fR table specifies redirections for local + # and non-local recipients or domains. The redirections are used by diff --git a/mail/postfix1/files/patch-ba b/mail/postfix1/files/patch-ba index 73feeef81f27..ccb54ec60a7a 100644 --- a/mail/postfix1/files/patch-ba +++ b/mail/postfix1/files/patch-ba @@ -1,19 +1,20 @@ -*** man/man1/postdrop.1.orig Mon Mar 29 22:35:14 1999 ---- man/man1/postdrop.1 Mon Mar 29 22:35:25 1999 +*** ./html/mailq.1.html.orig Sat Apr 22 20:28:36 2000 +--- ./html/mailq.1.html Thu Jun 1 22:19:24 2000 *************** -*** 51,57 **** - .na - .nf - /var/spool/postfix, mail queue -! /etc/postfix, configuration files - .SH CONFIGURATION PARAMETERS - .na - .nf ---- 51,57 ---- - .na - .nf - /var/spool/postfix, mail queue -! !!PREFIX!!/etc/postfix, configuration files - .SH CONFIGURATION PARAMETERS - .na - .nf +*** 83,85 **** + The path name of the <b>sendmail.cf</b> file. Postfix con- +! figuration files are kept in <b>/etc/postfix</b>. + +--- 83,85 ---- + The path name of the <b>sendmail.cf</b> file. Postfix con- +! figuration files are kept in <b>!!PREFIX!!/etc/postfix</b>. + +*************** +*** 231,233 **** + /var/spool/postfix, mail queue +! /etc/postfix, configuration files + +--- 231,233 ---- + /var/spool/postfix, mail queue +! !!PREFIX!!/etc/postfix, configuration files + diff --git a/mail/postfix1/files/patch-bb b/mail/postfix1/files/patch-bb index af024b23b3d9..6444bc0d1f75 100644 --- a/mail/postfix1/files/patch-bb +++ b/mail/postfix1/files/patch-bb @@ -1,36 +1,11 @@ -*** man/man1/sendmail.1.orig Mon Mar 29 22:35:30 1999 ---- man/man1/sendmail.1 Mon Mar 29 22:35:44 1999 -*************** -*** 60,66 **** - \fBjust-send-eight\fR. - .IP "\fB-C \fIconfig_file\fR (ignored :-)" - 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 - Set the sender full name. This is used only with messages that - have no \fBFrom:\fR message header. ---- 60,66 ---- - \fBjust-send-eight\fR. - .IP "\fB-C \fIconfig_file\fR (ignored :-)" - 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 - Set the sender full name. This is used only with messages that - have no \fBFrom:\fR message header. -*************** -*** 164,170 **** - .na - .nf - /var/spool/postfix, mail queue -! /etc/postfix, configuration files - .SH CONFIGURATION PARAMETERS - .na - .nf ---- 164,170 ---- - .na - .nf - /var/spool/postfix, mail queue -! !!PREFIX!!/etc/postfix, configuration files - .SH CONFIGURATION PARAMETERS - .na - .nf +--- html/access.5.html.orig Fri Dec 11 19:55:49 1998 ++++ html/access.5.html Tue Nov 7 22:48:47 2000 +@@ -9,7 +9,7 @@ + access - format of Postfix access table + + <b>SYNOPSIS</b> +- <b>postmap</b> <b>/etc/postfix/access</b> ++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/access</b> + + <b>DESCRIPTION</b> + The optional <b>access</b> table directs the Postfix SMTP server diff --git a/mail/postfix1/files/patch-bc b/mail/postfix1/files/patch-bc index 12a369684c8f..4d24077b9527 100644 --- a/mail/postfix1/files/patch-bc +++ b/mail/postfix1/files/patch-bc @@ -1,19 +1,11 @@ -*** man/man5/access.5.orig Mon Mar 29 22:35:58 1999 ---- man/man5/access.5 Mon Mar 29 22:36:13 1999 -*************** -*** 8,14 **** - .SH SYNOPSIS - .na - .nf -! \fBpostmap /etc/postfix/access\fR - .SH DESCRIPTION - .ad - .fi ---- 8,14 ---- - .SH SYNOPSIS - .na - .nf -! \fBpostmap !!PREFIX!!/etc/postfix/access\fR - .SH DESCRIPTION - .ad - .fi +--- html/canonical.5.html.orig Mon Sep 6 05:13:54 1999 ++++ html/canonical.5.html Tue Nov 7 22:51:05 2000 +@@ -9,7 +9,7 @@ + canonical - format of Postfix canonical table + + <b>SYNOPSIS</b> +- <b>postmap</b> <b>/etc/postfix/canonical</b> ++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/canonical</b> + + <b>DESCRIPTION</b> + The optional <b>canonical</b> file specifies an address mapping diff --git a/mail/postfix1/files/patch-bd b/mail/postfix1/files/patch-bd index 2b2f30f720f5..ce79695f1341 100644 --- a/mail/postfix1/files/patch-bd +++ b/mail/postfix1/files/patch-bd @@ -1,19 +1,11 @@ -*** man/man5/canonical.5.orig Mon Mar 29 22:36:25 1999 ---- man/man5/canonical.5 Mon Mar 29 22:36:32 1999 +*** ./html/local.8.html.orig Thu Feb 3 21:15:02 2000 +--- ./html/local.8.html Thu Jun 1 22:22:30 2000 *************** -*** 8,14 **** - .SH SYNOPSIS - .na - .nf -! \fBpostmap /etc/postfix/canonical\fR - .SH DESCRIPTION - .ad - .fi ---- 8,14 ---- - .SH SYNOPSIS - .na - .nf -! \fBpostmap !!PREFIX!!/etc/postfix/canonical\fR - .SH DESCRIPTION - .ad - .fi +*** 99,101 **** + The default per-user mailbox is a file in the UNIX mail +! spool directory (<b>/var/mail/</b><i>user</i> or <b>/var/spool/mail/</b><i>user</i>); + the location can be specified with the <b>mail</b><i>_</i><b>spool</b><i>_</i><b>direc-</b> +--- 99,101 ---- + The default per-user mailbox is a file in the UNIX mail +! spool directory (<b>/var/mail/</b><i>user</i>); + the location can be specified with the <b>mail</b><i>_</i><b>spool</b><i>_</i><b>direc-</b> diff --git a/mail/postfix1/files/patch-be b/mail/postfix1/files/patch-be index 354737c7e68d..bef6a3bfaf73 100644 --- a/mail/postfix1/files/patch-be +++ b/mail/postfix1/files/patch-be @@ -1,19 +1,10 @@ -*** man/man5/relocated.5.orig Mon Mar 29 22:36:36 1999 ---- man/man5/relocated.5 Mon Mar 29 22:36:47 1999 -*************** -*** 8,14 **** - .SH SYNOPSIS - .na - .nf -! \fBpostmap /etc/postfix/relocated\fR - .SH DESCRIPTION - .ad - .fi ---- 8,14 ---- - .SH SYNOPSIS - .na - .nf -! \fBpostmap !!PREFIX!!/etc/postfix/relocated\fR - .SH DESCRIPTION - .ad - .fi +--- ./html/faq.html.orig Sat Oct 28 23:34:51 2000 ++++ ./html/faq.html Sat Oct 28 23:36:04 2000 +@@ -2572,7 +2572,7 @@ + + Answer: instead of using <b>/usr/include/ndbm.h</b>, you're building + Postfix with some incompatible third-party file, typically +-<b>/usr/local/include/ndbm.h</b>. ++<b>!!PREFIX!!/include/ndbm.h</b>. + + <p> diff --git a/mail/postfix1/files/patch-bf b/mail/postfix1/files/patch-bf index 4de817826469..d652e1e567b3 100644 --- a/mail/postfix1/files/patch-bf +++ b/mail/postfix1/files/patch-bf @@ -1,19 +1,13 @@ -*** man/man5/virtual.5.orig Mon Mar 29 22:36:55 1999 ---- man/man5/virtual.5 Mon Mar 29 22:37:02 1999 +*** ./html/cleanup.8.html.orig Sun May 28 21:58:41 2000 +--- ./html/cleanup.8.html Thu Jun 1 22:29:04 2000 *************** -*** 8,14 **** - .SH SYNOPSIS - .na - .nf -! \fBpostmap /etc/postfix/virtual\fR - .SH DESCRIPTION - .ad - .fi ---- 8,14 ---- - .SH SYNOPSIS - .na - .nf -! \fBpostmap !!PREFIX!!/etc/postfix/virtual\fR - .SH DESCRIPTION - .ad - .fi +*** 174,177 **** + <b>FILES</b> +! /etc/postfix/canonical*, canonical mapping table +! /etc/postfix/virtual*, virtual mapping table + +--- 174,177 ---- + <b>FILES</b> +! !!PREFIX!!/etc/postfix/canonical*, canonical mapping table +! !!PREFIX!!/etc/postfix/virtual*, virtual mapping table + diff --git a/mail/postfix1/files/patch-bg b/mail/postfix1/files/patch-bg index fb2b093bff0f..ce2454eaef01 100644 --- a/mail/postfix1/files/patch-bg +++ b/mail/postfix1/files/patch-bg @@ -1,19 +1,13 @@ -*** man/man8/local.8.orig Mon Mar 29 22:37:14 1999 ---- man/man8/local.8 Mon Mar 29 22:37:44 1999 +*** ./html/master.8.html.orig Tue Mar 7 10:48:56 2000 +--- ./html/master.8.html Thu Jun 1 22:29:24 2000 *************** -*** 75,81 **** - .ad - .fi - The default per-user mailbox is a file in the UNIX mail spool -! directory (\fB/var/mail/\fIuser\fR or \fB/var/spool/mail/\fIuser\fR); - the location can be specified with the \fBmail_spool_directory\fR - configuration parameter. - ---- 75,81 ---- - .ad - .fi - The default per-user mailbox is a file in the UNIX mail spool -! directory (\fB/var/mail/\fIuser\fR); - the location can be specified with the \fBmail_spool_directory\fR - configuration parameter. - +*** 148,151 **** + <b>FILES</b> +! /etc/postfix/main.cf: global configuration file. +! /etc/postfix/master.cf: master process configuration file. + /var/spool/postfix/pid/master.pid: master lock file. +--- 148,151 ---- + <b>FILES</b> +! !!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/postfix1/files/patch-bh b/mail/postfix1/files/patch-bh index 42b7373d3fb5..a20232e6796a 100644 --- a/mail/postfix1/files/patch-bh +++ b/mail/postfix1/files/patch-bh @@ -1,21 +1,11 @@ -*** man/man8/cleanup.8.orig Mon Mar 29 22:37:59 1999 ---- man/man8/cleanup.8 Mon Mar 29 22:38:13 1999 +*** ./html/goals.html.orig Sun May 9 15:44:18 1999 +--- ./html/goals.html Thu Jun 1 22:30:14 2000 *************** -*** 118,125 **** - .SH FILES - .na - .nf -! /etc/postfix/canonical*, canonical mapping table -! /etc/postfix/virtual*, virtual mapping table - .SH LICENSE - .na - .nf ---- 118,125 ---- - .SH FILES - .na - .nf -! !!PREFIX!!/etc/postfix/canonical*, canonical mapping table -! !!PREFIX!!/etc/postfix/virtual*, virtual mapping table - .SH LICENSE - .na - .nf +*** 45,47 **** + <li>Compatibility. Postfix is designed to be sendmail-compatible +! to make migration easy. Postfix supports <b>/var[/spool]/mail</b>, + <b>/etc/aliases</b>, <b>NIS</b>, and <b>~/.forward</b> files. +--- 45,47 ---- + <li>Compatibility. Postfix is designed to be sendmail-compatible +! to make migration easy. Postfix supports <b>/var/mail</b>, + <b>/etc/aliases</b>, <b>NIS</b>, and <b>~/.forward</b> files. diff --git a/mail/postfix1/files/patch-bi b/mail/postfix1/files/patch-bi index 2b57467ed976..7e4acdb0c126 100644 --- a/mail/postfix1/files/patch-bi +++ b/mail/postfix1/files/patch-bi @@ -1,21 +1,11 @@ -*** man/man8/master.8.orig Mon Mar 29 22:38:17 1999 ---- man/man8/master.8 Mon Mar 29 22:38:46 1999 +*** ./html/postdrop.1.html.orig Mon May 3 15:05:12 1999 +--- ./html/postdrop.1.html Thu Jun 1 22:30:47 2000 *************** -*** 116,123 **** - .SH FILES - .na - .nf -! /etc/postfix/main.cf: global configuration file. -! /etc/postfix/master.cf: master process configuration file. - /var/spool/postfix/pid/master.pid: master lock file. - .SH SEE ALSO - .na ---- 116,123 ---- - .SH FILES - .na - .nf -! !!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. - .SH SEE ALSO - .na +*** 48,50 **** + /var/spool/postfix, mail queue +! /etc/postfix, configuration files + +--- 48,50 ---- + /var/spool/postfix, mail queue +! !!PREFIX!!/etc/postfix, configuration files + diff --git a/mail/postfix1/files/patch-bj b/mail/postfix1/files/patch-bj index 99c521341ca5..00e78d01ba5a 100644 --- a/mail/postfix1/files/patch-bj +++ b/mail/postfix1/files/patch-bj @@ -1,20 +1,42 @@ ---- makedefs.orig Sun Jan 23 03:04:27 2000 -+++ makedefs Mon Apr 3 08:59:17 2000 -@@ -89,6 +89,8 @@ - ;; - FreeBSD.4*) SYSTYPE=FREEBSD4 - ;; -+ FreeBSD.5*) SYSTYPE=FREEBSD5 -+ ;; - OpenBSD.2*) SYSTYPE=OPENBSD2 - ;; - NetBSD.1*) SYSTYPE=NETBSD1 -@@ -244,7 +246,7 @@ - *) : ${OPT='-O'};; - esac - --: ${CC='gcc $(WARN)'} ${OPT='-O'} ${DEBUG='-g'} ${AWK=awk} -+: ${CC='gcc $(WARN)'} ${OPT='-O'} ${AWK=awk} - - export SYSTYPE AR ARFL RANLIB SYSLIBS CC OPT DEBUG AWK OPTS - +*** ./html/uce.html.orig Fri Dec 31 15:06:07 1999 +--- ./html/uce.html Thu Jun 1 22:31:37 2000 +*************** +*** 126,130 **** + +! <dd> <b>header_checks = regexp:/etc/postfix/header_checks</b> + +! <dd> <b>header_checks = pcre:/etc/postfix/header_checks</b> + +--- 126,130 ---- + +! <dd> <b>header_checks = regexp:!!PREFIX!!/etc/postfix/header_checks</b> + +! <dd> <b>header_checks = pcre:!!PREFIX!!/etc/postfix/header_checks</b> + +*************** +*** 169,171 **** + +! <dd> <b>smtpd_client_restrictions = hash:/etc/postfix/access, + reject_maps_rbl</b> +--- 169,171 ---- + +! <dd> <b>smtpd_client_restrictions = hash:!!PREFIX!!/etc/postfix/access, + reject_maps_rbl</b> +*************** +*** 474,476 **** + +! <dd> <b>smtpd_sender_restrictions = hash:/etc/postfix/access, + reject_unknown_sender_domain</b> +--- 474,476 ---- + +! <dd> <b>smtpd_sender_restrictions = hash:!!PREFIX!!/etc/postfix/access, + reject_unknown_sender_domain</b> +*************** +*** 856,858 **** + <dd> <b>smtpd_etrn_restrictions = permit_mynetworks, +! hash:/etc/postfix/etrn_access, reject</b> + +--- 856,858 ---- + <dd> <b>smtpd_etrn_restrictions = permit_mynetworks, +! hash:!!PREFIX!!/etc/postfix/etrn_access, reject</b> + diff --git a/mail/postfix1/files/patch-bk b/mail/postfix1/files/patch-bk index 3350e88273f3..62a0573559ae 100644 --- a/mail/postfix1/files/patch-bk +++ b/mail/postfix1/files/patch-bk @@ -1,10 +1,29 @@ ---- util/sys_defs.h.orig Sat Jan 22 16:03:31 2000 -+++ util/sys_defs.h Sat Mar 25 09:19:31 2000 -@@ -20,6 +20,7 @@ - * makedefs script, and adding a section below for the new system. - */ - #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ -+ || defined(FREEBSD5) \ - || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ - || defined(OPENBSD2) || defined(NETBSD1) || defined(RHAPSODY5) - #define SUPPORTED +*** ./html/rate.html.orig Wed Mar 17 17:55:22 1999 +--- ./html/rate.html Thu Jun 1 22:32:19 2000 +*************** +*** 224,226 **** + +! <dt>/etc/postfix/main.cf: + +--- 224,226 ---- + +! <dt>!!PREFIX!!/etc/postfix/main.cf: + +*************** +*** 237,239 **** + +! <dt>/etc/postfix/<a href="transport.5.html">transport</a>: + +--- 237,239 ---- + +! <dt>!!PREFIX!!/etc/postfix/<a href="transport.5.html">transport</a>: + +*************** +*** 253,255 **** + +! <dt>/etc/postfix/master.cf: + +--- 253,255 ---- + +! <dt>!!PREFIX!!/etc/postfix/master.cf: + diff --git a/mail/postfix1/files/patch-bm b/mail/postfix1/files/patch-bm new file mode 100644 index 000000000000..bc9479bea2fe --- /dev/null +++ b/mail/postfix1/files/patch-bm @@ -0,0 +1,11 @@ +--- html/relocated.5.html.orig Mon Sep 6 05:13:55 1999 ++++ html/relocated.5.html Tue Nov 7 22:52:46 2000 +@@ -9,7 +9,7 @@ + relocated - format of Postfix relocated table + + <b>SYNOPSIS</b> +- <b>postmap</b> <b>/etc/postfix/relocated</b> ++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/relocated</b> + + <b>DESCRIPTION</b> + The optional <b>relocated</b> file provides the information that diff --git a/mail/postfix1/files/patch-bn b/mail/postfix1/files/patch-bn new file mode 100644 index 000000000000..21e69dcaa40c --- /dev/null +++ b/mail/postfix1/files/patch-bn @@ -0,0 +1,56 @@ +*** ./html/rewrite.html.orig Sat May 8 17:51:41 1999 +--- ./html/rewrite.html Thu Jun 1 22:34:21 2000 +*************** +*** 194,196 **** + +! <dd><b>canonical_maps = hash:/etc/postfix/canonical</b> + +--- 194,196 ---- + +! <dd><b>canonical_maps = hash:!!PREFIX!!/etc/postfix/canonical</b> + +*************** +*** 207,209 **** + +! <dd><b>sender_canonical_maps = hash:/etc/postfix/sender_canonical</b> + +--- 207,209 ---- + +! <dd><b>sender_canonical_maps = hash:!!PREFIX!!/etc/postfix/sender_canonical</b> + +*************** +*** 211,213 **** + +! <dd><b>recipient_canonical_maps = hash:/etc/postfix/recipient_canonical</b> + +--- 211,213 ---- + +! <dd><b>recipient_canonical_maps = hash:!!PREFIX!!/etc/postfix/recipient_canonical</b> + +*************** +*** 295,297 **** + +! <dd><b>virtual_maps = hash:/etc/postfix/virtual</b> + +--- 295,297 ---- + +! <dd><b>virtual_maps = hash:!!PREFIX!!/etc/postfix/virtual</b> + +*************** +*** 323,325 **** + +! <dd><b>relocated_maps = hash:/etc/postfix/relocated</b> + +--- 323,325 ---- + +! <dd><b>relocated_maps = hash:!!PREFIX!!/etc/postfix/relocated</b> + +*************** +*** 348,350 **** + +! <dd><b>transport_maps = hash:/etc/postfix/transport</b> + +--- 348,350 ---- + +! <dd><b>transport_maps = hash:!!PREFIX!!/etc/postfix/transport</b> + diff --git a/mail/postfix1/files/patch-bo b/mail/postfix1/files/patch-bo new file mode 100644 index 000000000000..41cbc4ca6d65 --- /dev/null +++ b/mail/postfix1/files/patch-bo @@ -0,0 +1,11 @@ +--- html/transport.5.html.orig Fri Dec 31 20:54:56 1999 ++++ html/transport.5.html Tue Nov 7 22:53:50 2000 +@@ -9,7 +9,7 @@ + transport - format of Postfix transport table + + <b>SYNOPSIS</b> +- <b>postmap</b> <b>/etc/postfix/transport</b> ++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/transport</b> + + <b>DESCRIPTION</b> + The optional <b>transport</b> file specifies a mapping from diff --git a/mail/postfix1/files/patch-bp b/mail/postfix1/files/patch-bp new file mode 100644 index 000000000000..bb65bd98a7b8 --- /dev/null +++ b/mail/postfix1/files/patch-bp @@ -0,0 +1,11 @@ +--- html/virtual.5.html.orig Tue Dec 21 03:00:58 1999 ++++ html/virtual.5.html Tue Nov 7 22:55:04 2000 +@@ -9,7 +9,7 @@ + virtual - format of Postfix virtual table + + <b>SYNOPSIS</b> +- <b>postmap</b> <b>/etc/postfix/virtual</b> ++ <b>postmap</b> <b>!!PREFIX!!/etc/postfix/virtual</b> + + <b>DESCRIPTION</b> + The optional <b>virtual</b> table specifies redirections for diff --git a/mail/postfix1/files/patch-ca b/mail/postfix1/files/patch-ca new file mode 100644 index 000000000000..86d56f80be30 --- /dev/null +++ b/mail/postfix1/files/patch-ca @@ -0,0 +1,11 @@ +*** ./man/man1/postdrop.1.orig Mon May 3 15:03:29 1999 +--- ./man/man1/postdrop.1 Thu Jun 1 22:38:54 2000 +*************** +*** 53,55 **** + /var/spool/postfix, mail queue +! /etc/postfix, configuration files + .SH CONFIGURATION PARAMETERS +--- 53,55 ---- + /var/spool/postfix, mail queue +! !!PREFIX!!/etc/postfix, configuration files + .SH CONFIGURATION PARAMETERS diff --git a/mail/postfix1/files/patch-cb b/mail/postfix1/files/patch-cb new file mode 100644 index 000000000000..58559c7273d1 --- /dev/null +++ b/mail/postfix1/files/patch-cb @@ -0,0 +1,20 @@ +*** ./man/man1/sendmail.1.orig Thu Mar 30 14:05:28 2000 +--- ./man/man1/sendmail.1 Thu Jun 1 22:39:16 2000 +*************** +*** 63,65 **** + 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 +--- 63,65 ---- + 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 +*************** +*** 173,175 **** + /var/spool/postfix, mail queue +! /etc/postfix, configuration files + .SH CONFIGURATION PARAMETERS +--- 173,175 ---- + /var/spool/postfix, mail queue +! !!PREFIX!!/etc/postfix, configuration files + .SH CONFIGURATION PARAMETERS diff --git a/mail/postfix1/files/patch-cd b/mail/postfix1/files/patch-cd new file mode 100644 index 000000000000..36461a39bb49 --- /dev/null +++ b/mail/postfix1/files/patch-cd @@ -0,0 +1,11 @@ +--- man/man5/access.5.orig Fri Dec 11 19:55:52 1998 ++++ man/man5/access.5 Tue Nov 7 22:56:25 2000 +@@ -8,7 +8,7 @@ + .SH SYNOPSIS + .na + .nf +-\fBpostmap /etc/postfix/access\fR ++\fBpostmap !!PREFIX!!/etc/postfix/access\fR + .SH DESCRIPTION + .ad + .fi diff --git a/mail/postfix1/files/patch-ce b/mail/postfix1/files/patch-ce new file mode 100644 index 000000000000..0e0bd4aa1ae5 --- /dev/null +++ b/mail/postfix1/files/patch-ce @@ -0,0 +1,11 @@ +--- man/man5/canonical.5.orig Mon Sep 6 05:13:32 1999 ++++ man/man5/canonical.5 Tue Nov 7 22:57:40 2000 +@@ -8,7 +8,7 @@ + .SH SYNOPSIS + .na + .nf +-\fBpostmap /etc/postfix/canonical\fR ++\fBpostmap !!PREFIX!!/etc/postfix/canonical\fR + .SH DESCRIPTION + .ad + .fi diff --git a/mail/postfix1/files/patch-cg b/mail/postfix1/files/patch-cg new file mode 100644 index 000000000000..cdce4aaddaf3 --- /dev/null +++ b/mail/postfix1/files/patch-cg @@ -0,0 +1,11 @@ +--- man/man5/relocated.5.orig Mon Sep 6 05:13:33 1999 ++++ man/man5/relocated.5 Tue Nov 7 22:59:11 2000 +@@ -8,7 +8,7 @@ + .SH SYNOPSIS + .na + .nf +-\fBpostmap /etc/postfix/relocated\fR ++\fBpostmap !!PREFIX!!/etc/postfix/relocated\fR + .SH DESCRIPTION + .ad + .fi diff --git a/mail/postfix1/files/patch-ch b/mail/postfix1/files/patch-ch new file mode 100644 index 000000000000..80df028f9255 --- /dev/null +++ b/mail/postfix1/files/patch-ch @@ -0,0 +1,11 @@ +--- man/man5/transport.5.orig Fri Dec 31 20:54:51 1999 ++++ man/man5/transport.5 Tue Nov 7 22:59:57 2000 +@@ -8,7 +8,7 @@ + .SH SYNOPSIS + .na + .nf +-\fBpostmap /etc/postfix/transport\fR ++\fBpostmap !!PREFIX!!/etc/postfix/transport\fR + .SH DESCRIPTION + .ad + .fi diff --git a/mail/postfix1/files/patch-ci b/mail/postfix1/files/patch-ci new file mode 100644 index 000000000000..889eed3f4d89 --- /dev/null +++ b/mail/postfix1/files/patch-ci @@ -0,0 +1,11 @@ +--- man/man5/virtual.5.orig Tue Dec 21 03:00:51 1999 ++++ man/man5/virtual.5 Tue Nov 7 23:00:32 2000 +@@ -8,7 +8,7 @@ + .SH SYNOPSIS + .na + .nf +-\fBpostmap /etc/postfix/virtual\fR ++\fBpostmap !!PREFIX!!/etc/postfix/virtual\fR + .SH DESCRIPTION + .ad + .fi diff --git a/mail/postfix1/files/patch-cj b/mail/postfix1/files/patch-cj new file mode 100644 index 000000000000..50448f2ec26d --- /dev/null +++ b/mail/postfix1/files/patch-cj @@ -0,0 +1,13 @@ +*** ./man/man8/cleanup.8.orig Sun May 28 21:58:32 2000 +--- ./man/man8/cleanup.8 Thu Jun 1 22:42:21 2000 +*************** +*** 136,139 **** + .nf +! /etc/postfix/canonical*, canonical mapping table +! /etc/postfix/virtual*, virtual mapping table + .SH LICENSE +--- 136,139 ---- + .nf +! !!PREFIX!!/etc/postfix/canonical*, canonical mapping table +! !!PREFIX!!/etc/postfix/virtual*, virtual mapping table + .SH LICENSE diff --git a/mail/postfix1/files/patch-ck b/mail/postfix1/files/patch-ck new file mode 100644 index 000000000000..6e1ddce3c8f9 --- /dev/null +++ b/mail/postfix1/files/patch-ck @@ -0,0 +1,11 @@ +*** ./man/man8/local.8.orig Thu Feb 3 21:14:53 2000 +--- ./man/man8/local.8 Thu Jun 1 22:42:43 2000 +*************** +*** 96,98 **** + The default per-user mailbox is a file in the UNIX mail spool +! directory (\fB/var/mail/\fIuser\fR or \fB/var/spool/mail/\fIuser\fR); + the location can be specified with the \fBmail_spool_directory\fR +--- 96,98 ---- + The default per-user mailbox is a file in the UNIX mail spool +! directory (\fB/var/mail/\fIuser\fR); + the location can be specified with the \fBmail_spool_directory\fR diff --git a/mail/postfix1/files/patch-cl b/mail/postfix1/files/patch-cl new file mode 100644 index 000000000000..44c8a3a7aae0 --- /dev/null +++ b/mail/postfix1/files/patch-cl @@ -0,0 +1,13 @@ +*** ./man/man8/master.8.orig Tue Mar 7 10:48:19 2000 +--- ./man/man8/master.8 Thu Jun 1 22:43:02 2000 +*************** +*** 120,123 **** + .nf +! /etc/postfix/main.cf: global configuration file. +! /etc/postfix/master.cf: master process configuration file. + /var/spool/postfix/pid/master.pid: master lock file. +--- 120,123 ---- + .nf +! !!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/postfix1/files/patch-ea b/mail/postfix1/files/patch-ea new file mode 100644 index 000000000000..80647e0b2ba0 --- /dev/null +++ b/mail/postfix1/files/patch-ea @@ -0,0 +1,13 @@ +*** ./cleanup/cleanup.c.orig Sun May 28 18:33:41 2000 +--- ./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/postfix1/files/patch-eb b/mail/postfix1/files/patch-eb new file mode 100644 index 000000000000..d576de434580 --- /dev/null +++ b/mail/postfix1/files/patch-eb @@ -0,0 +1,11 @@ +*** ./global/mail_conf.c.orig Sun May 7 18:51:16 2000 +--- ./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/postfix1/files/patch-ec b/mail/postfix1/files/patch-ec new file mode 100644 index 000000000000..74edda76007b --- /dev/null +++ b/mail/postfix1/files/patch-ec @@ -0,0 +1,20 @@ +*** ./global/mail_params.h.orig Wed May 31 19:18:31 2000 +--- ./global/mail_params.h Thu Jun 1 22:17:10 2000 +*************** +*** 155,157 **** + #ifndef DEF_PROGRAM_DIR +! #define DEF_PROGRAM_DIR "/usr/libexec/postfix" + #endif +--- 155,157 ---- + #ifndef DEF_PROGRAM_DIR +! #define DEF_PROGRAM_DIR "!!PREFIX!!/usr/libexec/postfix" + #endif +*************** +*** 189,191 **** + #ifndef DEF_CONFIG_DIR +! #define DEF_CONFIG_DIR "/etc/postfix" + #endif +--- 189,191 ---- + #ifndef DEF_CONFIG_DIR +! #define DEF_CONFIG_DIR "!!PREFIX!!/etc/postfix" + #endif diff --git a/mail/postfix1/files/patch-ed b/mail/postfix1/files/patch-ed new file mode 100644 index 000000000000..b573748b45e1 --- /dev/null +++ b/mail/postfix1/files/patch-ed @@ -0,0 +1,11 @@ +*** ./local/mailbox.c.orig Fri Apr 28 16:55:53 2000 +--- ./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/postfix1/files/patch-ee b/mail/postfix1/files/patch-ee new file mode 100644 index 000000000000..d79219b1ba62 --- /dev/null +++ b/mail/postfix1/files/patch-ee @@ -0,0 +1,13 @@ +*** ./master/master.c.orig Tue Mar 7 10:25:07 2000 +--- ./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/postfix1/files/patch-ef b/mail/postfix1/files/patch-ef new file mode 100644 index 000000000000..44816a063b95 --- /dev/null +++ b/mail/postfix1/files/patch-ef @@ -0,0 +1,11 @@ +*** ./postdrop/postdrop.c.orig Sun Apr 25 18:05:43 1999 +--- ./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/postfix1/files/patch-eg b/mail/postfix1/files/patch-eg new file mode 100644 index 000000000000..cdf9e3097053 --- /dev/null +++ b/mail/postfix1/files/patch-eg @@ -0,0 +1,20 @@ +*** ./sendmail/sendmail.c.orig Tue Mar 14 10:42:06 2000 +--- ./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/postfix1/files/patch-eh b/mail/postfix1/files/patch-eh new file mode 100644 index 000000000000..f95b51423128 --- /dev/null +++ b/mail/postfix1/files/patch-eh @@ -0,0 +1,11 @@ +*** ./trivial-rewrite/transport.c.orig Tue Nov 16 19:15:41 1999 +--- ./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/postfix1/files/patch-fa b/mail/postfix1/files/patch-fa new file mode 100644 index 000000000000..bc1c2dc388c2 --- /dev/null +++ b/mail/postfix1/files/patch-fa @@ -0,0 +1,12 @@ +--- makedefs.orig Sun Jan 23 03:04:27 2000 ++++ makedefs Mon Apr 3 08:59:17 2000 +@@ -89,6 +89,8 @@ + ;; + FreeBSD.4*) SYSTYPE=FREEBSD4 + ;; ++ FreeBSD.5*) SYSTYPE=FREEBSD5 ++ ;; + OpenBSD.2*) SYSTYPE=OPENBSD2 + ;; + NetBSD.1*) SYSTYPE=NETBSD1 + diff --git a/mail/postfix1/files/patch-fb b/mail/postfix1/files/patch-fb new file mode 100644 index 000000000000..3350e88273f3 --- /dev/null +++ b/mail/postfix1/files/patch-fb @@ -0,0 +1,10 @@ +--- util/sys_defs.h.orig Sat Jan 22 16:03:31 2000 ++++ util/sys_defs.h Sat Mar 25 09:19:31 2000 +@@ -20,6 +20,7 @@ + * makedefs script, and adding a section below for the new system. + */ + #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ ++ || defined(FREEBSD5) \ + || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ + || defined(OPENBSD2) || defined(NETBSD1) || defined(RHAPSODY5) + #define SUPPORTED diff --git a/mail/postfix1/files/patch-ga b/mail/postfix1/files/patch-ga new file mode 100644 index 000000000000..3ad7120b8322 --- /dev/null +++ b/mail/postfix1/files/patch-ga @@ -0,0 +1,11 @@ +*** MYSQL_README.orig Fri Aug 4 02:40:21 2000 +--- MYSQL_README Fri Aug 4 02:40:04 2000 +*************** +*** 1,3 **** +--- 1,6 ---- ++ *** Note for FreeBSD users: this feature must be specifically enabled with the ++ *** "-DWITH_MYSQL" option at compile time ("make -DWITH_MYSQL"). ++ + [Code contributed by Scott Cotton and Joshua Marcus, IC Group, Inc.] + + We've written code to add a mysql map type. It utilizes the mysql diff --git a/mail/postfix1/files/patch-gb b/mail/postfix1/files/patch-gb new file mode 100644 index 000000000000..312c8c60f9e5 --- /dev/null +++ b/mail/postfix1/files/patch-gb @@ -0,0 +1,11 @@ +*** LDAP_README.orig Fri Aug 4 02:40:27 2000 +--- LDAP_README Fri Aug 4 02:40:05 2000 +*************** +*** 1,3 **** +--- 1,6 ---- ++ *** Note for FreeBSD users: this feature must be specifically enabled with the ++ *** "-DWITH_LDAP" option at compile time ("make -DWITH_LDAP"). ++ + BUILDING WITH LDAP SUPPORT + ========================== + diff --git a/mail/postfix1/pkg-comment b/mail/postfix1/pkg-comment index 2afe8fab5cff..4959dd872733 100644 --- a/mail/postfix1/pkg-comment +++ b/mail/postfix1/pkg-comment @@ -1 +1 @@ -Good alternative to sendmail +Alternative Mail Transfer Agent (MTA) diff --git a/mail/postfix1/pkg-descr b/mail/postfix1/pkg-descr index f5136efff0fb..e1c988998f55 100644 --- a/mail/postfix1/pkg-descr +++ b/mail/postfix1/pkg-descr @@ -1,6 +1,8 @@ -Postfix aims to be an alternative to the widely-used sendmail -program. Sendmail is responsible for 70% of all e-mail delivered -on the Internet. With an estimated 100 million users, that's an -estimated 10 billion (10^10) messages daily. A stunning number. +Postfix attempts to be fast, easy to administer, and secure, while at +the same time being sendmail-compatible enough to not upset existing +users. WWW: http://www.postfix.org/ + +- Omachonu Ogali +oogali@intranova.net diff --git a/mail/postfix1/pkg-install b/mail/postfix1/pkg-install index dcc7c370d885..7f5976b37897 100644 --- a/mail/postfix1/pkg-install +++ b/mail/postfix1/pkg-install @@ -85,6 +85,7 @@ if [ x"$2" = xPOST-INSTALL ]; then cp -p ${PKG_PREFIX}/etc/postfix/sample-master.cf \ ${PKG_PREFIX}/etc/postfix/master.cf fi - chown root:maildrop ${PKG_PREFIX}/sbin/postdrop - chmod 2755 ${PKG_PREFIX}/sbin/postdrop + /usr/sbin/chown root:maildrop ${PKG_PREFIX}/sbin/postdrop + /bin/chmod 2555 ${PKG_PREFIX}/sbin/postdrop + ${PKG_PREFIX}/sbin/postfix check fi diff --git a/mail/postfix1/pkg-plist b/mail/postfix1/pkg-plist index 943a3766560b..5f8572883b4c 100644 --- a/mail/postfix1/pkg-plist +++ b/mail/postfix1/pkg-plist @@ -1,22 +1,31 @@ +@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 etc/postfix/LICENSE etc/postfix/postfix-script etc/postfix/sample-access +etc/postfix/sample-aliases etc/postfix/sample-aliases.cf +etc/postfix/sample-canonical etc/postfix/sample-canonical.cf etc/postfix/sample-debug.cf -etc/postfix/sample-ldap.cf +etc/postfix/sample-filter.cf +%%WITH_LDAP%%etc/postfix/sample-ldap.cf etc/postfix/sample-local.cf etc/postfix/sample-main.cf etc/postfix/sample-master.cf etc/postfix/sample-misc.cf -etc/postfix/sample-pcre.cf +%%WITH_PCRE%%etc/postfix/sample-pcre.cf etc/postfix/sample-rate.cf +etc/postfix/sample-regexp.cf +etc/postfix/sample-relocated 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 etc/postfix/sample-transport.cf +etc/postfix/sample-virtual etc/postfix/sample-virtual.cf libexec/postfix/bounce libexec/postfix/cleanup @@ -41,62 +50,62 @@ sbin/postlog sbin/postmap sbin/postsuper sbin/sendmail -sbin/smtp-sink -sbin/smtp-source -share/doc/postfix/access.5.html -share/doc/postfix/aliases.5.html -share/doc/postfix/architecture.html -share/doc/postfix/backstage.html -share/doc/postfix/basic.html -share/doc/postfix/big-picture.gif -share/doc/postfix/big-picture.html -share/doc/postfix/bounce.8.html -share/doc/postfix/canonical.5.html -share/doc/postfix/cleanup.8.html -share/doc/postfix/commands.html -share/doc/postfix/defer.8.html -share/doc/postfix/delivering.html -share/doc/postfix/error.8.html -share/doc/postfix/faq.html -share/doc/postfix/goals.html -share/doc/postfix/inbound.gif -share/doc/postfix/index.html -share/doc/postfix/local.8.html -share/doc/postfix/mailq.1.html -share/doc/postfix/master.8.html -share/doc/postfix/motivation.html -share/doc/postfix/newaliases.1.html -share/doc/postfix/outbound.gif -share/doc/postfix/pickup.8.html -share/doc/postfix/pipe.8.html -share/doc/postfix/postalias.1.html -share/doc/postfix/postcat.1.html -share/doc/postfix/postconf.1.html -share/doc/postfix/postdrop.1.html -share/doc/postfix/postfix.1.html -share/doc/postfix/postkick.1.html -share/doc/postfix/postlock.1.html -share/doc/postfix/postlog.1.html -share/doc/postfix/postmap.1.html -share/doc/postfix/postsuper.1.html -share/doc/postfix/qmgr.8.html -share/doc/postfix/queuing.html -share/doc/postfix/rate.html -share/doc/postfix/receiving.html -share/doc/postfix/relocated.5.html -share/doc/postfix/resource.html -share/doc/postfix/rewrite.html -share/doc/postfix/security.html -share/doc/postfix/sendmail.1.html -share/doc/postfix/showq.8.html -share/doc/postfix/small-picture.gif -share/doc/postfix/smtp.8.html -share/doc/postfix/smtpd.8.html -share/doc/postfix/transport.5.html -share/doc/postfix/trivial-rewrite.8.html -share/doc/postfix/uce.html -share/doc/postfix/virtual.5.html -@exec mkdir -p -m 0755 /var/spool/postfix -@exec chown root:wheel /var/spool/postfix +share/doc/postfix/LDAP_README +share/doc/postfix/MYSQL_README +share/doc/postfix/html/access.5.html +share/doc/postfix/html/aliases.5.html +share/doc/postfix/html/architecture.html +share/doc/postfix/html/backstage.html +share/doc/postfix/html/basic.html +share/doc/postfix/html/big-picture.gif +share/doc/postfix/html/big-picture.html +share/doc/postfix/html/bounce.8.html +share/doc/postfix/html/canonical.5.html +share/doc/postfix/html/cleanup.8.html +share/doc/postfix/html/commands.html +share/doc/postfix/html/defer.8.html +share/doc/postfix/html/delivering.html +share/doc/postfix/html/error.8.html +share/doc/postfix/html/faq.html +share/doc/postfix/html/goals.html +share/doc/postfix/html/inbound.gif +share/doc/postfix/html/index.html +share/doc/postfix/html/local.8.html +share/doc/postfix/html/mailq.1.html +share/doc/postfix/html/master.8.html +share/doc/postfix/html/motivation.html +share/doc/postfix/html/newaliases.1.html +share/doc/postfix/html/outbound.gif +share/doc/postfix/html/pickup.8.html +share/doc/postfix/html/pipe.8.html +share/doc/postfix/html/postalias.1.html +share/doc/postfix/html/postcat.1.html +share/doc/postfix/html/postconf.1.html +share/doc/postfix/html/postdrop.1.html +share/doc/postfix/html/postfix.1.html +share/doc/postfix/html/postkick.1.html +share/doc/postfix/html/postlock.1.html +share/doc/postfix/html/postlog.1.html +share/doc/postfix/html/postmap.1.html +share/doc/postfix/html/postsuper.1.html +share/doc/postfix/html/qmgr.8.html +share/doc/postfix/html/queuing.html +share/doc/postfix/html/rate.html +share/doc/postfix/html/receiving.html +share/doc/postfix/html/relocated.5.html +share/doc/postfix/html/resource.html +share/doc/postfix/html/rewrite.html +share/doc/postfix/html/security.html +share/doc/postfix/html/sendmail.1.html +share/doc/postfix/html/showq.8.html +share/doc/postfix/html/small-picture.gif +share/doc/postfix/html/smtp.8.html +share/doc/postfix/html/smtpd.8.html +share/doc/postfix/html/transport.5.html +share/doc/postfix/html/trivial-rewrite.8.html +share/doc/postfix/html/uce.html +share/doc/postfix/html/virtual.5.html +@dirrm etc/postfix @dirrm libexec/postfix -@unexec rmdir %D/etc/postfix 2>/dev/null || true +@dirrm share/doc/postfix/html +@dirrm share/doc/postfix diff --git a/mail/postfix1/scripts/configure b/mail/postfix1/scripts/configure index a46faa92015c..c96a3f3a2faa 100644 --- a/mail/postfix1/scripts/configure +++ b/mail/postfix1/scripts/configure @@ -2,25 +2,24 @@ # # $FreeBSD$ -mv ${WRKSRC}/global/mail_params.h ${WRKSRC}/global/mail_params.h.bak -sed <${WRKSRC}/global/mail_params.h.bak >${WRKSRC}/global/mail_params.h s+!!PREFIX!!+$PREFIX+g - -mv ${WRKSRC}/conf/main.cf ${WRKSRC}/conf/main.cf.bak -sed s+!!PREFIX!!+$PREFIX+g <${WRKSRC}/conf/main.cf.bak >${WRKSRC}/conf/main.cf - cd ${WRKSRC}/man for f in ${MAN1} ; do mv man1/$f man1/$f.bak && \ - sed s+!!PREFIX!!+$PREFIX+g <man1/$f.bak | soelim >man1/$f + soelim man1/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man1/$f done for f in ${MAN5} ; do mv man5/$f man5/$f.bak && \ - sed s+!!PREFIX!!+$PREFIX+g <man5/$f.bak | soelim >man5/$f + soelim man5/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man5/$f done for f in ${MAN8} ; do mv man8/$f man8/$f.bak && \ - sed s+!!PREFIX!!+$PREFIX+g <man8/$f.bak | soelim >man8/$f + soelim man8/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man8/$f +done + +for f in `grep -r "\!\!PREFIX\!\!" ${WRKSRC} | cut -f 1 -d ':' | uniq` ; do \ + mv $f $f.orig && sed s+!!PREFIX!!+$PREFIX+g < $f.orig > $f && \ + rm $f.orig done |