FreeBSD Bugzilla – Attachment 145427 Details for
Bug 191471
[patch] www/mod_perl2 does not build against apache24
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch current upstream mod_perl r1602105 v02
mod_perl2-2.0.8_apache24_v02.diff (text/plain), 7.84 KB, created by
Olli Hauer
on 2014-08-06 21:28:12 UTC
(
hide
)
Description:
patch current upstream mod_perl r1602105 v02
Filename:
MIME Type:
Creator:
Olli Hauer
Created:
2014-08-06 21:28:12 UTC
Size:
7.84 KB
patch
obsolete
>Index: mod_perl2/Makefile >=================================================================== >--- mod_perl2/Makefile (revision 364212) >+++ mod_perl2/Makefile (working copy) >@@ -3,32 +3,53 @@ > > PORTNAME= mod_perl > PORTVERSION= 2.0.8 >-PORTREVISION= 1 >+PORTREVISION= 2 > PORTEPOCH= 3 > CATEGORIES= www perl5 > MASTER_SITES= APACHE/perl > PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} > PKGNAMESUFFIX= 2 > >+PATCH_SITES= ${MASTER_SITE_LOCAL} >+PATCH_SITE_SUBDIR= ohauer >+ > MAINTAINER= apache@FreeBSD.org > COMMENT= Embeds a Perl interpreter in the Apache2 server > >+LICENSE= APACHE20 >+ > BUILD_DEPENDS= p5-BSD-Resource>=0:${PORTSDIR}/devel/p5-BSD-Resource > RUN_DEPENDS:= ${BUILD_DEPENDS} > > SUB_FILES= pkg-message > SUB_LIST= APACHEMODDIR=${APACHEMODDIR} >-USE_APACHE= 22 >+USE_APACHE= 22+ > USES= gmake perl5 > USE_PERL5= configure > USE_CSTD= gnu89 > > .include <bsd.port.pre.mk> > >-.if ${APACHE_VERSION} > 22 >-BROKEN= Does not build with apache24 >+.if ${APACHE_VERSION} >= 22 >+# patch shaped against upstream mod_perl >+# Last Changed Rev: 1602105 >+PATCHREV= 1602105 >+PATCHFILES+= ${PORTNAME}-${PORTVERSION}-r${PATCHREV}.diff.gz >+PLIST_SUB+= AP24="" >+PMSED= 's/%AP24%//' >+NO_PACKAGE= yes >+.else >+PLIST_SUB+= AP24="@comment " >+PMSED= '/%AP24%/d' > .endif > >+# Provider is build iff apache24 is in use >+.if ${APACHE_VERSION:M22} >+PLIST_SUB+= AP22="@comment " >+.else >+PLIST_SUB+= AP22="" >+.endif >+ > # Using apxs in this way is problematic if apache2 is installed under a > # different PREFIX than mod_perl2, because the mod_perl2 installation will > # use paths returned by apxs to install some components. Fixes welcome. >@@ -61,13 +82,15 @@ > ${WRKSRC}/lib/Apache2/Build.pm > > pre-configure: >- @${FIND} ${WRKSRC} -type f \( -name \*.bak -o -name \*.orig \) -delete >+ ${FIND} ${WRKSRC} -type f \( -name \*.bak -o -name \*.orig \) -delete > > post-configure: > ${REINPLACE_CMD} -e 's/-pthread -Wl,-E//g' \ > ${PATCH_WRKSRC}/xs/APR/APR/Makefile > > post-install: >+# adjust pkg-message >+ ${REINPLACE_CMD} -e ${PMSED} ${WRKDIR}/pkg-message > ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR}/modules/perl > ${INSTALL_DATA} ${WRKSRC}/src/modules/perl/*.h \ > ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR}/modules/perl >Index: mod_perl2/distinfo >=================================================================== >--- mod_perl2/distinfo (revision 364212) >+++ mod_perl2/distinfo (working copy) >@@ -1,2 +1,4 @@ > SHA256 (mod_perl-2.0.8.tar.gz) = 35dc1b7a40a90a395ce88bba2df84f22289975f34d1757de6d715560c20a20e6 > SIZE (mod_perl-2.0.8.tar.gz) = 3790026 >+SHA256 (mod_perl-2.0.8-r1602105.diff.gz) = 1984335c57fefd153d0fe396cdef59cf6e08ed644a60ea1ee7a2b6cbc55711cb >+SIZE (mod_perl-2.0.8-r1602105.diff.gz) = 145754 >Index: mod_perl2/files/pkg-message.in >=================================================================== >--- mod_perl2/files/pkg-message.in (revision 364212) >+++ mod_perl2/files/pkg-message.in (working copy) >@@ -1,5 +1,4 @@ >-######################################################### >- >+=================================================================== > Simple config: > > LoadModule perl_module %%APACHEMODDIR%%/mod_perl.so >@@ -14,4 +13,8 @@ > > http://perl.apache.org/docs/2.0/user/intro/start_fast.html > >-######################################################### >+%AP24% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >+%AP24% Use this mod_perl2 version at own risk, it is a current >+%AP24% development snapshot and not marked production ready! >+%AP24% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! >+=================================================================== >Index: mod_perl2/pkg-plist >=================================================================== >--- mod_perl2/pkg-plist (revision 364212) >+++ mod_perl2/pkg-plist (working copy) >@@ -142,6 +142,7 @@ > %%PERL5_MAN3%%/ModPerl::RegistryLoader.3.gz > %%PERL5_MAN3%%/ModPerl::RegistryPrefork.3.gz > %%PERL5_MAN3%%/ModPerl::Util.3.gz >+%%AP24%%%%PERL5_MAN3%%/MyTest::Util.3.gz > %%PERL5_MAN3%%/mod_perl2.3.gz > %%SITE_PERL%%/%%PERL_ARCH%%/APR.pm > %%SITE_PERL%%/%%PERL_ARCH%%/APR/Base64.pm >@@ -222,6 +223,7 @@ > %%SITE_PERL%%/%%PERL_ARCH%%/Apache2/PerlSections.pm > %%SITE_PERL%%/%%PERL_ARCH%%/Apache2/PerlSections/Dump.pm > %%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Process.pm >+%%AP22%%%%AP24%%%%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Provider.pm > %%SITE_PERL%%/%%PERL_ARCH%%/Apache2/Reload.pm > %%SITE_PERL%%/%%PERL_ARCH%%/Apache2/RequestIO.pm > %%SITE_PERL%%/%%PERL_ARCH%%/Apache2/RequestRec.pm >@@ -250,6 +252,8 @@ > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/Const.pm > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/FunctionMap.pm > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/Global.pm >+%%AP24%%%%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/InterpPool.pm >+%%AP24%%%%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/Interpreter.pm > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/MM.pm > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/Manifest.pm > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/MapUtil.pm >@@ -265,9 +269,12 @@ > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/StructureMap.pm > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/TestReport.pm > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/TestRun.pm >+%%AP24%%%%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/TiPool.pm >+%%AP24%%%%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/TiPoolConfig.pm > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/TypeMap.pm > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/Util.pm > %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl/WrapXS.pm >+%%AP24%%%%SITE_PERL%%/%%PERL_ARCH%%/MyTest/Util.pm > %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/APR.so > %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Base64/Base64.so > %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Brigade/Brigade.so >@@ -307,6 +314,7 @@ > %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/MPM/MPM.so > %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/Module/Module.so > %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/Process/Process.so >+%%AP22%%%%AP24%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/Provider/Provider.so > %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/RequestIO/RequestIO.so > %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/RequestRec/RequestRec.so > %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/RequestUtil/RequestUtil.so >@@ -320,6 +328,10 @@ > %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/typemap > %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/Const/Const.so > %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/Global/Global.so >+%%AP24%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/InterpPool/InterpPool.so >+%%AP24%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/Interpreter/Interpreter.so >+%%AP24%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/TiPool/TiPool.so >+%%AP24%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/TiPoolConfig/TiPoolConfig.so > %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/Util/Util.so > %%SITE_PERL%%/%%PERL_ARCH%%/auto/mod_perl2/.packlist > %%SITE_PERL%%/%%PERL_ARCH%%/mod_perl2.pm >@@ -336,6 +348,7 @@ > @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Apache2 > @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Bundle > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/ModPerl >+%%AP24%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/MyTest > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Base64 > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Brigade > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Bucket >@@ -375,6 +388,7 @@ > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/MPM > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/Module > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/Process >+%%AP22%%%%AP24%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/Provider > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/RequestIO > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/RequestRec > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2/RequestUtil >@@ -388,6 +402,10 @@ > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache2 > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/Const > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/Global >+%%AP24%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/InterpPool >+%%AP24%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/Interpreter >+%%AP24%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/TiPool >+%%AP24%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/TiPoolConfig > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/Util > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl > @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/mod_perl2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191471
:
144236
|
144279
|
144280
|
144281
|
145304
| 145427 |
145925