pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
externalize debug flag with -X option
Module Name: pkgsrc-wip
Committed By: ast <ast%NetBSD.org@localhost>
Pushed By: ast
Date: Mon Feb 8 00:14:47 2016 +0100
Changeset: 3322aeb28dc060f294027735b8689d69831abefe
Modified Files:
p5-FCGI-Daemon/distinfo
p5-FCGI-Daemon/patches/patch-bsd7
Log Message:
externalize debug flag with -X option
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3322aeb28dc060f294027735b8689d69831abefe
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
p5-FCGI-Daemon/distinfo | 2 +-
p5-FCGI-Daemon/patches/patch-bsd7 | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diffs:
diff --git a/p5-FCGI-Daemon/distinfo b/p5-FCGI-Daemon/distinfo
index 89d8159..b6967d2 100644
--- a/p5-FCGI-Daemon/distinfo
+++ b/p5-FCGI-Daemon/distinfo
@@ -10,4 +10,4 @@ SHA1 (patch-bsd3) = 0a59d856c66b0f8dc829c858fd4caf58660ff281
SHA1 (patch-bsd4) = 31491220625b8691962dd354d588a081dcf52229
SHA1 (patch-bsd5) = c504b293a68cb07429914a0d6b00fe7c72cab8e0
SHA1 (patch-bsd6) = b09927b4637f0fc9bc8bd2eed0e606cc2ca7cfa5
-SHA1 (patch-bsd7) = d0e196bb50b93e2901b8c597b1084b5232f9134a
+SHA1 (patch-bsd7) = ed612ef7fdd161cc6c175441ee5dbc5766b93e1f
diff --git a/p5-FCGI-Daemon/patches/patch-bsd7 b/p5-FCGI-Daemon/patches/patch-bsd7
index 106ca58..0fd0fad 100644
--- a/p5-FCGI-Daemon/patches/patch-bsd7
+++ b/p5-FCGI-Daemon/patches/patch-bsd7
@@ -21,6 +21,15 @@ Option -X to enable debugging.
if($EFFECTIVE_USER_ID==0){
$o{gid}=$o{g}||'www-data'; $o{gid_num}=scalar getgrnam($o{gid});
+@@ -80,7 +80,7 @@
+ POSIX::setsid() or die q{Can't start a new session: }.$OS_ERROR;
+ open *STDIN,'<','/dev/null';
+ open *STDOUT,'>>','/dev/null';
+- open *STDERR,'>>','/dev/null';
++ open *STDERR,'>>','/dev/null' unless $DEBUG;
+ umask 022;
+ }
+
@@ -380,6 +381,7 @@
-u www-data # user name to become (if run as root)
-g www-data # group name to become (if run as root)
Home |
Main Index |
Thread Index |
Old Index