Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2013 00:23:36 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335650 - head/security/trousers
Message-ID:  <201312050023.rB50NaOR060207@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Thu Dec  5 00:23:35 2013
New Revision: 335650
URL: http://svnweb.freebsd.org/changeset/ports/335650

Log:
  - Fix pkg-plist [*].
  - Use new syntax in LIB_DEPENDS.
  
  Spotted by:	hiren [*]

Modified:
  head/security/trousers/Makefile
  head/security/trousers/pkg-plist

Modified: head/security/trousers/Makefile
==============================================================================
--- head/security/trousers/Makefile	Thu Dec  5 00:00:11 2013	(r335649)
+++ head/security/trousers/Makefile	Thu Dec  5 00:23:35 2013	(r335650)
@@ -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>

Modified: head/security/trousers/pkg-plist
==============================================================================
--- head/security/trousers/pkg-plist	Thu Dec  5 00:00:11 2013	(r335649)
+++ head/security/trousers/pkg-plist	Thu Dec  5 00:23:35 2013	(r335650)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312050023.rB50NaOR060207>