svn commit: r487403 - head/databases/puppetdb-cli

Romain Tartière romain at FreeBSD.org
Fri Dec 14 02:59:38 UTC 2018


Author: romain
Date: Fri Dec 14 02:59:37 2018
New Revision: 487403
URL: https://svnweb.freebsd.org/changeset/ports/487403

Log:
  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

Modified:
  head/databases/puppetdb-cli/Makefile

Modified: head/databases/puppetdb-cli/Makefile
==============================================================================
--- head/databases/puppetdb-cli/Makefile	Fri Dec 14 02:21:27 2018	(r487402)
+++ head/databases/puppetdb-cli/Makefile	Fri Dec 14 02:59:37 2018	(r487403)
@@ -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>


More information about the svn-ports-all mailing list