guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/38: gnu: torsocks: Update to 2.3.0.


From: guix-commits
Subject: 03/38: gnu: torsocks: Update to 2.3.0.
Date: Fri, 8 Feb 2019 18:02:30 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 15c661ec8ed90107690980758be6a88fe4c47061
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Feb 8 13:00:37 2019 +0100

    gnu: torsocks: Update to 2.3.0.
    
    * gnu/packages/tor.scm (torsocks): Update to 2.3.0.
    [inputs]: Remove which.
    [arguments]: Update 'absolutize' substitutions.
---
 gnu/packages/tor.scm | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index 9b66437..ec86d7d 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -91,27 +91,24 @@ the application layer) you need to install 
@code{torsocks}.")
 (define-public torsocks
   (package
     (name "torsocks")
-    (version "2.2.0")
+    (version "2.3.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://people.torproject.org/~dgoulet/";
                                   "torsocks/torsocks-" version ".tar.xz"))
               (sha256
                (base32
-                "0byr9ga9w79qz4vp0m11sbmspad7fsal9wm67r4znzb7zb7cis19"))))
+                "08inrkap29gikb6sdmb58z43hw4abwrfw7ny40c4xzdkss0vkwdr"))))
     (build-system gnu-build-system)
     (inputs
-     `(("which" ,which)
-       ("libcap" ,libcap)))
+     `(("libcap" ,libcap)))
     (arguments
      `(#:phases (modify-phases %standard-phases
                   (add-after 'build 'absolutize
                     (lambda* (#:key inputs #:allow-other-keys)
                       (substitute* "src/bin/torsocks"
-                        (("getcap=`.*`")
-                         (string-append "getcap=" (which "getcap")))
-                        (("`which")
-                         (string-append "`" (which "which"))))
+                        (("getcap=.*")
+                         (string-append "getcap=" (which "getcap") "\n")))
                       #t)))))
     (home-page "https://www.torproject.org/";)
     (synopsis "Use socks-friendly applications with Tor")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]