httpd 2.4 is coming, RFC on module packaging draft
mkkp4x4 at gmail.com
Fri Mar 23 17:39:25 UTC 2012
2012/3/23 Joe Orton <jorton at redhat.com>:
> httpd 2.4.1 packages are ready for dist-f18 and will be built early next
> week. Rebuilds will be required for all packages containing httpd
> modules. There are API changes in 2.4, so module packages may need
> patches if upstream has not done that work already:
> There are some significant changes in the packaging, also:
> 1) Config changes: I've moved to a minimal default httpd.conf which is
> very close to what we're shipping upstream.
> a) I'm proposing to split out packaged config snippets from mutable
> config, with the former in /etc/httpd/conf.modules.d/, containing only
> LoadModule lines, and ordered to avoid load-ordering issues.
> b) /etc/httpd/conf.d/*.conf should contain no LoadModules for packaged
> modules, and only any reasonable default configurations.
+1 for configuration changes
> 2) Loadable MPMs! MPMs are now loadable modules, so we only need to
> ship one httpd binary again. Changing MPM is a config tweak.
> 3) Content. Putting unmutable content in /var was bad practice, so I've
> moved the /var/www/manual and /var/www/icons to into /usr/share/httpd.
> We now ship /var/www/* as empty directories.
> 4) Filesystem locations have moved in-line with upstream, e.g. apxs is
> now in /usr/bin. /etc/rpm/httpd.macros has macros for everything module
> packages should need.
> Since much of the above requires packaging changes for module packages,
> I've prepared a draft packaging guideline to document best practice:
> If anything there looks stupid, needs fixing, is missing, or there's any
> other feedback, please shout!
> Regards, Joe
> devel mailing list
> devel at lists.fedoraproject.org
Do you know if the new version of httpd has major changes in modules
API? I'm trying to cobble together spec file for mod_spdy
and I hope to finish it for F18 :)
More information about the devel