Re: git: 76772c2b0759 - main - www/websh: Unbreak, undeprecate, unexpire. Add LICENSE.

From: Moin Rahman <bofh_at_freebsd.org>
Date: Sun, 24 Dec 2023 21:09:28 UTC

> On Dec 24, 2023, at 10:03 PM, Mikhail Teterin <mi@FreeBSD.org> wrote:
> 
> The branch main has been updated by mi:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=76772c2b07591ce62bef363cb8eef87f0dc22634
> 
> commit 76772c2b07591ce62bef363cb8eef87f0dc22634
> Author:     Mikhail Teterin <mi@FreeBSD.org>
> AuthorDate: 2023-12-24 21:00:44 +0000
> Commit:     Mikhail Teterin <mi@FreeBSD.org>
> CommitDate: 2023-12-24 21:00:44 +0000
> 
>    www/websh: Unbreak, undeprecate, unexpire. Add LICENSE.
> 
>    I cannot figure out, why the port gradually began to break in
>    the test-stage -- but only, when building on the packaging-cluster.
>    I cannot reproduce the test-failure anywhere else...
> 
>    The test-target remains there, but it is no longer done as post-build.
> ---
> www/websh/Makefile | 10 ++--------
> 1 file changed, 2 insertions(+), 8 deletions(-)
> 
> diff --git a/www/websh/Makefile b/www/websh/Makefile
> index de158e7d0b09..6f6cf0127ad3 100644
> --- a/www/websh/Makefile
> +++ b/www/websh/Makefile
> @@ -10,13 +10,7 @@ COMMENT= Embeds a TCL8 interpreter in the Apache server
> WWW= https://tcl.apache.org/websh/
> 
> LICENSE= APACHE20
> -LICENSE_FILE= ${WRKSRC}/LICENSE
> -
> -DEPRECATED= Project dismissed by Apache
> -EXPIRATION_DATE= 2024-01-24
> -BROKEN_FreeBSD_13= Fails at post-build test stage
> -BROKEN_FreeBSD_14= Fails at post-build test stage
> -BROKEN_FreeBSD_15= Fails at post-build test stage
> +LICENSE_FILE= ${WRKSRC:H:H}/LICENSE
> 
> USES= apache autoreconf gmake tcl:tea
> USE_LDCONFIG= yes
> @@ -62,7 +56,7 @@ post-configure:
> ${REINPLACE_CMD} -e 's,tclstub,tcl,' \
> -e 's,-DPACKAGE_[^=]*=."[^"]*",,g' ${WRKSRC}/Makefile
> 
> -post-build test:
> +test:
> ${SETENV} HOME=${WRKDIR} ${MAKE_CMD} -C ${WRKSRC} test | ${AWK} '\
> /Failed/ && $$NF {failed=1} \
> END {exit failed} \

I do not really see a point on removing the DEPRECATION whereas The Apache
Foundation has marked this project as dismissed.

Kind regards,
Moin