wok-current rev 22041

updated tor (0.3.5.8 -> 0.4.1.6)
author Hans-G?nter Theisgen
date Mon Oct 21 17:48:42 2019 +0100 (2019-10-21)
parents 818f9829ca52
children 0fe47802b33b
files tor/receipt
line diff
     1.1 --- a/tor/receipt	Mon Oct 21 17:24:12 2019 +0100
     1.2 +++ b/tor/receipt	Mon Oct 21 17:48:42 2019 +0100
     1.3 @@ -1,36 +1,40 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tor"
     1.7 -VERSION="0.3.5.8"
     1.8 +VERSION="0.4.1.6"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="TOR - An anonymizing overlay network for TCP."
    1.11 +SHORT_DESC="An anonymizing overlay network for TCP."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="https://www.torproject.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.torproject.org/"
    1.18 -WGET_URL="https://www.torproject.org/dist/$TARBALL"
    1.19 +WGET_URL="${WEB_SITE}dist/$TARBALL"
    1.20 +
    1.21 +DEPENDS="libevent liblzma libssl zstd"
    1.22 +BUILD_DEPENDS="libevent-dev liblzma-dev openssl-dev zstd-dev"
    1.23 +
    1.24  HOST_ARCH="i486 arm"
    1.25  
    1.26 -DEPENDS="libevent libssl liblzma zstd"
    1.27 -BUILD_DEPENDS="wget libevent-dev openssl-dev liblzma-dev zstd-dev"
    1.28 -
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	./configure \
    1.33 -		--sysconfdir=/etc \
    1.34 +	./configure			\
    1.35 +		--sysconfdir=/etc	\
    1.36  		$CONFIGURE_ARGS &&
    1.37 -	make && make install
    1.38 +	make &&
    1.39 +	make install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45  	mkdir -p $fs/usr
    1.46 -	cp -a $install/usr/bin $fs/usr
    1.47 -	#cp -a $install/usr/share/tor $fs/usr/share
    1.48 +
    1.49 +	cp -a $install/usr/bin		$fs/usr
    1.50 +	#cp -a $install/usr/share/tor	$fs/usr/share
    1.51  	
    1.52 -	# config file.
    1.53 -	cp -a $install/etc $fs
    1.54 -	mv $fs/etc/tor/torrc.sample $fs/etc/tor/torrc
    1.55 +	# configuration file.
    1.56 +	cp -a $install/etc		$fs
    1.57 +	mv $fs/etc/tor/torrc.sample	$fs/etc/tor/torrc
    1.58  }