unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: 22831@debbugs.gnu.org
Subject: bug#22831: [PATCH 1/2] gnu: openssl: Remove run-time dependency on Perl.
Date: Mon, 29 Feb 2016 19:39:52 -0500	[thread overview]
Message-ID: <044df3e52ff32fbedc3cbb0a06667362142dd6de.1456792742.git.leo@famulari.name> (raw)
In-Reply-To: <cover.1456792742.git.leo@famulari.name>
In-Reply-To: <cover.1456792742.git.leo@famulari.name>

Fixes <http://bugs.gnu.org/22831>.

* gnu/packages/patches/openssl-c-rehash.patch: Update patch to also replace the
shebang of 'c_rehash.in'.
---
 gnu/packages/patches/openssl-c-rehash.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/patches/openssl-c-rehash.patch b/gnu/packages/patches/openssl-c-rehash.patch
index f873a9a..62cf662 100644
--- a/gnu/packages/patches/openssl-c-rehash.patch
+++ b/gnu/packages/patches/openssl-c-rehash.patch
@@ -15,3 +15,17 @@ package.
  
  # Perl c_rehash script, scan all files in a directory
  # and add symbolic links to their hash values.
+
+diff --git a/tools/c_rehash.in b/tools/c_rehash.in
+index b086ff9..5908a97 100644
+--- a/tools/c_rehash.in
++++ b/tools/c_rehash.in
+@@ -1,4 +1,6 @@
+-#!/usr/local/bin/perl
++eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
++  & eval 'exec perl -wS "$0" $argv:q'
++    if 0;
+ 
+ # Perl c_rehash script, scan all files in a directory
+ # and add symbolic links to their hash values.
+
-- 
2.7.1

  reply	other threads:[~2016-03-01  0:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-27 17:05 bug#22831: OpenSSL should not depend on Perl Ludovic Courtès
2016-02-28  1:10 ` Leo Famulari
2016-02-28 13:35   ` Ludovic Courtès
2016-02-29  8:47     ` Leo Famulari
2016-03-01 13:38       ` Ludovic Courtès
2016-03-01 17:24         ` Ludovic Courtès
2016-02-28 13:37   ` Ludovic Courtès
2016-02-29  8:48     ` Leo Famulari
2016-03-01  0:39 ` bug#22831: [PATCH 0/2] OpenSSL / Perl run-time dependency Leo Famulari
2016-03-01  0:39   ` Leo Famulari [this message]
2016-03-01  0:39   ` bug#22831: [PATCH 2/2] WIP: gnu: openssl: Restrict allowed references for openssl Leo Famulari
2016-03-01  7:18     ` Leo Famulari
2016-03-01  7:20     ` Leo Famulari
2016-03-01 20:46       ` Ludovic Courtès
2016-03-01 21:04         ` Leo Famulari
2016-03-02  8:42           ` Ludovic Courtès
2016-03-02 19:20             ` Leo Famulari
2016-03-02 20:59               ` Ludovic Courtès
2016-03-21  2:20 ` bug#22831: [PATCH 0/1] Disallow reference to Perl from OpenSSL Leo Famulari
2016-03-21  2:20   ` bug#22831: [PATCH 1/1] gnu: openssl: Enforce non-reference to perl Leo Famulari
2016-03-21  9:29     ` Ludovic Courtès
2016-03-21 16:23       ` Leo Famulari

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=044df3e52ff32fbedc3cbb0a06667362142dd6de.1456792742.git.leo@famulari.name \
    --to=leo@famulari.name \
    --cc=22831@debbugs.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 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).