From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH] gnu: Add proxychains-ng. Date: Fri, 12 Aug 2016 17:50:15 +0000 Message-ID: <87ziohc1wo.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYGb7-0003PY-Jq for guix-devel@gnu.org; Fri, 12 Aug 2016 13:50:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYGb6-0008WU-9W for guix-devel@gnu.org; Fri, 12 Aug 2016 13:50:21 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:46815 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYGb5-0008W0-Rr for guix-devel@gnu.org; Fri, 12 Aug 2016 13:50:20 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id 554e8298 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Fri, 12 Aug 2016 17:50:16 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-proxychains-ng.patch Content-Transfer-Encoding: 8bit >From 895ddace3e0645683adb07a05406419b58e42b01 Mon Sep 17 00:00:00 2001 From: ng0 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 | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 77207c0..78790f4 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2016 Tobias Geerinckx-Rice ;;; Copyright © 2016 John Darrington ;;; Copyright © 2016 Nicolas Goaziou +;;; Copyright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -635,3 +636,33 @@ 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") + #: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))))))))) + (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 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit -- ♥Ⓐ ng0 For non-prism friendly talk find me on http://www.psyced.org --=-=-=--