Browse Source

tor: update to version 0.4.4.5

Changes:
-Fix PIC configuration to --enable-pic
-disable mallinfo

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
lilik-openwrt-22.03
Jan Pavlinec 4 years ago
parent
commit
db5f30cc41
No known key found for this signature in database GPG Key ID: 60244CCEFB39E584
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      net/tor/Makefile

+ 5
- 4
net/tor/Makefile View File

@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=tor PKG_NAME:=tor
PKG_VERSION:=0.4.3.6
PKG_VERSION:=0.4.4.5
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://dist.torproject.org/ \ PKG_SOURCE_URL:=https://dist.torproject.org/ \
https://archive.torproject.org/tor-package-archive https://archive.torproject.org/tor-package-archive
PKG_HASH:=6a2d0637d4e514be2ec574723a05065245cce51da78a21cec1dc831be5ccac62
PKG_HASH:=a45ca00afe765e3baa839767c9dd6ac9a46dd01720a3a8ff4d86558c12359926
PKG_MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de> \ PKG_MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de> \
Peter Wagner <tripolar@gmx.at> Peter Wagner <tripolar@gmx.at>
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
@ -104,13 +104,14 @@ CONFIGURE_ARGS += \
--disable-zstd \ --disable-zstd \
--with-tor-user=tor \ --with-tor-user=tor \
--with-tor-group=tor \ --with-tor-group=tor \
--with-pic
--enable-pic
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_LDFLAGS += -Wl,--gc-sections -flto TARGET_LDFLAGS += -Wl,--gc-sections -flto
CONFIGURE_VARS += \ CONFIGURE_VARS += \
CROSS_COMPILE="yes"
CROSS_COMPILE="yes" \
ac_cv_func_mallinfo=no
define Package/tor/install define Package/tor/install
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin


Loading…
Cancel
Save