c665d541cb
While here, fixes build with perl-5.14. = 1.31 May 11, 2009 Fix static APACI build on Mac OS X. [Gozer] Fix XSS vulnerability in Apache::Status reported by Richard J. Brain, CVE-2009-0796 [Fred Moyer] On Win32, mod_perl.h needs to include <malloc.h> before the perl headers, at least when built with USE_ITHREADS [Steve Hay] Win32 needs PERL_SYS_INIT/PERL_SYS_TERM calls when built with USE_ITHREADS [sic--that's different to USE_THREADS]. In fact, they ought to be always called if they are defined [Steve Hay] Fix potential segfault when the environment contains NULL values [Mike Schilli] Fix static APACI build against newer apache-1.3.38+ [Gozer] Fixed modules/regex.t test 4 on Win32 [Steve Hay] Avoid possible segfault when PerlFreshRestart is On. [Michael Rendell <michael@cs.mun.ca>] Prevent segfault when running with perl >= 5.9.3 [Steve Hay] Fix shared libary extensions on Win32 to be .dll not .so [Nikolay Ananiev <ananiev@thegdb.com>] Patch to mod_perl.dsp to remove /D _WINSOCK2API_ on Win32 for perl >= 5.8.6 [Steve Hay] = 1.30 March 29, 2007 SECURITY: CVE-2007-1349 (cve.mitre.org) fix unescaped variable interpolation in Apache::PerlRun regular expression to prevent regex engine tampering. reported by Alex Solovey [Randal L. Schwartz <merlyn@stonehenge.com>, Fred Moyer <fred@redhotpenguin.com>] sync Apache-SizeLimit with latest version from CPAN (0.91) [Philip M. Gollucci, Philippe M. Chiasson] Fix an Apache::(Registry|PerlRun) bug caused by special characters in the url [kolya@mail.ru] Display a more verbose message if Apache.pm can't be loaded [Geoffrey Young] Fix incorrect win32 detection in Apache::SizeLimit reported by Matt Phillips <mphillips@virage.com> [Philippe M. Chiasson] The print-a-scalar-reference feature is now deprecated and documented as such [Stas] fix "PerlSetVar Foo 0" so that $r->dir_config('Foo') returns 0, not undef [Geoffrey Young] for some reason .pm files during the modperl build see $ENV{PERL5LIB} set in Makefile.PL, which is used for generating Makefiles, as "PERL5LIB=/path:/another/path" instead of "/path:/another/path" essentially rendering this env var useless. I'm not sure why, may be MakeMaker kicks in somewhere. Trying to workaround by s/PERL5LIB/PERL5LIB_ENV/, using anything that's not PERL5LIB. [Stas] change $INC{$key} = undef; to delete $INC{$key}; in PerlFreshRestart [Geoffrey Young] Fix a bug in Makefile.PL for Win32 where it would, in certain cases, pick up the wrong Perl include directory [Steve Hay]
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.49 2011/09/21 14:59:32 obache Exp $
|
|
#
|
|
|
|
DISTNAME= mod_perl-1.31
|
|
PKGNAME= ap13-perl-1.31
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/} \
|
|
http://perl.apache.org/dist/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://perl.apache.org/
|
|
COMMENT= Module that embeds a Perl interpreter into Apache
|
|
LICENSE= apache-1.1
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS= ap-perl-[0-9]*
|
|
CONFLICTS+= ap2-perl-[0-9]*
|
|
|
|
DEPENDS+= ${BUILDLINK_API_DEPENDS.apache}:../../www/apache
|
|
DEPENDS+= p5-BSD-Resource>=1.10:../../devel/p5-BSD-Resource
|
|
|
|
APACHE_MODULE= YES
|
|
PERL5_PACKLIST= auto/mod_perl/.packlist
|
|
|
|
MAKE_PARAMS+= USE_APXS=1
|
|
MAKE_PARAMS+= WITH_APXS=${APXS}
|
|
MAKE_PARAMS+= EVERYTHING=1
|
|
|
|
INSTALLATION_DIRS+= lib/httpd share/httpd/htdocs/manual/mod
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../www/apache/buildlink3.mk"
|
|
|
|
post-install:
|
|
${INSTALL_LIB} ${WRKSRC}/apaci/libperl.so \
|
|
${DESTDIR}${PREFIX}/lib/httpd/mod_perl.so
|
|
${INSTALL_DATA} ${WRKSRC}/htdocs/manual/mod/mod_perl.html \
|
|
${DESTDIR}${PREFIX}/share/httpd/htdocs/manual/mod
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|