[Pkg-apache-commits] [SCM] Debian packaging for apache2 (Apache HTTPD 2.x) branch, next, updated. 3cdb26a8c58dbb84864af9a0bcdaf155fc5ea142
Stefan Fritsch
sf at sfritsch.de
Sun Mar 18 17:25:06 UTC 2012
The following commit has been merged in the next branch:
commit 3cdb26a8c58dbb84864af9a0bcdaf155fc5ea142
Author: Stefan Fritsch <sf at sfritsch.de>
Date: Sun Mar 18 18:23:17 2012 +0100
More tweaks of load order deps
Remove include of mods-enabled/bar.conf because for the overwhelming
majority of modules, it does not make a difference.
diff --git a/debian/PACKAGING b/debian/PACKAGING
index 5585b5b..94ffa6b 100644
--- a/debian/PACKAGING
+++ b/debian/PACKAGING
@@ -81,15 +81,15 @@ before, you may want to write a module 'load' file like this:
# Depends: bar
<IfModule !mod_bar.c>
Include mods-enabled/bar.load
- IncludeOptional mods-enabled/bar.conf
</IfModule>
LoadModule foo_module /usr/lib/modules/mod_foo.so
-Use this method extremely sparingly. In most cases a simple "Depends:"
-dependency does the job, too. The "Depends:" magic line is still needed, as this
-makes sure, the module is actually enabled on the local installation site.
-
+The bar.load file must also contain an "<IfModule !mod_bar.c>" guard, so you
+have to talk to the maintainer of the package containing mod_bar. Use this
+method extremely sparingly. In most cases a simple "Depends:" dependency does
+the job, too. The "Depends:" magic line is still needed, to make sure that the
+a2enmod/a2dismod scripts work correctly.
Maintainer scripts should not invoke a2enmod directly. Instead, the
apache2-maintscript-helper should be used. Please realize, the helper is not
--
Debian packaging for apache2 (Apache HTTPD 2.x)
More information about the Pkg-apache-commits
mailing list