Patches for aports can be sent to this list

[alpine-aports] [PATCH] Fix missing log dir in Tor

Yui Hirasawa
Details
Message ID
<20160511090029.GI6678@Hirasawa>
Sender timestamp
1462957229
DKIM signature
missing
Download raw message
Patch: +2 -1
The pacakge now creates /var/log/tor automatically. Without this Tor
failed to start and didn't give any error message.
---
 testing/tor/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testing/tor/APKBUILD b/testing/tor/APKBUILD
index 5cd5e68..591e192 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
-- 
2.6.4



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---