Tuesday, January 30, 2024

Re: net/torsocks: update to 2.4.0

On Thu, Jan 18, 2024 at 10:57:58PM +0000, Klemens Nanni wrote:
> Upstream changed sites, release is from may 2022, that one fclose(3) is
> effectively merged, others remain.
>
> https://gitlab.torproject.org/tpo/core/torsocks/-/releases
>
> While here, bump AUTO*_VERSION, sync DESCR and capitalise COMMENT.
>
> No shared lib, WANTLIB or PLIST change.
> 100% amd64 tests pass, works for me.
> Feedback? OK?

Ping.

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/torsocks/Makefile,v
diff -u -p -r1.18 Makefile
--- Makefile 11 Nov 2023 11:51:22 -0000 1.18
+++ Makefile 18 Jan 2024 22:47:05 -0000
@@ -1,13 +1,14 @@
-COMMENT = socks proxy for use with tor
+COMMENT = SOCKS proxy for use with Tor

-DISTNAME = torsocks-2.3.0
-REVISION = 0
+V = 2.4.0
+DISTNAME = torsocks-v${V}
+PKGNAME = ${DISTNAME:S/v//}

SHARED_LIBS = torsocks 2.0 # 0.0

CATEGORIES = net

-HOMEPAGE = https://gitweb.torproject.org/torsocks.git/
+HOMEPAGE = https://gitlab.torproject.org/tpo/core/torsocks

MAINTAINER = Pascal Stumpf <pascal@stumpf.co>

@@ -16,10 +17,10 @@ PERMIT_PACKAGE = Yes

WANTLIB += pthread

-SITES= https://gitweb.torproject.org/torsocks.git/snapshot/
+SITES= https://gitlab.torproject.org/tpo/core/torsocks/-/archive/v${V}/

-AUTOCONF_VERSION= 2.69
-AUTOMAKE_VERSION= 1.15
+AUTOCONF_VERSION= 2.71
+AUTOMAKE_VERSION= 1.16

USE_LIBTOOL = gnu

@@ -31,6 +32,5 @@ CONFIGURE_STYLE = autoreconf autoheader

pre-configure:
${SUBST_CMD} ${WRKSRC}/src/bin/torsocks.in
-

.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/torsocks/distinfo,v
diff -u -p -r1.4 distinfo
--- distinfo 1 Jun 2022 12:35:11 -0000 1.4
+++ distinfo 18 Jan 2024 22:35:05 -0000
@@ -1,2 +1,2 @@
-SHA256 (torsocks-2.3.0.tar.gz) = gXwUPoqdIX9BoiOoUTnGyijhuZVWxUf820xy28Fwtsk=
-SIZE (torsocks-2.3.0.tar.gz) = 118033
+SHA256 (torsocks-v2.4.0.tar.gz) = wBtHHYntqfPI3LhaRI6AZmktBwf5/4sqx+ZlpgIpG4c=
+SIZE (torsocks-v2.4.0.tar.gz) = 118991
Index: patches/patch-src_common_compat_h
===================================================================
RCS file: /cvs/ports/net/torsocks/patches/patch-src_common_compat_h,v
diff -u -p -r1.3 patch-src_common_compat_h
--- patches/patch-src_common_compat_h 1 Jun 2022 12:35:11 -0000 1.3
+++ patches/patch-src_common_compat_h 18 Jan 2024 22:38:40 -0000
@@ -20,7 +20,7 @@ Index: src/common/compat.h

#if defined(__linux__)
#include <unistd.h>
-@@ -196,7 +197,8 @@ void tsocks_once(tsocks_once_t *o, void (*init_routine
+@@ -204,7 +205,8 @@ void tsocks_once(tsocks_once_t *o, void (*init_routine

No comments:

Post a Comment