From nobody Fri Sep 09 06:40:13 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 4MP5wC66s1z4bvDq; Fri, 9 Sep 2022 06:40:27 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MP5wB5hw7z4PYB; Fri, 9 Sep 2022 06:40:26 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by mail-lf1-f41.google.com with SMTP id f14so112084lfg.5; Thu, 08 Sep 2022 23:40:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=n7cHrADhJ1ayXLgAFsb3pcZqjwb70z9QvQYzN4iNyoI=; b=xBc/cIqHZq3z8RPBvr1OLN57uFSxrvN/v7xOJ3nEJUwzk5sse/QytmH+tOGpL/2XC5 k7WDXhUH4EqXH0g72kPlxuEapJgggFZsEDZXPnEHJNQFiG7/wKYiLzCbTMIOO77m50PN PhV0C6/a72hPHGeJHf18uRo5b9Ri0l/mEMkcZailvyfKyl+tvtKI0uv7fc5q6vsDjfgA /Q/XKauqFBiHnbNWfKXc6I0zg4vkewscf6/kaxj7Erwyj4eLqYpD04xJKOiUGDl0VBo1 Q5j3iMDiJgF73HJaxSn1eR1sIeiGqGxQsa2LXK84etJSkkzNzbWyp3WZFSRadYawACqb DQHg== X-Gm-Message-State: ACgBeo3IOy5oftWVZeqYdzLzZbayFQLcJsEsr01SDVpaOEm+i/litQDn Ck1UiR2e+kLC6cYtkLKEfM8rX+gyFHqD55kzmBYYLQsdB3Y= X-Google-Smtp-Source: AA6agR6cmfI49kcswL4GyQzNWPUVGuLTji+nuaZxw7Pj19HOfKg9pWBBygoeAiV4DS0K6nJM8dK2Xd/1T8zaQmpDuwk= X-Received: by 2002:a05:6512:b97:b0:497:5c43:2d61 with SMTP id b23-20020a0565120b9700b004975c432d61mr3526910lfv.251.1662705623519; Thu, 08 Sep 2022 23:40:23 -0700 (PDT) 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 References: <202209071941.287JfCRU062079@gitrepo.freebsd.org> In-Reply-To: <202209071941.287JfCRU062079@gitrepo.freebsd.org> From: Antoine Brodin Date: Fri, 9 Sep 2022 06:40:13 +0000 Message-ID: Subject: Re: git: ddd0e820c8eb - main - Mk/bsd.ports.mk: Add suppport for WWW in Makefiles To: =?UTF-8?B?U3RlZmFuIEXDn2Vy?= Cc: ports-committers , dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4MP5wB5hw7z4PYB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of antoine.brodin.freebsd@gmail.com designates 209.85.167.41 as permitted sender) smtp.mailfrom=antoine.brodin.freebsd@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FORGED_SENDER(0.30)[antoine@freebsd.org,antoinebrodinfreebsd@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[dev-commits-ports-all@freebsd.org,dev-commits-ports-main@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.41:from]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.41:from]; TAGGED_FROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[antoine@freebsd.org,antoinebrodinfreebsd@gmail.com]; RCPT_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On Wed, Sep 7, 2022 at 7:41 PM Stefan E=C3=9Fer wrote: > > The branch main has been updated by se: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dddd0e820c8eb73acef94c724= 34c382982d0fa329 > > commit ddd0e820c8eb73acef94c72434c382982d0fa329 > Author: Stefan E=C3=9Fer > AuthorDate: 2022-09-07 19:32:54 +0000 > Commit: Stefan E=C3=9Fer > CommitDate: 2022-09-07 19:32:54 +0000 > > Mk/bsd.ports.mk: Add suppport for WWW in Makefiles > > Expect the project website or other relevant URL of a port to be > specified in a WWW macro in its Makefile. > > This information used to be available in WWW: lines at the end of > each port's pkg-descr file. By moving it into the Makefile, this > value is easier to access, verify, and maintain. > > A WWW: line is added to the "desc" element of package manifests > based on the WWW macro value by the create-manifest.sh script. > This restores the previous contents of this line in the manifest > (as e.g. expected by the Freshports website). > > The ports-mgmt/portlint port has been updated in commit 9800743f0 > (version 2.19.13) to support the planned introduction of WWW in > port Makefiles. > > Approved by: portmgr (tcberner) > Differential Revision: https://reviews.freebsd.org/D36434 > --- > Mk/Scripts/create-manifest.sh | 4 ++++ > Mk/bsd.port.mk | 43 +++++++++++++++----------------------= ------ > 2 files changed, 19 insertions(+), 28 deletions(-) ... > @@ -4349,6 +4351,7 @@ _FETCH_DEPENDS=3D${FETCH_DEPENDS:C/^[^ :]+:([^ :@]+= )(@[^ :]+)?(:[^ :]+)?/\1/:O:u:C > _LIB_DEPENDS=3D${LIB_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/= :O:u:C,(^[^/]),${PORTSDIR}/\1,} > _BUILD_DEPENDS=3D${BUILD_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?= /\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS} > _RUN_DEPENDS=3D${RUN_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/= :O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS} > +_WWW=3D${WWW:U${MASTER_SITES:[1]}} > . if exists(${DESCR}) > _DESCR=3D${DESCR} > . else Hi, Another regression, now some ports fail because the manifest is not valid. For instance: http://gohan03.nyi.freebsd.org/data/main-amd64-default-basel= ine/p3af3d0f1a1c9_s1494f4776a/logs/errors/linux_base-c7-7.9.2009.log Antoine