tor: update to 0.2.4.25.

This commit is contained in:
Eivind Uggedal 2014-10-22 11:09:56 +00:00
parent cbc9e8d6b9
commit 9920ff3165
1 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'tor'
pkgname=tor
version=0.2.4.24
version=0.2.4.25
revision=1
build_style=gnu-configure
makedepends="zlib-devel libressl-devel libevent-devel ca-certificates tsocks"
@ -15,12 +15,17 @@ maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.torproject.org/"
distfiles="http://www.torproject.org/dist/tor-$version.tar.gz"
checksum=99b15c6858c04e93a31d3ae90dd69f5021faa2237da93a24fbd246f4f1670ad1
checksum=84693bf5875857bf1aef3a8ff8109da4cc10e64269208054bbcf94fb615da627
build_options="systemd"
post_install() {
# Use our own default config file.
vinstall ${FILESDIR}/torrc 640 etc/tor
rm -f ${DESTDIR}/etc/tor/torrc.sample
if [ "$build_option_systemd" ]; then
# Install systemd service.
vinstall ${FILESDIR}/tor.service 644 usr/lib/systemd/system
fi
}