mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
Fix pkg-plist and erasing of config files
Submitted by: maintainer
This commit is contained in:
parent
27342cc2fb
commit
c127b53b16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54090
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= postfix
|
||||
PORTVERSION= 20020115
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
|
||||
ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/%SUBDIR%/ \
|
||||
@ -79,6 +80,12 @@ do-install:
|
||||
sample_directory=${PREFIX}/etc/postfix \
|
||||
readme_directory=${READMEDIR}
|
||||
|
||||
@${INSTALL_DATA} ${WRKSRC}/conf/main.cf \
|
||||
${PREFIX}/etc/postfix/sample-main.cf
|
||||
|
||||
@${INSTALL_DATA} ${WRKSRC}/conf/master.cf \
|
||||
${PREFIX}/etc/postfix/sample-master.cf
|
||||
|
||||
@${INSTALL_SCRIPT} \
|
||||
${WRKSRC}/auxiliary/rmail/rmail \
|
||||
${PREFIX}/bin/rmail
|
||||
|
@ -83,6 +83,13 @@ if [ x"$2" = xPRE-INSTALL ]; then
|
||||
fi
|
||||
|
||||
if [ x"$2" = xPOST-INSTALL ]; then
|
||||
if [ ! -f ${PKG_PREFIX}/etc/postfix/main.cf ]; then
|
||||
cp ${PKG_PREFIX}/etc/postfix/sample-main.cf ${PKG_PREFIX}/etc/postfix/main.cf
|
||||
fi
|
||||
if [ ! -f ${PKG_PREFIX}/etc/postfix/master.cf ]; then
|
||||
cp ${PKG_PREFIX}/etc/postfix/sample-master.cf ${PKG_PREFIX}/etc/postfix/master.cf
|
||||
fi
|
||||
|
||||
sh ${PKG_PREFIX}/etc/postfix/post-install tempdir=/tmp \
|
||||
config_directory=${PKG_PREFIX}/etc/postfix \
|
||||
daemon_directory=${PKG_PREFIX}/libexec/postfix \
|
||||
|
@ -5,9 +5,7 @@ etc/postfix/LICENSE
|
||||
etc/postfix/access
|
||||
etc/postfix/aliases
|
||||
etc/postfix/canonical
|
||||
etc/postfix/main.cf
|
||||
etc/postfix/main.cf.default
|
||||
etc/postfix/master.cf
|
||||
etc/postfix/pcre_table
|
||||
etc/postfix/post-install
|
||||
etc/postfix/postfix-files
|
||||
@ -24,6 +22,8 @@ etc/postfix/sample-flush.cf
|
||||
etc/postfix/sample-ldap.cf
|
||||
etc/postfix/sample-lmtp.cf
|
||||
etc/postfix/sample-local.cf
|
||||
etc/postfix/sample-main.cf
|
||||
etc/postfix/sample-master.cf
|
||||
etc/postfix/sample-misc.cf
|
||||
etc/postfix/sample-pcre-access.cf
|
||||
etc/postfix/sample-pcre-body.cf
|
||||
@ -74,6 +74,8 @@ sbin/postmap
|
||||
sbin/postqueue
|
||||
sbin/postsuper
|
||||
sbin/sendmail
|
||||
bin/newaliases
|
||||
bin/mailq
|
||||
%%SUB_TEST%%sbin/smtp-sink
|
||||
%%SUB_TEST%%sbin/smtp-source
|
||||
%%PORTDOCS%%share/doc/postfix/DB_README
|
||||
|
Loading…
Reference in New Issue
Block a user