Re: git: 9f4ed5d260cb - main - www/go-anubis: update to 1.18.0

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Fri, 23 May 2025 15:26:20 UTC
Hello!

There are 2 PRs related to commit:
https://bugs.freebsd.org/286707
https://bugs.freebsd.org/287011

P.S. Default go is 1.24 - you can remove version from USES.

23.05.2025 18:19, Dave Cottlehuber пишет:
> The branch main has been updated by dch:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=9f4ed5d260cb08f6fa3bfb7a4bc80d9073d5dab4
>
> commit 9f4ed5d260cb08f6fa3bfb7a4bc80d9073d5dab4
> Author:     Dave Cottlehuber <dch@FreeBSD.org>
> AuthorDate: 2025-05-23 12:43:04 +0000
> Commit:     Dave Cottlehuber <dch@FreeBSD.org>
> CommitDate: 2025-05-23 15:19:13 +0000
>
>      www/go-anubis: update to 1.18.0
>      
>      Sponsored by:   SkunkWerks, GmbH
> ---
>   www/go-anubis/Makefile | 15 +++++++--------
>   www/go-anubis/distinfo |  8 +++-----
>   2 files changed, 10 insertions(+), 13 deletions(-)
>
> diff --git a/www/go-anubis/Makefile b/www/go-anubis/Makefile
> index f60ea9332dba..b52d83ad572a 100644
> --- a/www/go-anubis/Makefile
> +++ b/www/go-anubis/Makefile
> @@ -1,9 +1,10 @@
>   PORTNAME=	anubis
>   DISTVERSIONPREFIX=	v
> -DISTVERSION=	1.15.1
> -PORTREVISION=	1
> +DISTVERSION=	1.18.0
>   CATEGORIES=	www
> +MASTER_SITES=	https://github.com/techarohq/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
>   PKGNAMEPREFIX=	go-
> +DISTNAME=	anubis-src-vendor-npm-${DISTVERSION}
>   
>   MAINTAINER=	dch@FreeBSD.org
>   COMMENT=	Anti-scraper web proxy using browser-based proof-of-work challenges
> @@ -12,17 +13,15 @@ WWW=		https://anubis.techaro.lol/
>   LICENSE=	BSD3CLAUSE
>   LICENSE_FILE=	${WRKSRC}/LICENSE
>   
> -USES=		go:modules,1.24
> +USES=		go:1.24,no_targets
>   USE_RC_SUBR=	${PORTNAME}
>   
> -GO_MODULE=	github.com/techarohq/${PORTNAME}
> -GO_TARGET=	./cmd/${PORTNAME}
> -GO_BUILDFLAGS=	-ldflags="-X github.com/TecharoHQ/anubis.Version=v${DISTVERSION}"
> -
>   PLIST_FILES=	sbin/${PORTNAME}
>   
> +ALL_TARGET=	prebaked-build
> +
>   do-install:
> -	${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} \
> +	${INSTALL_PROGRAM} ${WRKSRC}/var/${PORTNAME} \
>   		${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
>   
>   .include <bsd.port.mk>
> diff --git a/www/go-anubis/distinfo b/www/go-anubis/distinfo
> index fa33409aa6c7..16fec946c1ea 100644
> --- a/www/go-anubis/distinfo
> +++ b/www/go-anubis/distinfo
> @@ -1,5 +1,3 @@
> -TIMESTAMP = 1743692515
> -SHA256 (go/www_go-anubis/anubis-v1.15.1/v1.15.1.mod) = c4060528e14abead94fa468734829fd9ce1c88b9bea06ae6fed02d94c804013b
> -SIZE (go/www_go-anubis/anubis-v1.15.1/v1.15.1.mod) = 2190
> -SHA256 (go/www_go-anubis/anubis-v1.15.1/v1.15.1.zip) = 7ca38367229c5cace57929a2fb7ff8ccbdde911e00bcf3ed7ef01b84a0902cd4
> -SIZE (go/www_go-anubis/anubis-v1.15.1/v1.15.1.zip) = 1207282
> +TIMESTAMP = 1747942700
> +SHA256 (anubis-src-vendor-npm-1.18.0.tar.gz) = d98aa90661d89f8b668eb0ce05c5f668558b56619728801e1aafc35568e04121
> +SIZE (anubis-src-vendor-npm-1.18.0.tar.gz) = 6230012


-- 
Best regards,
Vladimir Druzenko