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

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

Branch: CURRENT, Version: 0.32nb1, Package name: p5-Server-Starter-0.32nb1, 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]

Master sites: (Expand)

SHA1: b2c6178ef3b323bd251bf9774f05320840dca461
RMD160: c4c8275c799b1115ba678bb1398b8bd6502fd9e8
Filesize: 22.563 KB

Version history: (Expand)

CVS history: (Expand)

   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
	- `start_server` command uses perl found in $PATH instead of
          /usr/bin/perl #21
	- fix `already in use` error if the program is restarted
          (regression in 0.21) #18
	- tests now pass on environments wo. IPv6 support #19
	- introduce --daemonize option (#18 #6)
	- fix bug that causes a infinite loop in shutdown (amends #14)
	- set IPV6_V6ONLY for socket bound to an IPv6 address (#16)
	- support for IPv6 (#16)
	- include repository URL in META.yml (#15; thanks to ether)
	- remove dependency against non-standard modules (#14)
	- 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.
   2014-05-03 11:26:10 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.17

Upstream changes:
	- add option: --backlog to change the backlog size (default: SOMAXCONN) (thanks \ 
to Yuryu)

	- [bugfix] unset the environment variable when a file is removed from the \ 
directory specified by --envdir

	- added option: --envdir for reloading configuration (thanks to limitusus)
	- added options: --enable-auto-restart and interval for periodical automatic \ 
restarting (thanks to limitusus)
	- added option: --kill-old-delay for delaying SIGTERM (thanks to limitusus)

	- fix regression in 0.13; start_server wo. "--dir" was causing errors

	- add option: --dir (thanks to kazeburo)

	- bugfix: support for programs with whitespaces (thanks to clkao)
	- add option: --signal-on-term (thanks to miyagawa)
   2013-05-31 14:42:58 by Thomas Klausner | Files touched by this commit (2880)
Log message:
Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
   2012-10-23 21:51:39 by Aleksej Saushev | Files touched by this commit (447)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.