X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=net%2Fntpd%2FMakefile;h=8e973915abb93ed96c19c178a8378986d163fe8e;hp=1c1b01b0ccb6c95f742fbf2ece7062cd4c20e3ab;hb=db0e09883d8d98f15b996479b06ff4c6aad0ee18;hpb=7eb1fb4453b1662f6a10329207438fd0b73cbcae diff --git a/net/ntpd/Makefile b/net/ntpd/Makefile index 1c1b01b0cc..8e973915ab 100644 --- a/net/ntpd/Makefile +++ b/net/ntpd/Makefile @@ -1,22 +1,20 @@ # -# Copyright (C) 2006-2008 OpenWrt.org +# Copyright (C) 2006-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk PKG_NAME:=ntp -PKG_VERSION:=4.2.4p4 -PKG_RELEASE:=4 +PKG_VERSION:=4.2.4p8 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ -PKG_MD5SUM:=fcb32a01e1ae3f9ed5bac86b12c7a1cc +PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ +PKG_MD5SUM:=fe137056e7e611798a46971a783567ce -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DEPENDS:=libelf include $(INCLUDE_DIR)/package.mk @@ -57,7 +55,7 @@ endef define Package/ntp-utils $(call Package/ntpd/Default) - DEPENDS:=+libreadline +libncurses + DEPENDS:=+libncurses TITLE+= utilities endef @@ -92,6 +90,9 @@ endef TARGET_CPPFLAGS += -I$(STAGING_DIR)/usr/include/libelf +CONFIGURE_VARS += \ + ac_cv_header_md5_h=no + define Build/Configure $(call Build/Configure/Default, \ --disable-all-clocks \ @@ -99,7 +100,8 @@ define Build/Configure --enable-NMEA \ --enable-LOCAL-CLOCK \ --enable-SHM \ - --enable-linuxcaps \ + --disable-linuxcaps, \ + ac_cv_lib_rt_sched_setscheduler=no \ ) endef @@ -112,7 +114,7 @@ define Package/ntpd/install $(INSTALL_DIR) $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpd/ntpd $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/etc - $(INSTALL_DATA) ./files/ntp.conf $(1)/etc/ + $(INSTALL_CONF) ./files/ntp.conf $(1)/etc/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/ntpd.init $(1)/etc/init.d/ntpd $(INSTALL_DIR) $(1)/etc/hotplug.d/iface