2007-01-15 23:31:21 +00:00
|
|
|
#
|
2007-02-16 06:11:04 +00:00
|
|
|
# spec file for package perl-Net-Server (Version 0.95)
|
2007-01-15 23:31:21 +00:00
|
|
|
#
|
2007-02-16 06:11:04 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:21 +00:00
|
|
|
# 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/
|
2007-02-16 06:11:04 +00:00
|
|
|
License: Artistic License, GNU General Public License (GPL)
|
2007-01-15 23:31:21 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
|
Autoreqprov: on
|
|
|
|
|
Summary: Net::Server - Extensible, general Perl server engine
|
2007-02-16 06:11:04 +00:00
|
|
|
Version: 0.95
|
|
|
|
|
Release: 1
|
2007-01-15 23:31:21 +00:00
|
|
|
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
|
2007-02-16 06:11:04 +00:00
|
|
|
%setup -q -n Net-Server-%{version}
|
2007-01-15 23:31:21 +00:00
|
|
|
|
|
|
|
|
%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
|
2007-02-16 06:11:04 +00:00
|
|
|
%{perl_vendorlib}/Net/Server.pod
|
2007-01-15 23:31:21 +00:00
|
|
|
%{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 -n perl-Net-Server
|
2007-02-16 06:11:04 +00:00
|
|
|
* 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
|
2007-01-15 23:31:21 +00:00
|
|
|
* 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
|