Skip to content
Snippets Groups Projects
Commit 27374b68 authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

security/openssl_tpm_engine: Mark DEPRECATED

- Requires older OpenSSL implementation
- Last upstream release was in 2017
- Utilise IGNORE_SSL instead of SSL_DEFAULT chech
- Mark BROKEN_SSL for openssl 30 and openssl31
- Set EXPIRATION_DATE to 2023-07-02

Approved by:	portmgr (blanket)
parent 4ea9b2e7
No related branches found
No related tags found
No related merge requests found
......@@ -11,8 +11,15 @@ WWW= https://github.com/mgerstner/openssl_tpm_engine
LICENSE= OpenSSL
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/sbin/tcsd:security/trousers
DEPRECATED= Requires older openssl and upstream unmaintained since 2017
EXPIRATION_DATE= 2023-07-02
BROKEN_SSL= openssl30 openssl31
BROKEN_SSL_REASON= Requires openssl 1.0.x or 1.1.x
IGNORE_SSL= libressl libressl-devel
IGNORE_SSL_REASON= Detected LibreSSL (RAND_METHOD structure unsupported)
LIB_DEPENDS= libtspi.so:security/trousers
RUN_DEPENDS= ${LOCALBASE}/sbin/tcsd:security/trousers
USES= autoreconf gmake libtool localbase ssl pkgconfig
USE_GITHUB= yes
......@@ -29,12 +36,6 @@ PORTEXAMPLES= openssl.cnf.sample
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT:Mlibressl*}
IGNORE= Detected LibreSSL (RAND_METHOD structure unsupported)
.endif
post-patch:
(${CAT} ${OPENSSLINC}/openssl/opensslv.h; \
${ECHO_CMD} "#if OPENSSL_VERSION_NUMBER < 0x10100000L"; \
......@@ -60,4 +61,4 @@ post-install-EXAMPLES-on:
${INSTALL_DATA} ${WRKSRC}/dist/openssl.cnf.sample \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment