Mail archive
alpine-aports

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

From: Yui Hirasawa <yui_at_cock.li>
Date: Wed, 11 May 2016 12:00:29 +0300

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
_at_@ -2,7 +2,7 @@
 # Maintainer: Sam Dodrill <shadow.h511_at_gmail.com>
 pkgname=tor
 pkgver=0.2.7.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Anonymous network connectivity"
 url="https://www.torproject.org"
 arch="all"
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed May 11 2016 - 12:00:29 GMT