diff options
author | Yui Hirasawa <yui@cock.li> | 2016-05-11 12:00:29 +0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-11 09:03:15 +0000 |
commit | 3e8254d1371dc05ecb77dcdc55d6fcb410736f64 (patch) | |
tree | e4178145268b64417fd4bfc3deeadf255f3fb997 | |
parent | e5f962500311e06e42ab0c255738940e38c80726 (diff) | |
download | aports-3e8254d1371dc05ecb77dcdc55d6fcb410736f64.tar.bz2 aports-3e8254d1371dc05ecb77dcdc55d6fcb410736f64.tar.xz |
testing/tor: Fix missing log dir in Tor
The pacakge now creates /var/log/tor automatically. Without this Tor
failed to start and didn't give any error message.
-rw-r--r-- | testing/tor/APKBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/tor/APKBUILD b/testing/tor/APKBUILD index 5cd5e68b8c..591e1926f4 100644 --- a/testing/tor/APKBUILD +++ b/testing/tor/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Sam Dodrill <shadow.h511@gmail.com> pkgname=tor pkgver=0.2.7.6 -pkgrel=1 +pkgrel=2 pkgdesc="Anonymous network connectivity" url="https://www.torproject.org" arch="all" @@ -47,6 +47,7 @@ package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 mkdir -p "$pkgdir"/var/lib/$pkgname + mkdir -p "$pkgdir"/var/log/$pkgname chown $pkgusers "$pkgdir"/var/lib/$pkgname install -m755 -D "$srcdir"/$pkgname.initd \ "$pkgdir"/etc/init.d/$pkgname || return 1 |