diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-09-23 17:52:03 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-09-23 17:52:03 +0000 |
commit | 0913fc4972d128bc8238b2ed52bc2af27852383a (patch) | |
tree | 5628809afb664ba442d896518cf58c8a6f994980 /mail/postfix-current | |
parent | Use MASTER_SITE_LOCAL instead of hardcoding (diff) |
Install install.cf to ensure spool is created with correct permissions
Bump PORTREVISION
PR: 30751
Submitted by: Yen-Ming Lee
Notes
Notes:
svn path=/head/; revision=48121
Diffstat (limited to 'mail/postfix-current')
-rw-r--r-- | mail/postfix-current/Makefile | 7 | ||||
-rw-r--r-- | mail/postfix-current/files/install.cf | 11 | ||||
-rw-r--r-- | mail/postfix-current/pkg-plist | 2 |
3 files changed, 18 insertions, 2 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile index 50109382c5bb..43d4ce6a2486 100644 --- a/mail/postfix-current/Makefile +++ b/mail/postfix-current/Makefile @@ -7,7 +7,7 @@ PORTNAME= postfix PORTVERSION= 20010808 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \ ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/%SUBDIR%/ \ @@ -40,7 +40,7 @@ CONF2= sample-aliases.cf sample-canonical.cf sample-debug.cf \ sample-qmqpd.cf \ sample-rate.cf sample-regexp.cf sample-relocated.cf \ sample-resource.cf sample-rewrite.cf sample-smtp.cf \ - sample-smtpd.cf sample-transport.cf sample-virtual.cf + sample-smtpd.cf sample-transport.cf sample-virtual.cf install.cf BIN1= bounce cleanup error flush lmtp local master nqmgr pickup \ pipe qmgr qmqpd showq smtp smtpd spawn trivial-rewrite virtual @@ -77,6 +77,9 @@ pre-fetch: .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif +post-extract: + @${CP} ${FILESDIR}/install.cf ${WRKSRC}/conf + post-patch: (cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \ CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \ diff --git a/mail/postfix-current/files/install.cf b/mail/postfix-current/files/install.cf new file mode 100644 index 000000000000..5b70ac6a9111 --- /dev/null +++ b/mail/postfix-current/files/install.cf @@ -0,0 +1,11 @@ +# $FreeBSD$ +sendmail_path=/usr/sbin/sendmail +newaliases_path=/usr/bin/newaliases +mailq_path=/usr/bin/mailq +setgid=maildrop +manpages=!!PREFIX!!/man +sendmail_path=/usr/sbin/sendmail +newaliases_path=/usr/bin/newaliases +mailq_path=/usr/bin/mailq +setgid=maildrop +manpages=!!PREFIX!!/man diff --git a/mail/postfix-current/pkg-plist b/mail/postfix-current/pkg-plist index d146b0bb6b61..641f7b35096a 100644 --- a/mail/postfix-current/pkg-plist +++ b/mail/postfix-current/pkg-plist @@ -1,7 +1,9 @@ +@comment $FreeBSD$ @unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi @unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi bin/rmail etc/postfix/LICENSE +etc/postfix/install.cf etc/postfix/postfix-script etc/postfix/sample-access etc/postfix/sample-aliases |