Port tor to 0.1.1.24 (#567)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5383 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7ea2ef87f8
commit
fef689703e
@ -9,14 +9,14 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=tor
|
PKG_NAME:=tor
|
||||||
PKG_VERSION:=0.1.0.17
|
PKG_VERSION:=0.1.1.24
|
||||||
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:=http://tor.eff.org/dist/ \
|
PKG_SOURCE_URL:=http://tor.eff.org/dist/ \
|
||||||
http://ftp.se.linux.org/crypto/tor/ \
|
http://ftp.se.linux.org/crypto/tor/ \
|
||||||
http://tor.meulie.net/
|
http://tor.meulie.net/
|
||||||
PKG_MD5SUM:=83c4afe29fa82473afcb2ec7e17771b9
|
PKG_MD5SUM:=28dea6a77a43b6e421e1bd7b2cc3d940
|
||||||
PKG_CAT:=zcat
|
PKG_CAT:=zcat
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
@ -79,13 +79,22 @@ fi
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
|
(cd $(PKG_BUILD_DIR); touch \
|
||||||
|
configure.in \
|
||||||
|
aclocal.m4 \
|
||||||
|
Makefile.in \
|
||||||
|
configure \
|
||||||
|
);
|
||||||
$(call Build/Configure/Default,\
|
$(call Build/Configure/Default,\
|
||||||
|
--with-libevent-dir="$(STAGING_DIR)/usr/" \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
, \
|
, \
|
||||||
ac_cv_libevent_normal=yes \
|
ac_cv_libevent_normal=yes \
|
||||||
ac_cv_openssldir="$(STAGING_DIR)/usr" \
|
ac_cv_openssldir="$(STAGING_DIR)/usr" \
|
||||||
tor_cv_null_is_zero=yes \
|
tor_cv_null_is_zero=yes \
|
||||||
tor_cv_unaligned_ok=yes \
|
tor_cv_unaligned_ok=yes \
|
||||||
|
tor_cv_time_t_signed=yes \
|
||||||
|
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -levent" \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
2711
net/tor/patches/01-cross_compile.patch
Normal file
2711
net/tor/patches/01-cross_compile.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user