GNU bug report logs - #28880
[PATCH] gnu: Patch ikiwiki to set PERL5LIB in the CGI wrapper.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Tue, 17 Oct 2017 21:08:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28880 in the body.
You can then email your comments to 28880 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#28880; Package guix-patches. (Tue, 17 Oct 2017 21:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 17 Oct 2017 21:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Patch ikiwiki to set PERL5LIB in the CGI wrapper.
Date: Tue, 17 Oct 2017 22:07:41 +0100
This helps with CGI support.

* gnu/packages/web.scm (ikiwik)[arguments]: Add 'include-PERL5LIB-in-wrapper
  phase.
---
 gnu/packages/web.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 41e52756e..5c633d6bf 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4195,6 +4195,15 @@ NetSurf project.")
        #:tests? #f
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'include-PERL5LIB-in-wrapper
+           (lambda _
+             (substitute* "IkiWiki/Wrapper.pm"
+               (("^@wrapper\\_hooks")
+                (string-append
+                 "@wrapper_hooks\n"
+                 "        addenv(\"PERL5LIB\", \""
+                 (getenv "PERL5LIB")
+                 "\");")))))
          (add-after 'install 'wrap-programs
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out  (assoc-ref outputs "out"))
-- 
2.14.2





Information forwarded to guix-patches <at> gnu.org:
bug#28880; Package guix-patches. (Thu, 19 Oct 2017 07:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 28880 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Christopher Baines <mail <at> cbaines.net>
Cc: 28880 <at> debbugs.gnu.org
Subject: Re: [bug#28880] [PATCH] gnu: Patch ikiwiki to set PERL5LIB in the CGI
 wrapper.
Date: Thu, 19 Oct 2017 09:35:34 +0200
Christopher Baines <mail <at> cbaines.net> skribis:

> This helps with CGI support.
>
> * gnu/packages/web.scm (ikiwik)[arguments]: Add 'include-PERL5LIB-in-wrapper
>   phase.

LGTM, thanks!

Ludo'.




Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Sun, 19 Nov 2017 09:20:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Sun, 19 Nov 2017 09:20:02 GMT) Full text and rfc822 format available.

Message #13 received at 28880-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 28880-done <at> debbugs.gnu.org
Subject: Re: [bug#28880] [PATCH] gnu: Patch ikiwiki to set PERL5LIB in the
 CGI wrapper.
Date: Sun, 19 Nov 2017 09:19:07 +0000
[Message part 1 (text/plain, inline)]
On Thu, 19 Oct 2017 09:35:34 +0200
ludo <at> gnu.org (Ludovic Courtès) wrote:

> Christopher Baines <mail <at> cbaines.net> skribis:
> 
> > This helps with CGI support.
> >
> > * gnu/packages/web.scm (ikiwik)[arguments]: Add
> > 'include-PERL5LIB-in-wrapper phase.  
> 
> LGTM, thanks!

Thanks for reviewing, I've finally got around to pushing this :)
[Message part 2 (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 17 Dec 2017 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.