mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
- sort OPTIONS_DEFINE
- fix build and install for non root users, (sgid and group for sbin/postdrop and sbin/postqueue was lost if build as non root and installed with sudo) - install /var/spool/postfix directories with correct owner/mode - use $WRKDIR instead of /tmp Approved by: sahil (implicit)
This commit is contained in:
parent
617ce12005
commit
df64c67bba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372370
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= postfix
|
||||
PORTVERSION= 2.11.3
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \
|
||||
@ -38,8 +39,8 @@ USE_SUBMAKE= yes
|
||||
USE_PERL5= build
|
||||
SCRIPTS_ENV+= POSTFIX_DEFAULT_MTA="${POSTFIX_DEFAULT_MTA}"
|
||||
|
||||
OPTIONS_DEFINE= PCRE SASL2 TLS BDB MYSQL PGSQL SQLITE OPENLDAP LDAP_SASL \
|
||||
CDB NIS VDA TEST SPF INST_BASE LMDB DOCS
|
||||
OPTIONS_DEFINE= BDB CDB DOCS INST_BASE LDAP_SASL LMDB MYSQL NIS \
|
||||
OPENLDAP PCRE PGSQL SASL2 SPF SQLITE TEST TLS VDA
|
||||
|
||||
OPTIONS_RADIO= RG1 RG2
|
||||
OPTIONS_RADIO_RG1= DOVECOT DOVECOT2
|
||||
@ -332,7 +333,7 @@ pre-install:
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC} && ${SH} postfix-install -non-interactive install_root=${STAGEDIR} tempdir=/tmp \
|
||||
@(cd ${WRKSRC} && ${SH} postfix-install -non-interactive install_root=${STAGEDIR} tempdir=${WRKDIR} \
|
||||
config_directory=${ETCDIR} \
|
||||
command_directory=${PREFIX}/sbin \
|
||||
daemon_directory=${DAEMONDIR} \
|
||||
|
@ -127,32 +127,36 @@ libexec/postfix/virtual
|
||||
sbin/postalias
|
||||
sbin/postcat
|
||||
sbin/postconf
|
||||
sbin/postdrop
|
||||
sbin/postfix
|
||||
sbin/postkick
|
||||
sbin/postlock
|
||||
sbin/postlog
|
||||
sbin/postmap
|
||||
sbin/postmulti
|
||||
@group maildrop
|
||||
@mode 2755
|
||||
sbin/postdrop
|
||||
sbin/postqueue
|
||||
@group
|
||||
@mode
|
||||
sbin/postsuper
|
||||
sbin/sendmail
|
||||
@dir /var/db/postfix
|
||||
@dir /var/spool/postfix/active
|
||||
@dir /var/spool/postfix/bounce
|
||||
@dir /var/spool/postfix/corrupt
|
||||
@dir /var/spool/postfix/defer
|
||||
@dir /var/spool/postfix/deferred
|
||||
@dir /var/spool/postfix/flush
|
||||
@dir /var/spool/postfix/hold
|
||||
@dir /var/spool/postfix/incoming
|
||||
@dir /var/spool/postfix/maildrop
|
||||
@dir /var/spool/postfix/pid
|
||||
@dir /var/spool/postfix/private
|
||||
@dir /var/spool/postfix/public
|
||||
@dir /var/spool/postfix/saved
|
||||
@dir /var/spool/postfix/trace
|
||||
@dir /var/spool/postfix
|
||||
@dir(postfix,,700) /var/spool/postfix/active
|
||||
@dir(postfix,,700) /var/spool/postfix/bounce
|
||||
@dir(postfix,,700) /var/spool/postfix/corrupt
|
||||
@dir(postfix,,700) /var/spool/postfix/defer
|
||||
@dir(postfix,,700) /var/spool/postfix/deferred
|
||||
@dir(postfix,,700) /var/spool/postfix/flush
|
||||
@dir(postfix,,700) /var/spool/postfix/hold
|
||||
@dir(postfix,,700) /var/spool/postfix/incoming
|
||||
@dir(postfix,maildrop,730) /var/spool/postfix/maildrop
|
||||
@dir(,postfix,755) /var/spool/postfix/pid
|
||||
@dir(postfix,,700) /var/spool/postfix/private
|
||||
@dir(postfix,maildrop,710) /var/spool/postfix/public
|
||||
@dir(postfix,,700) /var/spool/postfix/saved
|
||||
@dir(postfix,,700) /var/spool/postfix/trace
|
||||
@dir(postfix,postfix,700) /var/spool/postfix
|
||||
%%BASE%%@cwd /
|
||||
@dir etc/postfix
|
||||
@cwd %%RESETPREFIX%%
|
||||
|
Loading…
Reference in New Issue
Block a user