Commit graph

19 commits

Author SHA1 Message Date
adrianp
9156463744 Update to 0.94
0.94   Jul 08 2006
- Add nofatal to Sys::Syslog::openlog if Sys::Syslog
  version >= 0.15 (thanks to DSCHWEI on cpan)
- Added the leave_children_open_on_hup flag which leaves
  open connections open when the server
  is hupped.  It is false by default.
- Make sure new and run can both take a hash or a hashref of values.
- More fixes to HUP under taint (thanks to LUPE on cpan)
- Allow for port, host, and proto to be passed as arrayrefs to run and new.
- Fix bug in a check for dead child processes algorithm in
  PreFork server (thanks to Michael Virnstein).

0.93   Mar 23 2006
- 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. (thanks to
  Mark Martinec for pointing this out)

0.92   Mar 13 2006
- Allow for duplicated STDIN and STDOUT to properly close.
  Previously they closed because they were simple symbol globs.
  Now they need an explicit close be cause they are opened to
  the client socket's file descriptors.
- Add flag to disable all of the binding of client to STDIN and STDOUT

0.91   Mar 08 2006
- Abstract shutdown_sockets method that is called at the end
  of server_close (to allow for calling in other places).
- Make sure close_children unsets the overridden signals in
  the forked and preforked servers.
- Better handling of STDIN and STDOUT as provided by tye on
  perlmonks in response to Ben Cohen's question (in node
  http://www.perlmonks.org/?node_id=534791)
- Finally added a new method.
- Added much missing perldoc.
- Pass parameters to ->run the second time it is called.  This
  allows for multitype to handle more parameters - but needs
  to be tested for all use cases (it could result in array fields
  getting multiple entries which should be fine in most cases).
  Thanks to Aron Ujvari for pointing this out.
- Add default_values method (suggested by Malte S. Stretz).
- Fix udp_broadcast issue (fix by Rob Mueller)

0.90   Dec 05 2005
- Make HUP work correctly on Multiplex server.
- Allow socket files to cleanup correctly.
- Allow Net::Server::Daemonize to function properly in Taint
  mode again (broken in .88).
- Add ->commandline method to allow for getting and setting
  the commandline for use during a HUP.  This is to allow for
  untainting as necessary.
- Add ->can_read_hook (see the documentation) to allow for
  processing of arbitrary handles in accept_multi_port.

0.89   Nov 22 2005
- Added SSL_passwd_cb to Proto/SSL.pm (Irving A. Bermudez S.)
- Fix rt #13450 which is caused by broken POSIX::setuid on
  perl 5.8.0 on RedHat 9.0.
- Allow for graceful skipping if a port is configured twice in
  the configuration file.
- Allow tests that can pass to pass on Win32 (skip those that cannot)
- Allow "-" in user names. (Carl Lewis)
- Add Reuse = 1 to Proto::UDP. (Slaven Rezic)
- Allow for udp_broadcast setting in Proto::UDP. (Tim Watt)
- Add bug note to Proto::SSL (Christopher A Bongaarts)
- setsid property is now boolean rather than checking definedness.
- Command line parameters override conf file parameters.
- Store command line a little better in preparation for HUP.
2006-09-13 21:07:55 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
wiz
bc17ae81c8 Update to 0.88, fixing a security problem.
0.88  Jun 21 2005
        - Change maintainer back to paul@seamons.com (Paul Seamons)
        - Add run_n_children_hook to prefork servers (At suggestion of
          James Fitzgibbon and Paul B. Henson)
        - Make delete child only delete children it knows about.
          Fixes ancient bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=168784
          filed by Christian Mock and worked on by Lucas Filipozzi.
        - Store $ENV{PWD} as part of script name for HUP'ing (Russel Pettway)
        - Allow PreFork and PreForkSimple to have child mark
          explicitly as done the same as other server types via
          the ->done(1) call. (Idea from Marc Martinec)
        - After numerous requests, the CHLD SIGNAL is now
          set to DEFAULT in the child process of PreFork and
          PreForkSimple servers.  This should allow grand child processes to
          run without affecting the child process (or parent).
        - Fix parent/child communication channel buffering issue (Matt Sergeant)
        - Check for child's sock before closing with
          child_communication enabled (Alexander Hlawenka)
        - Documentation fix (Mark Morgan)
        - Allow 'stream' option for syslog_logsock property (Daniel Matuschek)
        - Fix syslog format vulnerability. (Carlos Velasco)  This has
          potential to break some log implementations that were
          planning on ->log passing all of @_ to syslog.  Now only the
          first item from @_ is passed as the message.
        - Allow for '-' in group names. (Corey Minyard)
        - Prevent locking caused by interupt of flock (Dietmar Maurer [cpan #11693])
        - Finally fix UID/GID bugs during daemonization.  This is the
          biggest bug winner.  The new model Calls POSIX::setuid and
          setgid and tests for success by checking the values of $<
          and $( and not by checking the response of the setuid/setgid functions.
        - Add CIDR style lookups for allow/deny using cidr_allow and
          cidr_deny (Carsten Wolff)
        - Allow for port configured in perl to not have to be arrayref.
2005-06-27 11:14:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
jlam
47ccdf3659 Update net/p5-Net-Server to 0.87. Changes from version 0.86 include
bug fixes and integrating pre_accept_hook and post_accept_hook into
Net::Server::Fork.
2004-08-03 02:32:41 +00:00
snj
f0768bb694 Convert to buildlink3. 2004-04-27 06:05:57 +00:00
grant
e5de35776f Updated p5-Net-Server to 0.86.
changes since 0.85:

        - Changed maintainer to bbb@cpan.org (Rob Brown).
        - Patch to fix Net::Server::Daemonize setuid bug:
          http://www.ijs.si/software/amavisd/net-server.patch
        - Add a fix in the argument handling of configure
          to account for some alpha systems (James Vasak)
        - For RedHat 8.0 perl.req, avoid demanding that
          perl(IO::Muliplex) and perl(IO::Socket::SSL)
          rpms are installed just to use Net::Server.
2004-01-05 04:37:26 +00:00
grant
6bd488d8fb improve description (hey, it's better than a one-liner!) 2004-01-05 04:34:49 +00:00
heinz
bf655f6a27 Change SVR4_NAME (already used by p5-Net) 2003-12-03 19:25:30 +00:00
xtraeme
391df38638 Updated to 0.85.
Patch provided by Peter Reich <pr@alles.prima.de> via PR pkg/22542.

Changes:

0.85  Sep 24 09:51 2002 - 0.85  Mar 06 18:00 2003
        - Lower timeouts during tests (Anil Madhavapeddy)
        - Add configure_hook to MultiType (Michael Alan Dorman)
        - More graceful exit of children in PreForkSimple (Helge Kraenz)
        - Correct test for POSIX::setuid(0) success (Peter Chen)
        - Allow DOS filenames for conf files (Mark M. Adkins)
        - Allow for ndelay on Sys::Syslog::openlog (Doug Perham)
        - Add documentation about run_dequeue.
        - Add run_dequeue feature to Multiplex personality.
2003-09-16 13:45:45 +00:00
martti
8cee801716 COMMENT should start with a capital letter. 2003-07-21 17:10:16 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmc
3ab4770119 Change buildlink def so this pulls in the dependencies for perl correctly 2003-04-16 18:04:48 +00:00
cjep
0b874a7df8 Initial import of Net::Server 0.84 as net/p5-Net-Server.
This Perl module provides an extensible network server engine.

From PR#18830 from Ron Roskens. Thanks!
2003-04-13 15:45:49 +00:00