corsepiu pushed to perl-Server-Starter (f22). Upstream update.
From d2a83c92f697a0c03df770fbf45131b2ba783445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= corse...@fedoraproject.org Date: Wed, 26 Aug 2015 17:24:22 +0200 Subject: Upstream update. diff --git a/.gitignore b/.gitignore index fce5ebb..c63d20e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Server-Starter-0.31.tar.gz +/Server-Starter-0.32.tar.gz diff --git a/perl-Server-Starter.spec b/perl-Server-Starter.spec index 1431d6d..e94077c 100644 --- a/perl-Server-Starter.spec +++ b/perl-Server-Starter.spec @@ -1,5 +1,5 @@ Name: perl-Server-Starter -Version:0.31 +Version:0.32 Release:1%{?dist} Summary:Superdaemon for hot-deploying server programs License:GPL+ or Artistic @@ -78,6 +78,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2/dev/null \; %{_mandir}/man1/start_server.* %changelog +* Wed Aug 26 2015 Ralf Corsépius corse...@fedoraproject.org - 0.32-1 +- Upstream update. + * Sun Jul 26 2015 Ralf Corsépius corse...@fedoraproject.org - 0.31-1 - Upstream update. diff --git a/sources b/sources index a926363..9dba6be 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -48a6cca38adeb57878d5339891dcfacf Server-Starter-0.31.tar.gz +f9f3447549a7ec261e0741ba5fc11d90 Server-Starter-0.32.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Server-Starter.git/commit/?h=f22id=d2a83c92f697a0c03df770fbf45131b2ba783445 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel
corsepiu pushed to perl-Server-Starter (f22). Upstream update.
From 373b8b8cbdfc57839e564f35e6c9f11e31572570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= corse...@fedoraproject.org Date: Sun, 26 Jul 2015 15:33:45 +0200 Subject: Upstream update. diff --git a/.gitignore b/.gitignore index 69b41d4..fce5ebb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Server-Starter-0.30.tar.gz +/Server-Starter-0.31.tar.gz diff --git a/perl-Server-Starter.spec b/perl-Server-Starter.spec index f55c039..1431d6d 100644 --- a/perl-Server-Starter.spec +++ b/perl-Server-Starter.spec @@ -1,6 +1,6 @@ Name: perl-Server-Starter -Version:0.30 -Release:2%{?dist} +Version:0.31 +Release:1%{?dist} Summary:Superdaemon for hot-deploying server programs License:GPL+ or Artistic Group: Development/Libraries @@ -78,6 +78,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2/dev/null \; %{_mandir}/man1/start_server.* %changelog +* Sun Jul 26 2015 Ralf Corsépius corse...@fedoraproject.org - 0.31-1 +- Upstream update. + * Thu Jun 18 2015 Fedora Release Engineering rel-...@lists.fedoraproject.org - 0.30-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 558790c..a926363 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -84a10a9f48caf74292a1acb8b4365344 Server-Starter-0.30.tar.gz +48a6cca38adeb57878d5339891dcfacf Server-Starter-0.31.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Server-Starter.git/commit/?h=f22id=373b8b8cbdfc57839e564f35e6c9f11e31572570 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel
corsepiu pushed to perl-Server-Starter (f22). Upstream update.
From 60436178639228edd317a80c64d40800d49290ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= corse...@fedoraproject.org Date: Thu, 11 Jun 2015 18:33:51 +0200 Subject: Upstream update. diff --git a/.gitignore b/.gitignore index d9b69ab..69b41d4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Server-Starter-0.29.tar.gz +/Server-Starter-0.30.tar.gz diff --git a/perl-Server-Starter.spec b/perl-Server-Starter.spec index 6ba6a23..0b12776 100644 --- a/perl-Server-Starter.spec +++ b/perl-Server-Starter.spec @@ -1,5 +1,5 @@ Name: perl-Server-Starter -Version:0.29 +Version:0.30 Release:1%{?dist} Summary:Superdaemon for hot-deploying server programs License:GPL+ or Artistic @@ -78,6 +78,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2/dev/null \; %{_mandir}/man1/start_server.* %changelog +* Thu Jun 11 2015 Ralf Corsépius corse...@fedoraproject.org - 0.30-1 +- Upstream update. + * Thu Jun 11 2015 Ralf Corsépius corse...@fedoraproject.org - 0.29-1 - Upstream update. diff --git a/sources b/sources index 8c04e8e..558790c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c2567036ca2018b89d5a14a6ee5d0661 Server-Starter-0.29.tar.gz +84a10a9f48caf74292a1acb8b4365344 Server-Starter-0.30.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Server-Starter.git/commit/?h=f22id=60436178639228edd317a80c64d40800d49290ff -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel
corsepiu pushed to perl-Server-Starter (f22). Upstream update.
From 63fce7b707717127211fab320b0debeac6e83407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= corse...@fedoraproject.org Date: Thu, 11 Jun 2015 18:20:44 +0200 Subject: Upstream update. diff --git a/.gitignore b/.gitignore index 511cac3..d9b69ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Server-Starter-0.28.tar.gz +/Server-Starter-0.29.tar.gz diff --git a/perl-Server-Starter.spec b/perl-Server-Starter.spec index a851ace..6ba6a23 100644 --- a/perl-Server-Starter.spec +++ b/perl-Server-Starter.spec @@ -1,6 +1,6 @@ Name: perl-Server-Starter -Version:0.28 -Release:2%{?dist} +Version:0.29 +Release:1%{?dist} Summary:Superdaemon for hot-deploying server programs License:GPL+ or Artistic Group: Development/Libraries @@ -78,6 +78,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2/dev/null \; %{_mandir}/man1/start_server.* %changelog +* Thu Jun 11 2015 Ralf Corsépius corse...@fedoraproject.org - 0.29-1 +- Upstream update. + * Fri Jun 05 2015 Jitka Plesnikova jples...@redhat.com - 0.28-2 - Perl 5.22 rebuild diff --git a/sources b/sources index d2c86e0..8c04e8e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7145d6e90b3545944cbb13a9f5076d10 Server-Starter-0.28.tar.gz +c2567036ca2018b89d5a14a6ee5d0661 Server-Starter-0.29.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Server-Starter.git/commit/?h=f22id=63fce7b707717127211fab320b0debeac6e83407 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel
corsepiu pushed to perl-Server-Starter (f22). Upstream update.
From 78c055e909b12b9159fbc33a2d8c684ff86808cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= corse...@fedoraproject.org Date: Sat, 30 May 2015 00:51:54 +0200 Subject: Upstream update. diff --git a/.gitignore b/.gitignore index e4c28b2..511cac3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Server-Starter-0.27.tar.gz +/Server-Starter-0.28.tar.gz diff --git a/perl-Server-Starter.spec b/perl-Server-Starter.spec index 06b6c1f..a083e78 100644 --- a/perl-Server-Starter.spec +++ b/perl-Server-Starter.spec @@ -1,5 +1,5 @@ Name: perl-Server-Starter -Version:0.27 +Version:0.28 Release:1%{?dist} Summary:Superdaemon for hot-deploying server programs License:GPL+ or Artistic @@ -78,6 +78,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2/dev/null \; %{_mandir}/man1/start_server.* %changelog +* Sat May 30 2015 Ralf Corsépius corse...@fedoraproject.org - 0.28-1 +- Upstream update. + * Fri May 01 2015 Ralf Corsépius corse...@fedoraproject.org - 0.27-1 - Upstream update. - Reflect upstream having dropped bundling modules. diff --git a/sources b/sources index c84207a..d2c86e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3330f699ec30546bf105bb61c05b4105 Server-Starter-0.27.tar.gz +7145d6e90b3545944cbb13a9f5076d10 Server-Starter-0.28.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Server-Starter.git/commit/?h=f22id=78c055e909b12b9159fbc33a2d8c684ff86808cf -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel
corsepiu pushed to perl-Server-Starter (f22). Upstream update. (..more)
From 96b6f5340aaf906e870d20b95d546801de03c587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= corse...@fedoraproject.org Date: Tue, 7 Apr 2015 05:16:23 +0200 Subject: Upstream update. - Rework spec. - Remove bundled modules. - Drop Fedora/RH-patches. diff --git a/.gitignore b/.gitignore index 48e455c..2ba2233 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Server-Starter-0.17.tar.gz +/Server-Starter-0.25.tar.gz diff --git a/Server-Starter-0.17-Fix-loading-envdir.patch b/Server-Starter-0.17-Fix-loading-envdir.patch deleted file mode 100644 index d0b9dbf..000 --- a/Server-Starter-0.17-Fix-loading-envdir.patch +++ /dev/null @@ -1,107 +0,0 @@ -From 6d965848ff8905f82da0f1ac142000b12a05905e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= ppi...@redhat.com -Date: Mon, 16 Jun 2014 17:25:08 +0200 -Subject: [PATCH 2/2] Fix loading envdir -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The envdir was scanned each second regardless of signal received. This -caused random failures of the 'removed env' t/07-envdir.t test. - -This patch fixes it by loading the environment only just before -intended restart. It also documents this start_server() option. - -Signed-off-by: Petr PÃsaÅ ppi...@redhat.com - lib/Server/Starter.pm | 31 ++- - 1 file changed, 22 insertions(+), 9 deletions(-) - -diff --git a/lib/Server/Starter.pm b/lib/Server/Starter.pm -index 47bc18a..c171307 100644 a/lib/Server/Starter.pm -+++ b/lib/Server/Starter.pm -@@ -179,15 +179,13 @@ sub start_server { - - # the main loop - my $term_signal = 0; --$current_worker = _start_worker($opts); -+my %loaded_env; -+$current_worker = _start_worker($opts, \%loaded_env); - $update_status-(); - my $auto_restart_interval = 0; - my $last_restart_time = time(); - my $restart_flag = 0; - while (1) { --my %loaded_env = _reload_env(); --my @loaded_env_keys = keys %loaded_env; --local @ENV{@loaded_env_keys} = map { $loaded_env{$_} } (@loaded_env_keys); - if ($ENV{ENABLE_AUTO_RESTART}) { - # restart workers periodically - $auto_restart_interval = $ENV{AUTO_RESTART_INTERVAL} ||= 360; -@@ -201,7 +199,7 @@ sub start_server { - last if ($died_worker = 0); - if ($died_worker == $current_worker) { - print STDERR worker $died_worker died unexpectedly with status:$status, restarting\n; --$current_worker = _start_worker($opts); -+$current_worker = _start_worker($opts, \%loaded_env); - $last_restart_time = time(); - } else { - print STDERR old worker $died_worker died, status:$status\n; -@@ -232,9 +230,10 @@ sub start_server { - } - } - if ($restart_flag 1 || ($restart_flag 0 $num_old_workers == 0)) { -+%loaded_env = _reload_env(); - print STDERR spawning a new worker (num_old_workers=$num_old_workers)\n; - $old_workers{$current_worker} = $ENV{SERVER_STARTER_GENERATION}; --$current_worker = _start_worker($opts); -+$current_worker = _start_worker($opts, \%loaded_env); - $last_restart_time = time(); - $restart_flag = 0; - $update_status-(); -@@ -342,7 +341,7 @@ sub _reload_env { - } - - sub _start_worker { --my $opts = shift; -+my ($opts, $loaded_env) = @_; - my $pid; - while (1) { - $ENV{SERVER_STARTER_GENERATION}++; -@@ -350,6 +349,8 @@ sub _start_worker { - die fork(2) failed:$! - unless defined $pid; - if ($pid == 0) { -+my @loaded_env_keys = keys %$loaded_env; -+@ENV{@loaded_env_keys} = map { $loaded_env-{$_} } (@loaded_env_keys); - my @args = @{$opts-{exec}}; - # child process - if (defined $opts-{dir}) { -@@ -418,9 +419,21 @@ A Net::Server personality that can be run under LServer::Starter exists under - - Returns zero or more file descriptors on which the server program should call accept(2) in a hashref. Each element of the hashref is: (host:port|port|path_of_unix_socket) = file_descriptor. - --=item start_server -+=item start_server(%options) - --Starts the superdaemon. Used by the Cstart_server script. -+Starts the superdaemon. Used by the Cstart_server script. Options are: -+ -+=over 4 -+ -+=item envdir -+ -+Defines a directory whose content is added into server's environment. Each file name specifies an environment variable, the file's content specifies a value of the environment variable. Files with names starting with a dot are ignored. -+ -+The environment directory is scanned and read only on time-based autorestart or SIGHUP signal. The first server instances have default environment. To remove an enviroment variable added before, remove the file and send the signal. -+
corsepiu pushed to perl-Server-Starter (f22). Upstream update. (..more)
From f6efb74567d210b58a234038263486447ebae3c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= corse...@fedoraproject.org Date: Fri, 1 May 2015 07:58:52 +0200 Subject: Upstream update. - Reflect upstream having dropped bundling modules. - Reflect upstream having re-added LICENCE. - Reflect upstream having switched to Module::Build. diff --git a/.gitignore b/.gitignore index 2ba2233..e4c28b2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Server-Starter-0.25.tar.gz +/Server-Starter-0.27.tar.gz diff --git a/perl-Server-Starter.spec b/perl-Server-Starter.spec index 7ad89af..06b6c1f 100644 --- a/perl-Server-Starter.spec +++ b/perl-Server-Starter.spec @@ -1,5 +1,5 @@ Name: perl-Server-Starter -Version:0.25 +Version:0.27 Release:1%{?dist} Summary:Superdaemon for hot-deploying server programs License:GPL+ or Artistic @@ -10,12 +10,15 @@ BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) = 6.42 BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) BuildRequires: perl(Getopt::Long) BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Socket::UNIX) +BuildRequires: perl(Module::Build) BuildRequires: perl(POSIX) +BuildRequires: perl(Pod::Usage) BuildRequires: perl(Socket) BuildRequires: perl(strict) BuildRequires: perl(warnings) @@ -23,7 +26,7 @@ BuildRequires: perl(warnings) # For the tests BuildRequires: perl(IO::Socket::IP) BuildRequires: perl(Net::EmptyPort) -BuildRequires: perl(Test::TCP) = 2.00 +BuildRequires: perl(Test::TCP) = 2.08 BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::SharedFork) @@ -48,22 +51,13 @@ perl-Server-Starter's start_server script. %prep %setup -q -n Server-Starter-%{version} -# Remove bundled modules -for f in inc/Test/TCP.pm inc/IO/Socket/IP.pm inc/Net/EmptyPort.pm \ - inc/Test/SharedFork.pm; do - pat=$(echo $f | sed 's,/,\\/,g;s,\.,\\.,g') - rm $f - sed -i -e /$pat/d MANIFEST -done %build -# --skipdeps causes ExtUtils::AutoInstall not to try auto-installing -# missing modules -%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps -make %{?_smp_mflags} +%{__perl} Build.PL --installdirs=vendor +./Build %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2/dev/null \; @@ -71,10 +65,11 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check -make test +./Build test %files -%doc Changes README +%doc Changes README.md +%license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* @@ -83,6 +78,12 @@ make test %{_mandir}/man1/start_server.* %changelog +* Fri May 01 2015 Ralf Corsépius corse...@fedoraproject.org - 0.27-1 +- Upstream update. +- Reflect upstream having dropped bundling modules. +- Reflect upstream having re-added LICENCE. +- Reflect upstream having switched to Module::Build. + * Tue Apr 07 2015 Ralf Corsépius corse...@fedoraproject.org - 0.25-1 - Upstream update. - Rework spec. diff --git a/sources b/sources index 628286e..c84207a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0b94ee58578d4f5a7a7b97b0a98c90c2 Server-Starter-0.25.tar.gz +3330f699ec30546bf105bb61c05b4105 Server-Starter-0.27.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Server-Starter.git/commit/?h=f22id=f6efb74567d210b58a234038263486447ebae3c8 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel