pkgsrc/www/p5-libapreq2/Makefile

47 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.33 2014/05/29 23:38:17 wiz Exp $
Updating www/p5-libapreq2 from 2.08nb2 to 2.12 pkgsrc changes: - Add license definition Upstream changes: @section v2_12 Changes with libapreq2-2.12 (released March 13, 2009) - C API [joes] Make the cookie parser a little more flexible. @section v2_11 Changes with libapreq2-2.11 (not released) - Interactive CGI module [issac] Allow cgi module to interactively prompt for parameters and cookies when running a script from the command line and not from a CGI interface @section v2_10 Changes with libapreq2-2.10 (not released) - Perl Glue [joes] Fix the linking of the perl modules to libapreq2 and libapr on Solaris. - Perl Glue [joes] Fix install-time linking issue of the .so modules. Previously they would remain linked against the src library path, not the install path. - C API [joes] Add optional interface for apreq_handle_apache2(). - C API [joes] Clean up buggy apreq_hook_find_param(). - Perl Glue Build [Philip M. Gollucci] config.status format changed format yet again in autoconf 2.62+. - License [Mladen Turk] Add libapreq.rc and generate libapreq.res - Build [Mladen Turk] Add APREQ_DECLARE_EXPORT/APREQ_DECLARE_STATIC in the same way as APR declares so that dllexport/dllimport get correctly handled. - Build [Randy Kobes] Add appropriate manifest command to embed manifest files on Win32 when using VC8 - C API [Andy Grundman, joes] Add missing bytes_read initializer to apreq_handle_custom(). - C API [suggested by Vinay Y S, tested by Steve Hay and Peter Walsham] For Win32, remove the flag |= APR_FILE_NOCLEANUP | APR_SHARELOCK; in apreq_file_cleanup, to avoid problems with file uploads. @section v2_09 Changes with libapreq2-2.09 ( not released) - C API [joes] Fix leak associated to calling apreq_brigade_fwrite() on an upload brigade. - Build [Philip M. Gollucci] SunOS (Solaris) Users must use gmake not make for building. - Build [Philip M. Gollucci] SunOS (Solaris) Code around bug in libtool (at least in 1.5.18, 1.5.20, 1.5.22) causing mod_apreq2 to be built instead of mod_apreq2.so - C API [Philip M. Gollucci] Fix comparison signed vs unsigned comparison in apreq_fwritev() on SunOS/gcc where iovec.iov_len is a long. - Build [Philip M. Gollucci] SunOS (Solaris) fix duplicate link error to libexpat.so -- by using the one from httpd exclusively now. - Build [Philip M. Gollucci] code around |#_!!_#| autoconf 2.60 bug.
2010-02-23 21:00:54 +01:00
DISTNAME= libapreq2-2.12
PKGNAME= p5-${DISTNAME}
PKGREVISION= 5
SVR4_PKGNAME= p5la2
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/libapreq/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://httpd.apache.org/apreq/
COMMENT= Lots of Apache specific httpd handling modules
Updating www/p5-libapreq2 from 2.08nb2 to 2.12 pkgsrc changes: - Add license definition Upstream changes: @section v2_12 Changes with libapreq2-2.12 (released March 13, 2009) - C API [joes] Make the cookie parser a little more flexible. @section v2_11 Changes with libapreq2-2.11 (not released) - Interactive CGI module [issac] Allow cgi module to interactively prompt for parameters and cookies when running a script from the command line and not from a CGI interface @section v2_10 Changes with libapreq2-2.10 (not released) - Perl Glue [joes] Fix the linking of the perl modules to libapreq2 and libapr on Solaris. - Perl Glue [joes] Fix install-time linking issue of the .so modules. Previously they would remain linked against the src library path, not the install path. - C API [joes] Add optional interface for apreq_handle_apache2(). - C API [joes] Clean up buggy apreq_hook_find_param(). - Perl Glue Build [Philip M. Gollucci] config.status format changed format yet again in autoconf 2.62+. - License [Mladen Turk] Add libapreq.rc and generate libapreq.res - Build [Mladen Turk] Add APREQ_DECLARE_EXPORT/APREQ_DECLARE_STATIC in the same way as APR declares so that dllexport/dllimport get correctly handled. - Build [Randy Kobes] Add appropriate manifest command to embed manifest files on Win32 when using VC8 - C API [Andy Grundman, joes] Add missing bytes_read initializer to apreq_handle_custom(). - C API [suggested by Vinay Y S, tested by Steve Hay and Peter Walsham] For Win32, remove the flag |= APR_FILE_NOCLEANUP | APR_SHARELOCK; in apreq_file_cleanup, to avoid problems with file uploads. @section v2_09 Changes with libapreq2-2.09 ( not released) - C API [joes] Fix leak associated to calling apreq_brigade_fwrite() on an upload brigade. - Build [Philip M. Gollucci] SunOS (Solaris) Users must use gmake not make for building. - Build [Philip M. Gollucci] SunOS (Solaris) Code around bug in libtool (at least in 1.5.18, 1.5.20, 1.5.22) causing mod_apreq2 to be built instead of mod_apreq2.so - C API [Philip M. Gollucci] Fix comparison signed vs unsigned comparison in apreq_fwritev() on SunOS/gcc where iovec.iov_len is a long. - Build [Philip M. Gollucci] SunOS (Solaris) fix duplicate link error to libexpat.so -- by using the one from httpd exclusively now. - Build [Philip M. Gollucci] code around |#_!!_#| autoconf 2.60 bug.
2010-02-23 21:00:54 +01:00
LICENSE= apache-2.0
PKG_APACHE_ACCEPTED= apache2 apache22
DEPENDS+= p5-ExtUtils-XSBuilder>=0.23:../../devel/p5-ExtUtils-XSBuilder
USE_TOOLS+= gmake
USE_LIBTOOL= YES
PERL5_PACKLIST= auto/libapreq2/.packlist
SUBST_CLASSES+= apxs
SUBST_STAGE.apxs= post-patch
SUBST_FILES.apxs= env/Makefile.in
SUBST_SED.apxs= -e "s|@APACHE2_APXS@ -i -a -n|@APACHE2_APXS@ -i -n|g"
SUBST_MESSAGE.apxs= Fixing module installation.
Update p5-libapreq2 to 2.07. Changes with libapreq2-2.07 (released February 12, 2006) - C API [joes] SECURITY: CVE-2006-0042 (cve.mitre.org) Eliminate potential quadratic behavior in apreq_parse_headers() and apreq_parse_urlencoded(). - Perl API [Philip M. Gollucci] Fix Apache2::Cookie->cookies() to comply with its documentation - C API [Philip M. Gollucci] Use the APREQ_DEFAULT_READ_LIMIT constant for the read_limit - C API [Ville Skyttd, Dirk Nehring] Add explicit cast in apreq_escape()/apreq_util.h to keep C++ compilers happy. - C API [joes] Protect against arbitrary recursion depth in apreq_parse_multipart() by adding a reasonable compile-time MAX_LEVEL limit. - C API [joes] Clean up end-of-file parsing for apreq_parse_multipart(), conforming to rfc-2046 ' 5.1.1. - Perl API [joes] Move APR::Request::Param::Table and APR::Request::Cookie::Table packages to APR::Request module. - Perl XS [Steve Hay] Fix compile problems on Win32 without PERL_IMPLICIT_SYS related to link being an unresolved symbol. - Perl API [joes] APR::Request::Cookie::thaw() isn't a class method. - C API [joes] Fix off-by-one bug in the continuation-lines portion of the header parser. - Perl API [joes] Move APR::Request::upload to APR::Request, where it belongs. - Perl XS [Nikolay Ananiev] Use MP_STATIC declarations to allow Cygwin builds. - Perl API [joes] encode()/decode() were busted with zero-length args. This caused Apache2::Cookie::new() to segfault on cookie value of "". - C API [joes] Add apreq_charset_divine() and eliminate charset offset from return value of apreq_decode(v). - C API [joes] Improve the cp1252-charset heuristics for apreq_decode(v). - C API [Ralph Mattes] Add explicit casts for apreq_param_charset_* to keep c++ compilers happy.
2006-02-20 12:15:49 +01:00
.include "../../lang/perl5/module.mk"
MAKE_PARAMS:= ${MAKE_PARAMS:NINSTALLDIRS=vendor}
MAKE_PARAMS+= --with-apache2-apxs="${APXS}" --with-mm-opts="INSTALLDIRS=vendor"
2007-06-19 23:59:32 +02:00
pre-configure:
${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}
${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}
#pre-configure:
# cd ${WRKSRC} && ./buildconf
.include "../../www/ap2-perl/buildlink3.mk"
.include "../../mk/apache.mk"
BUILDLINK_API_DEPENDS.ap2-perl+= ${APACHE_PKG_PREFIX}-perl>=2.0.1
BUILDLINK_API_DEPENDS.apache+= apache>=2.0.48
.include "../../mk/bsd.pkg.mk"