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

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


Branch: CURRENT, Version: 0.33, Package name: p5-Server-Starter-0.33, 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:
[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: c44aba9273b1e50937cf523eb2fc438de4d1b9bc
RMD160: bc771bb4e26af76c44bb4afe485629785d712ad7
Filesize: 22.788 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2015-11-04 02:32:42 by Alistair G. Crooks | Files touched by this commit (499)
Log message:
Add SHA512 digests for distfiles for sysutils category

Problems found with existing digests:
	Package memconf distfile memconf-2.16/memconf.gz
	b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
	95748686a5ad8144232f4d4abc9bf052721a196f [calculated]

Problems found locating distfiles:
	Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
	Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
	Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
	Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
	Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049)
Log message:
Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.