Package: ntpdate Version: 1:4.2.0a+stable-8.1 Severity: wishlist Tags: patch
Please create a udeb for ntpdate. We'd like to use this in the installer to set the clock properly. Below is a patch. If there are any other features that can be disabled that are not essential, please go ahead. diff -urN ntp-4.2.0a+stable/debian/control new-ntp-4.2.0a+stable/debian/control --- ntp-4.2.0a+stable/debian/control 2006-02-12 23:08:27.000000000 +0000 +++ new-ntp-4.2.0a+stable/debian/control 2006-02-12 22:57:50.000000000 +0000 @@ -104,6 +104,16 @@ The ntpdate client by itself is useful for occasionally setting the time on machines that are not on the net full-time, such as laptops. +Package: ntpdate-udeb +Architecture: any +XC-Package-Type: udeb +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: The ntpdate client for setting system time from NTP servers + ntpdate is a simple NTP client which allows a system's clock to be set + to match the time obtained by communicating with one or more servers. + . + This is a udeb for debian-installer. + Package: ntp-doc Architecture: all Section: doc diff -urN ntp-4.2.0a+stable/debian/rules new-ntp-4.2.0a+stable/debian/rules --- ntp-4.2.0a+stable/debian/rules 2006-02-12 23:08:27.000000000 +0000 +++ new-ntp-4.2.0a+stable/debian/rules 2006-02-12 23:04:59.000000000 +0000 @@ -29,6 +29,15 @@ --disable-errorcache --enable-linuxcaps touch build-simple/stamp-h.in + # build ntpdate udeb + mkdir -p build-ntpdate-udeb + cd build-ntpdate-udeb && ../configure --prefix=/usr \ + --disable-all-clocks --disable-parse-clocks \ + --disable-debugging --enable-LOCAL-CLOCK \ + --sysconfdir=/var/lib/ntp --cache-file=../config.cache \ + --disable-errorcache + touch build-ntpdate-udeb/stamp-h.in + touch config-stamp build: build-stamp @@ -37,14 +46,15 @@ make -C build-refclock/ntpd make -C build-simple + make -C build-ntpdate-udeb/ntpdate CFLAGS=-Os touch build-stamp clean: dh_testdir dh_testroot - rm -f config-stamp build-stamp - rm -rf build-simple build-refclock + rm -f config-stamp build-stamp + rm -rf build-simple build-refclock build-ntpdate-udeb rm -f config.cache -test -r /usr/share/misc/config.sub && \ @@ -87,6 +97,10 @@ mv debian/ntp/usr/sbin/$$file debian/ntp-server/usr/sbin/$$file; \ done + # udeb + $(MAKE) -C build-ntpdate-udeb/ntpdate install \ + prefix=`pwd`/debian/ntpdate-udeb/usr + install -o root -g root -m 755 debian/ntp-server.ifup \ debian/ntp-server/etc/network/if-up.d/ntp-server install -o root -g root -m 0755 build-simple/scripts/ntpsweep \ -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages ntpdate depends on: ii libc6 2.3.5-11 GNU C Library: Shared libraries an ii libcap1 1:1.10-14 support for getting/setting POSIX. ntpdate recommends no packages. -- no debconf information -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]