From a0d8d835336cb275e4f381f5fc35d35db1ffb915 Mon Sep 17 00:00:00 2001 From: wilfried Date: Wed, 16 Oct 2002 13:09:30 +0000 Subject: [PATCH] Import libapreq 1.0; subimmted by Jim Geovedi This package contains modules for manipulating client request data via the Apache API with Perl and C. --- www/p5-libapreq/Makefile | 35 +++++++++++++++++++++++++++++++++++ www/p5-libapreq/distinfo | 3 +++ www/p5-libapreq/pkg/DESCR | 7 +++++++ www/p5-libapreq/pkg/PLIST | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 www/p5-libapreq/Makefile create mode 100644 www/p5-libapreq/distinfo create mode 100644 www/p5-libapreq/pkg/DESCR create mode 100644 www/p5-libapreq/pkg/PLIST diff --git a/www/p5-libapreq/Makefile b/www/p5-libapreq/Makefile new file mode 100644 index 00000000000..375c1998655 --- /dev/null +++ b/www/p5-libapreq/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/10/16 13:09:30 wilfried Exp $ + +COMMENT= "Generic Apache Request Library" + +DISTNAME= libapreq-1.0 +PKGNAME= p5-${DISTNAME} +CATEGORIES= www perl5 + +HOMEPAGE= http://httpd.apache.org/apreq/ +MAINTAINER= Jim Geovedi + +# Apache Software License +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/} + +BUILD_DEPENDS= :mod_perl-*:www/mod_perl +RUN_DEPENDS= ${BUILD_DEPENDS} + +CONFIGURE_STYLE= perl + +PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.3-ltconfig \ + ${PORTSDIR}/infrastructure/patches/patch-lt1.3.3-ltmain_sh \ + patch-* + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-libapreq + @cp -R ${WRKSRC}/eg/* ${PREFIX}/share/examples/p5-libapreq + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libapreq + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/libapreq + +.include diff --git a/www/p5-libapreq/distinfo b/www/p5-libapreq/distinfo new file mode 100644 index 00000000000..00411b9b7f0 --- /dev/null +++ b/www/p5-libapreq/distinfo @@ -0,0 +1,3 @@ +MD5 (libapreq-1.0.tar.gz) = 26b9c4c6667ce367cd28c46805bee2dd +RMD160 (libapreq-1.0.tar.gz) = 0388e7165ab8fa9497fdb299ad7fbd7e6153fa75 +SHA1 (libapreq-1.0.tar.gz) = a5a7ff40cb624d89a8e12dea5551c440c77abb9e diff --git a/www/p5-libapreq/pkg/DESCR b/www/p5-libapreq/pkg/DESCR new file mode 100644 index 00000000000..07bae1af2d0 --- /dev/null +++ b/www/p5-libapreq/pkg/DESCR @@ -0,0 +1,7 @@ +This package contains modules for manipulating client request data +via the Apache API with Perl and C. Functionality includes: + - parsing of application/x-www-form-urlencoded data + - parsing of multipart/form-data + - parsing of HTTP Cookies + +WWW: ${HOMEPAGE} diff --git a/www/p5-libapreq/pkg/PLIST b/www/p5-libapreq/pkg/PLIST new file mode 100644 index 00000000000..7ed79ef62d2 --- /dev/null +++ b/www/p5-libapreq/pkg/PLIST @@ -0,0 +1,32 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/10/16 13:09:30 wilfried Exp $ +${P5ARCH}/Apache/Cookie.pm +${P5ARCH}/Apache/Request.pm +${P5ARCH}/Apache/libapreq.pm +${P5ARCH}/auto/Apache/Cookie/Cookie.bs +${P5ARCH}/auto/Apache/Cookie/Cookie.so +${P5ARCH}/auto/Apache/Request/Request.bs +${P5ARCH}/auto/Apache/Request/Request.so +${P5ARCH}/auto/libapreq/extralibs.ld +${P5ARCH}/auto/libapreq/include/apache_cookie.h +${P5ARCH}/auto/libapreq/include/apache_multipart_buffer.h +${P5ARCH}/auto/libapreq/include/apache_request.h +${P5ARCH}/auto/libapreq/libapreq.a +${P5ARCH}/libapreq.pod +man/man3p/Apache::Cookie.3p +man/man3p/Apache::Request.3p +man/man3p/Apache::libapreq.3p +man/man3p/libapreq.3p +share/doc/libapreq/LICENSE +share/examples/p5-libapreq/c/testapreq/Makefile.apxs +share/examples/p5-libapreq/c/testapreq/Makefile.tmpl +share/examples/p5-libapreq/c/testapreq/mod_testapreq.c +share/examples/p5-libapreq/c/testapreq/mod_testapreq.module +share/examples/p5-libapreq/perl/cookie.pl +share/examples/p5-libapreq/perl/file_upload.pl +@dirrm share/examples/p5-libapreq/perl +@dirrm share/examples/p5-libapreq/c/testapreq +@dirrm share/examples/p5-libapreq/c +@dirrm share/examples/p5-libapreq +@dirrm share/doc/libapreq +@dirrm ${P5ARCH}/auto/libapreq/include +@dirrm ${P5ARCH}/auto/libapreq