Mark broken with unsupported OpenSSL release

puppetdb-cli internal dependencies support OpenSSL 1.0 or older only. To
sum up, one will be able to build/run puppetdb-cli using SSL from base
(FreeBSD <= 11) or from security/openssl (all FreeBSD versions).

Mark broken for:
  - DEFAULT_VERSIONS+=ssl=base (for FreeBSD 12+)
  - DEFAULT_VERSIONS+=ssl=openssl111
  - DEFAULT_VERSIONS+=ssl=libressl

An experimental patch to bring support for OpenSSL 1.1.1 is available in
the PR 233389.
The details why we chose not to merge it is explained in the comments.

PR:             233389
Reported by:    jbeich
With hat:       puppet
This commit is contained in:
Romain Tartière 2018-12-14 02:59:37 +00:00
parent c8b219bde5
commit 0525c7c9cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487403

View file

@ -11,6 +11,10 @@ COMMENT= PuppetDB CLI Tooling
LICENSE= APACHE20 LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_SSL= libressl openssl111
BROKEN_SSL_REASON_libressl= Needs an old version of OpenSSL (older than 1.1)
BROKEN_SSL_REASON_openssl111= Needs an older version of OpenSSL (older than 1.1)
USES= cargo perl5 ssl USES= cargo perl5 ssl
USE_GITHUB= yes USE_GITHUB= yes
USE_PERL5= build USE_PERL5= build
@ -90,6 +94,13 @@ CARGO_CRATES= advapi32-sys-0.2.0 \
winapi-build-0.1.1 \ winapi-build-0.1.1 \
winreg-0.4.0 winreg-0.4.0
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 1200085
BROKEN_SSL+= base
BROKEN_SSL_REASON_base= Needs an older version of OpenSSL (older than 1.1)
.endif
PLIST_FILES= bin/puppet-db \ PLIST_FILES= bin/puppet-db \
bin/puppet-query \ bin/puppet-query \
man/man8/puppet-db.8.gz \ man/man8/puppet-db.8.gz \
@ -108,4 +119,4 @@ post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/puppet-query ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/puppet-query
cd ${WRKSRC} && ./pod2man.sh ${STAGEDIR}${MANPREFIX} cd ${WRKSRC} && ./pod2man.sh ${STAGEDIR}${MANPREFIX}
.include <bsd.port.mk> .include <bsd.port.post.mk>