gnu: torsocks: Update to 2.3.0.
* gnu/packages/tor.scm (torsocks): Update to 2.3.0. [inputs]: Remove which. [arguments]: Update 'absolutize' substitutions.
This commit is contained in:
parent
d77ade87fe
commit
15c661ec8e
|
@ -91,27 +91,24 @@ the application layer) you need to install @code{torsocks}.")
|
||||||
(define-public torsocks
|
(define-public torsocks
|
||||||
(package
|
(package
|
||||||
(name "torsocks")
|
(name "torsocks")
|
||||||
(version "2.2.0")
|
(version "2.3.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://people.torproject.org/~dgoulet/"
|
(uri (string-append "https://people.torproject.org/~dgoulet/"
|
||||||
"torsocks/torsocks-" version ".tar.xz"))
|
"torsocks/torsocks-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0byr9ga9w79qz4vp0m11sbmspad7fsal9wm67r4znzb7zb7cis19"))))
|
"08inrkap29gikb6sdmb58z43hw4abwrfw7ny40c4xzdkss0vkwdr"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("which" ,which)
|
`(("libcap" ,libcap)))
|
||||||
("libcap" ,libcap)))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(add-after 'build 'absolutize
|
(add-after 'build 'absolutize
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "src/bin/torsocks"
|
(substitute* "src/bin/torsocks"
|
||||||
(("getcap=`.*`")
|
(("getcap=.*")
|
||||||
(string-append "getcap=" (which "getcap")))
|
(string-append "getcap=" (which "getcap") "\n")))
|
||||||
(("`which")
|
|
||||||
(string-append "`" (which "which"))))
|
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "https://www.torproject.org/")
|
(home-page "https://www.torproject.org/")
|
||||||
(synopsis "Use socks-friendly applications with Tor")
|
(synopsis "Use socks-friendly applications with Tor")
|
||||||
|
|
Loading…
Reference in New Issue