diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2011-10-16 00:04:30 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-10-17 23:29:14 +0200 |
commit | 9a83a8a03599d1ebdf8237a879693975a95e95fc (patch) | |
tree | 29db7cb8ad70b305b27fd232369b5e18b397694c /package/ntp/ntp.mk | |
parent | 78a8ff844bd9c2fda3af9d6233977a3201e5831d (diff) |
ntp: bump to version 4.2.6p4 and enhance
* Bump to version 4.2.6p4
* Add new ntpsnmpd option
* Fix style
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ntp/ntp.mk')
-rw-r--r-- | package/ntp/ntp.mk | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk index 5f2f99309..f17193f20 100644 --- a/package/ntp/ntp.mk +++ b/package/ntp/ntp.mk @@ -3,26 +3,32 @@ # ntp # ############################################################# -NTP_VERSION = 4.2.6p3 -NTP_SOURCE = ntp-$(NTP_VERSION).tar.gz -NTP_SITE = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2 +NTP_VERSION = 4.2.6p4 +NTP_SITE = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2 NTP_CONF_ENV = ac_cv_lib_md5_MD5Init=no ifneq ($(BR2_INET_IPV6),y) -NTP_CONF_ENV += isc_cv_have_in6addr_any=no + NTP_CONF_ENV += isc_cv_have_in6addr_any=no endif NTP_CONF_OPT = --with-shared \ --program-transform-name=s,,, \ - --disable-tickadj \ - --without-ntpsnmpd + --disable-tickadj ifeq ($(BR2_PACKAGE_OPENSSL),y) -NTP_CONF_OPT += --with-crypto -NTP_DEPENDENCIES += openssl + NTP_CONF_OPT += --with-crypto + NTP_DEPENDENCIES += openssl +else + NTP_CONF_OPT += --without-crypto +endif + +ifeq ($(BR2_PACKAGE_NTP_NTPSNMPD),y) + NTP_CONF_OPT += \ + --with-net-snmp-config=$(STAGING_DIR)/usr/bin/net-snmp-config + NTP_DEPENDENCIES += netsnmp else -NTP_CONF_OPT += --without-crypto + NTP_CONF_OPT += --without-ntpsnmpd endif define NTP_PATCH_FIXUPS @@ -35,6 +41,7 @@ NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_WAIT) += scripts/ntp-wait NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDATE) += ntpdate/ntpdate NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDC) += ntpdc/ntpdc NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPQ) += ntpq/ntpq +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPSNMPD) += ntpsnmpd/ntpsnmpd NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPTRACE) += scripts/ntptrace NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_SNTP) += sntp/sntp NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_TICKADJ) += util/tickadj |