Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2022 06:40:13 +0000
From:      Antoine Brodin <antoine@freebsd.org>
To:        =?UTF-8?B?U3RlZmFuIEXDn2Vy?= <se@freebsd.org>
Cc:        ports-committers <ports-committers@freebsd.org>, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: ddd0e820c8eb - main - Mk/bsd.ports.mk: Add suppport for WWW in Makefiles
Message-ID:  <CAALwa8=7X_pV5Ut7WOPsEtf8wnBxcWxi9b2Y6WMVK8L5cnKzzQ@mail.gmail.com>
In-Reply-To: <202209071941.287JfCRU062079@gitrepo.freebsd.org>
References:  <202209071941.287JfCRU062079@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 7, 2022 at 7:41 PM Stefan E=C3=9Fer <se@freebsd.org> 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 <se@FreeBSD.org>
> AuthorDate: 2022-09-07 19:32:54 +0000
> Commit:     Stefan E=C3=9Fer <se@FreeBSD.org>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8=7X_pV5Ut7WOPsEtf8wnBxcWxi9b2Y6WMVK8L5cnKzzQ>