Ignore:
Timestamp:
2011-07-19T16:42:40+02:00 (5 years ago)
Author:
swalker
Message:

[packages] tor-alpha: update to 0.2.3.2-alpha, enable bufferevents, add fw-helper package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/tor-alpha/Makefile

    r26694 r27693  
    99 
    1010PKG_NAME:=tor-alpha 
    11 PKG_VERSION:=0.2.2.24-alpha 
     11PKG_VERSION:=0.2.3.2-alpha 
    1212PKG_RELEASE:=1 
    1313 
     
    1515PKG_SOURCE_URL:=https://www.torproject.org/dist \ 
    1616        https://archive.torproject.org/tor-package-archive 
    17 PKG_MD5SUM:=4c1e2c7d778f813d09227433fffe3990 
     17PKG_MD5SUM:=81a0749c16df3160654f6d20ee5db497 
    1818 
     19PKG_BUILD_DEPENDS:=libminiupnpc libnatpmp 
    1920PKG_BUILD_DIR:=$(BUILD_DIR)/tor-$(PKG_VERSION) 
    2021PKG_INSTALL:=1 
     
    3940$(call Package/tor-alpha/Default) 
    4041  TITLE:=An anonymous Internet communication system 
    41   DEPENDS:=+libevent +libopenssl +libpthread +librt +miniupnpc 
     42  DEPENDS:=+libevent2 +libevent2-openssl +libpthread +librt 
    4243endef 
    4344 
     
    4546$(call Package/tor-alpha/Default/description) 
    4647 This package contains the tor daemon. 
     48endef 
     49 
     50define Package/tor-alpha-fw-helper 
     51$(call Package/tor-alpha/Default) 
     52  TITLE:=Firewall helper for tor 
     53  DEPENDS:=+tor-alpha +libminiupnpc +libnatpmp 
     54endef 
     55 
     56define Package/tor-alpha-fw-helper/description 
     57$(call Package/tor-alpha/Default/description) 
     58 This package contains a helper for automatically configuring port forwarding. 
    4759endef 
    4860 
     
    102114        --enable-upnp \ 
    103115        --with-libminiupnpc-dir="$(STAGING_DIR)/usr" \ 
     116        --enable-nat-pmp \ 
     117        --with-libnatpmp-dir="$(STAGING_DIR)/usr" \ 
     118        --enable-bufferevents 
    104119 
    105120CONFIGURE_VARS += \ 
    106         CROSS_COMPILE="yes" \ 
     121        CROSS_COMPILE="yes" 
    107122 
    108123# pass CFLAGS again to override -O2 set by configure 
    109124MAKE_FLAGS += \ 
    110         CFLAGS="$(TARGET_CFLAGS)" \ 
     125        CFLAGS="$(TARGET_CFLAGS)" 
    111126 
    112127define Package/tor-alpha/install 
     
    119134endef 
    120135 
     136define Package/tor-alpha-fw-helper/install 
     137        $(INSTALL_DIR) $(1)/usr/bin 
     138        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tor-fw-helper $(1)/usr/bin/ 
     139endef 
     140 
    121141define Package/tor-alpha-geoip/install 
    122142        $(INSTALL_DIR) $(1)/usr/share/tor 
     
    125145 
    126146$(eval $(call BuildPackage,tor-alpha)) 
     147$(eval $(call BuildPackage,tor-alpha-fw-helper)) 
    127148$(eval $(call BuildPackage,tor-alpha-geoip)) 
Note: See TracChangeset for help on using the changeset viewer.