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 980b54c..62995d0 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 4d502b2..9b76eb7 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