Subject: pkg/23319: net/pen pkg update to 0.12.0
To: None <gnats-bugs@gnats.netbsd.org>
From: None <andreas@planix.com>
List: netbsd-bugs
Date: 10/30/2003 13:20:01
>Number:         23319
>Category:       pkg
>Synopsis:       net/pen pkg update to 0.12.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 30 18:21:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Wrede <andreas@planix.com>
>Release:        NetBSD 1.6ZD
>Organization:
Planix, Inc.
>Environment:
	
	
System: NetBSD woffi.planix.com 1.6ZD NetBSD 1.6ZD (WOFFI) #7: Fri Oct 24 14:53:32 EDT 2003 root@woffi.planix.com:/m5/netbsd-current/obj/sys/arch/i386/compile.i386/WOFFI i386
Architecture: i386
Machine: i386
>Description:
	
net/pen pkg update to 0.12.0
>How-To-Repeat:
	
>Fix:
	
Apply patch below.

From the Changelog:

031023  Released 0.12.0.

031022  Penlogd: sscanf would read 100 bytes + terminating nul into
        a buffer of size 100. Now reads 99+nul. Spotted by Oezguer Kesim.

031021  Let tracking time be set through penctl.cgi.
        In do_cmd, "no log": only close the logfile if it is open.
        New penctl command, "write [FILE]" writes current configuration
        to a file. If FILE is omitted, overwrite the original
        configuration file (-F option).

031017  Pen: Time based expiration of tracked clients. Default is
        0 seconds = never expire. Added -T option to control expiry
        time. Also added penctl command "tracking N".
        Penlogd: zero-terminate results from recvfrom.

031013  In penlogd.c: don't complain if recvfrom is interrupted by signal.

031013  Released 0.11.1.

031011  Use sigaction rather than signal in penlogd.
        Check for inet_aton in libresolv (needed for Solaris).
        Install documentation into ${prefix}/doc/pen (can be
        changed using the --with-doc= configuration option).
        Added tgz target to Makefile.am for Slackware packaging.

030922  Added an "include" keyword to the command interface, so the
        configuration can be split into several files.
        Added access control lists, numbered 0 to 9. The command
        syntax to define them are:
        acl N permit|deny ipaddress mask        create acl
        no acl N                                delete acl
        client_acl N                    bind clients to acl
        control_acl N                   bind control interface to acl
        server S acl N                  who can use server S
        All access lists start out empty, defaulting to permit anything.

030910  In rewrite_request: don't add an X-Forwarded-For: if there
        already is one.

030906  Added a configuration file (-F option) with commands in
        penctl format. It is read after processing all command line
        arguments and also when a HUP signal is received.

030905  Updated pen manpage to reflect the new -X and -S options.
        In rewrite_request: look for \n\n if we can't find
        \r\n\r\n. Some clients do that, according to
        Steve Hall <steveh@intrapower.com.au>.
        Moved everything from CONTROL into penctl.1.
        Also added the exit command to penctl.1.

030905  Released 0.10.3.

030904  Preallocate slots for servers that can be dynamically added
        and removed using the control interface, up to a maximum
        number determined by the -S option (default 16).

030821  A patch from Anders Nordby <anders@fix.no> sets the group
        as well as user id when running pen with the -u option.


--------------------



Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/pen/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile	2003/07/21 17:11:07	1.6
+++ Makefile	2003/10/30 18:15:55
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.6 2003/07/21 17:11:07 martti Exp $
 #
 
-DISTNAME=	pen-0.10.1
+DISTNAME=	pen-0.12.0
 CATEGORIES=	net
 MASTER_SITES=	http://siag.nu/pub/pen/					\
 		ftp://siag.nu/pub/pen/
@@ -12,17 +12,9 @@
 
 GNU_CONFIGURE=	YES
 
+CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/pen
+
 # Avoid pen complaining on NetBSD
 CONFIGURE_ARGS+=	--with-fd_setsize=2048
-
-post-install:
-#.for prg in pen mergelogs
-#		${INSTALL_PROGRAM} ${WRKSRC}/${prg} ${PREFIX}/sbin
-#		${INSTALL_MAN} ${WRKSRC}/${prg}.1 ${PREFIX}/man/man8/${prg}.8
-#.endfor
-		${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pen
-.for doc in CONTROL COPYING ChangeLog HOWTO README
-		${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/pen
-.endfor
 
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/net/pen/PLIST,v
retrieving revision 1.2
diff -u -u -r1.2 PLIST
--- PLIST	2003/03/27 17:53:20	1.2
+++ PLIST	2003/10/30 18:15:55
@@ -9,9 +9,10 @@
 man/man1/penctl.1
 man/man1/penlog.1
 man/man1/penlogd.1
-share/doc/pen/CONTROL
+share/doc/pen/AUTHORS
 share/doc/pen/COPYING
 share/doc/pen/ChangeLog
 share/doc/pen/HOWTO
 share/doc/pen/README
+share/doc/pen/penstats
 @dirrm share/doc/pen
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/pen/distinfo,v
retrieving revision 1.5
diff -u -u -r1.5 distinfo
--- distinfo	2003/04/13 11:43:25	1.5
+++ distinfo	2003/10/30 18:15:55
@@ -1,4 +1,4 @@
 $NetBSD: distinfo,v 1.5 2003/04/13 11:43:25 cjep Exp $
 
-SHA1 (pen-0.10.1.tar.gz) = 9684db94c03a8244076f7367b59617b41b867466
-Size (pen-0.10.1.tar.gz) = 88753 bytes
+SHA1 (pen-0.12.0.tar.gz) = e583532f81c5961e26ec625009e2b09a99690ef0
+Size (pen-0.12.0.tar.gz) = 94808 bytes
>Release-Note:
>Audit-Trail:
>Unformatted: