summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/p5-libapreq2/DESCR6
-rw-r--r--www/p5-libapreq2/MESSAGE13
-rw-r--r--www/p5-libapreq2/Makefile30
-rw-r--r--www/p5-libapreq2/PLIST14
-rw-r--r--www/p5-libapreq2/distinfo4
5 files changed, 67 insertions, 0 deletions
diff --git a/www/p5-libapreq2/DESCR b/www/p5-libapreq2/DESCR
new file mode 100644
index 00000000000..efc8871bca6
--- /dev/null
+++ b/www/p5-libapreq2/DESCR
@@ -0,0 +1,6 @@
+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
diff --git a/www/p5-libapreq2/MESSAGE b/www/p5-libapreq2/MESSAGE
new file mode 100644
index 00000000000..979c30ad01f
--- /dev/null
+++ b/www/p5-libapreq2/MESSAGE
@@ -0,0 +1,13 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/04/12 18:18:29 kim Exp $
+
+In order to enable mod_apreq in your Apache installation, you need to add
+the following to your httpd.conf file:
+
+ LoadModule apreq_module lib/httpd/mod_apreq.so
+
+If switching to/from a server with and without mod_apreq enabled, you
+should NOT use "apachectl restart" - instead, fully stop and then start
+the server.
+
+===========================================================================
diff --git a/www/p5-libapreq2/Makefile b/www/p5-libapreq2/Makefile
new file mode 100644
index 00000000000..39ad0238f71
--- /dev/null
+++ b/www/p5-libapreq2/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/12 18:18:29 kim Exp $
+
+DISTNAME= libapreq2-2.02_02-dev
+PKGNAME= p5-libapreq2-2.2.2
+SVR4_PKGNAME= p5la2
+CATEGORIES= www perl5
+MASTER_SITES= http://www.apache.org/dist/httpd/libapreq/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://httpd.apache.org/apreq/
+COMMENT= Lots of Apache specific httpd handling modules
+
+DEPENDS+= ap2-perl-[0-9]*:../../www/ap2-perl
+DEPENDS+= p5-ExtUtils-XSBuilder-[0-9]*:../../www/p5-ExtUtils-XSBuilder
+
+WRKSRC= ${WRKDIR}/libapreq2-2.02-dev
+USE_BUILDLINK2= YES
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/libapreq2/.packlist
+
+MAKE_PARAMS+= --with-apache2-apxs="${APXS}"
+
+#pre-configure:
+# cd ${WRKSRC} && ./buildconf
+
+.include "../../lang/perl5/module.mk"
+#.include "../../www/ap2-perl/buildlink2.mk"
+.include "../../www/apache2/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-libapreq2/PLIST b/www/p5-libapreq2/PLIST
new file mode 100644
index 00000000000..9d9d503505b
--- /dev/null
+++ b/www/p5-libapreq2/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/12 18:18:29 kim Exp $
+include/apreq2/apreq.h
+include/apreq2/apreq_cookie.h
+include/apreq2/apreq_env.h
+include/apreq2/apreq_params.h
+include/apreq2/apreq_parsers.h
+include/apreq2/apreq_version.h
+lib/httpd/mod_apreq.so
+lib/libapreq2.a
+lib/libapreq2.la
+lib/libapreq2.so
+lib/libapreq2.so.2
+lib/libapreq2.so.2.2
+@dirrm include/apreq2
diff --git a/www/p5-libapreq2/distinfo b/www/p5-libapreq2/distinfo
new file mode 100644
index 00000000000..4e9b208b54c
--- /dev/null
+++ b/www/p5-libapreq2/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/12 18:18:29 kim Exp $
+
+SHA1 (libapreq2-2.02_02-dev.tar.gz) = 0c8d2698e5f7fec5dee3e887ebd983a8d85f4440
+Size (libapreq2-2.02_02-dev.tar.gz) = 458737 bytes