|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=ntp |
|
|
PKG_NAME:=ntp |
|
|
PKG_VERSION:=4.2.8p15 |
|
|
PKG_VERSION:=4.2.8p15 |
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=3 |
|
|
|
|
|
|
|
|
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/ntp-4.2/ |
|
|
PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ |
|
@ -33,7 +33,7 @@ define Package/ntpd/Default |
|
|
TITLE:=ISC ntp |
|
|
TITLE:=ISC ntp |
|
|
MAINTAINER:=Peter Wagner <tripolar@gmx.at> |
|
|
MAINTAINER:=Peter Wagner <tripolar@gmx.at> |
|
|
URL:=http://www.ntp.org/ |
|
|
URL:=http://www.ntp.org/ |
|
|
DEPENDS:=+libopenssl +libpthread +libcap +libevent2-pthreads |
|
|
|
|
|
|
|
|
DEPENDS:=+libopenssl +libpthread +libcap |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/ntpd/Default/description |
|
|
define Package/ntpd/Default/description |
|
@ -69,17 +69,19 @@ endef |
|
|
define Package/ntp-utils |
|
|
define Package/ntp-utils |
|
|
$(call Package/ntpd/Default) |
|
|
$(call Package/ntpd/Default) |
|
|
TITLE+= utilities |
|
|
TITLE+= utilities |
|
|
|
|
|
DEPENDS+= +libevent2-pthreads |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/ntp-utils/description |
|
|
define Package/ntp-utils/description |
|
|
$(call Package/ntpd/Default/description) |
|
|
$(call Package/ntpd/Default/description) |
|
|
. |
|
|
. |
|
|
This package contains ntpdc, ntpq and ntptime. |
|
|
|
|
|
|
|
|
This package contains ntpdc, ntpq, ntptime and sntp. |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/ntp-keygen |
|
|
define Package/ntp-keygen |
|
|
$(call Package/ntpd/Default) |
|
|
$(call Package/ntpd/Default) |
|
|
TITLE+=keygen |
|
|
TITLE+=keygen |
|
|
|
|
|
DEPENDS+= +libevent2-core |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/ntp-keygen/description |
|
|
define Package/ntp-keygen/description |
|
@ -107,6 +109,7 @@ CONFIGURE_ARGS += \ |
|
|
--enable-linuxcaps \
|
|
|
--enable-linuxcaps \
|
|
|
--with-yielding-select=yes \
|
|
|
--with-yielding-select=yes \
|
|
|
--with-crypto \
|
|
|
--with-crypto \
|
|
|
|
|
|
$(if $(CONFIG_PACKAGE_ntp-utils),--with-sntp,--without-sntp) \
|
|
|
--with-openssl-incdir="$(STAGING_DIR)/usr/include" \
|
|
|
--with-openssl-incdir="$(STAGING_DIR)/usr/include" \
|
|
|
--with-openssl-libdir="$(STAGING_DIR)/usr/lib" |
|
|
--with-openssl-libdir="$(STAGING_DIR)/usr/lib" |
|
|
|
|
|
|
|
@ -145,6 +148,7 @@ define Package/ntp-utils/install |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpdc/ntpdc $(1)/usr/sbin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpdc/ntpdc $(1)/usr/sbin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpq/ntpq $(1)/usr/sbin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpq/ntpq $(1)/usr/sbin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/util/ntptime $(1)/usr/sbin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/util/ntptime $(1)/usr/sbin/ |
|
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sntp/sntp $(1)/usr/sbin/ |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/ntp-keygen/install |
|
|
define Package/ntp-keygen/install |
|
|