aboutsummaryrefslogtreecommitdiffstats
path: root/community/tor/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-31 15:52:12 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-08-31 15:54:35 +0200
commite76de920d4538eeaed3c6d914e1f6016ee30e208 (patch)
tree1a43aa2a29762a9a5688bc26f92662c141b89044 /community/tor/APKBUILD
parent06d0775371a659d4fc202c06e5d1b9ff1a14f1a2 (diff)
downloadaports-e76de920d4538eeaed3c6d914e1f6016ee30e208.tar.gz
aports-e76de920d4538eeaed3c6d914e1f6016ee30e208.tar.bz2
aports-e76de920d4538eeaed3c6d914e1f6016ee30e208.tar.xz
community/tor: fix runscript - issues with User and DataDirectory options
Diffstat (limited to 'community/tor/APKBUILD')
-rw-r--r--community/tor/APKBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/community/tor/APKBUILD b/community/tor/APKBUILD
index fec3d79804..3fcc9498a1 100644
--- a/community/tor/APKBUILD
+++ b/community/tor/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Sam Dodrill <shadow.h511@gmail.com>
pkgname=tor
pkgver=0.2.8.7
-pkgrel=0
+pkgrel=1
pkgdesc="Anonymous network connectivity"
url="https://www.torproject.org"
arch="all"
@@ -10,11 +10,12 @@ license="BSD"
pkgusers="tor"
depends=""
makedepends="linux-headers bash libevent-dev openssl-dev ca-certificates"
-install="$pkgname.pre-install"
+install="$pkgname.post-upgrade $pkgname.pre-install"
subpackages="$pkgname-doc"
source="https://www.torproject.org/dist/$pkgname-$pkgver.tar.gz
tor.initd
- tor.confd"
+ tor.confd
+ torrc.sample.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
@@ -37,10 +38,6 @@ package() {
make DESTDIR="$pkgdir" install || return 1
- # Uncomment logging to file.
- sed -Ei 's/^#*(Log notice file.*)/\1/' \
- "$pkgdir"/etc/tor/torrc.sample || return 1
-
install -dm755 -o $pkgusers \
"$pkgdir"/var/lib/$pkgname \
"$pkgdir"/var/log/$pkgname || return 1
@@ -52,11 +49,14 @@ package() {
}
md5sums="59771fe2d098893fe955edfb8b13401f tor-0.2.8.7.tar.gz
-fb939d073a7a51e9814c10d1aabec0ce tor.initd
-e05a796ffc4981c22c167de11fa36ef9 tor.confd"
+1cecd1e1d7765128a35995c0b1a02d38 tor.initd
+9e3f6716ba5a50bd0d4d5643dea124d9 tor.confd
+4f5eaefecd46503afe7d6fd22875b775 torrc.sample.patch"
sha256sums="ae44e2b699e82db7ff318432fd558dfa941ad154e4055f16d208514951742fc6 tor-0.2.8.7.tar.gz
-04800394384a6ce4cad13bb1ffb8650a7ce799a574d897c0166180c19dd34f88 tor.initd
-41d780f291847e19f632428bbf27c3f289414afd237546d2974da1b75384c25c tor.confd"
+b6619d72d4f99e956328a555ea495e82d9f0b578e3697bbcbca80379df9f4c3f tor.initd
+864d7ff6c8a6b06734c3f314365304c6ba8b3b893e8f29ed5f6fb9869e647b4b tor.confd
+c1a7a5fab97ff328daf86fe4d2d2c7bc4580ba43d860d77c0b3f451525d6d058 torrc.sample.patch"
sha512sums="79156110804497509564d53a806dc8237e97755556bbaaed83d0f6a3470942a480e53693a7192996bad2b33fe1f77f60eb45e8122af9bfdc4a8f12b943cbc660 tor-0.2.8.7.tar.gz
-8dd2f56697b730881fa7e67088b0860a753fb7c3dad9eb3d2af6eb7b9cfa10aaaf01628e65cb139d423bdb97075b4b5fa72e44ffc80ea3f810ceff6429ec3d2a tor.initd
-9028ac41e3acdf4405095addb69537e87edecafaec840296ac27a5a8992fe132dc822e4e4abb8826f76460c438da2719dea17859690d03e17198a82086a3d660 tor.confd"
+6de4ada16ba58264a247da70343eabd763e992d6b6683977fc1c67b7b4a9731748a7ec9751e869ad4b4ae9c72cf71b2e12dc289bb6e2aee499917f7663f4a735 tor.initd
+2b0de119bfdf9eb57e13317b7392190b1b8272c8f96023c71d3fc29215d887e9a3d0ffcef37cdb50b18d34e4b2251f75a739e258e0bb72aabd3339418b22fd67 tor.confd
+da386ff7e387312e647f04d360517a1f4cb1efbee36f4a3a6feb89a979bb12fa350fe6dfed49af0cb076ae30bb0c527b5d54127683eaa5aa45d6940dddd89dfb torrc.sample.patch"