all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: swedebugia@riseup.net
To: ludo@gnu.org
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: torsocks 2.0 bug
Date: Wed, 03 Feb 2016 19:08:32 +0100	[thread overview]
Message-ID: <b62feea08936e5e6e6c02f616cf1bb97@riseup.net> (raw)
In-Reply-To: <878u32xhb7.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 329 bytes --]

On 2016-02-03 10:40, ludo@gnu.org wrote:
> swedebugia@riseup.net skribis:
> 
>> I propose: we update to 2.1 first and see if this fixes the problem
>> with only icecat.
> 
> Sounds good.  Would you like to send a patch?

I tried my best and... failed. Ha!

Attached an almost working patch with details of what fails.

Cheers
sdb

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-torsocks-Update-to-2.1.0.patch --]
[-- Type: text/x-diff; name=0001-gnu-torsocks-Update-to-2.1.0.patch, Size: 1849 bytes --]

From de72a36bbe3559c345e41359c91d80820d858127 Mon Sep 17 00:00:00 2001
From: swedebugia <swedebugia@riseup.net>
Date: Wed, 3 Feb 2016 18:58:47 +0100
Subject: [PATCH] gnu: torsocks: Update to 2.1.0.

---
 gnu/packages/tor.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index 5fb8f95..329e282 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -70,7 +70,7 @@ applications based on the TCP protocol.")
 (define-public torsocks
   (package
     (name "torsocks")
-    (version "2.0.0")
+    (version "2.1.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -78,15 +78,20 @@ applications based on the TCP protocol.")
                     (commit (string-append "v" version))))
               (sha256
                (base32
-                "0an2q5ail9z414riyjbkjkm29504hy778j914baz2gn5hlv2cfak"))
+                "1l890pg0h2hqpkabsnwc6pq2qi8mfv58qzaaicc9y62rq5nmrrws"))
               (file-name (string-append name "-" version "-checkout"))
               (patches (list (search-patch "torsocks-dns-test.patch")))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases (modify-phases %standard-phases
+                  ; FIXME. this phase is still needed but fails. I dont
+                  ; understand why. It works fine when done manually in an
+                  ; environment.
                   (add-before 'configure 'bootstrap
                     (lambda _
-                      (system* "autoreconf" "-vfi"))))))
+                      (system* "autoreconf" "-i")
+       ; FIXME. test_fd_passing fail.
+       #:tests? #f)))))
     (native-inputs `(("autoconf" ,(autoconf-wrapper))
                      ("automake" ,automake)
                      ("libtool" ,libtool)
-- 
2.6.3


  reply	other threads:[~2016-02-03 18:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-29 10:45 torsocks 2.0 bug swedebugia
2016-01-29 11:28 ` Efraim Flashner
2016-01-29 15:28   ` swedebugia
2016-02-03  9:40     ` Ludovic Courtès
2016-02-03 18:08       ` swedebugia [this message]
2016-02-03 19:33         ` Andreas Enge
2016-06-28  9:12           ` ng0
2016-08-01 15:37             ` ng0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b62feea08936e5e6e6c02f616cf1bb97@riseup.net \
    --to=swedebugia@riseup.net \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.