diff options
author | seb <seb@pkgsrc.org> | 2010-04-10 13:43:01 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2010-04-10 13:43:01 +0000 |
commit | 8ca0f1df212bbb9195b6c689e7a779a80a608c44 (patch) | |
tree | 91c99c3736a3d402b99d329242936a1a52d4d6c5 /sysutils | |
parent | a2fbc431170051ae3d2612f8933eed931ecabceb (diff) | |
download | pkgsrc-8ca0f1df212bbb9195b6c689e7a779a80a608c44.tar.gz |
Initial import of p5-Server-Starter version 0.06 in the NetBSD
Packages Collection.
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.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/p5-Server-Starter/DESCR | 8 | ||||
-rw-r--r-- | sysutils/p5-Server-Starter/Makefile | 21 | ||||
-rw-r--r-- | sysutils/p5-Server-Starter/distinfo | 5 |
3 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/p5-Server-Starter/DESCR b/sysutils/p5-Server-Starter/DESCR new file mode 100644 index 00000000000..06965247231 --- /dev/null +++ b/sysutils/p5-Server-Starter/DESCR @@ -0,0 +1,8 @@ +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. diff --git a/sysutils/p5-Server-Starter/Makefile b/sysutils/p5-Server-Starter/Makefile new file mode 100644 index 00000000000..a2ae04dbc68 --- /dev/null +++ b/sysutils/p5-Server-Starter/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/04/10 13:43:01 seb Exp $ + +DISTNAME= Server-Starter-0.06 +PKGNAME= p5-${DISTNAME} +CATEGORIES= sysutils perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Server/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Server-Starter/ +COMMENT= Perl 5 superdaemon for hot-deploying server programs + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/Server/Starter/.packlist + +BUILD_DEPENDS+= p5-Test-TCP>=0.11:../../net/p5-Test-TCP +DEPENDS+= p5-Proc-Wait3-[0-9]*:../../devel/p5-Proc-Wait3 + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/p5-Server-Starter/distinfo b/sysutils/p5-Server-Starter/distinfo new file mode 100644 index 00000000000..7dc92ad26ce --- /dev/null +++ b/sysutils/p5-Server-Starter/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/04/10 13:43:01 seb Exp $ + +SHA1 (Server-Starter-0.06.tar.gz) = 68fc9f670a5429fd66fb3b7b08e0b6f390bdb79d +RMD160 (Server-Starter-0.06.tar.gz) = e985caef4d7baaf579c954d936804a52a2a8b2bc +Size (Server-Starter-0.06.tar.gz) = 26036 bytes |