Compare commits
10 Commits
cfe4144750
...
8564073386
Author | SHA256 | Date | |
---|---|---|---|
8564073386 | |||
1e6171b534 | |||
c7a0d42fd5 | |||
|
9b7426a466 | ||
|
70359bd3b0 | ||
|
07b2607a2e | ||
55fb08b283 | |||
|
ddf454fc9a | ||
|
868ea288da | ||
|
520c005755 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ec250265bf71b5708ccbf5393bd8615661da8be7bfec2e67639dba14cd9b380
|
||||
size 25166
|
3
Starlet-0.31.tar.gz
Normal file
3
Starlet-0.31.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b9603b8e62880cb4582f6a7939eafec65e6efd3d900f2c7dd342e5f4c68d62d8
|
||||
size 111347
|
21
cpanspec.yml
Normal file
21
cpanspec.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
preamble: |-
|
||||
BuildRequires: perl(Class::Accessor::Lite)
|
||||
BuildRequires: perl(List::MoreUtils)
|
||||
#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
|
@@ -1,3 +1,102 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 7 18:26:44 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||
|
||||
- Fix build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 13 07:24:22 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.31
|
||||
see /usr/share/doc/packages/perl-Starlet/Changes
|
||||
|
||||
0.31
|
||||
- send 100-continue immediately #25 (Gregory Oschwald)
|
||||
- expose new callback for sending informational responses #29 (Kazuho Oku)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 12 13:48:20 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.30
|
||||
see /usr/share/doc/packages/perl-Starlet/Changes
|
||||
|
||||
0.30
|
||||
- add child_exit hook #26 (by azrle)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 8 11:02:21 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.29
|
||||
see /usr/share/doc/packages/perl-Starlet/Changes
|
||||
|
||||
0.29
|
||||
- fix workers being killed too aggressively when spawn-interval is used #27 (by limitusus)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 6 10:28:22 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.28
|
||||
see /usr/share/doc/packages/perl-Starlet/Changes
|
||||
|
||||
0.28
|
||||
- always shutdown after SIGTERM, but only after notifying the client (via connection: close or equiv.) #23
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 24 09:32:21 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.26
|
||||
see /usr/share/doc/packages/perl-Starlet/Changes
|
||||
|
||||
0.26
|
||||
- fix abrupt connection close when receiving SIGTERM #21 (by shogo82148)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 7 09:21:39 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.25
|
||||
see /usr/share/doc/packages/perl-Starlet/Changes
|
||||
|
||||
0.25
|
||||
- support listing to unix socket wo. using Server::Starter
|
||||
- suppress warning when receiving broken requests
|
||||
- fix test issue with Plack >= 1.0035
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 19 07:12:25 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.24
|
||||
see /usr/share/doc/packages/perl-Starlet/Changes
|
||||
|
||||
0.24
|
||||
- worker processes always receive different sequence of values when calling "rand()"
|
||||
|
||||
0.23
|
||||
- serialize calls to select -> accept when listening to multiple ports
|
||||
|
||||
0.22
|
||||
- listen to multiple ports passed from Server::Starter (ttakezawa)
|
||||
|
||||
0.21
|
||||
- support listening to unix socket (passed by Server::Starter) (kazeburo)
|
||||
|
||||
0.20
|
||||
- support HTTP/1.1 (kazeburo)
|
||||
|
||||
0.19
|
||||
- update the dependencies now that Plack no more depends on LWP (miyagawa; https://github.com/plack/Plack/pull/408)
|
||||
- add support for psgix.harakiri (audreyt)
|
||||
|
||||
0.18
|
||||
- change threshold for combining headers and body from 1024 bytes to 8192
|
||||
|
||||
0.17_01
|
||||
- reduce rt_sig* syscalls (kazeburo)
|
||||
|
||||
0.16
|
||||
- Set REMOTE_PORT environment variable (kazeburo)
|
||||
|
||||
0.15
|
||||
- unbundle Plack::Standalone::Server::Prefork::Server::Starter (see `perldoc Starlet` to find out how to boot Starlet using Server::Starter)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 31 13:08:00 UTC 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Starlet
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,77 +12,74 @@
|
||||
# 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-Starlet
|
||||
Version: 0.14
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
%define cpan_name Starlet
|
||||
Summary: Starlet - a simple, high-performance PSGI/Plack HTTP server
|
||||
Url: http://search.cpan.org/dist/Starlet/
|
||||
Group: Development/Libraries/Perl
|
||||
Source: http://www.cpan.org/authors/id/K/KA/KAZUHO/%{cpan_name}-%{version}.tar.gz
|
||||
Name: perl-Starlet
|
||||
Version: 0.310.0
|
||||
Release: 0
|
||||
# 0.31 -> normalize -> 0.310.0
|
||||
%define cpan_version 0.31
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Simple, high-performance PSGI/Plack HTTP server
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/K/KA/KAZUHO/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-base >= 5.14.1
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Class::Accessor::Lite)
|
||||
BuildRequires: perl(Devel::StackTrace)
|
||||
BuildRequires: perl(Devel::StackTrace::AsHTML)
|
||||
BuildRequires: perl(File::ShareDir)
|
||||
BuildRequires: perl(HTTP::Body)
|
||||
BuildRequires: perl(HTTP::Request::Common)
|
||||
BuildRequires: perl(Hash::MultiValue)
|
||||
BuildRequires: perl(LWP::UserAgent)
|
||||
BuildRequires: perl(Parallel::Prefork) >= 0.13
|
||||
BuildRequires: perl(Plack::Test::Suite)
|
||||
BuildRequires: perl(Server::Starter) >= 0.06
|
||||
BuildRequires: perl(Test::TCP) >= 0.15
|
||||
BuildRequires: perl(Try::Tiny)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
|
||||
BuildRequires: perl(LWP::UserAgent) >= 5.8
|
||||
BuildRequires: perl(Parallel::Prefork) >= 0.170
|
||||
BuildRequires: perl(Plack) >= 0.992
|
||||
BuildRequires: perl(Server::Starter) >= 0.60.0
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::TCP) >= 2.1
|
||||
Requires: perl(Parallel::Prefork) >= 0.170
|
||||
Requires: perl(Plack) >= 0.992
|
||||
Requires: perl(Server::Starter) >= 0.60.0
|
||||
Provides: perl(Plack::Handler::Starlet)
|
||||
Provides: perl(Starlet) = %{version}
|
||||
Provides: perl(Starlet::Server)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
Requires: perl
|
||||
Requires: perl-base >= 5.14.1
|
||||
Requires: perl(Class::Accessor::Lite)
|
||||
Requires: perl(Devel::StackTrace)
|
||||
Requires: perl(Devel::StackTrace::AsHTML)
|
||||
Requires: perl(File::ShareDir)
|
||||
Requires: perl(HTTP::Body)
|
||||
Requires: perl(HTTP::Request::Common)
|
||||
Requires: perl(Hash::MultiValue)
|
||||
Requires: perl(LWP::UserAgent)
|
||||
Requires: perl(Parallel::Prefork) >= 0.13
|
||||
Requires: perl(Server::Starter) >= 0.06
|
||||
Requires: perl(Try::Tiny)
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: perl(Class::Accessor::Lite)
|
||||
BuildRequires: perl(List::MoreUtils)
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
Starlet is a standalone HTTP/1.0 server with keep-alive support, formerly known
|
||||
as Plack::Server::Standalone::Prefork and
|
||||
Starlet is a standalone HTTP/1.1 web server, formerly known as
|
||||
Plack::Server::Standalone::Prefork and
|
||||
Plack::Server::Standalone::Prefork::Server::Starter.
|
||||
|
||||
The server supports following features, and is suitable for running HTTP
|
||||
application servers behind a reverse proxy.
|
||||
|
||||
- prefork and graceful shutdown using Parallel::Prefork
|
||||
|
||||
- hot deploy using Server::Starter
|
||||
|
||||
- fast HTTP processing using HTTP::Parser::XS (optional)
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user