Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2013 13:34:41 +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: r335485 - head/security/trousers
Message-ID:  <201312021334.rB2DYfut086504@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Mon Dec  2 13:34:41 2013
New Revision: 335485
URL: http://svnweb.freebsd.org/changeset/ports/335485

Log:
  Add STAGEDIR support.

Deleted:
  head/security/trousers/Makefile.man
Modified:
  head/security/trousers/Makefile
  head/security/trousers/pkg-plist

Modified: head/security/trousers/Makefile
==============================================================================
--- head/security/trousers/Makefile	Mon Dec  2 13:27:19 2013	(r335484)
+++ head/security/trousers/Makefile	Mon Dec  2 13:34:41 2013	(r335485)
@@ -32,9 +32,8 @@ GROUPS=		_tss
 
 OPTIONS_DEFINE=	EMULATOR DEBUG
 EMULATOR_DESC=	Build for use with the tpm-emulator
+DEBUG_CONFIGURE_ENABLE=	debug
 
-NO_STAGE=	yes
-.include "Makefile.man"
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MEMULATOR}
@@ -52,10 +51,6 @@ CONFLICTS+=	tpm-emulator-[0-9]*
 PLIST_SUB+=	TDDL=""
 .endif
 
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+=--enable-debug
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's/-liconv$$/${ICONV_LIB}/' \
 		${WRKSRC}/src/tspi/Makefile.am
@@ -67,10 +62,6 @@ run-autotools-autoreconf:
 
 post-install:
 	${INSTALL_DATA} -o ${USERS} -g ${GROUPS} -m 0600 \
-		${WRKSRC}/dist/tcsd.conf ${PREFIX}/etc/tcsd.conf.dist
-	@[ -f ${PREFIX}/etc/tcsd.conf ] || \
-		${INSTALL_DATA} -o ${USERS} -g ${GROUPS} -m 0600 \
-		${WRKSRC}/dist/tcsd.conf ${PREFIX}/etc/tcsd.conf
-	@${CAT} ${PKGMESSAGE}
+	    ${WRKSRC}/dist/tcsd.conf ${STAGEDIR}${PREFIX}/etc/tcsd.conf.dist
 
 .include <bsd.port.mk>

Modified: head/security/trousers/pkg-plist
==============================================================================
--- head/security/trousers/pkg-plist	Mon Dec  2 13:27:19 2013	(r335484)
+++ head/security/trousers/pkg-plist	Mon Dec  2 13:34:41 2013	(r335485)
@@ -30,6 +30,96 @@ lib/libtspi.la
 lib/libtspi.so
 lib/libtspi.so.3
 sbin/tcsd
