tor: update to 0.2.5.10.

This commit is contained in:
Juan RP 2014-10-25 10:23:27 +02:00
parent 1024444242
commit 9fdd50f87a
2 changed files with 4 additions and 22 deletions

View file

@ -1,16 +0,0 @@
$OpenBSD: patch-src_common_tortls_c,v 1.3 2014/07/12 13:57:23 pascal Exp $
--- src/common/tortls.c.orig Sat Jul 12 15:52:08 2014
+++ src/common/tortls.c Sat Jul 12 15:53:06 2014
@@ -1345,10 +1345,12 @@ tor_tls_context_new(crypto_pk_t *identity, unsigned in
SSL_CTX_set_options(result->ctx,
SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION);
}
+#ifndef OPENSSL_NO_COMP
/* Don't actually allow compression; it uses ram and time, but the data
* we transmit is all encrypted anyway. */
if (result->ctx->comp_methods)
result->ctx->comp_methods = NULL;
+#endif
#ifdef SSL_MODE_RELEASE_BUFFERS
SSL_CTX_set_mode(result->ctx, SSL_MODE_RELEASE_BUFFERS);
#endif

View file

@ -1,23 +1,21 @@
# Template file for 'tor'
pkgname=tor
version=0.2.4.25
version=0.2.5.10
revision=1
build_options="systemd"
build_style=gnu-configure
makedepends="zlib-devel libressl-devel libevent-devel ca-certificates tsocks"
makedepends="zlib-devel libressl-devel libevent-devel"
depends="ca-certificates tsocks"
conf_files="/etc/tor/tor-tsocks.conf /etc/tor/torrc"
system_accounts="tor"
tor_homedir="/var/lib/tor"
systemd_services="tor.service on"
make_dirs="/var/lib/tor 0700 tor tor"
short_desc="Anonymity Online"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.torproject.org/"
distfiles="http://www.torproject.org/dist/tor-$version.tar.gz"
checksum=84693bf5875857bf1aef3a8ff8109da4cc10e64269208054bbcf94fb615da627
build_options="systemd"
checksum=b3dd02a5dcd2ffe14d9a37956f92779d4427edf7905c0bba9b1e3901b9c5a83b
post_install() {
# Use our own default config file.