Bug 67591 - New port: www/p5-libapreq2
Summary: New port: www/p5-libapreq2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Vanilla I. Shu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-05 05:40 UTC by Autrijus Tang
Modified: 2004-06-11 11:03 UTC (History)
0 users

See Also:


Attachments
file.shar (4.98 KB, text/plain)
2004-06-05 05:40 UTC, Autrijus Tang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Autrijus Tang 2004-06-05 05:40:19 UTC
	This port is Apache::Request for mod_perl2.

How-To-Repeat: 	n/a
Comment 1 Autrijus Tang 2004-06-05 05:52:30 UTC
Sorry, the previous submission was not properly tidied up.

Here follows the correct version.

Thanks,
/Autrijus/

# 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:
#
#	.
#	./pkg-descr
#	./pkg-plist
#	./Makefile
#	./distinfo
#	./files
#	./files/patch-Makefile.in
#	./files/patch-glue::Makefile.in
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
Xlibapreq2 - Generic Apache2 Request Library
X
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
X
XWWW: http://httpd.apache.org/apreq/
XWWW: http://search.cpan.org/dist/libapreq2/
X
X-- Autrijus Tang
Xautrijus@autrijus.org
END-of-./pkg-descr
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xinclude/apreq2/apreq.h
Xinclude/apreq2/apreq_version.h
Xinclude/apreq2/apreq_cookie.h
Xinclude/apreq2/apreq_params.h
Xinclude/apreq2/apreq_env.h
Xinclude/apreq2/apreq_parsers.h
Xlib/libapreq2.so.2
Xlib/libapreq2.la
Xlib/libapreq2.a
X%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Cookie.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Cookie.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Request.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Apache/Request.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/libapreq2/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/libapreq2
END-of-./pkg-plist
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	p5-libapreq2
X# Date created:				June 5, 2004
X# Whom:	      				Autrijus Tang <autrijus@autrijus.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libapreq2
XPORTVERSION=	2.02r02
XCATEGORIES=	www perl5 devel
XMASTER_SITES=	${MASTER_SITE_APACHE_HTTPD}
XMASTER_SITE_SUBDIR=libapreq
XPKGNAMEPREFIX=	p5-
XDISTNAME=	${PORTNAME}-${PORTVERSION:S/r/_/}-dev
X
XMAINTAINER=	autrijus@autrijus.org
XCOMMENT=	Generic Apache2 Request Library
X
XBUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Apache2:${PORTSDIR}/www/mod_perl2 \
X		${SITE_PERL}/ExtUtils/XSBuilder:${PORTSDIR}/devel/p5-ExtUtils-XSBuilder
XRUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Apache2:${PORTSDIR}/www/mod_perl2
X
XCONFLICTS=	p5-libapreq
X
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=--enable-perl-glue
XUSE_PERL5=	yes
XMAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
XWRKSRC=		${WRKDIR}/${DISTNAME:S/_02//}
X
XMAN3=		Apache::Cookie.3 Apache::Request.3
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (libapreq2-2.02_02-dev.tar.gz) = dbca30cd45ec88c642ef38ae6d229865
XSIZE (libapreq2-2.02_02-dev.tar.gz) = 458737
END-of-./distinfo
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-Makefile.in
sed 's/^X//' >./files/patch-Makefile.in << 'END-of-./files/patch-Makefile.in'
X--- Makefile.in.orig	Sat Jun  5 11:37:37 2004
X+++ Makefile.in	Sat Jun  5 11:38:18 2004
X@@ -493,7 +493,7 @@
X 	-rm -rf $(distdir)
X 	tar xzvf $(distdir).tar.gz
X 	@cd $(distdir); @PERL@ -M$(EUM) -e "die 'Bogus MANIFEST' if $(EUM)::manicheck"
X-	@cd $(distdir); @PERL@ Makefile.PL -apxs @APACHE2_APXS@ && make test
X+	@cd $(distdir); @PERL@ Makefile.PL -apxs @APACHE2_APXS@ && $(MAKE) test
X 	rm -rf $(distdir)
X 	@echo "$(distdir).tar.gz is kosher."
X 
X@@ -534,26 +534,26 @@
X test: lib_test env_test $(PERL_TEST)
X 
X env_test:
X-	cd env; make test
X+	cd env; $(MAKE) test
X 
X lib_test: check
X 	t/testall -v
X 
X perl_install:
X-	cd glue/perl; make install
X+	cd glue/perl; $(MAKE) install
X 
X perl_test:
X-	cd glue/perl; make test
X+	cd glue/perl; $(MAKE) test
X 
X perl_glue:
X 	cd glue/perl; @PERL@ ../../build/xsbuilder.pl run
X 	cd glue/perl; @PERL@ Makefile.PL -apxs @APACHE2_APXS@
X-	cd glue/perl; make
X+	cd glue/perl; $(MAKE)
X 
X @BUILD_HTTPD_TRUE@install-exec-local: httpd_install
X 
X @BUILD_HTTPD_TRUE@httpd_install:
X-@BUILD_HTTPD_TRUE@	cd @APACHE2_SRC@; make install
X+@BUILD_HTTPD_TRUE@	cd @APACHE2_SRC@; $(MAKE) install
X # Tell versions [3.59,3.63) of GNU make to not export all variables.
X # Otherwise a system limit (for SysV at least) may be exceeded.
X .NOEXPORT:
END-of-./files/patch-Makefile.in
echo x - ./files/patch-glue::Makefile.in
sed 's/^X//' >./files/patch-glue::Makefile.in << 'END-of-./files/patch-glue::Makefile.in'
X--- glue/Makefile.in.orig	Sat Jun  5 11:38:26 2004
X+++ glue/Makefile.in	Sat Jun  5 11:38:36 2004
X@@ -251,16 +251,16 @@
X 	cd perl; @PERL@ Makefile.PL -apxs @APACHE2_APXS@
X 
X perl_glue: perl/Makefile
X-	cd perl; make
X+	cd perl; $(MAKE)
X 
X perl_test: perl/Makefile
X-	cd perl; make test
X+	cd perl; $(MAKE) test
X 
X perl_install:
X-	cd perl; make install
X+	cd perl; $(MAKE) install
X 
X perl_clean:
X-	cd perl; make clean
X+	cd perl; $(MAKE) clean
X 
X @BUILD_PERL_GLUE_TRUE@all-local: perl_glue
X 
END-of-./files/patch-glue::Makefile.in
exit
Comment 2 Vanilla I. Shu freebsd_committer freebsd_triage 2004-06-05 08:27:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vanilla

I will handle this one.
Comment 3 Vanilla I. Shu freebsd_committer freebsd_triage 2004-06-11 11:02:57 UTC
State Changed
From-To: open->closed

Committed, thanks.