+man/man3/Tspi_ChangeAuth.3.gz
+man/man3/Tspi_ChangeAuthAsym.3.gz
+man/man3/Tspi_Context_Close.3.gz
+man/man3/Tspi_Context_CloseObject.3.gz
+man/man3/Tspi_Context_Connect.3.gz
+man/man3/Tspi_Context_Create.3.gz
+man/man3/Tspi_Context_CreateObject.3.gz
+man/man3/Tspi_Context_FreeMemory.3.gz
+man/man3/Tspi_Context_GetCapability.3.gz
+man/man3/Tspi_Context_GetDefaultPolicy.3.gz
+man/man3/Tspi_Context_GetKeyByPublicInfo.3.gz
+man/man3/Tspi_Context_GetKeyByUUID.3.gz
+man/man3/Tspi_Context_GetRegisteredKeysByUUID.3.gz
+man/man3/Tspi_Context_GetRegisteredKeysByUUID2.3.gz
+man/man3/Tspi_Context_GetTpmObject.3.gz
+man/man3/Tspi_Context_LoadKeyByBlob.3.gz
+man/man3/Tspi_Context_LoadKeyByUUID.3.gz
+man/man3/Tspi_Context_RegisterKey.3.gz
+man/man3/Tspi_Context_UnregisterKey.3.gz
+man/man3/Tspi_DAA_IssueCredential.3.gz
+man/man3/Tspi_DAA_IssueInit.3.gz
+man/man3/Tspi_DAA_IssueSetup.3.gz
+man/man3/Tspi_DAA_IssuerKeyVerification.3.gz
+man/man3/Tspi_DAA_VerifyInit.3.gz
+man/man3/Tspi_DAA_VerifySignature.3.gz
+man/man3/Tspi_Data_Bind.3.gz
+man/man3/Tspi_Data_Seal.3.gz
+man/man3/Tspi_Data_Unbind.3.gz
+man/man3/Tspi_Data_Unseal.3.gz
+man/man3/Tspi_DecodeBER_TssBlob.3.gz
+man/man3/Tspi_EncodeDER_TssBlob.3.gz
+man/man3/Tspi_GetAttribData.3.gz
+man/man3/Tspi_GetAttribUint32.3.gz
+man/man3/Tspi_GetPolicyObject.3.gz
+man/man3/Tspi_Hash_GetHashValue.3.gz
+man/man3/Tspi_Hash_SetHashValue.3.gz
+man/man3/Tspi_Hash_Sign.3.gz
+man/man3/Tspi_Hash_UpdateHashValue.3.gz
+man/man3/Tspi_Hash_VerifySignature.3.gz
+man/man3/Tspi_Key_CertifyKey.3.gz
+man/man3/Tspi_Key_ConvertMigrationBlob.3.gz
+man/man3/Tspi_Key_CreateKey.3.gz
+man/man3/Tspi_Key_CreateMigrationBlob.3.gz
+man/man3/Tspi_Key_GetPubKey.3.gz
+man/man3/Tspi_Key_LoadKey.3.gz
+man/man3/Tspi_Key_UnloadKey.3.gz
+man/man3/Tspi_Key_WrapKey.3.gz
+man/man3/Tspi_PcrComposite_GetPcrValue.3.gz
+man/man3/Tspi_PcrComposite_SelectPcrIndex.3.gz
+man/man3/Tspi_PcrComposite_SetPcrValue.3.gz
+man/man3/Tspi_Policy_AssignToObject.3.gz
+man/man3/Tspi_Policy_FlushSecret.3.gz
+man/man3/Tspi_Policy_SetSecret.3.gz
+man/man3/Tspi_SetAttribData.3.gz
+man/man3/Tspi_SetAttribUint32.3.gz
+man/man3/Tspi_TPM_AuthorizeMigrationTicket.3.gz
+man/man3/Tspi_TPM_CMKSetRestrictions.3.gz
+man/man3/Tspi_TPM_CertifySelfTest.3.gz
+man/man3/Tspi_TPM_CheckMaintenancePubKey.3.gz
+man/man3/Tspi_TPM_ClearOwner.3.gz
+man/man3/Tspi_TPM_CollateIdentityRequest.3.gz
+man/man3/Tspi_TPM_CreateEndorsementKey.3.gz
+man/man3/Tspi_TPM_CreateMaintenanceArchive.3.gz
+man/man3/Tspi_TPM_DAA_JoinCreateDaaPubKey.3.gz
+man/man3/Tspi_TPM_DAA_JoinInit.3.gz
+man/man3/Tspi_TPM_DAA_JoinStoreCredential.3.gz
+man/man3/Tspi_TPM_DAA_Sign.3.gz
+man/man3/Tspi_TPM_DirRead.3.gz
+man/man3/Tspi_TPM_DirWrite.3.gz
+man/man3/Tspi_TPM_GetAuditDigest.3.gz
+man/man3/Tspi_TPM_GetCapability.3.gz
+man/man3/Tspi_TPM_GetEvent.3.gz
+man/man3/Tspi_TPM_GetEventLog.3.gz
+man/man3/Tspi_TPM_GetEvents.3.gz
+man/man3/Tspi_TPM_GetPubEndorsementKey.3.gz
+man/man3/Tspi_TPM_GetRandom.3.gz
+man/man3/Tspi_TPM_GetStatus.3.gz
+man/man3/Tspi_TPM_GetTestResult.3.gz
+man/man3/Tspi_TPM_KillMaintenanceFeature.3.gz
+man/man3/Tspi_TPM_LoadMaintenancePubKey.3.gz
+man/man3/Tspi_TPM_OwnerGetSRKPubKey.3.gz
+man/man3/Tspi_TPM_PcrExtend.3.gz
+man/man3/Tspi_TPM_PcrRead.3.gz
+man/man3/Tspi_TPM_Quote.3.gz
+man/man3/Tspi_TPM_SelfTestFull.3.gz
+man/man3/Tspi_TPM_SetStatus.3.gz
+man/man3/Tspi_TPM_StirRandom.3.gz
+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
 etc/tcsd.conf.dist
 @exec [ -f %D/etc/tcsd.conf ] || cp -p %D/etc/tcsd.conf.dist %D/etc/tcsd.conf



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