Dear porters,
Tor recently had a major bugfix release:
https://forum.torproject.org/t/alpha-and-stable-release-0-4-8-18-and-0-4-9-3-alpha/20578
With the attached patch, the port builds and runs fine (tested on amd64), and
all tests are passing (previously, one test was failing, but it was easily
fixed by replacing the shebang at the beginning of 2 scripts).
Best regards.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/tor/Makefile,v
diff -u -p -r1.171 Makefile
--- Makefile 3 Sep 2025 19:01:39 -0000 1.171
+++ Makefile 17 Sep 2025 20:00:23 -0000
@@ -1,6 +1,6 @@
COMMENT= anonymity service using onion routing
-DISTNAME= tor-0.4.8.17
+DISTNAME= tor-0.4.8.18
CATEGORIES= net
HOMEPAGE= https://www.torproject.org/
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/tor/distinfo,v
diff -u -p -r1.137 distinfo
--- distinfo 3 Sep 2025 19:01:39 -0000 1.137
+++ distinfo 17 Sep 2025 20:00:23 -0000
@@ -1,2 +1,2 @@
-SHA256 (tor-0.4.8.17.tar.gz) = ebRyXh1LiHueaP0JsNIkN3fVzjzUceU4WDvPb52M21Y=
-SIZE (tor-0.4.8.17.tar.gz) = 10073355
+SHA256 (tor-0.4.8.18.tar.gz) = SupsEJ1O/06iuvuQWn5rCpZdFP6FYhSwL82QRrTZOvg=
+SIZE (tor-0.4.8.18.tar.gz) = 10139317
Index: patches/patch-scripts_maint_checkShellScripts_sh
===================================================================
RCS file: patches/patch-scripts_maint_checkShellScripts_sh
diff -N patches/patch-scripts_maint_checkShellScripts_sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-scripts_maint_checkShellScripts_sh 17 Sep 2025 20:00:23 -0000
@@ -0,0 +1,8 @@
+--- scripts/maint/checkShellScripts.sh.orig Wed Sep 17 21:36:12 2025
++++ scripts/maint/checkShellScripts.sh Wed Sep 17 21:36:33 2025
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env bash
++#!/bin/sh
+ #
+ # Copyright (c) 2019 The Tor Project, Inc.
+ # See LICENSE for license information
Index: patches/patch-scripts_maint_run_check_subsystem_order_sh
===================================================================
RCS file: patches/patch-scripts_maint_run_check_subsystem_order_sh
diff -N patches/patch-scripts_maint_run_check_subsystem_order_sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-scripts_maint_run_check_subsystem_order_sh 17 Sep 2025 20:00:23 -0000
@@ -0,0 +1,8 @@
+--- scripts/maint/run_check_subsystem_order.sh.orig Wed Sep 17 21:37:06 2025
++++ scripts/maint/run_check_subsystem_order.sh Wed Sep 17 21:37:19 2025
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env bash
++#!/bin/sh
+
+ set -e
+