Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 405767

Summary: www-servers/apache-2.4*: ebuild request
Product: Gentoo Linux Reporter: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Component: New packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: artem, f3d, gbugs, hanno, idl0r, mjo, pud, pva, rebecca.menessec, redneb, tobias.pal, weedy2887
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.apache.org/dist/httpd/Announcement2.4.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 406865    
Bug Blocks:    
Attachments: apache-tools-2.4.1.ebuild
apache-24.eclass
apache-2.4.1.ebuild
apache 2.4 ebuild
base patch
apache-tools patch
apache-24.eclass

Description Andreis Vinogradovs ( slepnoga ) 2012-02-25 14:07:52 UTC
Apache 2.4.1 relized.
Please add ebbuild and patchset in tree
Comment 1 Andreis Vinogradovs ( slepnoga ) 2012-02-26 15:22:01 UTC
Created attachment 303349 [details]
apache-tools-2.4.1.ebuild

Initial apache-tool 2.4 series ebuild. Only for development
Comment 2 Andreis Vinogradovs ( slepnoga ) 2012-02-26 15:27:25 UTC
Created attachment 303351 [details]
apache-24.eclass
Comment 3 Andreis Vinogradovs ( slepnoga ) 2012-02-26 15:28:02 UTC
Created attachment 303353 [details]
apache-2.4.1.ebuild

only for development
Comment 4 Michael Orlitzky gentoo-dev 2012-02-27 14:39:57 UTC
The mpm-itk patch will need to be rebased to work on 2.4.1. The changes don't look too bad, mostly build system stuff.
Comment 5 Michael Orlitzky gentoo-dev 2012-02-28 17:35:15 UTC
Re: mpm-itk

http://lists.err.no/pipermail/mpm-itk/2012-February/000496.html
Comment 6 Andreis Vinogradovs ( slepnoga ) 2012-03-05 12:41:28 UTC
Created attachment 304297 [details]
apache 2.4 ebuild
Comment 7 Andreis Vinogradovs ( slepnoga ) 2012-03-05 12:41:52 UTC
Created attachment 304299 [details, diff]
base patch
Comment 8 Andreis Vinogradovs ( slepnoga ) 2012-03-05 12:42:24 UTC
Created attachment 304301 [details, diff]
apache-tools patch
Comment 9 Andreis Vinogradovs ( slepnoga ) 2012-03-05 12:42:48 UTC
Comment on attachment 304299 [details, diff]
base patch

>diff --git a/Makefile.in b/Makefile.in
>--- a/Makefile.in
>+++ b/Makefile.in
>@@ -14,7 +14,7 @@
> 
> sbin_PROGRAMS   = $(PROGRAM_NAME)
> TARGETS         = $(sbin_PROGRAMS) $(shared_build) $(other_targets)
>-INSTALL_TARGETS = install-conf install-htdocs install-error install-icons \
>+INSTALL_TARGETS =  install-htdocs install-error install-icons \
> 	install-other install-cgi install-include install-suexec install-build \
> 	install-man
> 
>diff --git a/include/httpd.h b/include/httpd.h
>--- a/include/httpd.h
>+++ b/include/httpd.h
>@@ -152,7 +152,7 @@
> 
> /** The path to the suExec wrapper, can be overridden in Configuration */
> #ifndef SUEXEC_BIN
>-#define SUEXEC_BIN  HTTPD_ROOT "/bin/suexec"
>+#define SUEXEC_BIN "/usr/bin/suexec"
> #endif
> 
> /** The timeout for waiting for messages */
>diff --git a/server/core.c b/server/core.c
>--- a/server/core.c
>+++ b/server/core.c
>@@ -3152,7 +3152,7 @@
>         ap_add_version_component(pconf, AP_SERVER_BASEPRODUCT "/" AP_SERVER_MAJORVERSION);
>     }
>     else {
>-        ap_add_version_component(pconf, AP_SERVER_BASEVERSION " (" PLATFORM ")");
>+        ap_add_version_component(pconf, AP_SERVER_BASEVERSION " (Gentoo)");
>     }
> 
>     /*
Comment 10 Andreis Vinogradovs ( slepnoga ) 2012-03-05 12:43:47 UTC
Created attachment 304303 [details]
apache-24.eclass
Comment 11 Michael Orlitzky gentoo-dev 2012-03-14 02:34:26 UTC
Here's the first shot at a patch; complete with warnings not to use it =)

  http://mpm-itk.sesse.net/apache2.4-mpm-itk-2.4.1-pre00/
Comment 12 Weedy 2012-03-27 06:36:37 UTC
dot dot dot end of march
Comment 13 Patrick Lauer gentoo-dev 2012-04-01 04:51:42 UTC
+  01 Apr 2012; Patrick Lauer <patrick@gentoo.org> +apache-2.4.1.ebuild:
+  Bump for #405767

Not a nice ebuild, but there you are :)
Comment 14 Weedy 2012-04-03 15:02:41 UTC
09:58:51 -!- willikins [~rbot@gentoo/bot/Willikins] has joined #gentoo-apache
10:37:33 < biohazrd> There are a few changes that need to happen in the default configs
10:37:55 < biohazrd> http://httpd.apache.org/docs/2.4/upgrading.html
10:38:44 < biohazrd> mod_access_compat unless you change all the Order allow,deny configs
10:38:55 < biohazrd> as well as mod_authn_core
10:39:21 < biohazrd> alos DefaultType text/plain needs to be changed to DefaultType none
10:39:29 < bonsaikitten> le sigh
10:39:56 < biohazrd> I manually fixed all my configs last night
10:40:24 < biohazrd> ended up removing mod_access_compat as it didn't seem to work right
10:40:56 < biohazrd> NameVirtualHost is toast too
10:41:11  * biohazrd off to work..
10:54:33 < Weedy_laptop> bonsaikitten: doesn't the ebuild have a "read this shit: http://httpd.apache.org/docs/2.4/upgrading.html" einfo after merge?
10:54:43 < Weedy_laptop> why are people bitching
10:54:58 < bonsaikitten> Weedy_laptop: good idea. plz2bug :)
10:55:11 < Weedy_laptop> wait it doesn't?
10:55:21 < Weedy_laptop> welp there is the problem

So uhh, add a "you need to read this shit" einfo paragraph kthx