diff options
author | nork <nork@FreeBSD.org> | 2010-12-15 06:49:47 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2010-12-15 06:49:47 +0800 |
commit | 897454d9c7c53e65200f93abbed6fc253ebcefb0 (patch) | |
tree | d51604ea5c119e47b42d0c9e5c2aea9ebeb9393b /security | |
parent | aea1fe7331c4ba3e613412b6301424f989b96066 (diff) | |
download | freebsd-ports-gnome-897454d9c7c53e65200f93abbed6fc253ebcefb0.tar.gz freebsd-ports-gnome-897454d9c7c53e65200f93abbed6fc253ebcefb0.tar.zst freebsd-ports-gnome-897454d9c7c53e65200f93abbed6fc253ebcefb0.zip |
All cleanup done (PREFIX clean, permission clean), and bump PORTREVISION.
Diffstat (limited to 'security')
-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> |