[Pkg-privacy-commits] [Git][pkg-privacy-team/torsocks][master] 4 commits: Update to Standards-Version 4.7.3

Hefee (@hefee) hefee at debian.org
Tue Jan 27 15:15:32 GMT 2026



Hefee pushed to branch master at Privacy Maintainers / torsocks


Commits:
b5f09c04 by Sandro Knauß at 2026-01-27T15:54:04+01:00
Update to Standards-Version 4.7.3

- - - - -
18005a06 by Sandro Knauß at 2026-01-27T15:54:54+01:00
Trigger ldconfig trigger.

- - - - -
eadce8e9 by Sandro Knauß at 2026-01-27T16:14:42+01:00
install libtorsocks in normal libdir.

- - - - -
e7ca18e7 by Sandro Knauß at 2026-01-27T16:14:59+01:00
update changelog

- - - - -


7 changed files:

- debian/changelog
- debian/control
- debian/libtorsocks.install
- + debian/libtorsocks.lintian-overrides
- + debian/patches/0004-Install-libtors-in-normal-lib-directory.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+torsocks (2.5.0-2) UNRELEASED; urgency=medium
+
+  * Update to Standards-Version 4.7.3.
+  * Fix "library not in search path, leaks user IP to endpoint"
+    (Closes #1125775):
+    - enable the ldconfig trigger.
+    - install libtorsocks in normal libdir (not in subdir), as it needs
+      ldconfig stuff anyways. Still libtorsocks does not give any ABI
+      statility garantees.
+
+ -- Sandro Knauß <hefee at debian.org>  Tue, 27 Jan 2026 16:01:52 +0100
+
 torsocks (2.5.0-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/control
=====================================
@@ -3,11 +3,10 @@ Maintainer: Debian Privacy Tools Maintainers <pkg-privacy-maintainers at lists.alio
 Uploaders: Clément Hermann <nodens at debian.org>,
            Sandro Knauß <hefee at debian.org>,
 Section: net
-Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-sequence-bash-completion
 Rules-Requires-Root: no
-Standards-Version: 4.7.2
+Standards-Version: 4.7.3
 Vcs-Browser: https://salsa.debian.org/pkg-privacy-team/torsocks
 Vcs-Git: https://salsa.debian.org/pkg-privacy-team/torsocks.git
 Homepage: https://gitweb.torproject.org/torsocks.git


=====================================
debian/libtorsocks.install
=====================================
@@ -1,2 +1 @@
-etc/ld.so.conf.d/torsocks-${DEB_HOST_GNU_TYPE}.conf
-usr/lib/${DEB_HOST_MULTIARCH}/torsocks/
+usr/lib/${DEB_HOST_MULTIARCH}


=====================================
debian/libtorsocks.lintian-overrides
=====================================
@@ -0,0 +1,6 @@
+# libtorsocks is an internal libraray without any ABI stabilities
+# it needs to be in normal ldconfig search patch to be used in multi-arch
+# environment (bts#902792).
+link-to-shared-library-in-wrong-package usr/lib/.*/libtorsocks.so.*
+package-name-doesnt-match-sonames libtorsocks0
+no-symbols-control-file usr/lib/x86_64-linux-gnu/libtorsocks.so.*


=====================================
debian/patches/0004-Install-libtors-in-normal-lib-directory.patch
=====================================
@@ -0,0 +1,24 @@
+Description: Install libtorsocks in normal lib directory, as it needs ld
+  mechanismn anyways.
+Author: Sandro Knauß <hefee at debian.org>
+Origin: Debian
+Bug-Debian: https://bugs.debian.org/902792
+Forwarded: not-needed
+
+---
+ src/lib/Makefile.am | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
+index a81b5cf..2c29e4d 100644
+--- a/src/lib/Makefile.am
++++ b/src/lib/Makefile.am
+@@ -1,8 +1,6 @@
+ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(builddir)
+ #AM_CFLAGS = -fno-strict-aliasing
+ 
+-libdir = @libdir@/torsocks
+-
+ # Install invocation scripts
+ lib_LTLIBRARIES = libtorsocks.la
+ 


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 exclude_test_requiring_network.patch
 fix_groff_warning_on_torsocks.8
 0003-Make-torsocks-multi-arch-foreign-compatible.patch
+0004-Install-libtors-in-normal-lib-directory.patch


=====================================
debian/rules
=====================================
@@ -8,13 +8,5 @@ include /usr/share/dpkg/architecture.mk
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-DESTDIR = $(CURDIR)/debian/tmp
-
 %:
 	dh $@
-
-execute_after_dh_auto_install:
-	mkdir -p $(DESTDIR)/etc/ld.so.conf.d
-	echo "/usr/lib/$(DEB_HOST_GNU_TYPE)/torsocks" > $(DESTDIR)/etc/ld.so.conf.d/torsocks-$(DEB_HOST_GNU_TYPE).conf
-
-override_dh_makeshlibs:



View it on GitLab: https://salsa.debian.org/pkg-privacy-team/torsocks/-/compare/6dc263edf899c99224aad5002beba7fd19410cf2...e7ca18e7b20dd9c0ff81b022abd807d8e97a3108

-- 
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/torsocks/-/compare/6dc263edf899c99224aad5002beba7fd19410cf2...e7ca18e7b20dd9c0ff81b022abd807d8e97a3108
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-commits/attachments/20260127/6d640bfe/attachment-0001.htm>


More information about the Pkg-privacy-commits mailing list