tags 340801 + patch
thanks
Hi,
Attached is the diff for my libapache-mod-choke 0.06-2.1 NMU.
--
Homepage: http://www.sesse.net/
diff -Nru /tmp/3ES7es5HiT/libapache-mod-choke-0.06/debian/changelog
/tmp/lrZE8uUpQu/libapache-mod-choke-0.06/debian/changelog
--- /tmp/3ES7es5HiT/libapache-mod-choke-0.06/debian/changelog 2005-04-01
22:23:13.000000000 +0200
+++ /tmp/lrZE8uUpQu/libapache-mod-choke-0.06/debian/changelog 2006-11-13
17:53:01.000000000 +0100
@@ -1,3 +1,12 @@
+libapache-mod-choke (0.06-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * In the postinst, check that /usr/sbin/apache{,-ssl,-perl} exists before we
+ try to run apache-modconf for that variant; makes the package installable
+ again. (Closes: #340801)
+
+ -- Steinar H. Gunderson <[EMAIL PROTECTED]> Mon, 13 Nov 2006 17:51:44 +0100
+
libapache-mod-choke (0.06-2) unstable; urgency=low
* Depend on apache-common for apache-modconf util. (Closes: #301851)
diff -Nru /tmp/3ES7es5HiT/libapache-mod-choke-0.06/debian/postinst
/tmp/lrZE8uUpQu/libapache-mod-choke-0.06/debian/postinst
--- /tmp/3ES7es5HiT/libapache-mod-choke-0.06/debian/postinst 2005-02-15
23:41:44.000000000 +0100
+++ /tmp/lrZE8uUpQu/libapache-mod-choke-0.06/debian/postinst 2006-11-13
17:53:14.000000000 +0100
@@ -8,7 +8,7 @@
case "$1" in
configure)
for i in apache apache-ssl apache-perl ; do
- /usr/sbin/apache-modconf $i enable mod_choke
+ [ -x /usr/sbin/$i ] && /usr/sbin/apache-modconf $i enable mod_choke
done
;;