tor: update to 0.2.4.25.
This commit is contained in:
parent
cbc9e8d6b9
commit
9920ff3165
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'tor'
|
# Template file for 'tor'
|
||||||
pkgname=tor
|
pkgname=tor
|
||||||
version=0.2.4.24
|
version=0.2.4.25
|
||||||
revision=1
|
revision=1
|
||||||
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 ca-certificates tsocks"
|
||||||
|
@ -15,12 +15,17 @@ 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=99b15c6858c04e93a31d3ae90dd69f5021faa2237da93a24fbd246f4f1670ad1
|
checksum=84693bf5875857bf1aef3a8ff8109da4cc10e64269208054bbcf94fb615da627
|
||||||
|
|
||||||
|
build_options="systemd"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Use our own default config file.
|
# Use our own default config file.
|
||||||
vinstall ${FILESDIR}/torrc 640 etc/tor
|
vinstall ${FILESDIR}/torrc 640 etc/tor
|
||||||
rm -f ${DESTDIR}/etc/tor/torrc.sample
|
rm -f ${DESTDIR}/etc/tor/torrc.sample
|
||||||
# Install systemd service.
|
|
||||||
vinstall ${FILESDIR}/tor.service 644 usr/lib/systemd/system
|
if [ "$build_option_systemd" ]; then
|
||||||
|
# Install systemd service.
|
||||||
|
vinstall ${FILESDIR}/tor.service 644 usr/lib/systemd/system
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue