move the drift file to /tmp since it gets written a fair amount, bump release and...
authorTim Yardley <lst@openwrt.org>
Tue, 8 Jan 2008 23:18:21 +0000 (23:18 +0000)
committerTim Yardley <lst@openwrt.org>
Tue, 8 Jan 2008 23:18:21 +0000 (23:18 +0000)
SVN-Revision: 10149

net/ntpd/Makefile
net/ntpd/files/ntp.conf

index 980b54c41c01a9d83b91ca529fa89de5e9b08abe..62995d06a8377025f6c6f1b22aa88dd30a9b7bb4 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ntp
 PKG_VERSION:=4.2.4p4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
@@ -48,11 +48,11 @@ TARGET_CPPFLAGS += -I$(STAGING_DIR)/usr/include/libelf
 
 define Build/Configure
        $(call Build/Configure/Default, \
-                --disable-all-clocks \
+               --disable-all-clocks \
                --disable-parse-clocks \
-                --enable-NMEA \
+               --enable-NMEA \
                --enable-LOCAL-CLOCK \
-                --enable-SHM \
+               --enable-SHM \
                --enable-linuxcaps \
        )
 endef
index 4d502b215d12c5e8c7079b412517be9918d9fcd9..9b76eb7c5c59f66bed770e6db8ecea8f6bed21a0 100644 (file)
@@ -7,7 +7,7 @@
 
 restrict 127.0.0.1
 
-driftfile  /etc/ntp.drift
+driftfile  /tmp/ntp.drift
 
 server 0.pool.ntp.org iburst
 server 1.pool.ntp.org iburst