File perl-Net-Server.spec of Package perl-Net-Server
#
# spec file for package perl-Net-Server (Version 0.97)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Net-Server
Url: http://cpan.org/modules/by-module/Net/
License: Artistic License; GPL v2 or later
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: Net::Server - Extensible, general Perl server engine
Version: 0.97
Release: 1
Source: Net-Server-%{version}.tar.bz2
Requires: perl-IO-Multiplex
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
"Net::Server" attempts to be a generic server as in "Net::Daemon" and
"NetServer::Generic".
Authors:
--------
Paul T. Seamons <paul@seamons.com>
%prep
%setup -q -n Net-Server-%{version}
%build
perl Makefile.PL
make
make test
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_mandir}/man3/*
%doc README MANIFEST Changes
%doc examples
%dir %{perl_vendorlib}/Net
%{perl_vendorlib}/Net/Server.pod
%{perl_vendorlib}/Net/Server.pm
%{perl_vendorlib}/Net/Server
%dir %{perl_vendorarch}/auto/Net
%{perl_vendorarch}/auto/Net/Server
/var/adm/perl-modules/perl-Net-Server
%changelog
* Mon Oct 08 2007 - anicka@suse.cz
- update to 0.97
* Allow for better handling of setlogsock depending upon
the version of Sys::Syslog installed
* Update examples with minimal pod and working synopses
* Added post_client_connection_hook
* Fri Mar 30 2007 - anicka@suse.cz
- update to 0.96
* Allow for conf_file to be specified in the default_values.
* Add perldoc for why we use a template in options.
* Fix syslog log options regex again (Carlos Velasco)
* Fix ->autoflush (needs FileHandle)
* Add handle_syslog_error to allow catching errors
during syslog writes
* Add open_syslog to slightly abstract opening of syslog.
* Add numerous patches to cleanup child accounting in PreFork
server.
* Wed Feb 14 2007 - anicka@suse.cz
- update to 0.95
- Warn clean on the chld hanlder in PreFork.
* Allow lock_file for lock serialization to only be opened once
* Add additional log messages during failure in accept
* Fix double decrement bug in PreFork.pm
* Fix precedence bug with non-parened open
* Check setuid better after POSIX setuid
* Update Syslog options parsing
* Allow no_client_stdout to work with Multiplex
* Allow Sys::SysLog keyworks be passed through the ->log method
* Allow more characters through in syslog_ident
* Fix Fork server bug which had post_accept_hook called twice
* Added pre_fork_hook to Fork server to handle removed duplicate
post_accept_hook call.
* Reopen STDIN/STDOUT to /dev/null at end of child connection
to avoid spurious warnings
* Don't process STDIN/STDOUT in post_accept if udp_true
* Cleanup child processing code in PreFork server
* Try and let tests fail gracefully if localhost is not setup
properly
* Add numerous tests for configuration passing.
* Add perldoc about adding your own custom options
* Tue Oct 24 2006 - anicka@suse.cz
- add perl-IO-Multiplex to Requires (#207466)
* Fri Sep 29 2006 - anicka@suse.cz
- update to 0.94
* Added the leave_children_open_on_hup flag which leaves
open connections open when the server is hupped.
* Allow for port, host, and proto to be passed as arrayrefs
to run and new.
* Allow for get sock info routines to use $peer->{client}
rather than STDIN which may not be set if
the "no_client_stdout" flag is set.
* Allow for duplicated STDIN and STDOUT to properly close.
* Add flag to disable all of the binding of client
to STDIN and STDOUT.
* Abstract shutdown_sockets method that is called at the end
of server_close (to allow for calling in other places).
* bugfixes
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Dec 08 2005 - sf@suse.de
- update to 0.90
* Sun Jul 31 2005 - cthiel@suse.de
- update to version 0.88
- dropped perl-Net-Server-format-string.diff (fixed in 0.88)
* Wed Apr 20 2005 - sf@suse.de
- corrected patch for #78095 - VUL-0
* Mon Apr 18 2005 - sf@suse.de
- fix for #78095 - VUL-0
check for format string and create formatted string.
if there is no format string, just take the first string
* Thu Feb 26 2004 - choeger@suse.de
- update to most recent version 0.87
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Fri Aug 22 2003 - mjancar@suse.cz
- require the perl version we build with
* Mon Jul 28 2003 - choeger@suse.de
- use install_vendor and new %%perl_process_packlist macro
- updated to version 0.85
* Mon Jun 23 2003 - ro@suse.de
- added directories to filelist
* Mon May 26 2003 - ro@suse.de
- remove unpackaged files from buildroot
* Mon Dec 02 2002 - sf@suse.de
- initial version 0.84