aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix22
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-09-23 17:52:03 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-09-23 17:52:03 +0000
commit0913fc4972d128bc8238b2ed52bc2af27852383a (patch)
tree5628809afb664ba442d896518cf58c8a6f994980 /mail/postfix22
parent9e0ba06811db31a46ab58cc1d84623d62c03dcb6 (diff)
downloadports-0913fc4972d128bc8238b2ed52bc2af27852383a.tar.gz
ports-0913fc4972d128bc8238b2ed52bc2af27852383a.zip
Notes
Diffstat (limited to 'mail/postfix22')
-rw-r--r--mail/postfix22/Makefile6
-rw-r--r--mail/postfix22/files/install.cf11
-rw-r--r--mail/postfix22/pkg-plist2
3 files changed, 18 insertions, 1 deletions
diff --git a/mail/postfix22/Makefile b/mail/postfix22/Makefile
index 1e3e94f18b80..87c7f815ba94 100644
--- a/mail/postfix22/Makefile
+++ b/mail/postfix22/Makefile
@@ -7,6 +7,7 @@
PORTNAME= postfix
PORTVERSION= 20010228.5
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/%SUBDIR%/ \
@@ -38,7 +39,7 @@ CONF2= sample-aliases.cf sample-canonical.cf sample-debug.cf \
sample-filter.cf sample-flush.cf sample-local.cf sample-misc.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 pickup \
pipe qmgr showq smtp smtpd spawn trivial-rewrite
@@ -76,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/postfix22/files/install.cf b/mail/postfix22/files/install.cf
new file mode 100644
index 000000000000..5b70ac6a9111
--- /dev/null
+++ b/mail/postfix22/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/postfix22/pkg-plist b/mail/postfix22/pkg-plist
index b7656bbe5982..78552bf9d11c 100644
--- a/mail/postfix22/pkg-plist
+++ b/mail/postfix22/pkg-plist
@@ -1,6 +1,8 @@
+@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
etc/postfix/LICENSE
+etc/postfix/install.cf
etc/postfix/postfix-script
etc/postfix/sample-access
etc/postfix/sample-aliases