From nobody Fri Sep 09 16:46:55 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 4MPMMz6nXlz4bqLS; Fri, 9 Sep 2022 16:46:55 +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 4MPMMz6GRfz46RG; Fri, 9 Sep 2022 16:46:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662742015; 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=sDqqQCbVIFLzTPKYDzy9w2DkYbMYP3KecC3VZSYNZ8Y=; b=Wm/tBuqbj+/qlJrga5tv5viKq/8Anr3sUa34YAomxeOYwT81rBVxPSIuAjKKpILAZtE1WH GZLpnNl8QYc3ZhAlDbmHSpclKNflyNljIrfMc58/YAQdVzyZhNQgfCilqoqw9fNd0UugH6 yRtconSyv52AITozRTawBgmCPaK3Z0CKftt4Qr7NzP0m2Qr/LBrKFMSHdChmw+D59EPo8u eLLdusvgp0klxMdcXlRwbHoCwfkniFN3IhyQ68Gmm3l9QUzxH3Pzo0bK/OjdxVpe2nCSoz OJiin3utVUZyrt57Ru8dpvf6g5mxymTMQ33Ixvebu5YadH4QaK0l59GslXCewQ== 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 4MPMMz5JP1z1GRv; Fri, 9 Sep 2022 16:46:55 +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 289Gktd6008285; Fri, 9 Sep 2022 16:46:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 289GktO8008284; Fri, 9 Sep 2022 16:46:55 GMT (envelope-from git) Date: Fri, 9 Sep 2022 16:46:55 GMT Message-Id: <202209091646.289GktO8008284@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: 0d7e17c121bb - main - Mk/Scripts: protect URL string by enclosing it quotes 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: se X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0d7e17c121bb1b746676f6dc04d3f2ab4ffb414c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662742015; 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=sDqqQCbVIFLzTPKYDzy9w2DkYbMYP3KecC3VZSYNZ8Y=; b=ug0+Y/b9wAZvmfY70eKzg79qNsHN8C2KFUsWxawo/4kLJoLvZF8Y5qCweqS1Dg5Jyosog+ jH3A6feUJM7LiQ4C1TC6Nmkd9McHx96CuNtlUpVeJiRucmDGnweGysLlcVQ3nFHpsPq0AL ksE1cGz77mRfRCHZnWgpE6oQU59AqPAHCmHJSCqNjvAPABuW6OarcSiYlysurHOLpCWNuD 7t9bF63WktO5IdhMhUwwwQk2yqKZyeWUY9aye8DRjkuXywhERTanxMvHgk8Ehh2MyGucT9 5RtPZs1I2zzyJY6wUrDSJNZ4fI1fBwlLLh2EkFDOsA6MLH9Z4InhFiyPk/RbQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662742015; a=rsa-sha256; cv=none; b=B8KfmNxSOKuSV7XC+hzGvTP3CcaFlNUrQv/tqXVOYo2Xow5lRpnFJSXWmUSVJ5yYTm0eQL 8y1WmAU91MjrVKURLB0sSlSapiWuik/QOPUjh1DJVqpXw/gUi1+gxn2IGatrH/+D1Lx/wQ 5HWMp+VVTinYzACxvW/Ps/8Iu3lLTbGVM63qgiW5J7nVasKyeprVA3VCoHRN0PYpZKgv+p TK/+j37w3I6CVAa7liUl5KsZSl0EJrPgF/AVRTz1bap5fSg9mRg40Mtf2Dwg3eoeqHZNe+ DQy+SJLfiJ31sHODn+1hdgJz8QXfM1fltFaeyUq+IF07x3jOOWF6/tZ+Sysl6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d7e17c121bb1b746676f6dc04d3f2ab4ffb414c commit 0d7e17c121bb1b746676f6dc04d3f2ab4ffb414c Author: Stefan Eßer AuthorDate: 2022-09-09 16:43:41 +0000 Commit: Stefan Eßer CommitDate: 2022-09-09 16:46:47 +0000 Mk/Scripts: protect URL string by enclosing it quotes The format of the manifest file does not allow commas in values. Since URLs may include commas, they need to be protected against interpretation of these commas as field separators. This update unbreaks the package generation for ports that have a comma in the URL. Approved by: portmgr (implcit) --- Mk/Scripts/create-manifest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mk/Scripts/create-manifest.sh b/Mk/Scripts/create-manifest.sh index 252fcead9103..118483cecddf 100644 --- a/Mk/Scripts/create-manifest.sh +++ b/Mk/Scripts/create-manifest.sh @@ -52,7 +52,7 @@ licenselogic: ${dp_LICENSE_COMB:-single} EOT # Then, the optional bits -[ -z "${dp_WWW}" ] || echo "www: ${dp_WWW}" +[ -z "${dp_WWW}" ] || echo "www: \"${dp_WWW}\"" [ -z "${dp_LICENSE}" ] || echo "licenses: [ ${dp_LICENSE} ]" [ -z "${dp_USERS}" ] || echo "users: [ ${dp_USERS} ]" [ -z "${dp_GROUPS}" ] || echo "groups: [ ${dp_GROUPS} ]"