[Pkg-privacy-commits] [Git][pkg-privacy-team/torsocks][master] 5 commits: fix lintian warnings.

Hefee (@hefee) hefee at debian.org
Wed Mar 5 19:42:39 GMT 2025



Hefee pushed to branch master at Privacy Maintainers / torsocks


Commits:
c38894cd by Sandro Knauß at 2025-03-05T20:17:06+01:00
fix lintian warnings.

- - - - -
03a9d8df by Sandro Knauß at 2025-03-05T20:21:27+01:00
split library into own package to prepare for multi-arch.

- - - - -
3da76e64 by Sandro Knauß at 2025-03-05T20:22:02+01:00
use d/not-installed instead of rm in rules.

- - - - -
3d2acd10 by Sandro Knauß at 2025-03-05T20:22:59+01:00
update copyright year for debian/*

- - - - -
8784d510 by Sandro Knauß at 2025-03-05T20:31:24+01:00
Release to unstable.

- - - - -


8 changed files:

- debian/changelog
- debian/control
- debian/copyright
- + debian/libtorsocks.install
- + debian/not-installed
- debian/rules
- + debian/source/lintian-overrides
- debian/torsocks.install


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,20 @@
+torsocks (2.4.0-3) unstable; urgency=medium
+
+  * Add myself to Uploaders.
+  * Update watch file to match new gitlab style.
+  * Update copyright year for debian/*
+  * Ship library in libtorsocks to get it ready for Multi-Arch #902792.
+  * d/control:
+    - Bump Standards-Version to 4.7.2 (No changes need).
+    - Use dh-sequence-bash-completion.
+  * d/rules:
+    - Use dpkg/architecture.mk to get all DEB_HOST_* vars.
+    - Use execute_after to not repeat myself.
+    - Use d/not-installed.
+  * Ignore lintian warnings about signatures, as we check git tag signatures.
+
+ -- Sandro Knauß <hefee at debian.org>  Wed, 05 Mar 2025 20:30:40 +0100
+
 torsocks (2.4.0-2) unstable; urgency=medium
   * Remove lunar at debian.org from Uploaders (at their request)
   * Add .pc (quilt) to .gitignore


=====================================
debian/control
=====================================
@@ -14,7 +14,8 @@ Homepage: https://gitweb.torproject.org/torsocks.git
 
 Package: torsocks
 Architecture: any
-Depends: ${shlibs:Depends},
+Depends: libtorsocks (= ${binary:Version}),
+         ${shlibs:Depends},
          ${misc:Depends}
 Recommends: tor
 Description: use SOCKS-friendly applications with Tor
@@ -25,3 +26,23 @@ Description: use SOCKS-friendly applications with Tor
  It is possible that a given application can leak user/system data at a level
  that neither Tor nor torsocks can control, a 100% guarantee of being safe to
  operate with Tor can not be given for applications.
+
+Package: libtorsocks
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Breaks: torsocks (<< 2.4.0-3)
+Replaces: torsocks (<< 2.4.0-3)
+Recommends: torsocks
+Description: use SOCKS-friendly applications with Tor (library)
+ Torsocks allows you to redirect network traffic of individual SOCKS-friendly
+ applications through the Tor network. It also ensures DNS queries are handled
+ correctly and explicitly blocks all UDP traffic from the application in
+ question.
+ It is possible that a given application can leak user/system data at a level
+ that neither Tor nor torsocks can control, a 100% guarantee of being safe to
+ operate with Tor can not be given for applications.
+ .
+ This is the internal library used in LD_PRELOAD for a working torsocks and
+ ships a multi-arch script.


=====================================
debian/copyright
=====================================
@@ -17,7 +17,7 @@ License: GPL-2+
 Files: debian/*
 Copyright: © 2009-2012 Patrick Matthäi <pmatthaei at debian.org>
            © 2012 intrigeri <intrigeri at debian.org>
-           © 2016-2024 Debian Privacy Tools Maintainers <pkg-privacy-maintainers at lists.alioth.debian.org>
+           © 2016-2025 Debian Privacy Tools Maintainers <pkg-privacy-maintainers at lists.alioth.debian.org>
 License: GPL-2+
 
 License: GPL-2+


=====================================
debian/libtorsocks.install
=====================================
@@ -0,0 +1,2 @@
+usr/bin/${DEB_HOST_GNU_TYPE}-torsocks
+usr/lib/${DEB_HOST_MULTIARCH}/torsocks/


=====================================
debian/not-installed
=====================================
@@ -0,0 +1,6 @@
+usr/share/doc/torsocks/DEBUG
+usr/share/doc/torsocks/DEBUG
+usr/share/doc/torsocks/socks-extensions.txt
+usr/share/doc/torsocks/SOCKS5
+usr/share/doc/torsocks/ChangeLog
+usr/lib/$(DEB_HOST_MULTIARCH)/torsocks/libtorsocks.la


=====================================
debian/rules
=====================================
@@ -8,17 +8,12 @@ include /usr/share/dpkg/architecture.mk
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-PACKAGE = torsocks
-DESTDIR = $(CURDIR)/debian/$(PACKAGE)
+DESTDIR = $(CURDIR)/debian/tmp
 
 %:
 	dh $@ --with autoreconf
 
 execute_after_dh_auto_install:
-	rm $(DESTDIR)/usr/share/doc/torsocks/DEBUG
-	rm $(DESTDIR)/usr/share/doc/torsocks/socks-extensions.txt
-	rm $(DESTDIR)/usr/share/doc/torsocks/SOCKS5
-	rm $(DESTDIR)/usr/share/doc/torsocks/ChangeLog
-	rm $(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/torsocks/libtorsocks.la
+	cp $(DESTDIR)/usr/bin/torsocks $(DESTDIR)/usr/bin/$(DEB_HOST_GNU_TYPE)-torsocks
 
 override_dh_makeshlibs:


=====================================
debian/source/lintian-overrides
=====================================
@@ -0,0 +1,3 @@
+# The verification is done from git tags and there are now signed tarballs.
+source: orig-tarball-missing-upstream-signature *
+source: debian-watch-could-verify-download debian/upstream/signing-key.asc *


=====================================
debian/torsocks.install
=====================================
@@ -1 +1,4 @@
 debian/completions/_torsocks usr/share/zsh/vendor-completions/
+etc/tor/torsocks.conf
+usr/bin/torsocks
+usr/share/man



View it on GitLab: https://salsa.debian.org/pkg-privacy-team/torsocks/-/compare/80c6b18eade09c7689096efb9bd4f23ed26a8c95...8784d5100046fcdd434a370a6bc65111b24e5fdb

-- 
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/torsocks/-/compare/80c6b18eade09c7689096efb9bd4f23ed26a8c95...8784d5100046fcdd434a370a6bc65111b24e5fdb
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/20250305/e0733c06/attachment-0001.htm>


More information about the Pkg-privacy-commits mailing list