diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-11-13 14:32:39 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-11-13 14:32:39 +0000 |
commit | 1ef6c2804f185fadc52954b7749ee3cf0c5ba5bd (patch) | |
tree | 22a87d3317beee8f02c7861d098cdd324706acc8 /emulators/tpm-emulator | |
parent | 2c6ccacf072eec2e4c8e84910b70d7ac40e99798 (diff) | |
download | ports-1ef6c2804f185fadc52954b7749ee3cf0c5ba5bd.tar.gz ports-1ef6c2804f185fadc52954b7749ee3cf0c5ba5bd.zip |
Notes
Diffstat (limited to 'emulators/tpm-emulator')
-rw-r--r-- | emulators/tpm-emulator/Makefile | 6 | ||||
-rw-r--r-- | emulators/tpm-emulator/pkg-plist | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/emulators/tpm-emulator/Makefile b/emulators/tpm-emulator/Makefile index 18b8d2982fb4..e58345e54bd3 100644 --- a/emulators/tpm-emulator/Makefile +++ b/emulators/tpm-emulator/Makefile @@ -25,14 +25,12 @@ USE_LDCONFIG= yes USERS= _tss GROUPS= _tss SUB_LIST= USERS="${USERS}" GROUPS="${GROUPS}" +PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}" BROKEN_powerpc= Does not compile on powerpc post-install: - @${ECHO_CMD} "@exec ${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 /var/run/tpm" >> ${TMPPLIST} @${MKDIR} ${STAGEDIR}/var/run/tpm - @${ECHO_CMD} "@dirrmtry /var/run/tpm" >> ${TMPPLIST} - @${ECHO_CMD} "@exec ${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 %D/var/db/tpm" >> ${TMPPLIST} - @${MKDIR} ${STAGEDIR}/${PREFIX}/var/db/tpm + @${MKDIR} ${STAGEDIR}${PREFIX}/var/db/tpm .include <bsd.port.mk> diff --git a/emulators/tpm-emulator/pkg-plist b/emulators/tpm-emulator/pkg-plist index 7e5fd71c3879..e2c62b605496 100644 --- a/emulators/tpm-emulator/pkg-plist +++ b/emulators/tpm-emulator/pkg-plist @@ -4,4 +4,5 @@ lib/libtddl.a lib/libtddl.so lib/libtddl.so.1 lib/libtddl.so.1.2.0.7 -@dir var +@dir(%%USERS%%,%%GROUPS%%,0700) var/db/tpm +@dir(%%USERS%%,%%GROUPS%%,0700) /var/run/tpm |