guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: Add proxychains-ng.


From: ng0
Subject: Re: [PATCH] gnu: Add proxychains-ng.
Date: Fri, 12 Aug 2016 19:21:56 +0000

Leo Famulari <address@hidden> writes:

> On Fri, Aug 12, 2016 at 05:50:15PM +0000, ng0 wrote:
>> * gnu/packages/networking.scm (proxychains-ng): New variable.
>
>> +    (arguments
>> +     `(#:tests? #f
>> +       #:make-flags (list "CC=gcc")
>> +       #:phases
>> +       (modify-phases %standard-phases
>> +         ;; Needs to be configured through the configure script.
>> +         (replace 'configure
>> +           (lambda* (#:key outputs #:allow-other-keys)
>> +             (let ((out (assoc-ref outputs "out")))
>> +               (zero? (system* "./configure"
>> +                               (string-append "--prefix=" out)))))))))
>
> Does #:configure-flags not work in this case?

I have build it this way before, but it did not seem like it applied.

patch applied, maybe there was a mistake in this patch i had earlier:

>From 65184392aeef2582786192c2e7e3d8f2e704eb25 Mon Sep 17 00:00:00 2001
From: ng0 <address@hidden>
Date: Fri, 12 Aug 2016 17:47:41 +0000
Subject: [PATCH] gnu: Add proxychains-ng.

* gnu/packages/networking.scm (proxychains-ng): New variable.
---
 gnu/packages/networking.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 77207c0..5177bdb 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2016 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2016 John Darrington <address@hidden>
 ;;; Copyright © 2016 Nicolas Goaziou <address@hidden>
+;;; Copyright © 2016 ng0 <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -635,3 +636,27 @@ information by IP Address.")
   (description "IO::Socket::INET6 is an interface for AF_INET/AF_INET6 domain
 sockets in Perl.")
   (license (package-license perl))))
+
+(define-public proxychains-ng
+  (package
+    (name "proxychains-ng")
+    (version "4.11")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/rofl0r/"; name 
"/releases/"
+                                  "download/v" version "/" name "-" version
+                                  ".tar.bz2"))
+              (sha256
+               (base32
+                "1dkncdzw852488gkh5zhn4b5i03qyj8rgh1wcvcva7yd12c19i6w"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f
+       #:make-flags (list "CC=gcc")
+       #:configure-flags (list (string-append "--prefix="
+                                              (assoc-ref %outputs "out")))))
+    (synopsis "Force any tcp connections to flow through a proxy or proxy 
chain")
+    (description "Preloader which hooks calls to sockets in dynamically linked 
programs
+and redirects them through one or more socks or http proxies.")
+    (home-page "https://github.com/rofl0r/proxychains-ng";)
+    (license license:gpl2)))
-- 
2.9.2

-- 
♥Ⓐ  ng0
For non-prism friendly talk find me on http://www.psyced.org

reply via email to

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