Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2018 02:59:37 +0000 (UTC)
From:      =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487403 - head/databases/puppetdb-cli
Message-ID:  <201812140259.wBE2xbuT015992@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812140259.wBE2xbuT015992>