1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Create /tmp.

Submitted by:	maintainer (with changes)
This commit is contained in:
Xin LI 2014-06-27 17:55:07 +00:00
parent 0184d63d21
commit b97ee82786
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359590
2 changed files with 6 additions and 2 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= amavisd-milter
PORTVERSION= 1.6.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security mail
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@ -76,5 +76,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
${INSTALL} -d -o ${AMAVISUSER} -g ${AMAVISGROUP} -m 755 ${STAGEDIR}${RUNDIR}
${INSTALL} -d -o ${AMAVISUSER} -g ${AMAVISGROUP} -m 750 ${STAGEDIR}${RUNDIR}/tmp
.include <bsd.port.post.mk>

View File

@ -1,8 +1,11 @@
@unexec if service amavisd-milter status | grep -q "amavisd-milter is running"; then service amavisd-milter stop; fi
sbin/amavisd-milter
man/man8/amavisd-milter.8.gz
@mode 755
@owner %%AMAVISUSER%%
@group %%AMAVISGROUP%%
@mode 750
@dirrmtry %%RUNDIR%%/tmp
@mode 755
@dirrmtry %%RUNDIR%%
@exec install -d -o %%AMAVISUSER%% -g %%AMAVISGROUP%% -m 755 %%RUNDIR%%
@exec install -d -o %%AMAVISUSER%% -g %%AMAVISGROUP%% -m 750 %%RUNDIR%%/tmp