diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-12-14 22:49:47 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-12-14 22:49:47 +0000 |
commit | 3fc9cc9ed381703d46ae7fc462dc2c97c8a33913 (patch) | |
tree | c328a01ce6fd4aee3037e7fea680ac0bbd4f79b8 /security/trousers/Makefile | |
parent | b144080799dc149115acb1b487af07aabdb06ff6 (diff) | |
download | ports-3fc9cc9ed381703d46ae7fc462dc2c97c8a33913.tar.gz ports-3fc9cc9ed381703d46ae7fc462dc2c97c8a33913.zip |
Notes
Diffstat (limited to 'security/trousers/Makefile')
-rw-r--r-- | security/trousers/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/security/trousers/Makefile b/security/trousers/Makefile index 800f7051dcd3..edfb90a6692c 100644 --- a/security/trousers/Makefile +++ b/security/trousers/Makefile @@ -7,7 +7,7 @@ PORTNAME= trousers PORTVERSION= 0.3.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} @@ -86,15 +86,16 @@ post-install: ${WRKSRC}/dist/tcsd.conf ${EXAMPLESDIR}/tcsd.conf @[ -f ${PREFIX}/etc/tcsd.conf ] || \ ${CP} -p ${EXAMPLESDIR}/tcsd.conf ${PREFIX}/etc/tcsd.conf - @${INSTALL} -d -o root -g ${GROUPS} -m 0700 /var/run/tpm - @${INSTALL} -d -o root -g ${GROUPS} -m 0700 /var/run/ima - @${INSTALL} -d -o root -g ${GROUPS} -m 0700 ${PREFIX}/var/lib/tpm + @${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 /var/run/tpm + @${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 /var/run/ima + @${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 ${PREFIX}/var/lib/tpm @${CAT} ${PKGMESSAGE} add-plist-post: - @${ECHO_CMD} "@unexec ${RMDIR} /var/run/tpm 2>/dev/null || true" >> ${TMPPLIST} - @${ECHO_CMD} "@exec ${INSTALL} -d -o root -g ${GROUPS} -m 0700 /var/run/tpm" >> ${TMPPLIST} - @${ECHO_CMD} "@unexec ${RMDIR} /var/run/ima 2>/dev/null || true" >> ${TMPPLIST} - @${ECHO_CMD} "@exec ${INSTALL} -d -o root -g ${GROUPS} -m 0700 /var/run/ima" >> ${TMPPLIST} + @${ECHO_CMD} "@cwd /" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec ${RMDIR} var/run/tpm 2>/dev/null || true" >> ${TMPPLIST} + @${ECHO_CMD} "@exec ${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 var/run/tpm" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec ${RMDIR} var/run/ima 2>/dev/null || true" >> ${TMPPLIST} + @${ECHO_CMD} "@exec ${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 var/run/ima" >> ${TMPPLIST} .include <bsd.port.post.mk> |