- Fix pkg-plist [*].

- Use new syntax in LIB_DEPENDS.

Spotted by:	hiren [*]
This commit is contained in:
Hiroki Sato 2013-12-05 00:23:35 +00:00
parent 3604826cc9
commit 3fbf04e5e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335650
2 changed files with 10 additions and 4 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= trousers
PORTVERSION= 0.3.10
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
@ -38,7 +38,7 @@ DEBUG_CONFIGURE_ENABLE= debug
.if ${PORT_OPTIONS:MEMULATOR}
PKGNAMESUFFIX+= -no_tddl
LIB_DEPENDS+= tddl.1:${PORTSDIR}/emulators/tpm-emulator
LIB_DEPENDS+= libtddl.so:${PORTSDIR}/emulators/tpm-emulator
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src-tcs-Makefile.am \
${FILESDIR}/extra-patch-src-tcsd-Makefile.am \
@ -63,5 +63,6 @@ run-autotools-autoreconf:
post-install:
${INSTALL_DATA} \
${WRKSRC}/dist/tcsd.conf ${STAGEDIR}${PREFIX}/etc/tcsd.conf.dist
${MKDIR} ${STAGEDIR}${PREFIX}/var/lib/tpm
.include <bsd.port.mk>

View file

@ -121,11 +121,16 @@ man/man3/Tspi_TPM_TakeOwnership.3.gz
man/man5/tcsd.conf.5.gz
man/man8/tcsd.8.gz
@unexec cmp -s %D/etc/tcsd.conf %D/etc/tcsd.conf.dist && rm -f %D/etc/tcsd.conf || true
@owner _tss
@group _tss
@mode 0600
etc/tcsd.conf.dist
@exec chown _tss:_tss %D/etc/tcsd.conf.dist
@exec chmod 0600 %D/etc/tcsd.conf.dist
@exec [ -f %D/etc/tcsd.conf ] || cp -p %D/etc/tcsd.conf.dist %D/etc/tcsd.conf
@mode 0700
@dirrmtry var/lib/tpm
@owner
@group
@mode
@dirrmtry var/lib
@dirrmtry var
@dirrm include/tss