diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-09-30 12:50:31 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-09-30 12:50:31 +0000 |
commit | 2310b1023b66af8a781784f785d6c365582c2e8f (patch) | |
tree | 68b0973e622243c0637fd7eeacb8d7e38ce3f2c8 /mail/postfix25 | |
parent | c73395b1d7ada15a358dc02534c90c892382cb10 (diff) |
- Add missing patches
Notes
Notes:
svn path=/head/; revision=242263
Diffstat (limited to 'mail/postfix25')
-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-src::global::mail_params.h | 38 |
3 files changed, 129 insertions, 0 deletions
diff --git a/mail/postfix25/files/patch-conf::main.cf b/mail/postfix25/files/patch-conf::main.cf new file mode 100644 index 000000000000..14976bcaa09c --- /dev/null +++ b/mail/postfix25/files/patch-conf::main.cf @@ -0,0 +1,80 @@ +--- 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 new file mode 100644 index 000000000000..78401de5bdf3 --- /dev/null +++ b/mail/postfix25/files/patch-conf::post-install @@ -0,0 +1,11 @@ +--- 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-src::global::mail_params.h b/mail/postfix25/files/patch-src::global::mail_params.h new file mode 100644 index 000000000000..f9fa5f1248c4 --- /dev/null +++ b/mail/postfix25/files/patch-src::global::mail_params.h @@ -0,0 +1,38 @@ +--- 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; + |