RFH: updating gitweb packaging for Apache 2.4
With Apache 2.2, the gitweb package worked out of the box. With
Apache 2.4, it doesn't. http://bugs.debian.org/669292 tracks this
Last year, I tried to fix it --- patch at
But I ran into several problems[*] around the upgrade path and
uninstallation procedure. I think I understood how packaging for
apache 2.2 worked, and I just don't understand how packaging for
apache 2.4 works.
* It's not clear when to run "apache2_invoke enconf gitweb" for a
package like gitweb that does not have a Depends against apache
2.4. If I run it conditionally based on the Apache version, then
gitweb will still be broken when the user upgrades apache, unless
gitweb happens to be upgraded later in the same upgrade run.
* It's not clear when to run "apache2_invoke disconf gitweb". At
"remove" and "purge" time doesn't seem to be enough.
Until this is fixed, installing the gitweb package does not give the
user a usable installation of gitweb, meaning I've been sitting with
an RC bug for a long time.