[SCM] Debian packaging for apache2 branch, master, updated. debian/2.4.4-6-35-gb4aaf02

Stefan Fritsch sf at sfritsch.de
Sun Jul 21 17:32:40 UTC 2013


The following commit has been merged in the master branch:
commit b4aaf02bc4700dd2f5ce23f02185e7e09a8f6e11
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sun Jul 21 19:29:55 2013 +0200

    refresh dependencies in postinst

diff --git a/debian/apache2.postinst b/debian/apache2.postinst
index b392e02..e7e1ac2 100644
--- a/debian/apache2.postinst
+++ b/debian/apache2.postinst
@@ -209,6 +209,16 @@ enable_default_modules()
 		for module in authn_core authz_core filter access_compat ; do
 			a2enmod -m -q $module
 		done
+	elif dpkg --compare-versions "$2" "le" "2.4.6-1~" ; then
+		# These modules had dependencies missing in the initial 2.4 upload
+		for module in auth_basic auth_digest auth_form cache_disk include ratelimit mpm_event
+		do
+			if [ -e /etc/apache2/mods-enabled/$module.load ] ; then
+				# If module is enabled, enable again to
+				# enable new dependencies
+				a2enmod -m -q $module
+			fi
+		done
 	fi
 }
 

-- 
Debian packaging for apache2



More information about the Pkg-apache-commits mailing list