git: 1d5e973a0a4b - main - www/go-anubis: update to 1.28.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Oct 2026 19:41:45 UTC
The branch main has been updated by dch:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1d5e973a0a4b35365cff24d0208535eb43b2a8e2
commit 1d5e973a0a4b35365cff24d0208535eb43b2a8e2
Author: Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2026-10-24 19:34:26 +0000
Commit: Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2026-10-24 19:40:50 +0000
www/go-anubis: update to 1.28.1
- https://github.com/TecharoHQ/anubis/releases/tag/v1.28.1
- https://github.com/TecharoHQ/anubis/releases/tag/v1.28.0
- https://github.com/TecharoHQ/anubis/releases/tag/v1.28.0-pre1
- syslog facility improvements to the rc script (thanks Dan)
Sponsored by: SkunkWerks, GmbH
Obtained from: Dan Mahoney <freebsd@gushi.org>
---
www/go-anubis/Makefile | 9 ++++-----
www/go-anubis/distinfo | 6 +++---
www/go-anubis/files/anubis.in | 20 +++++++++++---------
www/go-anubis/pkg-plist | 3 +++
4 files changed, 21 insertions(+), 17 deletions(-)
diff --git a/www/go-anubis/Makefile b/www/go-anubis/Makefile
index d9990bdbf9c7..f55c41b59dc9 100644
--- a/www/go-anubis/Makefile
+++ b/www/go-anubis/Makefile
@@ -1,11 +1,10 @@
PORTNAME= anubis
DISTVERSIONPREFIX= v
-DISTVERSION= 1.27.0
-PORTREVISION= 3
+DISTVERSION= 1.28.1
CATEGORIES= www
-MASTER_SITES= https://github.com/techarohq/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
+MASTER_SITES= https://github.com/techarohq/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}/
PKGNAMEPREFIX= go-
-DISTNAME= anubis-src-vendor-npm-${DISTVERSION}
+DISTNAME= anubis-src-vendor-npm-${DISTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= dch@FreeBSD.org
COMMENT= Anti-scraper web proxy using browser-based proof-of-work challenges
@@ -17,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:no_targets,1.26+
USE_RC_SUBR= ${PORTNAME}
-MAKE_FLAGS= VERSION=${DISTVERSION} GOFLAGS="-buildvcs=false"
+MAKE_FLAGS= VERSION=${DISTVERSION}${DISTVERSIONSUFFIX} GOFLAGS="-buildvcs=false"
ALL_TARGET= prebaked-build
post-patch:
diff --git a/www/go-anubis/distinfo b/www/go-anubis/distinfo
index 1d85ec3c8b0e..287161537468 100644
--- a/www/go-anubis/distinfo
+++ b/www/go-anubis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1787347792
-SHA256 (anubis-src-vendor-npm-1.27.0.tar.gz) = ff44e2b5ae30417689a1a97e79f88a89e7fc70450444407d9568e7fe66258091
-SIZE (anubis-src-vendor-npm-1.27.0.tar.gz) = 16623622
+TIMESTAMP = 1792144616
+SHA256 (anubis-src-vendor-npm-1.28.1.tar.gz) = dd1b60e27d3f33bb91a1299ac07363e25faf2361f53bcf491c3ce0ecaa7faa64
+SIZE (anubis-src-vendor-npm-1.28.1.tar.gz) = 26493674
diff --git a/www/go-anubis/files/anubis.in b/www/go-anubis/files/anubis.in
index 9a20142a7bee..703559829b8b 100644
--- a/www/go-anubis/files/anubis.in
+++ b/www/go-anubis/files/anubis.in
@@ -5,14 +5,15 @@
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to enable anubis:
-# anubis_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable anubis.
-# anubis_user (user): Set to "www" by default.
-# User to run anubis as.
-# anubis_group (group): Set to "www" by default.
-# Group to run anubis as.
-# anubis_args (str): Set to "" by default.
-# Extra flags passed to anubis.
+# anubis_enable (bool): Set to "NO" by default.
+# Set it to "YES" to enable anubis.
+# anubis_user (user): Set to "www" by default.
+# User to run anubis as.
+# anubis_group (group): Set to "www" by default.
+# Group to run anubis as.
+# anubis_args (str): Set to "" by default.
+# Extra flags passed to anubis.
+# anubis_syslog_facility (str): Set to "daemon" by default. Sets syslog facility.
. /etc/rc.subr
@@ -25,12 +26,13 @@ load_rc_config $name
: ${anubis_user:="www"}
: ${anubis_group:="www"}
: ${anubis_args:=""}
+: ${anubis_syslog_facility:="daemon"}
pidfile="/var/run/${name}.pid"
daemon_pidfile="/var/run/${name}-daemon.pid"
procname="%%PREFIX%%/sbin/anubis"
command="/usr/sbin/daemon"
-command_args="-f -c -R 5 -r -T ${name} -p ${pidfile} -P ${daemon_pidfile} ${procname} ${anubis_args}"
+command_args="-f -c -R 5 -r -T ${name} -s ${anubis_syslog_facility} -p ${pidfile} -P ${daemon_pidfile} ${procname} ${anubis_args}"
start_precmd=anubis_startprecmd
stop_postcmd=anubis_stoppostcmd
diff --git a/www/go-anubis/pkg-plist b/www/go-anubis/pkg-plist
index 8afd75cbf0ae..79eded3aa1fe 100644
--- a/www/go-anubis/pkg-plist
+++ b/www/go-anubis/pkg-plist
@@ -10,6 +10,7 @@ sbin/robots2policy
%%DATADIR%%/bots/aggressive-brazilian-scrapers.yaml
%%DATADIR%%/bots/ai-catchall.yaml
%%DATADIR%%/bots/ai-robots-txt.yaml
+%%DATADIR%%/bots/cloudflare-kitesurf.yaml
%%DATADIR%%/bots/cloudflare-workers.yaml
%%DATADIR%%/bots/custom-async-http-client.yaml
%%DATADIR%%/bots/headless-browsers.yaml
@@ -35,6 +36,7 @@ sbin/robots2policy
%%DATADIR%%/common/acts-like-browser.yaml
%%DATADIR%%/common/allow-api-like.yaml
%%DATADIR%%/common/allow-private-addresses.yaml
+%%DATADIR%%/common/domain-fronting.yaml
%%DATADIR%%/common/json-api.yaml
%%DATADIR%%/common/keep-internet-working.yaml
%%DATADIR%%/common/rfc-violations.yaml
@@ -71,3 +73,4 @@ sbin/robots2policy
%%DATADIR%%/meta/messengers-preview.yaml
%%DATADIR%%/services/updown.yaml
%%DATADIR%%/services/uptime-robot.yaml
+