Subject: pkg/12421: new pkg, net/p5-Net-Daemon
To: None <gnats-bugs@gnats.netbsd.org>
From: None <eric@cirr.com>
List: netbsd-bugs
Date: 03/15/2001 22:46:49
>Number:         12421
>Category:       pkg
>Synopsis:       New package, security/p5-Net-Daemon (in support of net/p5-PlRPC)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 15 20:47:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Eric Schnoebelen
>Release:        2001-03-15
>Organization:
	Central Iowa (Model) Railroad
>Environment:
System: NetBSD milo.cirr.com 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (MILO_pciide) #0: Tue Feb 6 11:19:46 CST 2001 eric@milo.cirr.com:/home/milo/eric/work/usr/src/sys/arch/alpha/compile/MILO_pciide alpha


>Description:
	New package, security/p5-Net-Daemon.  Added to support a new
	package, net/p5-PlRPC, which is needed for dbiproxy and
	DBD::Proxy (which will also be coming soon.)

	p5-Net-Daemon allows the easy generation of daemons for network
	services.

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	net/p5-Net-Daemon
#	net/p5-Net-Daemon/Makefile
#	net/p5-Net-Daemon/pkg
#	net/p5-Net-Daemon/pkg/PLIST
#	net/p5-Net-Daemon/pkg/DESCR
#	net/p5-Net-Daemon/files
#	net/p5-Net-Daemon/files/md5
#
echo c - net/p5-Net-Daemon
mkdir -p net/p5-Net-Daemon > /dev/null 2>&1
echo x - net/p5-Net-Daemon/Makefile
sed 's/^X//' >net/p5-Net-Daemon/Makefile << 'END-of-net/p5-Net-Daemon/Makefile'
X# $NetBSD
X#
X
XDISTNAME=	Net-Daemon-0.34
XPKGNAME=	p5-Net-Daemon-0.34
XCATEGORIES=	net perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Net/}
X
XMAINTAINER=	eric@cirr.com
XHOMEPAGE=	http://theory.uwinnipeg.ca/CPAN/data/libnet/FAQ.html
XCOMMENT=	perl5 module writing networking daemons
X
XDEPENDS+= 	p5-Data-Dumper-*:../../devel/p5-Data-Dumper
X
XUSE_PERL5=	# defined
XPERL5_PACKLIST=	${PERL5_SITEARCH}/auto/Net/Daemon/.packlist
X
Xdo-configure:
X	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
X
X.include "../../mk/bsd.pkg.mk"
END-of-net/p5-Net-Daemon/Makefile
echo c - net/p5-Net-Daemon/pkg
mkdir -p net/p5-Net-Daemon/pkg > /dev/null 2>&1
echo x - net/p5-Net-Daemon/pkg/PLIST
sed 's/^X//' >net/p5-Net-Daemon/pkg/PLIST << 'END-of-net/p5-Net-Daemon/pkg/PLIST'
X@comment $NetBSD: PLIST,v 1.8 2000/08/27 07:11:17 jlam Exp $
END-of-net/p5-Net-Daemon/pkg/PLIST
echo x - net/p5-Net-Daemon/pkg/DESCR
sed 's/^X//' >net/p5-Net-Daemon/pkg/DESCR << 'END-of-net/p5-Net-Daemon/pkg/DESCR'
XNAME
X    Net::Daemon - Perl extension for portable daemons
X
XSYNOPSIS
X      # Create a subclass of Net::Daemon
X      require Net::Daemon;
X      package MyDaemon;
X      @MyDaemon::ISA = qw(Net::Daemon);
X
X      sub Run ($) {
X        # This function does the real work; it is invoked whenever a
X        # new connection is made.
X      }
X
XWARNING
X    THIS IS ALPHA SOFTWARE. It is *only* 'Alpha' because the interface (API)
X    is not finalised. The Alpha status does not reflect code quality or
X    stability.
X
XDESCRIPTION
X    Net::Daemon is an abstract base class for implementing portable server
X    applications in a very simple way. The module is designed for Perl 5.005
X    and threads, but can work with fork() and Perl 5.004.
X
X    The Net::Daemon class offers methods for the most common tasks a daemon
X    needs: Starting up, logging, accepting clients, authorization,
X    restricting its own environment for security and doing the true work.
X    You only have to override those methods that aren't appropriate for you,
X    but typically inheriting will safe you a lot of work anyways.
X
X  Constructors
X
X      $server = Net::Daemon->new($attr, $options);
X
X      $connection = $server->Clone($socket);
X
X    Two constructors are available: The new method is called upon startup
X    and creates an object that will basically act as an anchor over the
X    complete program. It supports command line parsing via the Getopt::Long
X    (3) entry elsewhere in this document.
X
XAUTHOR AND COPYRIGHT
X      Net::Daemon is Copyright (C) 1998, Jochen Wiedmann
X                                         Am Eisteich 9
X                                         72555 Metzingen
X                                         Germany
X
X                                         Phone: +49 7123 14887
X                                         Email: joe@ispsoft.de
X
X      All rights reserved.
X
X      You may distribute this package under the terms of either the GNU
X      General Public License or the Artistic License, as specified in the
X      Perl README file.
X
END-of-net/p5-Net-Daemon/pkg/DESCR
echo c - net/p5-Net-Daemon/files
mkdir -p net/p5-Net-Daemon/files > /dev/null 2>&1
echo x - net/p5-Net-Daemon/files/md5
sed 's/^X//' >net/p5-Net-Daemon/files/md5 << 'END-of-net/p5-Net-Daemon/files/md5'
X$NetBSD$
X
XSHA1 (Net-Daemon-0.34.tar.gz) = e72e5174935ec1e2f409ddccc57f6af3aa4af6ae
END-of-net/p5-Net-Daemon/files/md5
exit

>Release-Note:
>Audit-Trail:
>Unformatted: