diff options
Diffstat (limited to 'mail/postfix21')
-rw-r--r-- | mail/postfix21/Makefile | 150 | ||||
-rw-r--r-- | mail/postfix21/distinfo | 1 | ||||
-rw-r--r-- | mail/postfix21/files/patch-aa | 36 | ||||
-rw-r--r-- | mail/postfix21/files/patch-ab | 28 | ||||
-rw-r--r-- | mail/postfix21/files/patch-ba | 19 | ||||
-rw-r--r-- | mail/postfix21/files/patch-bb | 36 | ||||
-rw-r--r-- | mail/postfix21/files/patch-bc | 19 | ||||
-rw-r--r-- | mail/postfix21/files/patch-bd | 19 | ||||
-rw-r--r-- | mail/postfix21/files/patch-be | 19 | ||||
-rw-r--r-- | mail/postfix21/files/patch-bf | 19 | ||||
-rw-r--r-- | mail/postfix21/files/patch-bg | 19 | ||||
-rw-r--r-- | mail/postfix21/files/patch-bh | 21 | ||||
-rw-r--r-- | mail/postfix21/files/patch-bi | 21 | ||||
-rw-r--r-- | mail/postfix21/files/patch-bj | 20 | ||||
-rw-r--r-- | mail/postfix21/files/patch-bk | 10 | ||||
-rw-r--r-- | mail/postfix21/pkg-comment | 1 | ||||
-rw-r--r-- | mail/postfix21/pkg-descr | 6 | ||||
-rw-r--r-- | mail/postfix21/pkg-install | 90 | ||||
-rw-r--r-- | mail/postfix21/pkg-plist | 102 | ||||
-rw-r--r-- | mail/postfix21/scripts/configure | 26 |
20 files changed, 0 insertions, 662 deletions
diff --git a/mail/postfix21/Makefile b/mail/postfix21/Makefile deleted file mode 100644 index 2cef938289a9..000000000000 --- a/mail/postfix21/Makefile +++ /dev/null @@ -1,150 +0,0 @@ -# New ports collection makefile for: postfix -# Date created: 18 Mar 1999 -# Whom: torstenb -# -# $FreeBSD$ -# - -PORTNAME= postfix -PORTVERSION= 19991231.08 -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.cs.tu-berlin.de/pub/net/mail/postfix/official/ \ - ftp://ftp.postfix.oaktree.co.uk/pub/postfix/official/ -DISTNAME= ${PORTNAME}-19991231-pl08 - -MAINTAINER= torstenb@FreeBSD.org - -# 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_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) -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 -.endif - -ALL_TARGET= CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" - -SCRIPTS_ENV+= MAN1="${MAN1}" MAN5="${MAN5}" MAN8="${MAN8}" -MAKE_ENV+= "OPT=${CFLAGS}" - -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 - -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 \ - ${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} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL - -post-install: - @PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL - -.include <bsd.port.pre.mk> - -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 -.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 -.endif - -.include <bsd.port.post.mk> diff --git a/mail/postfix21/distinfo b/mail/postfix21/distinfo deleted file mode 100644 index c8a018d3ad7f..000000000000 --- a/mail/postfix21/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (postfix-19991231-pl08.tar.gz) = 0461524d91c87b03c80cc640ec953a63 diff --git a/mail/postfix21/files/patch-aa b/mail/postfix21/files/patch-aa deleted file mode 100644 index 3af6375f1959..000000000000 --- a/mail/postfix21/files/patch-aa +++ /dev/null @@ -1,36 +0,0 @@ -*** global/mail_params.h.orig Sat Mar 20 15:09:46 1999 ---- global/mail_params.h Sat Mar 20 15:10:46 1999 -*************** -*** 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" -*************** -*** 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; - diff --git a/mail/postfix21/files/patch-ab b/mail/postfix21/files/patch-ab deleted file mode 100644 index 32a96b27bbc0..000000000000 --- a/mail/postfix21/files/patch-ab +++ /dev/null @@ -1,28 +0,0 @@ ---- 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 - # diff --git a/mail/postfix21/files/patch-ba b/mail/postfix21/files/patch-ba deleted file mode 100644 index 73feeef81f27..000000000000 --- a/mail/postfix21/files/patch-ba +++ /dev/null @@ -1,19 +0,0 @@ -*** man/man1/postdrop.1.orig Mon Mar 29 22:35:14 1999 ---- man/man1/postdrop.1 Mon Mar 29 22:35:25 1999 -*************** -*** 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 diff --git a/mail/postfix21/files/patch-bb b/mail/postfix21/files/patch-bb deleted file mode 100644 index af024b23b3d9..000000000000 --- a/mail/postfix21/files/patch-bb +++ /dev/null @@ -1,36 +0,0 @@ -*** 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 diff --git a/mail/postfix21/files/patch-bc b/mail/postfix21/files/patch-bc deleted file mode 100644 index 12a369684c8f..000000000000 --- a/mail/postfix21/files/patch-bc +++ /dev/null @@ -1,19 +0,0 @@ -*** 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 diff --git a/mail/postfix21/files/patch-bd b/mail/postfix21/files/patch-bd deleted file mode 100644 index 2b2f30f720f5..000000000000 --- a/mail/postfix21/files/patch-bd +++ /dev/null @@ -1,19 +0,0 @@ -*** man/man5/canonical.5.orig Mon Mar 29 22:36:25 1999 ---- man/man5/canonical.5 Mon Mar 29 22:36:32 1999 -*************** -*** 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 diff --git a/mail/postfix21/files/patch-be b/mail/postfix21/files/patch-be deleted file mode 100644 index 354737c7e68d..000000000000 --- a/mail/postfix21/files/patch-be +++ /dev/null @@ -1,19 +0,0 @@ -*** 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 diff --git a/mail/postfix21/files/patch-bf b/mail/postfix21/files/patch-bf deleted file mode 100644 index 4de817826469..000000000000 --- a/mail/postfix21/files/patch-bf +++ /dev/null @@ -1,19 +0,0 @@ -*** man/man5/virtual.5.orig Mon Mar 29 22:36:55 1999 ---- man/man5/virtual.5 Mon Mar 29 22:37:02 1999 -*************** -*** 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 diff --git a/mail/postfix21/files/patch-bg b/mail/postfix21/files/patch-bg deleted file mode 100644 index fb2b093bff0f..000000000000 --- a/mail/postfix21/files/patch-bg +++ /dev/null @@ -1,19 +0,0 @@ -*** man/man8/local.8.orig Mon Mar 29 22:37:14 1999 ---- man/man8/local.8 Mon Mar 29 22:37:44 1999 -*************** -*** 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. - diff --git a/mail/postfix21/files/patch-bh b/mail/postfix21/files/patch-bh deleted file mode 100644 index 42b7373d3fb5..000000000000 --- a/mail/postfix21/files/patch-bh +++ /dev/null @@ -1,21 +0,0 @@ -*** man/man8/cleanup.8.orig Mon Mar 29 22:37:59 1999 ---- man/man8/cleanup.8 Mon Mar 29 22:38:13 1999 -*************** -*** 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 diff --git a/mail/postfix21/files/patch-bi b/mail/postfix21/files/patch-bi deleted file mode 100644 index 2b57467ed976..000000000000 --- a/mail/postfix21/files/patch-bi +++ /dev/null @@ -1,21 +0,0 @@ -*** man/man8/master.8.orig Mon Mar 29 22:38:17 1999 ---- man/man8/master.8 Mon Mar 29 22:38:46 1999 -*************** -*** 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 diff --git a/mail/postfix21/files/patch-bj b/mail/postfix21/files/patch-bj deleted file mode 100644 index 99c521341ca5..000000000000 --- a/mail/postfix21/files/patch-bj +++ /dev/null @@ -1,20 +0,0 @@ ---- 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 - diff --git a/mail/postfix21/files/patch-bk b/mail/postfix21/files/patch-bk deleted file mode 100644 index 3350e88273f3..000000000000 --- a/mail/postfix21/files/patch-bk +++ /dev/null @@ -1,10 +0,0 @@ ---- 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/postfix21/pkg-comment b/mail/postfix21/pkg-comment deleted file mode 100644 index 2afe8fab5cff..000000000000 --- a/mail/postfix21/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Good alternative to sendmail diff --git a/mail/postfix21/pkg-descr b/mail/postfix21/pkg-descr deleted file mode 100644 index f5136efff0fb..000000000000 --- a/mail/postfix21/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -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. - -WWW: http://www.postfix.org/ diff --git a/mail/postfix21/pkg-install b/mail/postfix21/pkg-install deleted file mode 100644 index dcc7c370d885..000000000000 --- a/mail/postfix21/pkg-install +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -user=postfix -group=postfix -group2=maildrop - -ask() { - local question default answer - - question=$1 - default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then - read -p "${question} [${default}]? " answer - fi - if [ x${answer} = x ]; then - answer=${default} - fi - echo ${answer} -} - -yesno() { - local dflt question answer - - question=$1 - dflt=$2 - while :; do - answer=$(ask "${question}" "${dflt}") - case "${answer}" in - [Yy]*) return 0;; - [Nn]*) return 1;; - esac - echo "Please answer yes or no." - done -} - -if [ x"$2" = xPRE-INSTALL ]; then - if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then - echo "You already have a group \"${group}\", so I will use it." - else - echo "You need a group \"${group}\"." - if yesno "Would you like me to create it" y; then - /usr/sbin/pw groupadd ${group} -h - || exit - echo "Done." - else - echo "Please create it, and try again." - exit 1 - fi - fi - - if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then - echo "You already have a group \"${group2}\", so I will use it." - else - echo "You need a group \"${group2}\"." - if yesno "Would you like me to create it" y; then - /usr/sbin/pw groupadd ${group2} -h - || exit - echo "Done." - else - echo "Please create it, and try again." - exit 1 - fi - fi - - if /usr/sbin/pw user show "${user}" 2>/dev/null; then - echo "You already have a user \"${user}\", so I will use it." - else - echo "You need a user \"${user}\"." - if yesno "Would you like me to create it" y; then - /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \ - -s /nonexistent -c "Postfix Mail System" || exit - echo "Done." - else - echo "Please create it, and try again." - exit 1 - fi - fi - -fi - -if [ x"$2" = xPOST-INSTALL ]; then - if [ ! -e ${PKG_PREFIX}/etc/postfix/main.cf ]; then - cp -p ${PKG_PREFIX}/etc/postfix/sample-main.cf \ - ${PKG_PREFIX}/etc/postfix/main.cf - fi - if [ ! -e ${PKG_PREFIX}/etc/postfix/master.cf ]; 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 -fi diff --git a/mail/postfix21/pkg-plist b/mail/postfix21/pkg-plist deleted file mode 100644 index 943a3766560b..000000000000 --- a/mail/postfix21/pkg-plist +++ /dev/null @@ -1,102 +0,0 @@ -etc/postfix/LICENSE -etc/postfix/postfix-script -etc/postfix/sample-access -etc/postfix/sample-aliases.cf -etc/postfix/sample-canonical.cf -etc/postfix/sample-debug.cf -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 -etc/postfix/sample-rate.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 -libexec/postfix/bounce -libexec/postfix/cleanup -libexec/postfix/error -libexec/postfix/local -libexec/postfix/master -libexec/postfix/pickup -libexec/postfix/pipe -libexec/postfix/qmgr -libexec/postfix/showq -libexec/postfix/smtp -libexec/postfix/smtpd -libexec/postfix/trivial-rewrite -sbin/postalias -sbin/postcat -sbin/postconf -sbin/postdrop -sbin/postfix -sbin/postkick -sbin/postlock -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 -@dirrm libexec/postfix -@unexec rmdir %D/etc/postfix 2>/dev/null || true diff --git a/mail/postfix21/scripts/configure b/mail/postfix21/scripts/configure deleted file mode 100644 index a46faa92015c..000000000000 --- a/mail/postfix21/scripts/configure +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# $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 -done - -for f in ${MAN5} ; do - mv man5/$f man5/$f.bak && \ - sed s+!!PREFIX!!+$PREFIX+g <man5/$f.bak | soelim >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 -done |