summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStefan Fritsch <sf@sfritsch.de>2012-03-18 18:23:17 +0100
committerStefan Fritsch <sf@sfritsch.de>2012-03-18 18:24:27 +0100
commit3cdb26a8c58dbb84864af9a0bcdaf155fc5ea142 (patch)
tree2f4b95c225f3e16db3705bb426d6777c8309cff9 /debian
parent95a05eb52763c795b7aa6d0f6794c15214ac8e7a (diff)
downloadapache2-3cdb26a8c58dbb84864af9a0bcdaf155fc5ea142.tar.gz
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.
Diffstat (limited to 'debian')
-rw-r--r--debian/PACKAGING10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/PACKAGING b/debian/PACKAGING
index 5585b5bc..94ffa6b9 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