summaryrefslogtreecommitdiff
path: root/mail/postfix/patches
diff options
context:
space:
mode:
authorlukem <lukem>2003-01-31 23:53:04 +0000
committerlukem <lukem>2003-01-31 23:53:04 +0000
commit658dd8e74b4fa49c9a106f2148523324f7d3bc14 (patch)
tree909ad17e7ef7e72c75924096ade204ce01411c8f /mail/postfix/patches
parent5821f0526439f039ca5b2cb6b67b8637abaea48c (diff)
downloadpkgsrc-658dd8e74b4fa49c9a106f2148523324f7d3bc14.tar.gz
+ Use PKG_SYSCONFDIR (/usr/pkg/etc/postfix) instead of /etc/postfix for
configuration. + Document how to use /etc/rc.conf.d/postfix on NetBSD 1.5 and newer to start /usr/pkg/sbin/postfix instead of /usr/sbin/postfix + Ensure that the postfix user and the postfix & maildrop groups exist. Adds Darwin support, and prevents a working NetBSD postfix setup from being broken on a "make install" of this package because the package used to change /etc/postfix/{post-install,postfix-files,postfix-script}. These changes are mostly from Amitai Schlair <schmonz@netbsd.org>, with some tweaks by me. (Thanks Amitai!)
Diffstat (limited to 'mail/postfix/patches')
-rw-r--r--mail/postfix/patches/patch-ab21
-rw-r--r--mail/postfix/patches/patch-af4
2 files changed, 2 insertions, 23 deletions
diff --git a/mail/postfix/patches/patch-ab b/mail/postfix/patches/patch-ab
index 386583ff3b1..e69de29bb2d 100644
--- a/mail/postfix/patches/patch-ab
+++ b/mail/postfix/patches/patch-ab
@@ -1,21 +0,0 @@
-$NetBSD: patch-ab,v 1.5 2003/01/06 09:15:50 martti Exp $
-
---- src/util/sys_defs.h.orig Sun Oct 13 17:00:52 2002
-+++ src/util/sys_defs.h Sat Dec 28 08:51:26 2002
-@@ -52,11 +52,11 @@
- #define STATFS_IN_SYS_MOUNT_H
- #define HAS_POSIX_REGEXP
- #define HAS_ST_GEN /* struct stat contains inode generation number */
--#define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
--#define NATIVE_MAILQ_PATH "/usr/bin/mailq"
--#define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
--#define NATIVE_COMMAND_DIR "/usr/sbin"
--#define NATIVE_DAEMON_DIR "/usr/libexec/postfix"
-+#define NATIVE_SENDMAIL_PATH "__PREFIX/sbin/sendmail"
-+#define NATIVE_MAILQ_PATH "__PREFIX/bin/mailq"
-+#define NATIVE_NEWALIAS_PATH "__PREFIX/bin/newaliases"
-+#define NATIVE_COMMAND_DIR "__PREFIX/sbin"
-+#define NATIVE_DAEMON_DIR "__PREFIX/libexec/postfix"
- #endif
-
- #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4)
diff --git a/mail/postfix/patches/patch-af b/mail/postfix/patches/patch-af
index b37c0e5649c..5a623678862 100644
--- a/mail/postfix/patches/patch-af
+++ b/mail/postfix/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.14 2003/01/25 07:22:20 martti Exp $
+$NetBSD: patch-af,v 1.15 2003/01/31 23:53:06 lukem Exp $
--- conf/main.cf.orig Fri Jan 24 01:42:20 2003
+++ conf/main.cf Sat Jan 25 08:04:54 2003
@@ -17,7 +17,7 @@ $NetBSD: patch-af,v 1.14 2003/01/25 07:22:20 martti Exp $
+daemon_directory = __PREFIX/libexec/postfix
+
+# Shared files and etc directory
-+etc_directory = /etc/postfix
++etc_directory = __PKG_SYSCONFDIR
+share_directory = __PREFIX/share/postfix
+man_directory = __PREFIX/man