3e2c51e527
According to https://gitweb.torproject.org/tor.git/plain/ReleaseNotes?id=tor-0.2.7.6 "Tor 0.2.7.5 is the first stable release in the Tor 0.2.7 series." so this patch bumps to the stable 2.7 series. This patch also fixes a musl build error not yet found by the autobuilders: CC src/common/workqueue.o src/common/sandbox.c:51:25: fatal error: bits/signum.h: Datei oder Verzeichnis nicht gefunden #include <bits/signum.h> ^ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
39 lines
957 B
Makefile
39 lines
957 B
Makefile
################################################################################
|
|
#
|
|
# tor
|
|
#
|
|
################################################################################
|
|
|
|
TOR_VERSION = 0.2.7.6
|
|
TOR_SITE = https://dist.torproject.org
|
|
TOR_LICENSE = BSD-3c
|
|
TOR_LICENSE_FILES = LICENSE
|
|
TOR_DEPENDENCIES = libevent openssl zlib
|
|
TOR_AUTORECONF = YES
|
|
|
|
TOR_CONF_OPTS = \
|
|
--disable-gcc-hardening \
|
|
--with-libevent-dir=$(STAGING_DIR)/usr \
|
|
--with-openssl-dir=$(STAGING_DIR)/usr \
|
|
--with-zlib-dir=$(STAGING_DIR)/usr
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
TOR_CONF_OPTS += \
|
|
--enable-static-libevent \
|
|
--enable-static-openssl \
|
|
--enable-static-tor \
|
|
--enable-static-zlib
|
|
endif
|
|
|
|
ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_i386)$(BR2_x86_64)$(BR2_PACKAGE_LIBSECCOMP),yy)
|
|
TOR_CONF_OPTS += --enable-seccomp
|
|
TOR_DEPENDENCIES += libseccomp
|
|
else
|
|
TOR_CONF_OPTS += --disable-seccomp
|
|
endif
|
|
|
|
# uses gnu extensions
|
|
TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
|
|
|
$(eval $(autotools-package))
|