Page MenuHomeFreeBSD

D59287.id.diff
No OneTemporary

D59287.id.diff

Index: www/go-anubis/Makefile
===================================================================
--- www/go-anubis/Makefile
+++ www/go-anubis/Makefile
@@ -1,10 +1,11 @@
PORTNAME= anubis
DISTVERSIONPREFIX= v
-DISTVERSION= 1.27.0
+DISTVERSION= 1.28.0
+DISTVERSIONSUFFIX= -pre1
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
@@ -16,7 +17,7 @@
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:
Index: www/go-anubis/distinfo
===================================================================
--- www/go-anubis/distinfo
+++ 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 = 1788172738
+SHA256 (anubis-src-vendor-npm-1.28.0-pre1.tar.gz) = 5ac57531a800347b06f5983b607693bb6a9eca72ba702f2fb86bab19bfcdfa2a
+SIZE (anubis-src-vendor-npm-1.28.0-pre1.tar.gz) = 23615462
Index: www/go-anubis/files/anubis.in
===================================================================
--- www/go-anubis/files/anubis.in
+++ 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 @@
: ${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
Index: www/go-anubis/pkg-plist
===================================================================
--- www/go-anubis/pkg-plist
+++ www/go-anubis/pkg-plist
@@ -10,6 +10,7 @@
%%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 @@
%%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 @@
%%DATADIR%%/meta/messengers-preview.yaml
%%DATADIR%%/services/updown.yaml
%%DATADIR%%/services/uptime-robot.yaml
+

File Metadata

Mime Type
text/plain
Expires
Fri, Sep 4, 3:28 AM (6 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38183061
Default Alt Text
D59287.id.diff (4 KB)

Event Timeline