pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add -X option
Module Name: pkgsrc-wip
Committed By: ast <ast%NetBSD.org@localhost>
Pushed By: ast
Date: Sun Feb 7 23:43:03 2016 +0100
Changeset: 3371da787f9a541177ddf5c8a1be60cb2ca1585d
Added Files:
p5-FCGI-Daemon/patches/patch-bsd7
Log Message:
Add -X option
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3371da787f9a541177ddf5c8a1be60cb2ca1585d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
p5-FCGI-Daemon/patches/patch-bsd7 | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diffs:
diff --git a/p5-FCGI-Daemon/patches/patch-bsd7 b/p5-FCGI-Daemon/patches/patch-bsd7
new file mode 100644
index 0000000..106ca58
--- /dev/null
+++ b/p5-FCGI-Daemon/patches/patch-bsd7
@@ -0,0 +1,31 @@
+$NetBSD$
+
+Option -X to enable debugging.
+
+--- lib/FCGI/Daemon.pm.orig 2015-12-26 09:28:53.000000000 +0100
++++ lib/FCGI/Daemon.pm 2016-02-07 18:03:39.000000000 +0100
+@@ -52,7 +52,7 @@
+ Modulino-style main routine
+ =cut
+ sub run {
+- getopts('hde:f:q:p:s:g:u:m:c:l:w:',\%o) or help(0);
++ getopts('hde:f:q:p:s:g:u:m:c:l:w:X',\%o) or help(0);
+ help(2) if $o{'h'};
+
+ $o{sockfile}=$o{'s'}||'/var/run/fcgi-daemon.sock';
+@@ -64,6 +64,7 @@
+ $o{max_evals}=defined $o{'e'} ? $o{'e'} : 10240; #max evals before exit - paranoid to free memory if leaks
+ $o{file_pattern}=$o{'f'}||qr{\.pl};
+ $o{leak_threshold}=$o{'l'}||1.3;
++ $DEBUG++ if $o{'X'};
+
+ if($EFFECTIVE_USER_ID==0){
+ $o{gid}=$o{g}||'www-data'; $o{gid_num}=scalar getgrnam($o{gid});
+@@ -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)
+ -d # daemonize (run in background)
++ -X # enable debugging
+
+ All options are optional.
+
Home |
Main Index |
Thread Index |
Old Index