af365ebd62
at least it supports 5.20.0. 2.0.9 June 18, 2015 Add note to README about MP_INLINE problem when building with GCC 5. [Niko Tyni <ntyni@debian.org>] Fix t/api/aplog.t for apr-1.5.2. [Steve Hay] Note that Perl 5.22.x is currently not supported. This is logged as CPAN RT#101962 and will hopefully be addressed in 2.0.10. [Steve Hay] Fix unthreaded build, which was broken in 2.0.9-rc2. [Steve Hay] Remove PerlInterpScope. This has not been working properly with threaded MPMs with httpd-2.4.x and the use-case of this directive was questionable. [Jan Kaluza] Allow running the test suite with httpd-2.4.x when mod_access_compat is not loaded. [Steve Hay] Add support for Apache httpd-2.4.x. [Torsten Foertsch, Jan Kaluza, Steve Hay, Gozer] Don't call modperl_threaded_mpm() et al. from XS code. Fixes Debian Bug #765174. [Niko Tyni <ntyni@debian.org>] Make sure modperl_interp_select uses r->server rather than the passed s parameter to find the interpreter pool to pull an interpreter from. This fixes an issue with vhosts with a separate interpreter pool and runtime dir-config merges that used to pull the interpreter from the wrong pool. [Torsten Foertsch] PerlInterpScope is now more advisory. Using $(c|r)->pnotes will bind the current interpreter to that object for it's lifetime. $(c|r)->pnotes_kill() can be used to prematurely drop pnotes and remove this binding. [Torsten Foertsch] Now correctly invokes PerlCleanupHandlers, even if they are the only handler type configured for that request [Torsten Foertsch] For threaded MPMs, change interpreter managment to a new, reference-counted allocation model. [Torsten Foertsch] Expose modperl_interp_pool_t via ModPerl::InterpPool, modperl_tipool_t via ModPerl::TiPool and modperl_tipool_config_t via ModPerl::TiPoolConfig [Torsten Foertsch] Expose modperl_interp_t via ModPerl::Interpreter [Torsten Foertsch] Fix t/compat/apache_file.t on Windows. Apache::File->tmpfile() wants TMPDIR or TEMP from the environment, or else defaults to /tmp. The latter is no good on Windows, so make sure the environment variables are passed through. (TEMP should be set to something suitable on Windows.) [Steve Hay] Fix t/api/err_headers_out.t with HTTP::Headers > 6.00. [Rolando <rolosworld@gmail.com>] Fix the build with VC++ and dmake (rather than nmake) on Windows. The Makefile generated by Apache2::Build uses shell commands for the manifest file, but neglected to tell dmake to use the shell. [Steve Hay] Don't write an 'rpm' target into the Makefile on Windows. It isn't relevant on Windows, and the (hard-coded, not MakeMaker-generated) recipe group has syntax which dmake doesn't understand. [Steve Hay]
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.51 2015/07/14 22:01:06 wiz Exp $
|
|
|
|
DISTNAME= mod_perl-2.0.9
|
|
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=perl/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://perl.apache.org/
|
|
COMMENT= Module that embeds a Perl interpreter into Apache
|
|
LICENSE= apache-2.0
|
|
|
|
CONFLICTS= ap-perl-[0-9]* p5-Apache-Reload-[0-9]* p5-Apache-Test-[0-9]*
|
|
|
|
PKG_APACHE_ACCEPTED= apache22 apache24
|
|
|
|
APACHE_MODULE= yes
|
|
PERL5_PACKLIST= auto/mod_perl2/.packlist
|
|
|
|
MAKE_PARAMS+= MP_APXS=${APXS}
|
|
MAKE_PARAMS+= MP_APR_CONFIG=${BUILDLINK_DIR}/bin/apr-config
|
|
|
|
.include "../../mk/apache.mk"
|
|
|
|
.if !empty(PKG_APACHE:Mapache24)
|
|
SUBST_CLASSES+= ap24
|
|
SUBST_STAGE.ap24= pre-configure
|
|
SUBST_MESSAGE.ap24= Adding Apache 2.4.x compatibility.
|
|
SUBST_FILES.ap24= xs/maps/apache2_structures.map
|
|
SUBST_FILES.ap24+= xs/tables/current/Apache2/StructureTable.pm
|
|
SUBST_SED.ap24= -e "s,remote_addr,client_addr,g"
|
|
SUBST_SED.ap24+= -e "s,remote_ip,client_ip,g"
|
|
SUBST_SED.ap24+= -e "s,'loglevel','log.level',g"
|
|
.endif
|
|
|
|
INSTALLATION_DIRS= ${PREFIX}/share/doc/mod_perl
|
|
|
|
post-install:
|
|
${CP} -R ${WRKSRC}/docs/* ${DESTDIR}${PREFIX}/share/doc/mod_perl
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|