mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
tor: update to 0.2.5.10.
This commit is contained in:
parent
1024444242
commit
9fdd50f87a
2 changed files with 4 additions and 22 deletions
|
@ -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
|
|
|
@ -1,23 +1,21 @@
|
||||||
# Template file for 'tor'
|
# Template file for 'tor'
|
||||||
pkgname=tor
|
pkgname=tor
|
||||||
version=0.2.4.25
|
version=0.2.5.10
|
||||||
revision=1
|
revision=1
|
||||||
|
build_options="systemd"
|
||||||
build_style=gnu-configure
|
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"
|
depends="ca-certificates tsocks"
|
||||||
conf_files="/etc/tor/tor-tsocks.conf /etc/tor/torrc"
|
conf_files="/etc/tor/tor-tsocks.conf /etc/tor/torrc"
|
||||||
system_accounts="tor"
|
system_accounts="tor"
|
||||||
tor_homedir="/var/lib/tor"
|
tor_homedir="/var/lib/tor"
|
||||||
systemd_services="tor.service on"
|
|
||||||
make_dirs="/var/lib/tor 0700 tor tor"
|
make_dirs="/var/lib/tor 0700 tor tor"
|
||||||
short_desc="Anonymity Online"
|
short_desc="Anonymity Online"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="http://www.torproject.org/"
|
homepage="http://www.torproject.org/"
|
||||||
distfiles="http://www.torproject.org/dist/tor-$version.tar.gz"
|
distfiles="http://www.torproject.org/dist/tor-$version.tar.gz"
|
||||||
checksum=84693bf5875857bf1aef3a8ff8109da4cc10e64269208054bbcf94fb615da627
|
checksum=b3dd02a5dcd2ffe14d9a37956f92779d4427edf7905c0bba9b1e3901b9c5a83b
|
||||||
|
|
||||||
build_options="systemd"
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Use our own default config file.
|
# Use our own default config file.
|
||||||
|
|
Loading…
Add table
Reference in a new issue