tags 401258 + patch
thanks

Hi,

this patch seems to solve it for me. Comments?


Cheers,
Andi

diff -Nur ../heimdal-0.7.2.dfsg.1~/debian/changelog 
../heimdal-0.7.2.dfsg.1/debian/changelog
--- ../heimdal-0.7.2.dfsg.1~/debian/changelog   2006-12-09 09:04:02.000000000 
+0000
+++ ../heimdal-0.7.2.dfsg.1/debian/changelog    2006-12-09 11:48:55.000000000 
+0000
@@ -1,3 +1,11 @@
+heimdal (0.7.2.dfsg.1-6.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Don't change services on upgrades, only on fresh installation and purge.
+    Closes: #401258
+
+ -- Andreas Barth <[EMAIL PROTECTED]>  Sat,  9 Dec 2006 11:48:05 +0000
+
 heimdal (0.7.2.dfsg.1-6) unstable; urgency=low
 
   * Update maintainer E-Mail address.
diff -Nur ../heimdal-0.7.2.dfsg.1~/debian/heimdal-kdc.postinst 
../heimdal-0.7.2.dfsg.1/debian/heimdal-kdc.postinst
--- ../heimdal-0.7.2.dfsg.1~/debian/heimdal-kdc.postinst        2006-12-09 
09:04:02.000000000 +0000
+++ ../heimdal-0.7.2.dfsg.1/debian/heimdal-kdc.postinst 2006-12-09 
11:45:40.000000000 +0000
@@ -82,13 +82,9 @@
 
 case "$1" in
 abort-upgrade | abort-deconfigure | abort-remove)
-       enable_servers
        ;;
 configure)
-       if [ -n "$2" ] && dpkg --compare-versions "$2" ge 0.2l-4; then
-               enable_servers
-       else
-               remove_servers
+       if [ -z "$2" ]; then
                add_servers
        fi
        ;;
diff -Nur ../heimdal-0.7.2.dfsg.1~/debian/heimdal-kdc.prerm 
../heimdal-0.7.2.dfsg.1/debian/heimdal-kdc.prerm
--- ../heimdal-0.7.2.dfsg.1~/debian/heimdal-kdc.prerm   2006-12-09 
09:04:02.000000000 +0000
+++ ../heimdal-0.7.2.dfsg.1/debian/heimdal-kdc.prerm    1970-01-01 
00:00:00.000000000 +0000
@@ -1,12 +0,0 @@
-#!/bin/sh -e
-
-disable_servers() {
-       update-inetd --pattern '[ \t]/usr/lib/heimdal-servers/kadmind' 
--disable kerberos-adm
-       update-inetd --pattern '[ \t]/usr/sbin/hpropd' --disable krb_prop
-}
-
-if command -v update-inetd >/dev/null 2>&1; then
-       disable_servers
-fi
-
-#DEBHELPER#
-- 
  http://home.arcor.de/andreas-barth/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to