Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TOR_VERSION = 0.2.9.14
|
||||
TOR_VERSION = 0.3.1.10
|
||||
TOR_SITE = https://dist.torproject.org
|
||||
TOR_LICENSE = BSD-3c
|
||||
TOR_LICENSE = BSD-3-Clause
|
||||
TOR_LICENSE_FILES = LICENSE
|
||||
TOR_DEPENDENCIES = libevent openssl zlib
|
||||
TOR_AUTORECONF = YES
|
||||
@@ -30,6 +30,13 @@ ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
TOR_DEPENDENCIES += libcap
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XZ),y)
|
||||
TOR_CONF_OPTS += --enable-lzma
|
||||
TOR_DEPENDENCIES += host-pkgconf xz
|
||||
else
|
||||
TOR_CONF_OPTS += --disable-lzma
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_i386)$(BR2_x86_64)$(BR2_PACKAGE_LIBSECCOMP),yy)
|
||||
TOR_CONF_OPTS += --enable-seccomp
|
||||
TOR_DEPENDENCIES += libseccomp
|
||||
@@ -40,4 +47,16 @@ endif
|
||||
# uses gnu extensions
|
||||
TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
||||
|
||||
define TOR_INSTALL_CONF
|
||||
$(INSTALL) -D -m 644 $(@D)/src/config/torrc.minimal \
|
||||
$(TARGET_DIR)/etc/tor/torrc
|
||||
endef
|
||||
|
||||
TOR_POST_INSTALL_TARGET_HOOKS += TOR_INSTALL_CONF
|
||||
|
||||
define TOR_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 $(@D)/contrib/dist/tor.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/tor.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user