From: ludo@gnu.org (Ludovic Courtès)
To: Jelle Licht <jlicht@fsfe.org>
Cc: 27452@debbugs.gnu.org
Subject: [bug#27452] [PATCH] gnu: ansible: Apply experimental patch to deal with wrapping of ansible script.
Date: Mon, 26 Jun 2017 11:39:39 +0200 [thread overview]
Message-ID: <87a84v6qas.fsf@gnu.org> (raw)
In-Reply-To: <20170622193620.3381-1-jlicht@fsfe.org> (Jelle Licht's message of "Thu, 22 Jun 2017 21:36:20 +0200")
Hello,
Jelle Licht <jlicht@fsfe.org> skribis:
> See <http://lists.gnu.org/archive/html/bug-guix/2017-05/msg00015.html> for the
> rationale.
>
> * gnu/packages/patches/ansible-wrap-program-hack.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.
> * gnu/packages/admin.scm (ansible)[source]: Use it.
> ---
> gnu/local.mk | 1 +
> gnu/packages/admin.scm | 5 ++++-
> gnu/packages/patches/ansible-wrap-program-hack.patch | 17 +++++++++++++++++
> 3 files changed, 22 insertions(+), 1 deletion(-)
> create mode 100644 gnu/packages/patches/ansible-wrap-program-hack.patch
>
> diff --git a/gnu/local.mk b/gnu/local.mk
> index 88ea8daf4..bed24a841 100644
> --- a/gnu/local.mk
> +++ b/gnu/local.mk
> @@ -501,6 +501,7 @@ dist_patch_DATA = \
> %D%/packages/patches/aegis-test-fixup-1.patch \
> %D%/packages/patches/aegis-test-fixup-2.patch \
> %D%/packages/patches/agg-am_c_prototype.patch \
> + %D%/packages/patches/ansible-wrap-program-hack.patch \
> %D%/packages/patches/antiword-CVE-2014-8123.patch \
> %D%/packages/patches/apr-skip-getservbyname-test.patch \
> %D%/packages/patches/aspell-default-dict-dir.patch \
> diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
> index 35679495f..81a53413f 100644
> --- a/gnu/packages/admin.scm
> +++ b/gnu/packages/admin.scm
> @@ -1366,7 +1366,10 @@ of supported upstream metrics systems simultaneously.")
> (uri (pypi-uri "ansible" version))
> (sha256
> (base32
> - "1xdr82fy8gahxh3586wm5k1bxksys7yl1f2n24shrk8gf99qyjyd"))))
> + "1xdr82fy8gahxh3586wm5k1bxksys7yl1f2n24shrk8gf99qyjyd"))
> + ;; FIXME: Remove once wrapping ansible works properly
> + ;; See http://lists.gnu.org/archive/html/bug-guix/2017-05/msg00015.html
> + (patches (search-patches "ansible-wrap-program-hack.patch"))))
> (build-system python-build-system)
> (native-inputs
> `(("python2-pycrypto" ,python2-pycrypto)
> diff --git a/gnu/packages/patches/ansible-wrap-program-hack.patch b/gnu/packages/patches/ansible-wrap-program-hack.patch
> new file mode 100644
> index 000000000..bc7eb9d31
> --- /dev/null
> +++ b/gnu/packages/patches/ansible-wrap-program-hack.patch
> @@ -0,0 +1,17 @@
> +--- ansible-2.3.0.0/bin/ansible 2017-04-12 16:08:05.000000000 +0200
> ++++ ansible-2.3.0.0-fixed/bin/ansible 2017-05-21 20:11:18.720872385 +0200
> +@@ -75,7 +75,13 @@
Could you move the FIXME and URL to the .patch file, and also add a
sentence explaining what it does?
OK with these changes, thanks!
Ludo’.
next prev parent reply other threads:[~2017-06-26 9:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-22 19:36 [bug#27452] [PATCH] gnu: ansible: Apply experimental patch to deal with wrapping of ansible script Jelle Licht
2017-06-26 9:39 ` Ludovic Courtès [this message]
2017-06-26 10:46 ` Jelle Licht
2017-06-26 16:11 ` Ludovic Courtès
2017-06-26 17:33 ` Jelle Licht
2017-06-26 19:17 ` Ludovic Courtès
2017-06-29 12:55 ` bug#27452: " Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a84v6qas.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=27452@debbugs.gnu.org \
--cc=jlicht@fsfe.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).