Hi,
I have a patch to fix the "Failed to parse/validate config: Failed to init Log options" problem whenever I start Tor on FreeBSD. It is:

--- Makefile.old        2014-04-03 19:48:25.000000000 -0400
+++ Makefile    2014-04-03 19:49:57.000000000 -0400
@@ -42,6 +42,9 @@

 CONFLICTS=     tor-devel-[0-9]*

+PLIST_SUB=     USERS=${USERS}
+PLIST_SUB+=    GROUPS=${GROUPS}
+
 .include <bsd.port.options.mk>

 .if ( (${OSVERSION} < 900000) || \

--- pkg-plist.old       2014-04-03 19:37:16.000000000 -0400
+++ pkg-plist   2014-04-03 19:47:56.000000000 -0400
@@ -8,6 +8,8 @@
 man/man1/tor-resolve.1.gz
 man/man1/tor.1.gz
 man/man1/torify.1.gz
+@exec touch /var/log/tor ; chown %%USERS%%:%%GROUPS%% /var/log/tor
+@exec mkdir /var/run/tor ; chown -R %%USERS%%:%%GROUPS%% /var/run/tor
 %%DATADIR%%/geoip
 %%DATADIR%%/geoip6
 @dirrm %%DATADIR%%

I'm in a hurry to post this because I'm a high school student and I don't want my mom to be too angry with me, but I did test this and it worked. And my Postfix server couldn't send this email the first time (I actually run my own email server, and from home!). But anyways, hope you enjoy it.
-Neel
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to