Info2: <<
Package: net-server-pm%type_pkg[perl]
Version: 2.014
Revision: 1
Description: Extensible, general Perl server engine
License: Artistic/GPL
Homepage: https://metacpan.org/dist/Net-Server
Maintainer: None <fink-devel@lists.sourceforge.net>

Type: perl (5.16.2 5.18.2 5.18.4 5.28.2 5.30.2 5.30.3)
Distribution: <<
	(%type_pkg[perl] = 5162) 10.9,
	(%type_pkg[perl] = 5162) 10.10,
	(%type_pkg[perl] = 5162) 10.11,
	(%type_pkg[perl] = 5162) 10.12,
	(%type_pkg[perl] = 5162) 10.13
<<

Source: mirror:cpan:modules/by-module/Net/Net-Server-%v.tar.gz
Source-Checksum: SHA256(3406b9ca5a662a0075eed47fb78de1316b601c94f62a0ee34a5544db9baa3720)

# various submodules have possible runtime use of other packages,
# but not adding all their deps (users can install them if they
# have need for these features/components) -- dmacks
# This includes Net::SSLeay, but prior to its 1.92 caused breakage,
# so we do include that Depends to make sure we don't get the older
# broken one.
Depends: <<
	net-cidr-pm,
	net-ssleay-pm%type_pkg[perl] (>= 1.92),
	perl%type_pkg[perl]-core
<<

UpdatePOD: true

InstallScript: <<
	%{default_script}
	mv %i/share/man %i/lib/perl5/%type_raw[perl]
	mv %i/bin/net-server %i/bin/net-server-%type_raw[perl]
<<

DocFiles: Changes README examples

PostInstScript: <<
	if [ "$1" = "configure" ]; then
		update-alternatives --install %p/bin/net-server net-server %p/bin/net-server-%type_raw[perl] %type_pkg[perl]
	fi
<<
PreRmScript: <<
	if [ "$1" = "remove" ]; then
		update-alternatives --remove net-server %p/bin/net-server-%type_raw[perl]
	fi
<<

DescDetail: <<
Net::Server is an extensible, generic Perl server engine.  It attempts
to be a generic server as in Net::Daemon and NetServer::Generic. It
includes with it the ability to run as an inetd process
(Net::Server::INET), a single connection server (Net::Server or
Net::Server::Single), a forking server (Net::Server::Fork), a
preforking server which maintains a constant number of preforked
children (Net::Server::PreForkSimple), or as a managed preforking
server which maintains the number of children based on server load
(Net::Server::PreFork). In all but the inetd type, the server provides
the ability to connect to one or to multiple server ports.
<<
DescPackaging: <<
	Previous maintainer: Monic Polynomial

	t/SSLEAY_test.t fails:
		Trouble running server: SSLeay bind_SSL CTX_new at Net::Server::Proto::SSLEAY line 153
		310398599. 12800067:DSO support routines::could not load the shared library
	as root but sometimes passes as non-root.
<<
<<