diff options
Diffstat (limited to 'mail/postfix25/files')
| -rw-r--r-- | mail/postfix25/files/patch-conf::main.cf | 80 | ||||
| -rw-r--r-- | mail/postfix25/files/patch-conf::post-install | 11 | ||||
| -rw-r--r-- | mail/postfix25/files/patch-makedefs | 13 | ||||
| -rw-r--r-- | mail/postfix25/files/patch-src::global::mail_params.h | 38 | ||||
| -rw-r--r-- | mail/postfix25/files/patch-src::util::sys_defs.h | 11 | ||||
| -rw-r--r-- | mail/postfix25/files/postfix.sh.in | 47 |
6 files changed, 0 insertions, 200 deletions
diff --git a/mail/postfix25/files/patch-conf::main.cf b/mail/postfix25/files/patch-conf::main.cf deleted file mode 100644 index 14976bcaa09c..000000000000 --- a/mail/postfix25/files/patch-conf::main.cf +++ /dev/null @@ -1,80 +0,0 @@ ---- conf/main.cf.orig 2007-12-18 11:50:25.000000000 -0200 -+++ conf/main.cf 2008-02-29 22:35:12.000000000 -0300 -@@ -33,19 +33,19 @@ - # The command_directory parameter specifies the location of all - # postXXX commands. - # --command_directory = /usr/sbin -+command_directory = !!PREFIX!!/sbin - - # The daemon_directory parameter specifies the location of all Postfix - # daemon programs (i.e. programs listed in the master.cf file). This - # directory must be owned by root. - # --daemon_directory = /usr/libexec/postfix -+daemon_directory = !!PREFIX!!/libexec/postfix - - # The data_directory parameter specifies the location of Postfix-writable - # data files (caches, random numbers). This directory must be owned - # by the mail_owner account (see below). - # --data_directory = /var/lib/postfix -+data_directory = /var/db/postfix - - # QUEUE AND PROCESS OWNERSHIP - # -@@ -244,7 +244,7 @@ - # - #mynetworks_style = class - #mynetworks_style = subnet --#mynetworks_style = host -+mynetworks_style = host - - # Alternatively, you can specify the mynetworks list by hand, in - # which case Postfix ignores the mynetworks_style setting. -@@ -615,37 +615,37 @@ - # sendmail_path: The full pathname of the Postfix sendmail command. - # This is the Sendmail-compatible mail posting interface. - # --sendmail_path = -+sendmail_path = !!PREFIX!!/sbin/sendmail - - # newaliases_path: The full pathname of the Postfix newaliases command. - # This is the Sendmail-compatible command to build alias databases. - # --newaliases_path = -+newaliases_path = !!PREFIX!!/bin/newaliases - - # mailq_path: The full pathname of the Postfix mailq command. This - # is the Sendmail-compatible mail queue listing command. - # --mailq_path = -+mailq_path = !!PREFIX!!/bin/mailq - - # setgid_group: The group for mail submission and queue management - # commands. This must be a group name with a numerical group ID that - # is not shared with other accounts, not even with the Postfix account. - # --setgid_group = -+setgid_group = maildrop - - # html_directory: The location of the Postfix HTML documentation. - # --html_directory = -+html_directory = no - - # manpage_directory: The location of the Postfix on-line manual pages. - # --manpage_directory = -+manpage_directory = !!PREFIX!!/man - - # sample_directory: The location of the Postfix sample configuration files. - # This parameter is obsolete as of Postfix 2.1. - # --sample_directory = -+sample_directory = !!PREFIX!!/etc/postfix - - # readme_directory: The location of the Postfix README files. - # --readme_directory = -+readme_directory = no diff --git a/mail/postfix25/files/patch-conf::post-install b/mail/postfix25/files/patch-conf::post-install deleted file mode 100644 index 78401de5bdf3..000000000000 --- a/mail/postfix25/files/patch-conf::post-install +++ /dev/null @@ -1,11 +0,0 @@ ---- conf/post-install.orig Thu Feb 24 08:06:08 2005 -+++ conf/post-install Sat Mar 5 11:53:42 2005 -@@ -185,7 +185,7 @@ - - umask 022 - --PATH=/bin:/usr/bin:/usr/sbin:/usr/etc:/sbin:/etc:/usr/contrib/bin:/usr/gnu/bin:/usr/ucb:/usr/bsd -+PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin - SHELL=/bin/sh - IFS=" - " diff --git a/mail/postfix25/files/patch-makedefs b/mail/postfix25/files/patch-makedefs deleted file mode 100644 index 5e222a30f2f7..000000000000 --- a/mail/postfix25/files/patch-makedefs +++ /dev/null @@ -1,13 +0,0 @@ ---- makedefs.orig 2011-06-15 22:36:37.000000000 +0000 -+++ makedefs 2011-11-06 00:37:30.699815339 +0000 -@@ -146,6 +146,10 @@ - ;; - FreeBSD.8*) SYSTYPE=FREEBSD8 - ;; -+ FreeBSD.9*) SYSTYPE=FREEBSD9 -+ ;; -+ FreeBSD.10*) SYSTYPE=FREEBSD10 -+ ;; - OpenBSD.2*) SYSTYPE=OPENBSD2 - ;; - OpenBSD.3*) SYSTYPE=OPENBSD3 diff --git a/mail/postfix25/files/patch-src::global::mail_params.h b/mail/postfix25/files/patch-src::global::mail_params.h deleted file mode 100644 index f9fa5f1248c4..000000000000 --- a/mail/postfix25/files/patch-src::global::mail_params.h +++ /dev/null @@ -1,38 +0,0 @@ ---- src/global/mail_params.h.orig Mon Jun 30 18:57:48 2008 -+++ src/global/mail_params.h Mon Jun 30 19:00:05 2008 -@@ -67,7 +67,7 @@ - extern gid_t var_owner_gid; - - #define VAR_SGID_GROUP "setgid_group" --#define DEF_SGID_GROUP "postdrop" -+#define DEF_SGID_GROUP "maildrop" - extern char *var_sgid_group; - extern gid_t var_sgid_gid; - -@@ -241,7 +241,7 @@ - */ - #define VAR_DAEMON_DIR "daemon_directory" - #ifndef DEF_DAEMON_DIR --#define DEF_DAEMON_DIR "/usr/libexec/postfix" -+#define DEF_DAEMON_DIR "!!PREFIX!!/libexec/postfix" - #endif - extern char *var_daemon_dir; - -@@ -265,7 +265,7 @@ - */ - #define VAR_DATA_DIR "data_directory" - #ifndef DEF_DATA_DIR --#define DEF_DATA_DIR "/var/lib/postfix" -+#define DEF_DATA_DIR "/var/db/postfix" - #endif - extern char *var_data_dir; - -@@ -279,7 +279,7 @@ - */ - #define VAR_CONFIG_DIR "config_directory" - #ifndef DEF_CONFIG_DIR --#define DEF_CONFIG_DIR "/etc/postfix" -+#define DEF_CONFIG_DIR "!!PREFIX!!/etc/postfix" - #endif - extern char *var_config_dir; - diff --git a/mail/postfix25/files/patch-src::util::sys_defs.h b/mail/postfix25/files/patch-src::util::sys_defs.h deleted file mode 100644 index a13c320759ff..000000000000 --- a/mail/postfix25/files/patch-src::util::sys_defs.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/util/sys_defs.h.orig 2011-03-01 19:35:19.000000000 -0500 -+++ src/util/sys_defs.h 2011-03-01 19:36:54.000000000 -0500 -@@ -25,7 +25,7 @@ - */ - #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ - || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \ -- || defined(FREEBSD8) \ -+ || defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \ - || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ - || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ - || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \ diff --git a/mail/postfix25/files/postfix.sh.in b/mail/postfix25/files/postfix.sh.in deleted file mode 100644 index 74956f6a02d1..000000000000 --- a/mail/postfix25/files/postfix.sh.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" |
