Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2020 22:35:37 +0200
From:      Michael Grimm <trashcan@ellael.org>
To:        FreeBSD Ports ML <freebsd-ports@FreeBSD.org>
Cc:        "ohauer@freebsd.org" <ohauer@FreeBSD.org>
Subject:   postfix-current marked erroneously broken for 12.1-STABLE and OpenSSL 1.1.1g
Message-ID:  <CC3775E8-8F02-44A1-B3B6-5CBEAC91997D@ellael.org>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_E087AEE9-8B83-4A22-A7CA-FCD5EE5259E1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

postfix-current has been marked broken recently:

	BROKEN_FreeBSD_11=3D     error: OpenSSL-1.1.1 is the minimum =
supported version
=20

My system:

	root>	uname -v
	FreeBSD 12.1-STABLE r363443 CUSTOM=20

	root>	openssl version
	OpenSSL 1.1.1g  21 Apr 2020

	root>	grep openssl /usr/local/etc/poudriere.d/stable-make.conf=20=

	DEFAULT_VERSIONS+=3D ssl=3Dopenssl


The patch applied fixed it for me, but I am not sure whether it fixes it =
in all thinkable combinations of OSVERION and openssl version, though.

Regards,
Michael



--Apple-Mail=_E087AEE9-8B83-4A22-A7CA-FCD5EE5259E1
Content-Disposition: attachment;
	filename=Makefile-postfix-curretn.patch
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="Makefile-postfix-curretn.patch"
Content-Transfer-Encoding: 7bit

--- Makefile.old	2020-07-26 21:32:33.811297000 +0200
+++ Makefile	2020-07-27 22:14:57.748973000 +0200
@@ -59,7 +59,6 @@
 SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
 SQLITE_USES=		sqlite
 TLS_USES=		ssl
-BROKEN_SSL=		openssl
 
 BLACKLISTD_DESC=	Enable blacklistd support (FreeBSD 11.0 and later only)
 CDB_DESC=	CDB maps lookups
@@ -91,7 +90,8 @@
 
 MAKEFILEFLAGS+=	pie=yes CC="${CC}" OPT="${CFLAGS}"
 
-.if ${SSL_DEFAULT} == base
+.if ${SSL_DEFAULT} == base && ${OSVERSION} <= 11
+BROKEN_SSL=		openssl
 BROKEN_FreeBSD_11=	error: OpenSSL-1.1.1 is the minimum supported version
 .endif

--Apple-Mail=_E087AEE9-8B83-4A22-A7CA-FCD5EE5259E1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CC3775E8-8F02-44A1-B3B6-5CBEAC91997D>