Subject: CVS commit: pkgsrc/net/pen
To: None <pkgsrc-changes@netbsd.org>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-changes
Date: 03/27/2003 19:53:22
Module Name:	pkgsrc
Committed By:	wiz
Date:		Thu Mar 27 17:53:22 UTC 2003

Modified Files:
	pkgsrc/net/pen: Makefile PLIST distinfo
Removed Files:
	pkgsrc/net/pen/patches: patch-aa

Log Message:
Update to 0.10.0, from Andreas Wrede in PR 20898.
Relevant portion of the Changelog :

030208  New option -H adds X-Forwarded-For header to http requests.

020717  Patches from Patroklos G. Argyroudis <argp@ieee.org>:
         - check getopt() calls against -1 and not EOF
         - fix for a possible format string in pen.c

020711  Ported to Darwin/MacOS X.
        Released 0.9.4.

020705  New penctl command: recent [seconds] displays clients that have
        connected recently (default five minutes), along with number of
        connects, transmitted and received data.

020702  Buffer overflow in netlog. See comment in pen.c.
        Added options -j (for chroot) and -u (for setuid) to pen and
        penlogd. See manpages.

020627  Fixed an error which could throw penlogd into an endless loop
        if a udp packet was lost at the crucial moment.

020626  Pedantic checking of memory allocations and buffer sizes.

020618  Penlogd: added option -n to adjust the number of cached log
        entries from Pen.

020614  Added options -d, -f, -l and -p to penlogd. They do the same
        as in pen. Also added signal handlers for TERM and HUP; these
        too do the same as in pen. Updated penlogd manpage.
        Updated www section in HOWTO to use penlog rather than mergelogs.

020613  Added penlog.c to log over a network using Apaches reliable
        piped logs. A companion log server, penlogd.c, consolidates
        logs from Pen and from all web servers into a single file.
        Added the necessary code to Pen log over the network.

020610  Wrote penctl.cgi, a web wrapper for penctl.

020609  Wrote a new version of the main loop, using poll() instead of
        select(). Added configuration option --with-poll to enable.
        Also turned redefinition of FD_SETSIZE into a configuration
        option --with-fd_setsize=N.
        Updated installation instructions in INSTALL.

020605  Added optional hard limit to the number of connections to each
        server.
        Timestamps in debug log entries.
        Released 0.8.0.

020604  Added "server of last resort" (-e option) which is only used
        when all other servers are unavailable. (Andreas Wrede)

020528  Several enhancements and bugfixes by Andreas Wrede:
        In webstats: changed CLIENTS_MAX to clients_max and
        CONNECTIONS_MAX to connections_max.
        Show time in human-readable format rather than seconds since 1970.
        Changed byte counters from unsigned long to unsigned long long.
        Fixed file descriptor leak: The connection wasn't closed when
        the connection table was full.
        Moved stats generation and log restart out of the signal handlers
        and into the main loop.
        If a client went away before receiving all its data (large files),
        the remaining portion would be sent to the next client occupying
        the same slot.
        Added pointers in connection structure to avoid having to memcpy
        the buffers in flush_up/flush_down.
        Released 0.7.0.

020507  Updated the penctl manpage to reflect reality.
        Released 0.6.3.

020417  Added -D switch to make copy_up and copy_down *always* store data
        in a temporary buffer and wait for the next round through the
        main loop before passing it on to the receiving end.
        The penctl command for this is "delayed_forward".
        When making sockets nonblocking (through fcntl(..., O_NONBLOCK)),
        make sure that any existing flags are not reset in the process.
        Important bugfix: each failed connection attempt in try_server
        would result in one socket leaked because we returned without
        closing it.

020413  Figured out why nonblocking mode was slower than blocking. Fixed.

020411  Added penctl, a simple user interface to the control protocol.

020324  Cancel timeout if it isn't needed.

020115  Added LDAP info in the HOWTO.
        Added the flush_up/flush_down bugfix from 0.5.0 again.
        Released 0.6.1.

020111  Moved #include <sys/types.h> before #include <netinet/in.h>
        Replaced the call to setpgrp with setsid.
        Transformed mergelogs into ultimately portable ANSI C (almost).
        Thanks to Mike Dugas <mad@phobia.net> for help with porting
        Removed the -r (rejects) option, since we no longer reject anything.
        to FreeBSD 4.4-RELEASE.

020110  Rewrote mergelogs completely. It will now never discard a web
        server log entry, and it tries much harder to locate a good
        match in the pen log. It deals with log entries that are out
        of order and servers with unsynchronized clocks and/or
        different time zones. The -l (lag) option is no more.
        Released 0.6.0

010915  Made the use of daemon() optional.
        Added the cgi script penstats to update and display statistics.
        Set current in store_conn.
        Released 0.5.0.

010914  Statistics in HTML format (Riccard Åkerman).
        Tested pen on HP-UX 10.20.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/net/pen/Makefile
cvs rdiff -r1.1 -r1.2 pkgsrc/net/pen/PLIST
cvs rdiff -r1.3 -r1.4 pkgsrc/net/pen/distinfo
cvs rdiff -r1.3 -r0 pkgsrc/net/pen/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.