[patch] - Fix for Failed to parse/validate config: Failed to init Log options
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.old2014-04-03 19:48:25.0 -0400 +++ Makefile2014-04-03 19:49:57.0 -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} 90) || \ --- pkg-plist.old 2014-04-03 19:37:16.0 -0400 +++ pkg-plist 2014-04-03 19:47:56.0 -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
[patch] - Fix for Failed to parse/validate config: Failed to init Log options
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.old2014-04-03 19:48:25.0 -0400 +++ Makefile2014-04-03 19:49:57.0 -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} 90) || \ --- pkg-plist.old 2014-04-03 19:37:16.0 -0400 +++ pkg-plist 2014-04-03 19:47:56.0 -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. 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
Re: [patch] - Fix for Failed to parse/validate config: Failed to init Log options
Hi, Sorry for the duplicate email. -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