diff options
Diffstat (limited to 'mail/postfix28/files')
-rw-r--r-- | mail/postfix28/files/patch-makedefs | 13 | ||||
-rw-r--r-- | mail/postfix28/files/patch-src-util-inet_proto.c | 20 | ||||
-rw-r--r-- | mail/postfix28/files/patch-src__util__sys_defs.h | 12 | ||||
-rw-r--r-- | mail/postfix28/files/pkg-install.in | 100 | ||||
-rw-r--r-- | mail/postfix28/files/pkg-message.in | 27 | ||||
-rw-r--r-- | mail/postfix28/files/postfix.in | 47 |
6 files changed, 0 insertions, 219 deletions
diff --git a/mail/postfix28/files/patch-makedefs b/mail/postfix28/files/patch-makedefs deleted file mode 100644 index fcb7bdeff531..000000000000 --- a/mail/postfix28/files/patch-makedefs +++ /dev/null @@ -1,13 +0,0 @@ ---- makedefs.orig 2013-10-27 02:58:06.000000000 +0000 -+++ makedefs 2013-10-27 02:58:50.000000000 +0000 -@@ -148,6 +148,10 @@ - ;; - FreeBSD.9*) SYSTYPE=FREEBSD9 - ;; -+ FreeBSD.10*) SYSTYPE=FREEBSD10 -+ ;; -+ FreeBSD.11*) SYSTYPE=FREEBSD11 -+ ;; - OpenBSD.2*) SYSTYPE=OPENBSD2 - ;; - OpenBSD.3*) SYSTYPE=OPENBSD3 diff --git a/mail/postfix28/files/patch-src-util-inet_proto.c b/mail/postfix28/files/patch-src-util-inet_proto.c deleted file mode 100644 index b8578a3ab9e7..000000000000 --- a/mail/postfix28/files/patch-src-util-inet_proto.c +++ /dev/null @@ -1,20 +0,0 @@ ---- src/util/inet_proto.c.orig 2013-01-27 19:07:09.000000000 +0000 -+++ src/util/inet_proto.c 2013-01-27 19:08:12.000000000 +0000 -@@ -205,7 +205,7 @@ - pf->dns_atype_list = make_unsigned_vector(2, T_AAAA, 0); - pf->sa_family_list = make_uchar_vector(2, AF_INET6, 0); - break; -- } else if (errno == EAFNOSUPPORT) { -+ } else if (errno == EAFNOSUPPORT || errno == EPROTONOSUPPORT) { - msg_fatal("%s: IPv6 support is disabled: %m", context); - } else { - msg_fatal("socket: %m"); -@@ -219,7 +219,7 @@ - pf->dns_atype_list = make_unsigned_vector(3, T_A, T_AAAA, 0); - pf->sa_family_list = make_uchar_vector(3, AF_INET, AF_INET6, 0); - break; -- } else if (errno == EAFNOSUPPORT) { -+ } else if (errno == EAFNOSUPPORT || errno == EPROTONOSUPPORT) { - msg_warn("%s: IPv6 support is disabled: %m", context); - msg_warn("%s: configuring for IPv4 support only", context); - /* FALLTHROUGH */ diff --git a/mail/postfix28/files/patch-src__util__sys_defs.h b/mail/postfix28/files/patch-src__util__sys_defs.h deleted file mode 100644 index 636c464aef1c..000000000000 --- a/mail/postfix28/files/patch-src__util__sys_defs.h +++ /dev/null @@ -1,12 +0,0 @@ ---- src/util/sys_defs.h.orig 2013-10-27 02:15:19.000000000 +0000 -+++ src/util/sys_defs.h 2013-10-27 02:15:54.000000000 +0000 -@@ -25,7 +25,8 @@ - */ - #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ - || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \ -- || defined(FREEBSD8) || defined(FREEBSD9) \ -+ || defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \ -+ || defined(FREEBSD11) \ - || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ - || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ - || defined(OPENBSD5) \ diff --git a/mail/postfix28/files/pkg-install.in b/mail/postfix28/files/pkg-install.in deleted file mode 100644 index 1be5afe2e2a4..000000000000 --- a/mail/postfix28/files/pkg-install.in +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/files/pkg-install.in,v 1.7 2012-02-11 21:27:57 sahil Exp $ -# - -# If the POSTFIX_DEFAULT_MTA environment variable is set to YES, it -# will make the port/package use defaults which make postfix replace -# sendmail as much as possible. - -PREFIX=${PKG_PREFIX:=%%PREFIX%%} -ETCDIR=${ETCDIR:=%%ETCDIR%%} -DAEMONDIR=${DAEMONDIR:=%%DAEMONDIR%%} -READMEDIR=${READMEDIR:=%%READMEDIR%%} -BATCH=${BATCH:=no} -POSTFIX_DEFAULT_MTA=${POSTFIX_DEFAULT_MTA:=no} -MC=/etc/mail/mailer.conf - -if [ "${POSTFIX_DEFAULT_MTA}" = "no" ]; then - DEFAULT_REPLACE_MAILERCONF=n -else - DEFAULT_REPLACE_MAILERCONF=y -fi - -if [ -x /usr/sbin/nologin ]; then - NOLOGIN=/usr/sbin/nologin -else - NOLOGIN=/sbin/nologin -fi - -ask() { - local question default answer - - question=$1 - default=$2 - if [ -z "${PACKAGE_BUILDING}" -a "${BATCH}" = "no" ]; then - read -p "${question} [${default}]? " answer - fi - if [ -z "${answer}" ]; then - answer=${default} - fi - echo ${answer} -} - -yesno() { - local question default answer - - question=$1 - default=$2 - while :; do - answer=$(ask "${question}" "${default}") - case "${answer}" in - [Yy]*) return 0;; - [Nn]*) return 1;; - esac - echo "Please answer yes or no." - done -} - -if [ "$2" = "POST-INSTALL" ]; then - SAMPLES="main.cf master.cf" - for file in $SAMPLES - do - if [ ! -f ${ETCDIR}/$file ]; then - cp ${DAEMONDIR}/$file ${ETCDIR}/ - fi - done - - cmp ${DAEMONDIR}/main.cf ${ETCDIR}/main.cf >/dev/null 2>&1 \ - && POSTARG="set-permissions" \ - || POSTARG="upgrade-package" - - /bin/sh ${DAEMONDIR}/post-install tempdir=/tmp \ - daemon_directory=${DAEMONDIR} \ - html_directory=${READMEDIR} \ - readme_directory=${READMEDIR} \ - ${POSTARG} -fi - -if [ "$2" = "POST-INSTALL" -a -z "${PACKAGE_BUILDING}" -a -f "${MC}" ]; then - egrep -q "^sendmail.*${PREFIX}/sbin/sendmail" ${MC} && \ - egrep -q "^send-mail.*${PREFIX}/sbin/sendmail" ${MC} && \ - egrep -q "^mailq.*${PREFIX}/sbin/sendmail" ${MC} && \ - egrep -q "^newaliases.*${PREFIX}/sbin/sendmail" ${MC} - ret=$? - if [ ${ret} -ne 0 ]; then - if yesno "Would you like to activate Postfix in ${MC}" ${DEFAULT_REPLACE_MAILERCONF}; then - /bin/mv -f ${MC} ${MC}.old - echo "#" > ${MC} - echo -n "# Execute the Postfix sendmail program" >> ${MC} - echo ", named ${PREFIX}/sbin/sendmail" >> ${MC} - echo "#" >> ${MC} - echo "sendmail ${PREFIX}/sbin/sendmail" >> ${MC} - echo "send-mail ${PREFIX}/sbin/sendmail" >> ${MC} - echo "mailq ${PREFIX}/sbin/sendmail" >> ${MC} - echo "newaliases ${PREFIX}/sbin/sendmail" >> ${MC} - fi - else - echo "Postfix already activated in ${MC}" - fi -fi diff --git a/mail/postfix28/files/pkg-message.in b/mail/postfix28/files/pkg-message.in deleted file mode 100644 index ff8879440a18..000000000000 --- a/mail/postfix28/files/pkg-message.in +++ /dev/null @@ -1,27 +0,0 @@ -To enable postfix startup script please add postfix_enable="YES" in -your rc.conf - -If you not need sendmail anymore, please add in your rc.conf: - -sendmail_enable="NO" -sendmail_submit_enable="NO" -sendmail_outbound_enable="NO" -sendmail_msp_queue_enable="NO" - -And you can disable some sendmail specific daily maintenance routines in your -/etc/periodic.conf file: - -daily_clean_hoststat_enable="NO" -daily_status_mail_rejects_enable="NO" -daily_status_include_submit_mailq="NO" -daily_submit_queuerun="NO" - -If /etc/periodic.conf does not exist please create it and add those values. - -If you are using SASL, you need to make sure that postfix has access to read -the sasldb file. This is accomplished by adding postfix to group mail and -making the %%PREFIX%%/etc/sasldb* file(s) readable by group mail (this should -be the default for new installs). - -If you are upgrading from Postfix 2.6 or earlier, review the RELEASE_NOTES to -familiarize yourself with new features and incompatabilities. diff --git a/mail/postfix28/files/postfix.in b/mail/postfix28/files/postfix.in deleted file mode 100644 index 216a3a5b21f0..000000000000 --- a/mail/postfix28/files/postfix.in +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: postfix mail -# REQUIRE: %%REQUIRE%% -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to enable postfix: -# postfix_enable (bool): Set it to "YES" to enable postfix. -# Default is "NO". -# postfix_pidfile (path): Set full path to master.pid. -# Default is "/var/spool/postfix/pid/master.pid". -# postfix_procname (command): Set command that start master. Used to verify if -# postfix is running. -# Default is "%%PREFIX%%/libexec/postfix/master". -# postfix_flags (str): Flags passed to postfix-script on startup. -# Default is "". -# - -. /etc/rc.subr - -name="postfix" -rcvar=postfix_enable - -load_rc_config $name - -: ${postfix_enable:="NO"} -: ${postfix_pidfile:="/var/spool/postfix/pid/master.pid"} -: ${postfix_procname:="%%PREFIX%%/libexec/postfix/master"} - -start_cmd=${name}_start -stop_cmd=${name}_stop -extra_commands="reload" - -pidfile=${postfix_pidfile} -procname=${postfix_procname} - -postfix_start() { - %%PREFIX%%/sbin/postfix ${postfix_flags} start -} - -postfix_stop() { - %%PREFIX%%/sbin/postfix ${postfix_flags} stop -} - -run_rc_command "$1" |