all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Kei Kebreau <kei@openmailbox.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: w3m: Switch to Debian's actively maintained fork of w3m.
Date: Fri, 4 Nov 2016 11:48:56 -0400	[thread overview]
Message-ID: <20161104154856.GD14769@jasmine> (raw)
In-Reply-To: <87d1ibwb3s.fsf@openmailbox.org>

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

On Fri, Nov 04, 2016 at 10:52:55AM -0400, Kei Kebreau wrote:
> > Leo Famulari <leo@famulari.name> skribis:
> >> I think we build from their Git repo:
> >>
> >> https://anonscm.debian.org/cgit/collab-maint/w3m.git
> >>
> >> They even offer non-Debian-ized release tags, such as
> >> <v0.5.3+git20161031>.

> Here it is!

Thanks!

> From cc7a61d61160817ceb395b648b18c885175441e8 Mon Sep 17 00:00:00 2001
> From: Kei Kebreau <kei@openmailbox.org>
> Date: Fri, 4 Nov 2016 10:48:53 -0400
> Subject: [PATCH] gnu: w3m: Switch to Debian's actively maintained fork of w3m.
> 
> Fixes some security issues seen here:
> <http://www.openwall.com/lists/oss-security/2016/11/03/3>
> 
> * gnu/packages/w3m.scm (w3m): Switch to Debian's actively maintained
> fork of w3m.

No need to rewrite the commit title here :)

> [source]: Use Debian's git tree. Remove obsolete patches.
> [arguments]: Remove unnecessary modification of %standard-phases.
> * gnu/packages/patches/w3m-disable-sslv2-and-sslv3.patch: Delete file.
> * gnu/packages/patches/w3m-disable-weak-ciphers.patch: Delete file.
> * gnu/packages/patches/w3m-force-ssl_verify_server-on.patch: Delete file.
> * gnu/packages/patches/w3m-libgc.patch: Delete file.

Or:
* gnu/packages/patches/w3m-disable-sslv2-and-sslv3.patch,
gnu/packages/patches/w3m-disable-weak-ciphers.patch,
gnu/packages/patches/w3m-force-ssl_verify_server-on.patch,
gnu/packages/patches/w3m-libgc.patch: Delete files.

By the way, I double-checked that all these patches are indeed
integrated into the release tag used by this package definition.

>  (define-public w3m
> @@ -36,33 +37,16 @@
>      (name "w3m")
>      (version "0.5.3")

This should reflect the tag used in (commit).

>      (source (origin
> -             (method url-fetch)
> -             (uri (string-append "mirror://sourceforge/" name "/" name "/"
> -                                 name "-" version "/"
> -                                 name "-" version ".tar.gz"))
> -             (sha256
> -              (base32
> -               "1qx9f0kprf92r1wxl3sacykla0g04qsi0idypzz24b7xy9ix5579"))
> -
> -             ;; cf. https://bugs.archlinux.org/task/33397
> -             (patches (search-patches "w3m-libgc.patch"
> -                                      "w3m-force-ssl_verify_server-on.patch"
> -                                      "w3m-disable-sslv2-and-sslv3.patch"
> -                                      "w3m-disable-weak-ciphers.patch"))))
> +              (method git-fetch)
> +              ;; Debian's fork of w3m is the only one that is still maintained.
> +              (uri (git-reference
> +                    (url "https://anonscm.debian.org/cgit/collab-maint/w3m.git")
> +                    (commit "v0.5.3+git20161031")))

> -                             (substitute* '("scripts/w3mmail.cgi.in"
> -                                            "scripts/dirlist.cgi.in")
> -                               (("@PERL@") (which "perl"))))

Does this @PERL@ get patched correctly?

Thanks for taking this on!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2016-11-04 15:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-03 22:54 [PATCH] gnu: w3m: Switch to Debian's actively maintained fork of w3m Kei Kebreau
2016-11-04  3:17 ` Eric Bavier
2016-11-04  4:03   ` Leo Famulari
2016-11-04 13:27     ` Ludovic Courtès
2016-11-04 13:59       ` Kei Kebreau
2016-11-04 14:52       ` Kei Kebreau
2016-11-04 15:48         ` Leo Famulari [this message]
2016-11-04 17:05           ` Kei Kebreau
2016-11-04 23:54             ` Leo Famulari
2016-11-05  0:08               ` Kei Kebreau
2016-11-05  0:16                 ` Leo Famulari
  -- strict thread matches above, loose matches on Subject: below --
2016-11-03 22:08 Kei Kebreau

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=20161104154856.GD14769@jasmine \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    --cc=kei@openmailbox.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.