|
|
20c9ed8 |
Name: perl-Server-Starter
|
|
|
393365c |
Version: 0.35
|
|
|
7b97cf4 |
Release: 15%{?dist}
|
|
|
20c9ed8 |
Summary: Superdaemon for hot-deploying server programs
|
|
|
c5eab14 |
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
29000f9 |
URL: https://metacpan.org/release/Server-Starter
|
|
|
29000f9 |
Source0: https://cpan.metacpan.org/authors/id/K/KA/KAZUHO/Server-Starter-%{version}.tar.gz
|
|
|
20c9ed8 |
BuildArch: noarch
|
|
|
20c9ed8 |
|
|
|
ffe5cf1 |
BuildRequires: perl-generators
|
|
|
96b6f53 |
BuildRequires: perl(Carp)
|
|
|
96b6f53 |
BuildRequires: perl(Exporter)
|
|
|
96b6f53 |
BuildRequires: perl(Fcntl)
|
|
|
f6efb74 |
BuildRequires: perl(File::Basename)
|
|
|
f6efb74 |
BuildRequires: perl(File::Spec)
|
|
|
a521eec |
BuildRequires: perl(Getopt::Long)
|
|
|
96b6f53 |
BuildRequires: perl(IO::Handle)
|
|
|
96b6f53 |
BuildRequires: perl(IO::Socket::UNIX)
|
|
|
f6efb74 |
BuildRequires: perl(Module::Build)
|
|
|
96b6f53 |
BuildRequires: perl(POSIX)
|
|
|
f6efb74 |
BuildRequires: perl(Pod::Usage)
|
|
|
96b6f53 |
BuildRequires: perl(Socket)
|
|
|
96b6f53 |
BuildRequires: perl(strict)
|
|
|
96b6f53 |
BuildRequires: perl(warnings)
|
|
|
96b6f53 |
|
|
|
a521eec |
# For the tests
|
|
|
96b6f53 |
BuildRequires: perl(IO::Socket::IP)
|
|
|
96b6f53 |
BuildRequires: perl(Net::EmptyPort)
|
|
|
f6efb74 |
BuildRequires: perl(Test::TCP) >= 2.08
|
|
|
96b6f53 |
BuildRequires: perl(Test::Requires)
|
|
|
96b6f53 |
BuildRequires: perl(Test::SharedFork)
|
|
|
a521eec |
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
%package start_server
|
|
|
a521eec |
Summary: perl-Server-Starter start_server script
|
|
|
a521eec |
Requires: perl-Server-Starter = %{version}-%{release}
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
%description
|
|
|
20c9ed8 |
It is often a pain to write a server program that supports graceful
|
|
|
20c9ed8 |
restarts, with no resource leaks. Server::Starter, solves the problem by
|
|
|
20c9ed8 |
splitting the task into two. One is start_server, a script provided as a
|
|
|
20c9ed8 |
part of the module, which works as a superdaemon that binds to zero or
|
|
|
20c9ed8 |
more TCP ports, and repeatedly spawns the server program that actually
|
|
|
20c9ed8 |
handles the necessary tasks (for example, responding to incoming
|
|
|
20c9ed8 |
connections). The spawned server programs under Server::Starter call
|
|
|
20c9ed8 |
accept(2) and handle the requests.
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
%description start_server
|
|
|
20c9ed8 |
perl-Server-Starter's start_server script.
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
%prep
|
|
|
20c9ed8 |
%setup -q -n Server-Starter-%{version}
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
%build
|
|
|
f6efb74 |
%{__perl} Build.PL --installdirs=vendor
|
|
|
f6efb74 |
./Build
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
%install
|
|
|
f6efb74 |
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
|
|
|
20c9ed8 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
%check
|
|
|
f6efb74 |
./Build test
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
%files
|
|
|
f6efb74 |
%doc Changes README.md
|
|
|
f6efb74 |
%license LICENSE
|
|
|
20c9ed8 |
%{perl_vendorlib}/*
|
|
|
20c9ed8 |
%{_mandir}/man3/*
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
%files start_server
|
|
|
20c9ed8 |
%{_bindir}/start_server
|
|
|
20c9ed8 |
%{_mandir}/man1/start_server.*
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
%changelog
|
|
|
7b97cf4 |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-15
|
|
|
7b97cf4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
7b97cf4 |
|
|
|
ae48032 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-14
|
|
|
ae48032 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
ae48032 |
|
|
|
7f5e729 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-13
|
|
|
7f5e729 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
7f5e729 |
|
|
|
ca00801 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-12
|
|
|
ca00801 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
ca00801 |
|
|
|
c5eab14 |
* Mon Nov 28 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.35-11
|
|
|
c5eab14 |
- Convert license to SPDX.
|
|
|
c5eab14 |
|
|
|
945482e |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-10
|
|
|
945482e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
945482e |
|
|
|
4e58c1a |
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-9
|
|
|
4e58c1a |
- Perl 5.36 rebuild
|
|
|
4e58c1a |
|
|
|
528d46c |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-8
|
|
|
528d46c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
528d46c |
|
|
|
2cd1505 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-7
|
|
|
2cd1505 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
2cd1505 |
|
|
|
e2d3198 |
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-6
|
|
|
e2d3198 |
- Perl 5.34 rebuild
|
|
|
e2d3198 |
|
|
|
f1b1a42 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-5
|
|
|
f1b1a42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
f1b1a42 |
|
|
|
04dbd6f |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-4
|
|
|
04dbd6f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
04dbd6f |
|
|
|
6415004 |
* Thu Jun 25 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-3
|
|
|
6415004 |
- Perl 5.32 rebuild
|
|
|
6415004 |
|
|
|
9e8b330 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-2
|
|
|
9e8b330 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
9e8b330 |
|
|
|
393365c |
* Wed Sep 25 2019 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.35-1
|
|
|
393365c |
- Upstream update to 0.35.
|
|
|
393365c |
|
|
|
c35eaf7 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.34-6
|
|
|
c35eaf7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
c35eaf7 |
|
|
|
e872d51 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-5
|
|
|
e872d51 |
- Perl 5.30 rebuild
|
|
|
e872d51 |
|
|
|
c2d2349 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.34-4
|
|
|
c2d2349 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
c2d2349 |
|
|
|
2ca0ce9 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.34-3
|
|
|
2ca0ce9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
2ca0ce9 |
|
|
|
c7080d9 |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-2
|
|
|
c7080d9 |
- Perl 5.28 rebuild
|
|
|
c7080d9 |
|
|
|
acd775c |
* Thu Mar 01 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.34-1
|
|
|
acd775c |
- Upstream update to 0.34.
|
|
|
acd775c |
- Drop Server-Starter-0.33-Fix-building-on-Perl-without-.-in-INC.patch
|
|
|
acd775c |
(Adopted by upstream).
|
|
|
acd775c |
|
|
|
3951e45 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.33-5
|
|
|
3951e45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3951e45 |
|
|
|
a2bcc24 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.33-4
|
|
|
a2bcc24 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a2bcc24 |
|
|
|
54205b5 |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.33-3
|
|
|
54205b5 |
- Perl 5.26 rebuild
|
|
|
54205b5 |
|
|
|
be6556b |
* Thu May 18 2017 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.33-2
|
|
|
be6556b |
- Add Server-Starter-0.33-Fix-building-on-Perl-without-.-in-INC.patch
|
|
|
be6556b |
(RHBZ#1451638).
|
|
|
be6556b |
|
|
|
5b84cfa |
* Wed Mar 01 2017 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.33-1
|
|
|
5b84cfa |
- Upstream update.
|
|
|
5b84cfa |
|
|
|
a879076 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.32-5
|
|
|
a879076 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a879076 |
|
|
|
6502497 |
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.32-4
|
|
|
6502497 |
- Perl 5.24 rebuild
|
|
|
6502497 |
|
|
|
0d0908b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.32-3
|
|
|
0d0908b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0d0908b |
|
|
|
b3a99b6 |
* Sun Jan 31 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.32-2
|
|
|
b3a99b6 |
- Modernize spec.
|
|
|
b3a99b6 |
|
|
|
d2a83c9 |
* Wed Aug 26 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.32-1
|
|
|
d2a83c9 |
- Upstream update.
|
|
|
d2a83c9 |
|
|
|
373b8b8 |
* Sun Jul 26 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.31-1
|
|
|
373b8b8 |
- Upstream update.
|
|
|
373b8b8 |
|
|
|
74a0564 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-2
|
|
|
74a0564 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
74a0564 |
|
|
|
6043617 |
* Thu Jun 11 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.30-1
|
|
|
6043617 |
- Upstream update.
|
|
|
6043617 |
|
|
|
63fce7b |
* Thu Jun 11 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.29-1
|
|
|
63fce7b |
- Upstream update.
|
|
|
63fce7b |
|
|
|
a16f4e3 |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-2
|
|
|
a16f4e3 |
- Perl 5.22 rebuild
|
|
|
a16f4e3 |
|
|
|
78c055e |
* Sat May 30 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.28-1
|
|
|
78c055e |
- Upstream update.
|
|
|
78c055e |
|
|
|
f6efb74 |
* Fri May 01 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.27-1
|
|
|
f6efb74 |
- Upstream update.
|
|
|
f6efb74 |
- Reflect upstream having dropped bundling modules.
|
|
|
f6efb74 |
- Reflect upstream having re-added LICENCE.
|
|
|
f6efb74 |
- Reflect upstream having switched to Module::Build.
|
|
|
f6efb74 |
|
|
|
96b6f53 |
* Tue Apr 07 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.25-1
|
|
|
96b6f53 |
- Upstream update.
|
|
|
96b6f53 |
- Rework spec.
|
|
|
96b6f53 |
- Remove bundled modules.
|
|
|
96b6f53 |
- Drop Fedora/RH-patches.
|
|
|
96b6f53 |
|
|
|
33880c3 |
* Tue Sep 09 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.17-9
|
|
|
33880c3 |
- Perl 5.20 mass
|
|
|
33880c3 |
|
|
|
451ab85 |
* Tue Sep 09 2014 Petr Pisar <ppisar@redhat.com> - 0.17-8
|
|
|
451ab85 |
- Fix a race between t/06-autorestart.t and t/05-killolddelay-echod.pl
|
|
|
451ab85 |
(bug #1100158)
|
|
|
451ab85 |
|
|
|
bf72c5d |
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.17-7
|
|
|
bf72c5d |
- Perl 5.20 rebuild
|
|
|
bf72c5d |
|
|
|
460cf76 |
* Thu Aug 21 2014 Petr Pisar <ppisar@redhat.com> - 0.17-6
|
|
|
460cf76 |
- Fix t/05-killolddelay.t race (bug #1100158)
|
|
|
460cf76 |
|
|
|
a77af9e |
* Fri Aug 08 2014 Petr Pisar <ppisar@redhat.com> - 0.17-5
|
|
|
a77af9e |
- Fix t/01-starter.t race (bug #1100158)
|
|
|
a77af9e |
|
|
|
eb4c9e9 |
* Thu Jul 10 2014 Petr Pisar <ppisar@redhat.com> - 0.17-4
|
|
|
eb4c9e9 |
- Fix t/06-autorestart.t race (bug #1100158)
|
|
|
eb4c9e9 |
|
|
|
aac55dd |
* Tue Jun 17 2014 Petr Pisar <ppisar@redhat.com> - 0.17-3
|
|
|
aac55dd |
- Fix races in t/07-envdir.t test (bug #1100158)
|
|
|
aac55dd |
- Load the environment directory just before restartin a server (bug #1100158)
|
|
|
aac55dd |
|
|
|
61cd4a9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-2
|
|
|
61cd4a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
61cd4a9 |
|
|
|
3758713 |
* Mon Dec 30 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.17-1
|
|
|
3758713 |
- Upstream update.
|
|
|
3758713 |
|
|
|
0eb2cfe |
* Sun Nov 24 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.16-1
|
|
|
0eb2cfe |
- Upstream update.
|
|
|
0eb2cfe |
|
|
|
a521eec |
* Tue Aug 27 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.15-1
|
|
|
a521eec |
- Upstream update.
|
|
|
a521eec |
- Minor spec cleanup.
|
|
|
a521eec |
|
|
|
50d16f4 |
* Fri Aug 16 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.14-1
|
|
|
50d16f4 |
- Upstream update.
|
|
|
50d16f4 |
- BR: perl(Test::TCP) >= 2.00.
|
|
|
50d16f4 |
|
|
|
dea2aac |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-4
|
|
|
dea2aac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
dea2aac |
|
|
|
12345e9 |
* Fri Jul 26 2013 Petr Pisar <ppisar@redhat.com> - 0.12-3
|
|
|
12345e9 |
- Perl 5.18 rebuild
|
|
|
12345e9 |
|
|
|
0aff427 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
|
|
|
0aff427 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
0aff427 |
|
|
|
2841fd2 |
* Wed Sep 26 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.12-1
|
|
|
2841fd2 |
- Upstream update.
|
|
|
2841fd2 |
- Modernize spec.
|
|
|
2841fd2 |
|
|
|
2bf53d0 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-7
|
|
|
2bf53d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2bf53d0 |
|
|
|
9cd4a1c |
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.11-6
|
|
|
9cd4a1c |
- Perl 5.16 rebuild
|
|
|
9cd4a1c |
|
|
|
ca5ae54 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
|
|
|
ca5ae54 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ca5ae54 |
|
|
|
26e1da7 |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-4
|
|
|
26e1da7 |
- Perl mass rebuild
|
|
|
26e1da7 |
|
|
|
e5b2c30 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
|
|
|
e5b2c30 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e5b2c30 |
|
|
|
20c9ed8 |
* Mon Jan 24 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.11-2
|
|
|
20c9ed8 |
- Add "Requires: perl-Server-Starter = %%{version}-%%{release}"
|
|
|
20c9ed8 |
per reviewer's demand.
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
* Thu Jan 20 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.11-1
|
|
|
20c9ed8 |
- Upstream update.
|
|
|
20c9ed8 |
- Reflect package review.
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
* Wed Dec 22 2010 Ralf Corsépius <corsepiu@fedoraproject.org> 0.09-2
|
|
|
20c9ed8 |
- Put start_server into separate subpackage.
|
|
|
20c9ed8 |
|
|
|
20c9ed8 |
* Wed Dec 22 2010 Ralf Corsépius <corsepiu@fedoraproject.org> 0.09-1
|
|
|
20c9ed8 |
- Initial Fedora package.
|