./sysutils/p5-Server-Starter, Perl 5 superdaemon for hot-deploying server programs

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.34nb1, Package name: p5-Server-Starter-0.34nb1, Maintainer: pkgsrc-users

It is often a pain to write a server program that supports graceful
restarts, with no resource leaks. The Perl 5 module Server::Starter,
solves the problem by splitting the task into two. One is start_server,
a script provided as a part of the module, which works as a superdaemon
that binds to one or more TCP ports, and repeatedly spawns the
server program that actually handles the incomming commenctions.
The spawned server programs under Server::Starter call accept(2)
and handle the requests.


Required to run:
[lang/perl5] [devel/p5-List-MoreUtils] [devel/p5-Scope-Guard] [devel/p5-Proc-Wait3]

Required to build:
[devel/p5-Module-Build] [net/p5-Test-TCP] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 2af672e8b7d6bc6999ed8675709c66f65bc78ccd
RMD160: 31f4ccc2386a520a29b96d7ebc1a274e22f668f9
Filesize: 23.231 KB

Version history: (Expand)


CVS history: (Expand)


   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2018-02-28 09:53:32 by Thomas Klausner | Files touched by this commit (1)
Log message:
p5-Server-Starter: remove unused patch.
   2018-02-28 09:53:15 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Server-Starter: update to 0.34.

0.34 2018-02-26T06:32:16Z
	- run start_server even if no port (or path) is specified (thanks to Ichito \ 
Nagata) #49
	- add `.` in @INC (thanks to Petr Písař) #47
   2017-09-18 13:53:39 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Server-Starter: update to 0.33.

0.33 2016-12-13T00:37:49Z
	- do not kill old worker too early (thanks to Xuanzhong Wei) #45
	- allow use of `--enable-auto-restart` without an argument (thanks to Slaven \ 
Rezic) #41
   2017-06-07 01:58:52 by Ryo ONODERA | Files touched by this commit (2)
Log message:
Fix build with Perl 5.26.0
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2016-02-01 13:12:05 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Update 0.17 to 0.32
--------------------
0.32 2015-08-25T02:09:18Z
	- fix compatibility issue on Solaris (thanks to Syohei YOSHIDA) #40

0.31 2015-07-20T02:38:57Z
	- do not remove the socket file when becoming a daemon (thanks to
          andyjones) #34 #36
	- emit name of the directory to which it failed to chdir(2) (thanks
          to tokuhirom) #33

0.30 2015-06-05T05:28:43Z
	- unlink the status file only when created by itself (thanks to
          tokuhirom) #32
	- redo #26 (thanks to tokuhirom) #31

0.29 2015-06-04T06:45:26Z
	- build should fail on Windows (thanks to chorny) #26
	- add `--stop` option (thanks to tokuhirom) #28
	- do not close STDIN in case the listening port is mapped to fd
          zero (thanks to tokuhirom) #29 #24
	- reopen STDIN to suppress unnecessary warnings (thanks to
          touhirom) #30

0.28 2015-05-28T22:08:37Z
	- add `--port=[host:]port=fd` option for specifying the file
          descriptor number (thanks to tokuhirom) #24

0.27 2015-04-28T01:02:28Z
	- revert 0.26 so that the install script can update the
	- shebang (thanks to miyagawa) #22 modernize the build tool
	- (thanks to miyagawa) #23
0.26
	- `start_server` command uses perl found in $PATH instead of
          /usr/bin/perl #21
0.25
	- fix `already in use` error if the program is restarted
          (regression in 0.21) #18
	- tests now pass on environments wo. IPv6 support #19
0.24
	- introduce --daemonize option (#18 #6)
	- fix bug that causes a infinite loop in shutdown (amends #14)
0.23
	- set IPV6_V6ONLY for socket bound to an IPv6 address (#16)
0.22
	- support for IPv6 (#16)
	- include repository URL in META.yml (#15; thanks to ether)
0.21
	- remove dependency against non-standard modules (#14)
0.19
	- reimplement changes in 0.15, 0.16 for stability (#13)
	- update inc/Module/Install