From nobody Wed May 03 01:30:08 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q9zsD6ChXz48hM3; Wed, 3 May 2023 01:30:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q9zsD4JSQz444N; Wed, 3 May 2023 01:30:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683077408; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=T/1c+FmwAD6zA/ZJczA2OXP8AOJtV59+XkvU5WwclHc=; b=lCCK7Ft+ziSQZpnRSkORbL9tthl8yL56zzK7ylpYA8xrvS2pka+GnjYfn0VW3XPvvnTzwC rWxd3v11fBapSFNDsOCH7zrlmV1rUP2gTlaKzu6P0hgmmab+sfsmd1967y0RTbuoVUNl9h FLKs0fB4T8LmD2q5a7zQAeYiZGbqSnsZYwo4tjfx1AvP0fWVgrjeDH5duqTv7cLM53Gdmy ep7qs9EEu65a+3Rd857a76vO2T7Jid6e7EJI3ftcaOHg1N3ONgE2WEinzy4q7Nn/+WEghD HgutFQQvx4gTWsh4LWsbBElVmRZ+f8S7GqN+Ypk1B+SlciRA9LI7ZMSAMT0R5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683077408; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=T/1c+FmwAD6zA/ZJczA2OXP8AOJtV59+XkvU5WwclHc=; b=hNwNx0xt3qlt2cQAhCo+bLUIIVxpXMfnSW1D/+ZV7ZIRZIcWzfryUjOJR0ZwikK859aTwV qHYj2/6O8/29mwtvnRsRtOJOOp4CpoWoEPhmYg5Bj9KUofGxmg7APy4fufEiSPIcFT1vXm E+sLLNfMMsG6ojp+89KkDwE43bzyHc8IdSACrfvrgGmAh9RUkq4PB1GHkaFKzv2DFuEBHg wzs+8Vhx/BvJtjy4Zdsp0trtV91crwatpgZgY12WWIzy3YFuYaef54O9CT/acW+WKjV8D2 viwIpA8dCekalAejyoD+D+MoHuiASrC5hKexnb8Ff2MTzoM8p55CjX1rgCJb/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683077408; a=rsa-sha256; cv=none; b=h8oxUCgy0eMmEq7LHt+zESjxPofbbfCVG8PcSupI/wxzJJFYjZ9BpSEUfCRqbY4MlxYj4x MIv2eSpTBokf/sHILWdjUtD+6Wc90ByDSCgzl+6f4x7u2P0xC35Xfp2W1wFQ7faL1ZCiQ6 GzyDZMGeU1nv/014R39maoM6mlo/uiusbGld/X9PcYJ+8baKknLAOHjuJSDbesLQWspGr9 FaahJBJPxKRVVsOJ9zwRTur2lZvkHUYZqzs9lYWRLyMfJhqCHr6VfXgvbWUs9S31ih6035 QsoblStJbs1dQnChGSocslUPhH863Wnd3jYcZ7BOSU7505PGgH8cKqsGnIsgFg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q9zsD3Mjgz19nM; Wed, 3 May 2023 01:30:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3431U8vJ075024; Wed, 3 May 2023 01:30:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3431U8M1075021; Wed, 3 May 2023 01:30:08 GMT (envelope-from git) Date: Wed, 3 May 2023 01:30:08 GMT Message-Id: <202305030130.3431U8M1075021@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 084f9f78443e - main - mail/enma: Unbreak on HEAD List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 084f9f78443ef3ef618907059dfab095b669d6cd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=084f9f78443ef3ef618907059dfab095b669d6cd commit 084f9f78443ef3ef618907059dfab095b669d6cd Author: Muhammad Moinur Rahman AuthorDate: 2023-05-02 19:25:24 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-05-03 01:29:50 +0000 mail/enma: Unbreak on HEAD - Mark BROKEN_SSL on openssl30 and openssl31 - Fails to build with error: undefined reference due to --no-allow-shlib-undefined: EVP_* --- mail/enma/Makefile | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/mail/enma/Makefile b/mail/enma/Makefile index c79fd71f8624..a28c9f21a0fd 100644 --- a/mail/enma/Makefile +++ b/mail/enma/Makefile @@ -16,6 +16,8 @@ CONFIGURE_ARGS= --with-ssl-incdir=${OPENSSLINC} \ --with-ssl-libdir=${OPENSSLLIB} USES= gmake libtool perl5 ssl +BROKEN_SSL= openssl30 openssl31 +BROKEN_SSL_REASON- Fails to build with error: undefined reference due to --no-allow-shlib-undefined: EVP USE_RC_SUBR= milter-enma USE_LDCONFIG= yes USE_PERL5= build @@ -28,6 +30,13 @@ OPTIONS_DEFINE= DOCS LIBBIND LIBBIND_DESC= Link against dns/libbind instead of dns/ldns +LIBBIND_CONFIGURE_ON= --with-resolver=libbind \ + --with-libbind-incdir=${LOCALBASE}/include/bind \ + --with-libbind-libdir=${LOCALBASE}/lib +LIBBIND_BUILD_DEPENDS= ${LOCALBASE}/lib/libbind.a:dns/libbind +LIBBIND_CONFIGURE_OFF= --with-resolver=ldns +LIBBIND_LIB_DEPENDS_OFF= libldns.so:dns/ldns + .if defined(WITH_POSTFIX_MILTER) || defined(WITH_POSTFIX) || defined(WITH_POSTFIX_CURRENT) CONF_SUB= ${REINPLACE_CMD} -e '/milter\.postfix/s/false/true/' ${WRKSRC}/enma/etc/enma.conf.sample . if defined(WITH_POSTFIX_CURRENT) @@ -40,14 +49,10 @@ RUN_DEPENDS+= ${LOCALBASE}/libexec/postfix/smtpd:mail/postfix .include .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" -.if ${PORT_OPTIONS:MLIBBIND} -CONFIGURE_ARGS+= --with-resolver=libbind \ - --with-libbind-incdir=${LOCALBASE}/include/bind \ - --with-libbind-libdir=${LOCALBASE}/lib -BUILD_DEPENDS+= ${LOCALBASE}/lib/libbind.a:dns/libbind -.else -CONFIGURE_ARGS+= --with-resolver=ldns -LIB_DEPENDS+= libldns.so:dns/ldns +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=int-conversion .endif pre-configure: @@ -66,4 +71,4 @@ post-install: ${STAGEDIR}${PREFIX}/lib/libsauth.so \ ${STAGEDIR}${PREFIX}/libexec/enma -.include +.include