move the drift file to /tmp since it gets written a fair amount, bump release and fix whitespace
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10149 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ce68863b22
commit
c787f07860
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ntp
|
PKG_NAME:=ntp
|
||||||
PKG_VERSION:=4.2.4p4
|
PKG_VERSION:=4.2.4p4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
|
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
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
--disable-all-clocks \
|
--disable-all-clocks \
|
||||||
--disable-parse-clocks \
|
--disable-parse-clocks \
|
||||||
--enable-NMEA \
|
--enable-NMEA \
|
||||||
--enable-LOCAL-CLOCK \
|
--enable-LOCAL-CLOCK \
|
||||||
--enable-SHM \
|
--enable-SHM \
|
||||||
--enable-linuxcaps \
|
--enable-linuxcaps \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
restrict 127.0.0.1
|
restrict 127.0.0.1
|
||||||
|
|
||||||
driftfile /etc/ntp.drift
|
driftfile /tmp/ntp.drift
|
||||||
|
|
||||||
server 0.pool.ntp.org iburst
|
server 0.pool.ntp.org iburst
|
||||||
server 1.pool.ntp.org iburst
|
server 1.pool.ntp.org iburst
|
||||||
|
Loading…
x
Reference in New Issue
Block a user