From nobody Sat Feb 12 14:28:11 2022 X-Original-To: dev-commits-ports-main@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 78CE4194AA44; Sat, 12 Feb 2022 14:28:11 +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 4JwtBM2bD8z4RsT; Sat, 12 Feb 2022 14:28:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644676091; 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=+gf0LbrBtvtfmv+O2n9uXc6Kc039uN0VCqADMdO3WyY=; b=T4Hn7BzvxkXLjcjn4wts3rDgyQuMmwJHSpH0hWm5SyBrWX/qMR9RyRvY4BV532NHUflUIS nxRPiG7JenzFNfbM/puaSrtHwzFsJzM4Zjsc1hVBUYK3/P/FrHn9JuNXxWaLXAvfQxVNSL bA+JnNRXkFdUP1AAAOyjmJFeoISuolhNDhirAZC4Mdat4FHCkb30biPuwRczVfVaILQIqb Wr6hdRbwH097cz/3YXr19X2kknZXnEV96gZNo29tHTiSN4Teu5Txjh5bYF4AaKo1qkj7ua brg6mM7wMSUCBt2qR7f/XtOgvWIfu2S8fvq36ShLdIr2wI9DxKkz257d6CdHwg== 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 3807013C6; Sat, 12 Feb 2022 14:28:11 +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 21CESB1C054460; Sat, 12 Feb 2022 14:28:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21CESBPp054459; Sat, 12 Feb 2022 14:28:11 GMT (envelope-from git) Date: Sat, 12 Feb 2022 14:28:11 GMT Message-Id: <202202121428.21CESBPp054459@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guido Falsi Subject: git: 9267d1fb2f64 - main - net/asterisk18: Fix build when textproc/xmlstarlet is installed List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: madpilot X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9267d1fb2f64b42c306d51453d71cdf4ca5ecf6b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644676091; 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=+gf0LbrBtvtfmv+O2n9uXc6Kc039uN0VCqADMdO3WyY=; b=Uq/q46iygNM1v096dP3BskUCy7k+EBaUMyPGYSihbbTr1glNi+9qFNm1UE8YMjhapsSzJW RLjS5wETj20Ag7jL3Jsgbd4clKBk/6bBjqR0of+OJuVYt5jj3wX7jjnvy2ZyqEgcXPLfwT V+dXQjyDH6RJe24iDTe5KdNqNAGTw+mBoN4NnZfgtFRF4jPZueJuIISKwl7v5d6fbSkCzV lpjoAtekgKKa/DDkGq/YxP4IgYVx+5o06Pz2yvOO/Z/RAYa4qdCzGE111e7BERkixkXr74 USqxHd1hBrrQYXCMMxDxKJLEgLQauGEkT/H5f8zH7aOSK9BRp7tkLjjGleh9wQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644676091; a=rsa-sha256; cv=none; b=iyYtEqrALT3sM0GpukIxnmBCPUKI6VG1l4GduHGw8bZKYRoLxFZPHGjFPypRxoZIapClLf QvWk6X4MORMuEEr3Y5h6QYknCM3MKwy7EopNj5VfcLPV5yona/etZfgiGyySpuEzaYJDde tlx7yBAIPTwR9UwY5tfrAeAXYqi4l5mqwbZybZPceQln/CGxQP6h9y1oQfCXNHgtC34pz4 CGkKNnvKj1q/T7XboPN3K815uZOw1eJyJ7ZfMQ8CSnhP4Et0nJrRj9QpEQQ1luQiAxEy7u et7OZngV89hMm2MYig093/wtW6IlEA2L9aUHgUtcDCkzHGbMWoRAKEU1P1eo5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=9267d1fb2f64b42c306d51453d71cdf4ca5ecf6b commit 9267d1fb2f64b42c306d51453d71cdf4ca5ecf6b Author: Guido Falsi AuthorDate: 2022-02-12 14:26:59 +0000 Commit: Guido Falsi CommitDate: 2022-02-12 14:28:05 +0000 net/asterisk18: Fix build when textproc/xmlstarlet is installed Asterisk build system checks for presence of xmlstarlet as "xml" binary on the system. If found it triggers part of the build system trying to download some external files during the install phase which even uses a command line tool not available on FreeBSD. Such code is not necessary for the port, as all supported modules are downloaded using ports tree provided functionality. Furthermore downloading files from the internet is forbidden during the install phase. This patch forces the variable used by the Makefiles to identify xmlstarlet presence to be empty. so the code path described above is not triggered. PR: 261884 --- net/asterisk18/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/net/asterisk18/Makefile b/net/asterisk18/Makefile index 6994a0ba002a..87531fafcc95 100644 --- a/net/asterisk18/Makefile +++ b/net/asterisk18/Makefile @@ -240,6 +240,7 @@ post-extract-OPUS-on: post-patch: @${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/samples/musiconhold.conf.sample + @${REINPLACE_CMD} -e 's/@XMLSTARLET@//' ${WRKSRC}/makeopts.in .if exists(${FILESDIR}/.asterisk.makeopts) ${CP} ${FILESDIR}/.asterisk.makeopts ${WRKSRC}/menuselect.makeopts .endif