From nobody Sat Feb 12 14:28:10 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 65057194AB3B; Sat, 12 Feb 2022 14:28:10 +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 4JwtBL1fx6z4S1N; Sat, 12 Feb 2022 14:28:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644676090; 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=LP/eFjGfF9CC4ETkAZdL1Pcbjbkpk3GvbgLk6Vtp+zQ=; b=wE3tTVvOGAfsXOc4xWsua5cMpGFZDZuFrHDuvcTICPWTBk224aytrDaHsCyMMt1Ycm+WGg BCH85zPFFGMMMzV0pCVdCl1EhCd6l6cnUtBTyNsRCVA4a9izbg5PR9ANU7oQ9lu5EJ7lbU vMM+BxkLsYE+9C1dW9cNEkQLq0RB/tTRYukSe7Gf3GkmMPbcR2f3hWxSHkC1q92VZLqf1K MEabAeKoqarQFE24FDLQV8qOoDcX0j/IG+pMYgLz6kWif2KSkdW7zWmsyKP87imqwB3i1d W4b/U1coKRm9NhWUHJ0tGxZLZ93X1zy+m4yBGE8AgRsY1wcmG0jdp22oqu5RwQ== 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 19B76FDB; Sat, 12 Feb 2022 14:28:10 +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 21CESAqQ054432; Sat, 12 Feb 2022 14:28:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21CESA6H054431; Sat, 12 Feb 2022 14:28:10 GMT (envelope-from git) Date: Sat, 12 Feb 2022 14:28:10 GMT Message-Id: <202202121428.21CESA6H054431@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: f0f667985b8d - main - net/asterisk16: 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: f0f667985b8db89511e7caf5a37fa151f10e1cde Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644676090; 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=LP/eFjGfF9CC4ETkAZdL1Pcbjbkpk3GvbgLk6Vtp+zQ=; b=nvx9Oez8nFkbZ1vhlnA4BWnbfcBuZZaLJSX5xd0eUv1NiAOhmDN7KHusinJNHr7+cOQa/N kvvmeYlJfSwp9YXBSjqEnqhSwJkxXA4gdv4d/jlZxnNZXqFb0Ds9KY1zqH9qAkgL39ZGJL S6B9ZWu0ioLSzV8MuU1AdwApkdM8rp/FXsHGXEGxcZrChgzIb4S4raZzH8OWhZtdWWj5X5 6Mvsw9cYfei3zcAfSOiIF8xdgMflDF833jkjDhKZjd14GfbMdyxwYwi/fbgcyOkcB6xNmt PG1EaD+0asszEHnh5phoi2iovuhJ+AUf63LPLGnc7F+9lV6XBEtRKnRLON/frg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644676090; a=rsa-sha256; cv=none; b=BHK9vk1rRCbSrNdVBTIKzDVTQqyX2svG+RYQ2ScLw7ticzU3fmYuHkZpqUa8dSwHtt5g5Y RiBY3cSgVtV2XpEZj5BAb4bc3OCgV8NBe9vK2qGWRdImwaRGnOVK5eW4pcUZeM/5bb/oxc gRt0acka/lvyi9eKlTP5IjBUjQNaOyzrGuAMNB6nDQ+0d5NEKvqDYFDyHuP8NFnApNkp/O qQteRtbzhq4nDzWzYKhSXDasTVALVpdA3opLGJxtAfz1xP5AW0K3tLTlgEh/0eBg7gFdDQ h4disI/PcWTDR0D5fcTo+kv2Pi4ViMfT/k/bXb6W9ndcCDRP+qOT/U/Su9P1kg== 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=f0f667985b8db89511e7caf5a37fa151f10e1cde commit f0f667985b8db89511e7caf5a37fa151f10e1cde Author: Guido Falsi AuthorDate: 2022-02-12 14:25:52 +0000 Commit: Guido Falsi CommitDate: 2022-02-12 14:28:05 +0000 net/asterisk16: 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/asterisk16/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile index 13cfd4632e91..423862bbf71c 100644 --- a/net/asterisk16/Makefile +++ b/net/asterisk16/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