From db5f30cc412aed2594e6a14774c5b68e251bbeed Mon Sep 17 00:00:00 2001 From: Jan Pavlinec Date: Tue, 22 Sep 2020 14:18:57 +0200 Subject: [PATCH] tor: update to version 0.4.4.5 Changes: -Fix PIC configuration to --enable-pic -disable mallinfo Signed-off-by: Jan Pavlinec --- net/tor/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/net/tor/Makefile b/net/tor/Makefile index c7081f5c1..e3dd99df3 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tor -PKG_VERSION:=0.4.3.6 +PKG_VERSION:=0.4.4.5 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://dist.torproject.org/ \ https://archive.torproject.org/tor-package-archive -PKG_HASH:=6a2d0637d4e514be2ec574723a05065245cce51da78a21cec1dc831be5ccac62 +PKG_HASH:=a45ca00afe765e3baa839767c9dd6ac9a46dd01720a3a8ff4d86558c12359926 PKG_MAINTAINER:=Hauke Mehrtens \ Peter Wagner PKG_LICENSE_FILES:=LICENSE @@ -104,13 +104,14 @@ CONFIGURE_ARGS += \ --disable-zstd \ --with-tor-user=tor \ --with-tor-group=tor \ - --with-pic + --enable-pic TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto TARGET_LDFLAGS += -Wl,--gc-sections -flto CONFIGURE_VARS += \ - CROSS_COMPILE="yes" + CROSS_COMPILE="yes" \ + ac_cv_func_mallinfo=no define Package/tor/install $(INSTALL_DIR) $(1)/usr/sbin