[Pkg-privacy-commits] [Git][pkg-privacy-team/torsocks][master] 2 commits: Improve waring descrition for missing archs.
Hefee (@hefee)
hefee at debian.org
Wed Apr 9 18:34:49 BST 2025
Hefee pushed to branch master at Privacy Maintainers / torsocks
Commits:
f5fca3ec by Sandro Knauß at 2025-04-09T19:25:08+02:00
Improve waring descrition for missing archs.
- - - - -
6dc263ed by Sandro Knauß at 2025-04-09T19:32:10+02:00
Release to unstable.
- - - - -
2 changed files:
- debian/changelog
- debian/patches/0003-Make-torsocks-multi-arch-foreign-compatible.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,16 +1,20 @@
-torsocks (2.5.0-1) UNRELEASED; urgency=medium
+torsocks (2.5.0-1) unstable; urgency=medium
* New upstream release.
+ * Update copyright file.
* Remove 2 obsolete maintscript entries in 1 files.
* Drop unnecessary dependency on dh-autoreconf.
* Move upstream name and contact to copyright file.
* Update link from metadata file to dep12.
+ * Make dependency of torsocks -> libtorsocks arch:all compatible.
* Add patch to make torsocks M-A:foreign and Arch:all (Closes: #902792).
* Use Pre-Depends for libtorsocks.
* Do not ship <tripplet>-torsocks scripts anymore, instead we use ld.so
feature to load the correct library.
+ * Remove upstream applied patch.
+ * Warn user if libtorsocks is not installed for all archs.
- -- Sandro Knauß <hefee at debian.org> Thu, 27 Mar 2025 21:58:37 +0100
+ -- Sandro Knauß <hefee at debian.org> Wed, 09 Apr 2025 19:27:01 +0200
torsocks (2.4.0-3) unstable; urgency=medium
=====================================
debian/patches/0003-Make-torsocks-multi-arch-foreign-compatible.patch
=====================================
@@ -5,11 +5,11 @@ Bug-Debian: https://bugs.debian.org/902792
Forwarded: not-needed
---
- src/bin/torsocks.in | 24 +++++++++++++++++++-----
- 1 file changed, 19 insertions(+), 5 deletions(-)
+ src/bin/torsocks.in | 28 +++++++++++++++++++++++-----
+ 1 file changed, 23 insertions(+), 5 deletions(-)
diff --git a/src/bin/torsocks.in b/src/bin/torsocks.in
-index c61e48d..3fec451 100644
+index c61e48d..18eabf0 100644
--- a/src/bin/torsocks.in
+++ b/src/bin/torsocks.in
@@ -60,13 +60,15 @@
@@ -30,7 +30,7 @@ index c61e48d..3fec451 100644
# https://github.com/mkropat/sh-realpath
#
-@@ -310,11 +312,23 @@ if [ $# -eq 0 ] ; then
+@@ -310,11 +312,27 @@ if [ $# -eq 0 ] ; then
exit 1
fi
@@ -49,7 +49,11 @@ index c61e48d..3fec451 100644
+installed_archs=$(/usr/bin/dpkg-query --show --showformat='${Architecture}\t${db:Status-Status}\n' libtorsocks | grep installed | sed 's/\tinstalled//'| sort | sed -z 's/\n/ /g')
+
+if [ "$enabled_archs" != "$installed_archs" ]; then
-+ echo "WARN: you enabled following architetures: ${enabled_archs% } and you have installed libtorsocks only for those archs: ${installed_archs% }. If you run torsocks for a missing architecture, torsocks will fail." >&2
++ echo "WARN: you enabled following architectures: ${enabled_archs% } but you \
++have installed libtorsocks only for those archs: ${installed_archs% }. The \
++best what you can do is to install libtorsocks for all enabled architectures. \
++If you run torsocks with an executable from a missing architecture, the \
++connections went directly into the internet and are NOT redirected via Tor." >&2
fi
+# -- Debian specific part ended
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/torsocks/-/compare/3e8baa7cc68a3dbe60da1829e922acb4c718e360...6dc263edf899c99224aad5002beba7fd19410cf2
--
View it on GitLab: https://salsa.debian.org/pkg-privacy-team/torsocks/-/compare/3e8baa7cc68a3dbe60da1829e922acb4c718e360...6dc263edf899c99224aad5002beba7fd19410cf2
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/20250409/be81615e/attachment-0001.htm>
More information about the Pkg-privacy-commits
mailing list