summaryrefslogtreecommitdiff
path: root/opt/torsocks/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/torsocks/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/torsocks/MAKEPKG')
-rw-r--r--opt/torsocks/MAKEPKG37
1 files changed, 37 insertions, 0 deletions
diff --git a/opt/torsocks/MAKEPKG b/opt/torsocks/MAKEPKG
new file mode 100644
index 0000000..e5ba86a
--- /dev/null
+++ b/opt/torsocks/MAKEPKG
@@ -0,0 +1,37 @@
+#!/bin/mkpkg
+# description: Use most applications safely with Tor via LD_PRELOAD
+# url: https://gitlab.torproject.org/tpo/core/torsocks
+name=torsocks
+version=2.5.0
+release=1
+depends=()
+makedeps=()
+source=(https://gitlab.torproject.org/tpo/core/torsocks/-/archive/v$version/torsocks-v$version.tar.gz
+ implicit-function-decl.patch
+ torsocks-2.4.0-configure.patch)
+sha256sums=(
+ "0fc8e18f2dc2e12f1129054f6d5acc7ecc3f0345bb57ed653fc8c6674e6ecc7e"
+ "4b6a06736102dd6744996b885df5cbdae6279b78a4502fe8eba61c4feeae6986"
+ "69b049ede422d4cb7c6277b3303b926ac7c1fc37bd5f96ae993c0fc5e4d66e5c"
+)
+build() {
+ cd torsocks-v$version
+ patch -p1 < ../implicit-function-decl.patch
+ patch -p1 < ../torsocks-2.4.0-configure.patch
+ autoreconf -fi
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/share/doc
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh
+