git: bb212b0519bf - main - net/spoofdpi: Update 0.10.11 → 0.10.12

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 27 Aug 2024 14:34:18 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bb212b0519bf41054555a2b5e573cbf791de057c

commit bb212b0519bf41054555a2b5e573cbf791de057c
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2024-08-27 14:32:27 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-27 14:32:27 +0000

    net/spoofdpi: Update 0.10.11 → 0.10.12
    
    Port changes:
     * Remove GO_TARGET output binary because program is renamed as spoofdpi now.
     * Add pkg-message to let users know there is a rc.d script for spoofdpi.
    
    Changelog:
     * Renamed the name of binary to spoofdpi
    https://github.com/xvzc/SpoofDPI/releases/tag/0.10.12
    
    PR:     281088
---
 net/spoofdpi/Makefile    |  4 ++--
 net/spoofdpi/distinfo    |  6 +++---
 net/spoofdpi/pkg-message | 13 +++++++++++++
 3 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/net/spoofdpi/Makefile b/net/spoofdpi/Makefile
index 86aa9c11ea6b..dda0e839275f 100644
--- a/net/spoofdpi/Makefile
+++ b/net/spoofdpi/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	spoofdpi
-DISTVERSION=	0.10.11
+DISTVERSION=	0.10.12
 CATEGORIES=	net
 
 MAINTAINER=	nxjoseph@protonmail.com
@@ -36,7 +36,7 @@ GH_TUPLE=	atomicgo:cursor:v0.2.0:atomicgo_cursor/vendor/atomicgo.dev/cursor \
 		xo:terminfo:abceb7e1c41e:xo_terminfo/vendor/github.com/xo/terminfo
 
 USE_RC_SUBR=	${PORTNAME}
-GO_TARGET=	./cmd/spoof-dpi:${PORTNAME}
+GO_TARGET=	./cmd/${PORTNAME}
 GO_BUILDFLAGS=	-ldflags="-s -w"
 SUB_LIST=	USER=${USERS}
 USERS=		${PORTNAME}
diff --git a/net/spoofdpi/distinfo b/net/spoofdpi/distinfo
index 72c5551098a3..f354437209bd 100644
--- a/net/spoofdpi/distinfo
+++ b/net/spoofdpi/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1724574878
-SHA256 (xvzc-SpoofDPI-0.10.11_GH0.tar.gz) = 4d907445a0c481c9b408907cb42757e90ab42c63cfcc146c96ec6eadea97ecba
-SIZE (xvzc-SpoofDPI-0.10.11_GH0.tar.gz) = 32711
+TIMESTAMP = 1724752421
+SHA256 (xvzc-SpoofDPI-0.10.12_GH0.tar.gz) = 1ef78cc8afaf59216619cfd17b01dcfc554524fe2ee5a8365f239ba3eef63b70
+SIZE (xvzc-SpoofDPI-0.10.12_GH0.tar.gz) = 32912
 SHA256 (atomicgo-cursor-v0.2.0_GH0.tar.gz) = 61760aaf6b2a0b51adcea56913104aa070b844426063a21dac60551f239e5044
 SIZE (atomicgo-cursor-v0.2.0_GH0.tar.gz) = 11330
 SHA256 (atomicgo-keyboard-v0.2.9_GH0.tar.gz) = 6855b6e6e6837de6e9cfb98e0f49f6224eb599c688bdd4ce3a0c96b2f409bd07
diff --git a/net/spoofdpi/pkg-message b/net/spoofdpi/pkg-message
new file mode 100644
index 000000000000..6a0480f96883
--- /dev/null
+++ b/net/spoofdpi/pkg-message
@@ -0,0 +1,13 @@
+[
+{ type: install
+  message: <<EOM
+You can use spoofdpi rc.d service and specify arguments
+for spoofdpi program in rc.conf file like this below:
+	spoofdpi_args="-port 8181 -dns-addr 1.1.1.1 -enable-doh"
+To enable/start spoofdpi service:
+	# service spoofdpi enable
+	# service spoofdpi start
+Now, you can configure your web browser to use this proxy.
+EOM
+}
+]