perl module: patch CatalystXScriptServerStarman
Fixes #16074 and #17624
This commit is contained in:
parent
4c43ac2db5
commit
7a3c15dd13
@ -0,0 +1,22 @@
|
|||||||
|
diff --git a/lib/CatalystX/Script/Server/Starman.pm b/lib/CatalystX/Script/Server/Starman.pm
|
||||||
|
index 670bd74..7b3bd2e 100644
|
||||||
|
--- a/lib/CatalystX/Script/Server/Starman.pm
|
||||||
|
+++ b/lib/CatalystX/Script/Server/Starman.pm
|
||||||
|
@@ -9,7 +9,7 @@ our $VERSION = '0.02';
|
||||||
|
|
||||||
|
extends 'Catalyst::Script::Server';
|
||||||
|
|
||||||
|
-has '+fork' => ( default => 1, init_arg => undef );
|
||||||
|
+has '+fork' => ( default => 1 );
|
||||||
|
|
||||||
|
has [qw/ keepalive restart restart_delay restart_regex restart_directory/] => ( init_arg => undef, is => 'ro' );
|
||||||
|
|
||||||
|
@@ -70,7 +70,7 @@ CatalystX::Script::Server::Starman - Replace the development server with Starman
|
||||||
|
|
||||||
|
-d --debug force debug mode
|
||||||
|
-f --fork handle each request in a new process
|
||||||
|
- (defaults to false)
|
||||||
|
+ (defaults to true)
|
||||||
|
-? --help display this help and exits
|
||||||
|
-h --host host (defaults to all)
|
||||||
|
-p --port port (defaults to 3000)
|
@ -1508,6 +1508,10 @@ let self = _self // overrides; _self = with self; {
|
|||||||
url = mirror://cpan/authors/id/A/AB/ABRAXXA/CatalystX-Script-Server-Starman-0.02.tar.gz;
|
url = mirror://cpan/authors/id/A/AB/ABRAXXA/CatalystX-Script-Server-Starman-0.02.tar.gz;
|
||||||
sha256 = "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5";
|
sha256 = "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5";
|
||||||
};
|
};
|
||||||
|
patches = [
|
||||||
|
# See Nixpkgs issues #16074 and #17624
|
||||||
|
../development/perl-modules/CatalystXScriptServerStarman-fork-arg.patch
|
||||||
|
];
|
||||||
buildInputs = [ TestWWWMechanizeCatalyst ];
|
buildInputs = [ TestWWWMechanizeCatalyst ];
|
||||||
propagatedBuildInputs = [ CatalystRuntime Moose namespaceautoclean Starman ];
|
propagatedBuildInputs = [ CatalystRuntime Moose namespaceautoclean Starman ];
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user