aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-05-05 20:23:20 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-05-05 20:48:55 +0000
commitd5688719ddec9be2ad027436caef63f3a7e3bf58 (patch)
tree18d2895cebd2151e477c65e3af2c26d699d1e465
parent2d542e2d2965012582ccee8b2be233e49002acd8 (diff)
net/torsocks: update 2.3.0 → 2.4.0
-rw-r--r--net/torsocks/Makefile20
-rw-r--r--net/torsocks/distinfo6
2 files changed, 17 insertions, 9 deletions
diff --git a/net/torsocks/Makefile b/net/torsocks/Makefile
index 4e878fc2ead1..d176860f33bd 100644
--- a/net/torsocks/Makefile
+++ b/net/torsocks/Makefile
@@ -1,21 +1,26 @@
PORTNAME= torsocks
-DISTVERSION= 2.3.0
-PORTREVISION= 3
+DISTVERSION= 2.4.0
CATEGORIES= net security
-MASTER_SITES= https://people.torproject.org/~dgoulet/${PORTNAME}/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Easy way to make any app work through Tor
-WWW= https://github.com/dgoulet/torsocks
+WWW= https://gitlab.torproject.org/tpo/core/torsocks
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt
-USES= alias gmake libtool tar:xz
+USES= autoreconf alias gmake libtool tar:xz
+USE_LDCONFIG= ${PREFIX}/lib/torsocks
+
+USE_GITLAB= yes
+GL_SITE= https://gitlab.torproject.org/tpo
+GL_ACCOUNT= core
+GL_TAGNAME= afe9dea542a8b495dbbbbe5e4b98a33cde06729b
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
+
INSTALL_TARGET= install-strip
-USE_LDCONFIG= ${PREFIX}/lib/torsocks
SUB_FILES= pkg-message
@@ -35,4 +40,7 @@ post-install:
check: build
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check
+# known problems:
+# Fails when file fetch is attempted: Resolve destination buffer too small: https://gitlab.torproject.org/tpo/core/torsocks/-/issues/40020
+
.include <bsd.port.mk>
diff --git a/net/torsocks/distinfo b/net/torsocks/distinfo
index 74ecafe23045..4775a5474857 100644
--- a/net/torsocks/distinfo
+++ b/net/torsocks/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1542734899
-SHA256 (torsocks-2.3.0.tar.xz) = b9f1b981d6b3fd4e1820de1eee325f8a7038c84765d5a6cd9af12571d5cc3622
-SIZE (torsocks-2.3.0.tar.xz) = 313072
+TIMESTAMP = 1714938830
+SHA256 (core-torsocks-afe9dea542a8b495dbbbbe5e4b98a33cde06729b_GL0.tar.gz) = 38ac126f992cffcd4a94994e55e9a3fd1fc9d46e11a26d06d4680ef4c32f48f7
+SIZE (core-torsocks-afe9dea542a8b495dbbbbe5e4b98a33cde06729b_GL0.tar.gz) = 119001