tags 384857 + patch
thanks

Hi,

Attached is a patch that implements a proper transition to the new ntp
package.

Please apply.

JB.

-- 
 Julien BLACHE <[EMAIL PROTECTED]>  |  Debian, because code matters more 
 Debian & GNU/Linux Developer        |       <http://www.debian.org>
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 

diff -u ntp-4.2.2+dfsg.2/debian/control ntp-4.2.2+dfsg.2/debian/control
--- ntp-4.2.2+dfsg.2/debian/control
+++ ntp-4.2.2+dfsg.2/debian/control
@@ -63,0 +64,15 @@
+
+Package: ntp-simple
+Architecture: all
+Depends: ntp (>= 1:4.2.2+dfsg.2-2)
+Description: Network Time Protocol: daemon for simple systems [dummy package]
+ This package is a transition package designed to help ease the transition
+ to the new ntp package. It is safe to remove this package.
+
+Package: ntp-refclock
+Architecture: all
+Priority: extra
+Depends: ntp (>= 1:4.2.2+dfsg.2-2)
+Description: Network Time Protocol: daemon for reference clocks [dummy package]
+ This package is a transition package designed to help ease the transition
+ to the new ntp package. It is safe to remove this package.
diff -u ntp-4.2.2+dfsg.2/debian/changelog ntp-4.2.2+dfsg.2/debian/changelog
--- ntp-4.2.2+dfsg.2/debian/changelog
+++ ntp-4.2.2+dfsg.2/debian/changelog
@@ -1,3 +1,12 @@
+ntp (1:4.2.2+dfsg.2-2) unstable; urgency=low
+
+  * debian/control:
+    + Add ntp-refclock and ntp-simple transition packages (closes: #384857).
+  * debian/ntp.init:
+    + Remove adduser call from initscript.
+
+ -- Julien BLACHE <[EMAIL PROTECTED]>  Sat,  2 Sep 2006 11:09:31 +0200
+
 ntp (1:4.2.2+dfsg.2-1) unstable; urgency=low
 
   [ Peter Eisentraut ]
diff -u ntp-4.2.2+dfsg.2/debian/ntp.init ntp-4.2.2+dfsg.2/debian/ntp.init
--- ntp-4.2.2+dfsg.2/debian/ntp.init
+++ ntp-4.2.2+dfsg.2/debian/ntp.init
@@ -24,12 +24,6 @@
 	. /etc/default/$NAME
 fi
 
-# This is required in case the old ntp-server package is purged, which
-# removes this stuff.
-mkdir -p /var/lib/ntp /var/log/ntpstats
-adduser --system --quiet --group --no-create-home ntp || :
-chown -R ntp:ntp /var/lib/ntp /var/log/ntpstats
-
 RUNASUSER=ntp
 UGID=$(getent passwd $RUNASUSER | cut -f 3,4 -d:) || true
 

Reply via email to