update buildroot to 2017.02.11
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
ntpq/Makefile.am: add NTP_HARD_CFLAGS
|
||||
|
||||
Pass NTP_HARD_CFLAGS when building ntpq, like in all other ntp
|
||||
modules, to make sure -fPIC is passed.
|
||||
|
||||
Originally taken from
|
||||
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=494143c3b4921a5c8b8596d58f2c8b98296bf688.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/ntpq/Makefile.am
|
||||
===================================================================
|
||||
--- a/ntpq/Makefile.am
|
||||
+++ b/ntpq/Makefile.am
|
||||
@@ -23,7 +23,7 @@
|
||||
ntpq_LDADD += $(LDADD_NTP)
|
||||
noinst_HEADERS= ntpq.h
|
||||
noinst_LIBRARIES= libntpq.a
|
||||
-libntpq_a_CFLAGS= -DNO_MAIN_ALLOWED -DBUILD_AS_LIB
|
||||
+libntpq_a_CFLAGS= $(NTP_HARD_CFLAGS) -DNO_MAIN_ALLOWED -DBUILD_AS_LIB
|
||||
CLEANFILES=
|
||||
DISTCLEANFILES= .version version.c config.log $(man_MANS)
|
||||
ETAGS_ARGS= Makefile.am
|
||||
@@ -1,7 +1,6 @@
|
||||
config BR2_PACKAGE_NTP
|
||||
bool "ntp"
|
||||
select BR2_PACKAGE_LIBEVENT
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
Network Time Protocol suite/programs.
|
||||
Provides things like ntpd, ntpdate, ntpq, etc...
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
# From https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz.md5
|
||||
md5 745384ed0dedb3f66b33fe84d66466f9 ntp-4.2.8p10.tar.gz
|
||||
# From https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p11.tar.gz.md5
|
||||
md5 00950ca2855579541896513e78295361 ntp-4.2.8p11.tar.gz
|
||||
# Calculated based on the hash above
|
||||
sha256 ddd2366e64219b9efa0f7438e06800d0db394ac5c88e13c17b70d0dcdf99b99f ntp-4.2.8p10.tar.gz
|
||||
sha256 f14a39f753688252d683ff907035ffff106ba8d3db21309b742e09b5c3cd278e ntp-4.2.8p11.tar.gz
|
||||
sha256 62c87b269365b38b55359b16dfde7ec28c683c722ef489db90afd0f2e478e4a1 COPYRIGHT
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
################################################################################
|
||||
|
||||
NTP_VERSION_MAJOR = 4.2
|
||||
NTP_VERSION = $(NTP_VERSION_MAJOR).8p10
|
||||
NTP_VERSION = $(NTP_VERSION_MAJOR).8p11
|
||||
NTP_SITE = https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$(NTP_VERSION_MAJOR)
|
||||
NTP_DEPENDENCIES = host-pkgconf libevent openssl $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
||||
NTP_DEPENDENCIES = host-pkgconf libevent $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
||||
NTP_LICENSE = ntp license
|
||||
NTP_LICENSE_FILES = COPYRIGHT
|
||||
NTP_CONF_ENV = ac_cv_lib_md5_MD5Init=no
|
||||
@@ -18,16 +18,21 @@ NTP_CONF_OPTS = \
|
||||
--disable-debugging \
|
||||
--with-yielding-select=yes \
|
||||
--disable-local-libevent \
|
||||
--with-crypto
|
||||
|
||||
# 0002-ntp-syscalls-fallback.patch
|
||||
# 0003-ntpq-fpic.patch
|
||||
NTP_AUTORECONF = YES
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y)
|
||||
NTP_CONF_OPTS += --with-locfile=linux
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
NTP_CONF_OPTS += --with-crypto --enable-openssl-random
|
||||
NTP_DEPENDENCIES += openssl
|
||||
else
|
||||
NTP_CONF_OPTS += --with-locfile=default
|
||||
NTP_CONF_OPTS += --without-crypto --disable-openssl-random
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y)
|
||||
NTP_CONF_OPTS += --with-hardenfile=linux
|
||||
else
|
||||
NTP_CONF_OPTS += --with-hardenfile=default
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
|
||||
Reference in New Issue
Block a user