summaryrefslogtreecommitdiff
path: root/databases/puppetdb-cli
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2018-12-14 02:59:37 +0000
committerRomain Tartière <romain@FreeBSD.org>2018-12-14 02:59:37 +0000
commit0525c7c9cbdd3d693ce92b874d4466bb1f880e4c (patch)
tree70c84dabe20d7d7d13d759e244aa1c9039f19846 /databases/puppetdb-cli
parentscience/octopus: Update 8.2 -> 8.3 (diff)
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
Notes
Notes: svn path=/head/; revision=487403
Diffstat (limited to 'databases/puppetdb-cli')
-rw-r--r--databases/puppetdb-cli/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/databases/puppetdb-cli/Makefile b/databases/puppetdb-cli/Makefile
index 9be56f592c10..f7521b78935c 100644
--- a/databases/puppetdb-cli/Makefile
+++ b/databases/puppetdb-cli/Makefile
@@ -11,6 +11,10 @@ COMMENT= PuppetDB CLI Tooling
LICENSE= APACHE20
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
USE_GITHUB= yes
USE_PERL5= build
@@ -90,6 +94,13 @@ CARGO_CRATES= advapi32-sys-0.2.0 \
winapi-build-0.1.1 \
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 \
bin/puppet-query \
man/man8/puppet-db.8.gz \
@@ -108,4 +119,4 @@ post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/puppet-query
cd ${WRKSRC} && ./pod2man.sh ${STAGEDIR}${MANPREFIX}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>