mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
mail/nullmailer: support stage
- Pass maintainership to submitter PR: 192217 Submitted by: uffe uffe org
This commit is contained in:
parent
adc01f2721
commit
22dd430ada
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363268
@ -10,7 +10,7 @@ MASTER_SITES= http://untroubled.org/nullmailer/ \
|
||||
http://untroubled.org/nullmailer/archive/
|
||||
MASTER_SITE_SUBDIR= ${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= uffe@uffe.org
|
||||
COMMENT= MTA for hosts which relay to a fixed set of smart relays
|
||||
|
||||
LICENSE= GPLv2
|
||||
@ -39,14 +39,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
PLIST_SUB+= LOCALSTATEDIR=${LOCALSTATEDIR} NULLMAIL_USER=${USERS}
|
||||
SUB_LIST+= LOCALSTATEDIR=${LOCALSTATEDIR} NULLMAIL_USER=${USERS}
|
||||
|
||||
MAN1= nullmailer-inject.1 sendmail.1
|
||||
MAN7= nullmailer.7
|
||||
MAN8= nullmailer-queue.8 nullmailer-send.8
|
||||
|
||||
|
||||
OPTIONS_DEFINE= GNUTLS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MGNUTLS}
|
||||
@ -60,10 +54,7 @@ CONFIGURE_ARGS+=--disable-tls
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@cd ${WRKSRC} && ${MAKE} install-root
|
||||
|
||||
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
${INSTALL_DATA} -c ${FILESDIR}/remotes.sample ${ETCDIR}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
${INSTALL_DATA} -c ${FILESDIR}/remotes.sample ${STAGEDIR}${ETCDIR}
|
||||
${ECHO} 'hostname' > ${STAGEDIR}${ETCDIR}/me.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -10,6 +10,11 @@ sbin/nullmailer-queue
|
||||
@exec chmod u+s %D/sbin/nullmailer-queue
|
||||
@exec chown %%NULLMAIL_USER%% %D/sbin/nullmailer-queue
|
||||
sbin/nullmailer-send
|
||||
man/man1/nullmailer-inject.1.gz
|
||||
man/man1/sendmail.1.gz
|
||||
man/man7/nullmailer.7.gz
|
||||
man/man8/nullmailer-queue.8.gz
|
||||
man/man8/nullmailer-send.8.gz
|
||||
%%ETCDIR%%/me.sample
|
||||
%%ETCDIR%%/remotes.sample
|
||||
@dirrm libexec/nullmailer
|
||||
@ -28,6 +33,4 @@ sbin/nullmailer-send
|
||||
@exec chmod 600 %%LOCALSTATEDIR%%/nullmailer/trigger
|
||||
@exec chown %%NULLMAIL_USER%%:%%NULLMAIL_USER%% %%LOCALSTATEDIR%%/nullmailer/trigger
|
||||
@unexec rm -f %%LOCALSTATEDIR%%/nullmailer/trigger
|
||||
@ignore
|
||||
%%LOCALSTATEDIR%%/nullmailer/trigger
|
||||
@dirrmtry %%LOCALSTATEDIR%%/nullmailer
|
||||
|
Loading…
Reference in New Issue
Block a user