Subject: pkg/12644: new package www/p5-libapreq
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nrahlstr@games.winternet.com>
List: netbsd-bugs
Date: 04/13/2001 10:11:38
>Number: 12644
>Category: pkg
>Synopsis: new package www/p5-libapreq
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Apr 13 13:01:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Nathan Ahlstrom
>Release: 04/13/2001 pkgsrc
>Organization:
no
>Environment:
System: NetBSD games 1.5.1_BETA NetBSD 1.5.1_BETA (GAMES) #0: Tue Apr 10 17:28:44 CDT 2001 root@games:/a/src/sys/arch/i386/compile/GAMES i386
>Description:
New package. This is a perl module to read httpd cookies and
other httpd protocol specific handling.
>How-To-Repeat:
Nice to have when doing mod_perl development.
>Fix:
shar archive and change log attached.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-libapreq
# p5-libapreq/files
# p5-libapreq/files/md5
# p5-libapreq/pkg
# p5-libapreq/pkg/DESCR
# p5-libapreq/pkg/PLIST
# p5-libapreq/Makefile
#
echo c - p5-libapreq
mkdir -p p5-libapreq > /dev/null 2>&1
echo c - p5-libapreq/files
mkdir -p p5-libapreq/files > /dev/null 2>&1
echo x - p5-libapreq/files/md5
sed 's/^X//' >p5-libapreq/files/md5 << 'END-of-p5-libapreq/files/md5'
X$NetBSD$
X
XSHA1 (libapreq-0.31.tar.gz) = 715bb8435017c1d3c4cec4ea8f8016d6570f4a22
END-of-p5-libapreq/files/md5
echo c - p5-libapreq/pkg
mkdir -p p5-libapreq/pkg > /dev/null 2>&1
echo x - p5-libapreq/pkg/DESCR
sed 's/^X//' >p5-libapreq/pkg/DESCR << 'END-of-p5-libapreq/pkg/DESCR'
XThis package contains modules for manipulating client request data via
Xthe Apache API with Perl and C. Functionality includes:
X
X - parsing of application/x-www-form-urlencoded data
X - parsing of multipart/form-data
X - parsing of HTTP Cookies
END-of-p5-libapreq/pkg/DESCR
echo x - p5-libapreq/pkg/PLIST
sed 's/^X//' >p5-libapreq/pkg/PLIST << 'END-of-p5-libapreq/pkg/PLIST'
X@comment $NetBSD$
END-of-p5-libapreq/pkg/PLIST
echo x - p5-libapreq/Makefile
sed 's/^X//' >p5-libapreq/Makefile << 'END-of-p5-libapreq/Makefile'
X# $NetBSD$
X#
X
XDISTNAME= libapreq-0.31
XPKGNAME= p5-${DISTNAME}
XCATEGORIES= www perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/}
X
XMAINTAINER= pkgsrc@NetBSD.org
XHOMEPAGE= http://trainedmonkey.com/
XCOMMENT= Lots of Apache specific httpd handling modules.
X
XUSE_PERL5= # defined
XPERL5_PACKLIST= ${PERL5_SITEARCH}/auto/libapreq/.packlist
X
Xdo-configure:
X @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
X
X.include "../../mk/bsd.pkg.mk"
END-of-p5-libapreq/Makefile
exit
Revision history for Perl extension Apache::Request.
=over 4
=item 0.31 - July 2, 1999
CGI.pm 2.53's path/domain defaults will be used with -DDEFINE=CGI_253
Apache::Cookie->new($r)->parse will properly return () instead of
undef when there is no cookie header, thanks to Nick Tonkin for
the spot
=item 0.30_04 - May 13, 1999
pass Apache::/Apache::SubRequest:: object to sv_magic, so it does not
go out of scope until the Apache::Request object does
=item 0.30_03 - May 5, 1999
when attaching request_rec* to Apache::Request object, dont let Perl copy it
=item 0.30_02 - April 30, 1999
always parse the query string (if present), including POST requests
fixed another bug related to path_info
fixed Apache::Cookie->path bug spotted by Jeffrey W. Baker
=item 0.30_01 - January, 27 - 1999
added ApacheRequest_script_name (r->uri minus r->path_info)
added eg/c/testapreq/Makefile.apxs
C sources *.[ch] moved to its own c/ directory (e.g. for easy cvs import)
fixed bug in ApacheRequest_parse_urlencoded (possible core dump on GET request)
allow `;' URI attribute delimiter as per HTML 4.0 spec
allow sub-classing via _r/r key mechanism
don't use $VERSION variable name in Makefile.PL
param() now uses set() instead of add()
[Andreas J. Koenig <andreas.koenig@anima.de>]
=item 0.20_01 - January 6, 1999
Apache::libapreq for compiler + linker flags
added documentation
now build and install libapreq.a and header files
move cookie functions to new apache_cookie.c and Apache::Cookie modules
new Apache::Upload class
added param() method
we are now a subclass of Apache (requires 1.16_02+)
adhere to Apache code style guide
add logic to parse GET requests [Larry Foard <larry@cp.net>]
fix apache_request.h not to use mod_perl.h and deal w/ g++
[Larry Foard <larry@cp.net>]
=item 0.01 - October 23, 1998
original version [Doug MacEachern <dougm@cp.net>]
basic framework for parsing HTTP cookies and POST data of types:
application/x-www-form-urlencoded, multipart/form-data
=back
>Release-Note:
>Audit-Trail:
>Unformatted: