forked from pool/perl-Starman
Compare commits
10 Commits
9dc1f51526
...
17b93fd963
Author | SHA256 | Date | |
---|---|---|---|
17b93fd963 | |||
2831f9682e | |||
c3aaa65ecf | |||
7d3ebadde7 | |||
7029c73a61 | |||
|
3be7b3d470 | ||
ada9a00932 | |||
|
15d54407b7 | ||
|
721904255a | ||
|
20de65f9f4 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b8ab3c29fc1ae922ecc452b3dbedea62448de0b39e440a19b97ed6f7dbdfab8
|
||||
size 28974
|
3
Starman-0.4017.tar.gz
Normal file
3
Starman-0.4017.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ffab915f323f60089e3ebf852b9b9707d6917266df8afd7370fac04bfdfee4e
|
||||
size 32568
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,66 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 14 03:09:01 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.4017
|
||||
see /usr/share/doc/packages/perl-Starman/Changes
|
||||
|
||||
0.4017 2023-09-13 13:27:02 PDT
|
||||
- Handle EINTR when doing sysread calls (Rob Mueller) #148
|
||||
- Requires perl 5.14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 14 03:08:43 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.4016
|
||||
see /usr/share/doc/packages/perl-Starman/Changes
|
||||
|
||||
0.4016 2022-09-13 10:11:34 PDT
|
||||
- Add psgix.informational callback #146
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 21 05:26:48 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 0.4015
|
||||
see /usr/share/doc/packages/perl-Starman/Changes
|
||||
|
||||
0.4015 2019-05-20 18:43:46 PDT
|
||||
- Fixed a bug incorrectly handling content body of '0' (olsonanl) #133
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 7 09:02:40 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.4014
|
||||
see /usr/share/doc/packages/perl-Starman/Changes
|
||||
|
||||
0.4014 2015-06-03 12:01:00 PDT
|
||||
- Treat ECONNRESET like EPIPE (i.e. ignore), not as a fatal error #114 (Tim Bunce)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 15 11:24:57 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.4013
|
||||
see /usr/share/doc/packages/perl-Starman/Changes
|
||||
|
||||
0.4013 2015-05-14 15:01:20 PDT
|
||||
- Fixed some bad git merges.
|
||||
|
||||
0.4012 2015-05-14 14:59:48 PDT
|
||||
- Add --net_server-* options to pass directly to Net::Server backend (#109)
|
||||
- Updated documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 19:26:43 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.4011
|
||||
see /usr/share/doc/packages/perl-Starman/Changes
|
||||
|
||||
0.4011 2014-11-11 08:07:43 PST
|
||||
- Move the app dispatch into a method #107
|
||||
|
||||
0.4010 2014-08-22 09:37:22 PDT
|
||||
- Support --read-timeout #103 (slobo)
|
||||
- Handle Expect header case insensitively #101 (oschwald)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 23 11:15:39 UTC 2014 - ncutler@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Starman
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,21 +12,20 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Starman
|
||||
Version: 0.4009
|
||||
Release: 0
|
||||
%define cpan_name Starman
|
||||
Name: perl-Starman
|
||||
Version: 0.4017
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: High-performance preforking PSGI/Plack web server
|
||||
License: Artistic-1.0 or GPL-2.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Starman/
|
||||
Source: Starman-0.4009.tar.gz
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Data::Dump)
|
||||
@@ -34,26 +33,12 @@ BuildRequires: perl(HTTP::Date)
|
||||
BuildRequires: perl(HTTP::Parser::XS)
|
||||
BuildRequires: perl(HTTP::Status)
|
||||
BuildRequires: perl(LWP::UserAgent)
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
||||
BuildRequires: perl(Net::Server) >= 2.007
|
||||
BuildRequires: perl(Plack) >= 0.9971
|
||||
BuildRequires: perl(Test::Requires)
|
||||
BuildRequires: perl(Test::TCP) >= 2.00
|
||||
BuildRequires: perl(parent)
|
||||
#BuildRequires: perl(File::ShareDir)
|
||||
#BuildRequires: perl(HTTP::Request)
|
||||
#BuildRequires: perl(HTTP::Request::Common)
|
||||
#BuildRequires: perl(HTTP::Response)
|
||||
#BuildRequires: perl(Net::Server::PreFork)
|
||||
#BuildRequires: perl(Net::Server::SIG)
|
||||
#BuildRequires: perl(Net::Server::SS::PreFork)
|
||||
#BuildRequires: perl(Plack::Loader)
|
||||
#BuildRequires: perl(Plack::TempBuffer)
|
||||
#BuildRequires: perl(Plack::Test)
|
||||
#BuildRequires: perl(Plack::Test::Suite)
|
||||
#BuildRequires: perl(Plack::Util)
|
||||
#BuildRequires: perl(Starman::Server)
|
||||
#BuildRequires: perl(Test::Pod) >= 1.41
|
||||
Requires: perl(Data::Dump)
|
||||
Requires: perl(HTTP::Date)
|
||||
Requires: perl(HTTP::Parser::XS)
|
||||
@@ -69,55 +54,54 @@ Starman is a PSGI perl web server that has unique features such as:
|
||||
|
||||
* High Performance
|
||||
|
||||
Uses the fast XS/C HTTP header parser
|
||||
Uses the fast XS/C HTTP header parser
|
||||
|
||||
* Preforking
|
||||
|
||||
Spawns workers preforked like most high performance UNIX servers do.
|
||||
Starman also reaps dead children and automatically restarts the worker
|
||||
pool.
|
||||
Spawns workers preforked like most high performance UNIX servers do.
|
||||
Starman also reaps dead children and automatically restarts the worker
|
||||
pool.
|
||||
|
||||
* Signals
|
||||
|
||||
Supports 'HUP' for graceful worker restarts, and 'TTIN'/'TTOU' to
|
||||
dynamically increase or decrease the number of worker processes, as well
|
||||
as 'QUIT' to gracefully shutdown the worker processes.
|
||||
Supports 'HUP' for graceful worker restarts, and 'TTIN'/'TTOU' to
|
||||
dynamically increase or decrease the number of worker processes, as well as
|
||||
'QUIT' to gracefully shutdown the worker processes.
|
||||
|
||||
* Superdaemon aware
|
||||
|
||||
Supports the Server::Starter manpage for hot deploy and graceful
|
||||
restarts.
|
||||
Supports Server::Starter for hot deploy and graceful restarts.
|
||||
|
||||
* Multiple interfaces and UNIX Domain Socket support
|
||||
|
||||
Able to listen on multiple interfaces including UNIX sockets.
|
||||
Able to listen on multiple interfaces including UNIX sockets.
|
||||
|
||||
* Small memory footprint
|
||||
|
||||
Preloading the applications with '--preload-app' command line option
|
||||
enables copy-on-write friendly memory management. Also, the minimum
|
||||
memory usage Starman requires for the master process is 7MB and children
|
||||
(workers) is less than 3.0MB.
|
||||
Preloading the applications with '--preload-app' command line option
|
||||
enables copy-on-write friendly memory management. Also, the minimum memory
|
||||
usage Starman requires for the master process is 7MB and children (workers)
|
||||
is less than 3.0MB.
|
||||
|
||||
* PSGI compatible
|
||||
|
||||
Can run any PSGI applications and frameworks
|
||||
Can run any PSGI applications and frameworks
|
||||
|
||||
* HTTP/1.1 support
|
||||
|
||||
Supports chunked requests and responses, keep-alive and pipeline
|
||||
requests.
|
||||
Supports chunked requests and responses, keep-alive and pipeline requests.
|
||||
|
||||
* UNIX only
|
||||
|
||||
This server does not support Win32.
|
||||
This server does not support Win32.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL --installdirs=vendor
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@@ -128,7 +112,7 @@ find . -type f -print0 | xargs -0 chmod 644
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes cpanfile LICENSE README
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user