pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/p5-Server-Starter Initial import of p5-Server...
details: https://anonhg.NetBSD.org/pkgsrc/rev/04933a595550
branches: trunk
changeset: 574046:04933a595550
user: seb <seb%pkgsrc.org@localhost>
date: Sat Apr 10 13:43:01 2010 +0000
description:
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:
sysutils/p5-Server-Starter/DESCR | 8 ++++++++
sysutils/p5-Server-Starter/Makefile | 21 +++++++++++++++++++++
sysutils/p5-Server-Starter/distinfo | 5 +++++
3 files changed, 34 insertions(+), 0 deletions(-)
diffs (46 lines):
diff -r a41124d9ebf7 -r 04933a595550 sysutils/p5-Server-Starter/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/p5-Server-Starter/DESCR Sat Apr 10 13:43:01 2010 +0000
@@ -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 -r a41124d9ebf7 -r 04933a595550 sysutils/p5-Server-Starter/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/p5-Server-Starter/Makefile Sat Apr 10 13:43:01 2010 +0000
@@ -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@localhost
+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 -r a41124d9ebf7 -r 04933a595550 sysutils/p5-Server-Starter/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/p5-Server-Starter/distinfo Sat Apr 10 13:43:01 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index