diff --git a/www/go-anubis/Makefile b/www/go-anubis/Makefile index e442d5abb601..645b3c29109d 100644 --- a/www/go-anubis/Makefile +++ b/www/go-anubis/Makefile @@ -1,36 +1,34 @@ PORTNAME= anubis DISTVERSIONPREFIX= v -DISTVERSION= 1.23.1 -PORTREVISION= 5 +DISTVERSION= 1.25.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 WWW= https://anubis.techaro.lol/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:no_targets USE_RC_SUBR= ${PORTNAME} -ALL_TARGET= prebaked-build - MAKE_FLAGS= VERSION=${DISTVERSION} GOFLAGS="-buildvcs=false" +ALL_TARGET= prebaked-build post-patch: @${FIND} ${WRKSRC}/data \( -name "*.yaml" -or -name "*.json" \) \ | ${XARGS} ${REINPLACE_CMD} -i '' -e 's|(data)|${DATADIR}|g' do-install: ${INSTALL_PROGRAM} ${WRKSRC}/var/${PORTNAME} \ ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/var/robots2policy \ ${STAGEDIR}${PREFIX}/sbin/robots2policy ${MKDIR} ${STAGEDIR}${DATADIR} - cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} '-not -name *.go' + cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} '-not -name \*.go' .include diff --git a/www/go-anubis/distinfo b/www/go-anubis/distinfo index a9f3f7603223..f2e2a468a935 100644 --- a/www/go-anubis/distinfo +++ b/www/go-anubis/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1762698342 -SHA256 (anubis-src-vendor-npm-1.23.1.tar.gz) = 1871e3e8d078f394481be9a527b5648518da81e5984a00f149cbabbcfbd45fe3 -SIZE (anubis-src-vendor-npm-1.23.1.tar.gz) = 16422303 +TIMESTAMP = 1771767577 +SHA256 (anubis-src-vendor-npm-1.25.0.tar.gz) = 127b827a2701dc95e0469736b615c520ada09ab58bf4570a6f97a671802c174f +SIZE (anubis-src-vendor-npm-1.25.0.tar.gz) = 16608919 diff --git a/www/go-anubis/pkg-plist b/www/go-anubis/pkg-plist index ac14a5d440de..1ab05a471d59 100644 --- a/www/go-anubis/pkg-plist +++ b/www/go-anubis/pkg-plist @@ -1,57 +1,67 @@ sbin/anubis sbin/robots2policy %%DATADIR%%/apps/allow-api-routes.yaml %%DATADIR%%/apps/bookstack-saml.yaml %%DATADIR%%/apps/gitea-rss-feeds.yaml %%DATADIR%%/apps/qualys-ssl-labs.yml %%DATADIR%%/apps/searx-checker.yml %%DATADIR%%/botPolicies.yaml %%DATADIR%%/bots/_deny-pathological.yaml %%DATADIR%%/bots/aggressive-brazilian-scrapers.yaml %%DATADIR%%/bots/ai-catchall.yaml %%DATADIR%%/bots/ai-robots-txt.yaml %%DATADIR%%/bots/cloudflare-workers.yaml %%DATADIR%%/bots/custom-async-http-client.yaml %%DATADIR%%/bots/headless-browsers.yaml %%DATADIR%%/bots/irc-bots/archlinux-phrik.yaml %%DATADIR%%/bots/irc-bots/gentoo-chat.yaml %%DATADIR%%/bots/us-ai-scraper.yaml %%DATADIR%%/clients/ai.yaml %%DATADIR%%/clients/docker-client.yaml %%DATADIR%%/clients/git.yaml %%DATADIR%%/clients/go-get.yaml %%DATADIR%%/clients/mistral-mistralai-user.yaml %%DATADIR%%/clients/openai-chatgpt-user.yaml +%%DATADIR%%/clients/perplexity-user.yaml %%DATADIR%%/clients/small-internet-browsers/_permissive.yaml %%DATADIR%%/clients/small-internet-browsers/netsurf.yaml %%DATADIR%%/clients/small-internet-browsers/palemoon.yaml +%%DATADIR%%/clients/telegram-preview.yaml +%%DATADIR%%/clients/vk-preview.yaml %%DATADIR%%/clients/x-firefox-ai.yaml +%%DATADIR%%/common/acts-like-browser.yaml %%DATADIR%%/common/allow-api-like.yaml %%DATADIR%%/common/allow-private-addresses.yaml %%DATADIR%%/common/json-api.yaml %%DATADIR%%/common/keep-internet-working.yaml %%DATADIR%%/common/rfc-violations.yaml %%DATADIR%%/crawlers/_allow-good.yaml %%DATADIR%%/crawlers/ai-search.yaml %%DATADIR%%/crawlers/ai-training.yaml %%DATADIR%%/crawlers/alibaba-cloud.yaml %%DATADIR%%/crawlers/applebot.yaml %%DATADIR%%/crawlers/bingbot.yaml %%DATADIR%%/crawlers/commoncrawl.yaml %%DATADIR%%/crawlers/duckduckbot.yaml %%DATADIR%%/crawlers/googlebot.yaml %%DATADIR%%/crawlers/huawei-cloud.yaml %%DATADIR%%/crawlers/internet-archive.yaml %%DATADIR%%/crawlers/kagibot.yaml %%DATADIR%%/crawlers/marginalia.yaml %%DATADIR%%/crawlers/mojeekbot.yaml %%DATADIR%%/crawlers/openai-gptbot.yaml %%DATADIR%%/crawlers/openai-searchbot.yaml +%%DATADIR%%/crawlers/perplexitybot.yaml %%DATADIR%%/crawlers/qwantbot.yaml %%DATADIR%%/crawlers/tencent-cloud.yaml +%%DATADIR%%/crawlers/yandexbot.yaml +%%DATADIR%%/embed.go +%%DATADIR%%/embed_test.go %%DATADIR%%/meta/README.md %%DATADIR%%/meta/ai-block-aggressive.yaml %%DATADIR%%/meta/ai-block-moderate.yaml %%DATADIR%%/meta/ai-block-permissive.yaml %%DATADIR%%/meta/default-config.yaml +%%DATADIR%%/meta/messengers-preview.yaml +%%DATADIR%%/services/updown.yaml %%DATADIR%%/services/uptime-robot.yaml