import p5-libapreq2

libapreq is a safe, standards-compliant, high-performance library used
for parsing HTTP cookies, query-strings and POST data.  The original
version (libapreq-1.X) was designed by Lincoln Stein and Doug
MacEachern.  The perl APIs Apache::Request and Apache::Cookie are the
lightweight mod_perl analogs of the CGI and CGI::Cookie perl modules.
This commit is contained in:
simon 2007-07-22 16:22:01 +00:00
parent 821f6e4f10
commit d248bd53da
5 changed files with 129 additions and 0 deletions

37
www/p5-libapreq2/Makefile Normal file
View File

@ -0,0 +1,37 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/07/22 16:22:01 simon Exp $
COMMENT= apache HTTP server request library
SHARED_ONLY= Yes
DISTNAME= libapreq2-2.08
PKGNAME= p5-${DISTNAME}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/J/JO/JOESUF/}
MODULES= converters/libiconv
SHARED_LIBS= apreq2 9.0
MAINTAINER= Simon Bertrang <simon@openbsd.org>
# Artistic + GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= apr-1 aprutil-1 db expat
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-perl-glue \
--with-apache2-apxs=${LOCALBASE}/sbin/apxs2
BUILD_DEPENDS= ::devel/p5-ExtUtils-XSBuilder
LIB_DEPENDS= ::www/ap2-mod_perl
REGRESS_DEPENDS=::www/p5-Apache-Test
post-regress:
cd ${WRKSRC}/glue/perl && \
LD_LIBRARY_PATH="${WRKSRC}/library/.libs:${LOCALBASE}" ${MAKE} test
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (libapreq2-2.08.tar.gz) = n7Pe7ESPdMRV1P/BOEbqnw==
RMD160 (libapreq2-2.08.tar.gz) = 8ghMcJRDQkx9dJvnMpJLN9cN7pY=
SHA1 (libapreq2-2.08.tar.gz) = 4qyCNyT0tUwAATjUxmDUOOj//hY=
SHA256 (libapreq2-2.08.tar.gz) = j41xhS6jrdq3aQ+pb8UOpfIh9xkVbVCZX38+ClpZ6TI=
SIZE (libapreq2-2.08.tar.gz) = 847527

View File

@ -0,0 +1,5 @@
libapreq is a safe, standards-compliant, high-performance library used
for parsing HTTP cookies, query-strings and POST data. The original
version (libapreq-1.X) was designed by Lincoln Stein and Doug
MacEachern. The perl APIs Apache::Request and Apache::Cookie are the
lightweight mod_perl analogs of the CGI and CGI::Cookie perl modules.

View File

@ -0,0 +1,8 @@
Before you can use p5-libapreq2, you need to enable it on your
Apache2 configuration.
Edit ${SYSCONFDIR}/apache2/httpd2.conf and add the following line:
LoadModule apreq_module ${PREFIX}/lib/apache2/mod_apreq2.so
Restart your httpd2 for changes to make effect.

View File

@ -0,0 +1,74 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/22 16:22:01 simon Exp $
bin/apreq2-config
include/apache2/apreq2/
include/apache2/apreq2/apreq_module_apache2.h
include/apreq2/
include/apreq2/apreq.h
include/apreq2/apreq_cookie.h
include/apreq2/apreq_error.h
include/apreq2/apreq_module.h
include/apreq2/apreq_param.h
include/apreq2/apreq_parser.h
include/apreq2/apreq_util.h
include/apreq2/apreq_version.h
lib/apache2/mod_apreq2.a
lib/apache2/mod_apreq2.la
lib/apache2/mod_apreq2.so
lib/libapreq2.a
lib/libapreq2.la
@lib lib/libapreq2.so.${LIBapreq2_VERSION}
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request.pod
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Apache2.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Apache2.pod
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/CGI.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/CGI.pod
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Cookie.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Cookie.pod
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Error.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Error.pod
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Hook.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Hook.pod
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Param.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Param.pod
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Parser.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/APR/Request/Parser.pod
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Apache2/Cookie.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Apache2/Request.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Apache2/Upload.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Apache2/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Apache2/Apache2.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Apache2/Apache2.so
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/CGI/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/CGI/CGI.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/CGI/CGI.so
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Cookie/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Cookie/Cookie.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Cookie/Cookie.so
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Error/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Error/Error.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Error/Error.so
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Hook/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Hook/Hook.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Hook/Hook.so
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Param/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Param/Param.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Param/Param.so
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Parser/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Parser/Parser.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Parser/Parser.so
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Request.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/APR/Request/Request.so
@man man/man3p/APR::Request.3p
@man man/man3p/APR::Request::Apache2.3p
@man man/man3p/APR::Request::CGI.3p
@man man/man3p/APR::Request::Cookie.3p
@man man/man3p/APR::Request::Error.3p
@man man/man3p/APR::Request::Hook.3p
@man man/man3p/APR::Request::Param.3p
@man man/man3p/APR::Request::Parser.3p
@man man/man3p/Apache2::Cookie.3p
@man man/man3p/Apache2::Request.3p
@man man/man3p/Apache2::Upload.3p