Compare commits

...

10 Commits

Author SHA256 Message Date
8564073386 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Starlet?expand=0&rev=13
2024-07-29 19:31:00 +00:00
1e6171b534 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Starlet?expand=0&rev=12 2018-10-07 18:26:51 +00:00
c7a0d42fd5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Starlet?expand=0&rev=11 2018-10-07 18:26:23 +00:00
Stephan Kulow
9b7426a466 Accepting request 445538 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/445538
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Starlet?expand=0&rev=10
2016-12-15 06:15:14 +00:00
Stephan Kulow
70359bd3b0 Accepting request 401445 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/401445
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Starlet?expand=0&rev=9
2016-06-12 14:21:54 +00:00
Stephan Kulow
07b2607a2e Accepting request 368325 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/368325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Starlet?expand=0&rev=8
2016-03-09 06:32:03 +00:00
55fb08b283 Accepting request 342677 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/342677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Starlet?expand=0&rev=7
2015-11-06 19:38:25 +00:00
Stephan Kulow
ddf454fc9a Accepting request 340730 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/340730
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Starlet?expand=0&rev=6
2015-10-24 14:18:51 +00:00
Stephan Kulow
868ea288da Accepting request 315363 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/315363
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Starlet?expand=0&rev=5
2015-07-07 09:27:58 +00:00
Stephan Kulow
520c005755 Accepting request 298027 from devel:languages:perl:autoupdate
- 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)

OBS-URL: https://build.opensuse.org/request/show/298027
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Starlet?expand=0&rev=4
2015-04-19 08:59:09 +00:00
5 changed files with 169 additions and 52 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9603b8e62880cb4582f6a7939eafec65e6efd3d900f2c7dd342e5f4c68d62d8
size 111347

21
cpanspec.yml Normal file
View 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

View File

@@ -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 Mon Oct 31 13:08:00 UTC 2011 - pascal.bleser@opensuse.org

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Starlet # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 %define cpan_name Starlet
Summary: Starlet - a simple, high-performance PSGI/Plack HTTP server Name: perl-Starlet
Url: http://search.cpan.org/dist/Starlet/ Version: 0.310.0
Group: Development/Libraries/Perl Release: 0
Source: http://www.cpan.org/authors/id/K/KA/KAZUHO/%{cpan_name}-%{version}.tar.gz # 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 BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-base >= 5.14.1
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Class::Accessor::Lite) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
BuildRequires: perl(Devel::StackTrace) BuildRequires: perl(LWP::UserAgent) >= 5.8
BuildRequires: perl(Devel::StackTrace::AsHTML) BuildRequires: perl(Parallel::Prefork) >= 0.170
BuildRequires: perl(File::ShareDir) BuildRequires: perl(Plack) >= 0.992
BuildRequires: perl(HTTP::Body) BuildRequires: perl(Server::Starter) >= 0.60.0
BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Hash::MultiValue) BuildRequires: perl(Test::TCP) >= 2.1
BuildRequires: perl(LWP::UserAgent) Requires: perl(Parallel::Prefork) >= 0.170
BuildRequires: perl(Parallel::Prefork) >= 0.13 Requires: perl(Plack) >= 0.992
BuildRequires: perl(Plack::Test::Suite) Requires: perl(Server::Starter) >= 0.60.0
BuildRequires: perl(Server::Starter) >= 0.06 Provides: perl(Plack::Handler::Starlet)
BuildRequires: perl(Test::TCP) >= 0.15 Provides: perl(Starlet) = %{version}
BuildRequires: perl(Try::Tiny) Provides: perl(Starlet::Server)
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
Requires: perl # MANUAL BEGIN
Requires: perl-base >= 5.14.1 BuildRequires: perl(Class::Accessor::Lite)
Requires: perl(Class::Accessor::Lite) BuildRequires: perl(List::MoreUtils)
Requires: perl(Devel::StackTrace) # MANUAL END
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)
%description %description
Starlet is a standalone HTTP/1.0 server with keep-alive support, formerly known Starlet is a standalone HTTP/1.1 web server, formerly known as
as Plack::Server::Standalone::Prefork and Plack::Server::Standalone::Prefork and
Plack::Server::Standalone::Prefork::Server::Starter. 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 %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %doc Changes README
%changelog %changelog