[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/13: gnu: tor: Record the file name of 'torsocks' in 'torify'.
From: |
guix-commits |
Subject: |
03/13: gnu: tor: Record the file name of 'torsocks' in 'torify'. |
Date: |
Mon, 30 May 2022 10:37:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7750f220bedb5f7a24e7429a4ccd794f9d07e4aa
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon May 30 12:23:00 2022 +0200
gnu: tor: Record the file name of 'torsocks' in 'torify'.
* gnu/packages/tor.scm (tor)[arguments]: Add 'adjust-torify' phase.
[inputs]: Add TORSOCKS.
---
gnu/packages/tor.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index 277acf4754..4c4ccbb003 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -73,6 +73,16 @@
"--enable-zstd")
#:phases
#~(modify-phases %standard-phases
+ (add-before 'build 'adjust-torify
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Record in 'torify' the absolute file name of 'torsocks'.
+ (let ((torsocks (search-input-file
+ inputs "/bin/torsocks")))
+ (substitute* "contrib/client-tools/torify"
+ (("pathfind torsocks")
+ "true")
+ (("exec torsocks")
+ (string-append "exec " torsocks))))))
(add-before 'check 'skip-practracker
;; This is a style linter. It doesn't get to throw fatal
errors.
(lambda _
@@ -98,6 +108,7 @@
(list libevent
libseccomp
openssl
+ torsocks
xz
zlib
`(,zstd "lib")))
- branch master updated (281bf72745 -> fed51b2614), guix-commits, 2022/05/30
- 02/13: tests: Adjust crate importer test to spdx changes., guix-commits, 2022/05/30
- 05/13: gnu: GCC: Add cross environment variables patch to GCC 12., guix-commits, 2022/05/30
- 06/13: gnu: rsync: Update to 3.2.4., guix-commits, 2022/05/30
- 04/13: gnu: emacs-w3m: Update to 20220508.2259., guix-commits, 2022/05/30
- 08/13: gnu: xpad: Update to 5.8.0., guix-commits, 2022/05/30
- 03/13: gnu: tor: Record the file name of 'torsocks' in 'torify'.,
guix-commits <=
- 10/13: gnu: rspamd: Update to 3.2, guix-commits, 2022/05/30
- 11/13: gnu: emacs-vterm: Update to 0.0.1-1.b447235., guix-commits, 2022/05/30
- 07/13: gnu: casync: Update to 99559cd1., guix-commits, 2022/05/30
- 09/13: gnu: pre-commit: Update to 2.19.0., guix-commits, 2022/05/30
- 13/13: gnu: calceph: Add 'release-monitoring-url' property., guix-commits, 2022/05/30
- 01/13: store: 'map/accumulate-builds' preserves caches., guix-commits, 2022/05/30
- 12/13: gnu: Add calceph., guix-commits, 2022/05/30