summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-08-11 03:02:20 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-08-11 03:08:46 +0200
commita0b5c99861d321e6b30e231d49c0d3718942ebd7 (patch)
tree917d269e73130165b3881b332e3d31b964c4c0d7
parent93d5061991b868c1ec85e70dcbbed9eaa4e2579c (diff)
downloadguix-a0b5c99861d321e6b30e231d49c0d3718942ebd7.tar.gz
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.
-rw-r--r--gnu/packages/networking.scm23
1 files changed, 13 insertions, 10 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 91cc150207..15e0181d65 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1072,19 +1072,18 @@ libproxy only have to specify which proxy to use.")
 (define-public proxychains-ng
   (package
     (name "proxychains-ng")
-    (version "4.12")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/rofl0r/" name "/releases/"
-                                  "download/v" version "/" name "-" version
-                                  ".tar.xz"))
-              (sha256
-               (base32
-                "0kiss3ih6cwayzvqi5cx4kw4vh7r2kfxlbgk56v1f1066ncm8aj8"))))
+    (version "4.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://ftp.barfooze.de/pub/sabotage/tarballs/"
+                           name "-" version ".tar.xz"))
+       (sha256
+        (base32
+         "0418fv8hgf43rzrxxlybg49jz2h6w8inndhb6v1184k4cwzjnl3p"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f ; there are no tests
-       #:make-flags '("CC=gcc")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-configure-script
@@ -1095,6 +1094,10 @@ libproxy only have to specify which proxy to use.")
                (("\\*\\) break ;;" line)
                 (string-append "[A-Z]*) shift ;;\n"
                                line)))
+             #t))
+         (add-before 'configure 'set-up-environment
+           (lambda _
+             (setenv "CC" "gcc")
              #t)))))
     (synopsis "Redirect any TCP connection through a proxy or proxy chain")
     (description "Proxychains-ng is a preloader which hooks calls to sockets