gnu: proxychains-ng: Update to 4.13.

* gnu/packages/networking.scm (proxychains-ng): Update to 4.13.
[source]: Update download URI.  Goodbye, sweet hash.
[arguments]: Add CC=gcc to the environment, not only to #:make-flags.
This commit is contained in:
Tobias Geerinckx-Rice 2018-08-11 03:02:20 +02:00
parent 93d5061991
commit a0b5c99861
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 13 additions and 10 deletions

View File

@ -1072,19 +1072,18 @@ libproxy only have to specify which proxy to use.")
(define-public proxychains-ng (define-public proxychains-ng
(package (package
(name "proxychains-ng") (name "proxychains-ng")
(version "4.12") (version "4.13")
(source (origin (source
(origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/rofl0r/" name "/releases/" (uri (string-append "http://ftp.barfooze.de/pub/sabotage/tarballs/"
"download/v" version "/" name "-" version name "-" version ".tar.xz"))
".tar.xz"))
(sha256 (sha256
(base32 (base32
"0kiss3ih6cwayzvqi5cx4kw4vh7r2kfxlbgk56v1f1066ncm8aj8")))) "0418fv8hgf43rzrxxlybg49jz2h6w8inndhb6v1184k4cwzjnl3p"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; there are no tests `(#:tests? #f ; there are no tests
#:make-flags '("CC=gcc")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-configure-script (add-after 'unpack 'fix-configure-script
@ -1095,6 +1094,10 @@ libproxy only have to specify which proxy to use.")
(("\\*\\) break ;;" line) (("\\*\\) break ;;" line)
(string-append "[A-Z]*) shift ;;\n" (string-append "[A-Z]*) shift ;;\n"
line))) line)))
#t))
(add-before 'configure 'set-up-environment
(lambda _
(setenv "CC" "gcc")
#t))))) #t)))))
(synopsis "Redirect any TCP connection through a proxy or proxy chain") (synopsis "Redirect any TCP connection through a proxy or proxy chain")
(description "Proxychains-ng is a preloader which hooks calls to sockets (description "Proxychains-ng is a preloader which hooks calls to sockets