svn commit: r361494 - head/security/openssl_tpm_engine

Pawel Pekala pawel at FreeBSD.org
Thu Jul 10 21:51:32 UTC 2014


Author: pawel
Date: Thu Jul 10 21:51:31 2014
New Revision: 361494
URL: http://svnweb.freebsd.org/changeset/ports/361494
QAT: https://qat.redports.org/buildarchive/r361494/

Log:
  - Add staging support
  - Convert to USES=libtool, new LIB_DEPENDS format
  - Remove OPTIONS_DEFAULT, EXAMPLES is on by default

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

Modified: head/security/openssl_tpm_engine/Makefile
==============================================================================
--- head/security/openssl_tpm_engine/Makefile	Thu Jul 10 21:30:26 2014	(r361493)
+++ head/security/openssl_tpm_engine/Makefile	Thu Jul 10 21:51:31 2014	(r361494)
@@ -3,19 +3,20 @@
 
 PORTNAME=	openssl_tpm_engine
 PORTVERSION=	0.4.2
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF/trousers/OpenSSL%20TPM%20Engine/${PORTVERSION}
 
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER=	ports at FreeBSD.org
 COMMENT=	OpenSSL TPM engine
 
 LICENSE=	GPLv2
 
 RUN_DEPENDS=	${LOCALBASE}/sbin/tcsd:${PORTSDIR}/security/trousers
-LIB_DEPENDS=	tspi:${PORTSDIR}/security/trousers
+LIB_DEPENDS=	libtspi.so:${PORTSDIR}/security/trousers
 
-USES=	gmake
-USE_AUTOTOOLS=	autoconf libtool
+USES=		gmake libtool
+USE_AUTOTOOLS=	autoconf
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 LDFLAGS+=	-L${LOCALBASE}/lib
@@ -24,19 +25,12 @@ SUB_FILES=	pkg-message
 PORTEXAMPLES=	openssl.cnf.sample
 
 OPTIONS_DEFINE=	EXAMPLES
-OPTIONS_DEFAULT=EXAMPLES
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/openssl.cnf.sample
 
 post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/openssl.cnf.sample ${EXAMPLESDIR}
-.endif
-	@${CAT}	${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/openssl.cnf.sample ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/security/openssl_tpm_engine/pkg-plist
==============================================================================
--- head/security/openssl_tpm_engine/pkg-plist	Thu Jul 10 21:30:26 2014	(r361493)
+++ head/security/openssl_tpm_engine/pkg-plist	Thu Jul 10 21:51:31 2014	(r361494)
@@ -1,7 +1,6 @@
 bin/create_tpm_key
-lib/openssl/engines/libtpm.a
-lib/openssl/engines/libtpm.la
 lib/openssl/engines/libtpm.so
 lib/openssl/engines/libtpm.so.0
+lib/openssl/engines/libtpm.so.0.0.0
 @dirrm lib/openssl/engines
 @dirrm lib/openssl


More information about the svn-ports-all mailing list