Date: Wed, 18 Feb 2009 18:10:03 GMT From: Ion-Mihai Tetcu <itetcu@FreeBSD.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/131218: /etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy Message-ID: <200902181810.n1IIA3QS044822@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/131218; it has been noted by GNATS. From: Ion-Mihai Tetcu <itetcu@FreeBSD.org> To: beni brinckman <beni.brinckman@gmail.com> Cc: freebsd-gnats-submit@FreeBSD.org, lars.eggert@gmx.net Subject: Re: ports/131218: /etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy Date: Wed, 18 Feb 2009 20:06:42 +0200 --Sig_/OlD0wPrX+BqM279echq+h1Y Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 31 Jan 2009 17:05:39 GMT beni brinckman <beni.brinckman@gmail.com> wrote: > >Description: > I installed www/privoxy+ipv6, the patched privoxy for ipv6. It > installs fine but I have to start it everytime manually at boot. >=20 > I added this to /etc/rc.conf : > privoxy_enable=3D"YES" > privoxy_flags=3D"/usr/local/etc/privoxy/config" >=20 > Since there is no startup script provided, I copied the one > (privoxy.in) from www/privoxy/files to my /usr/local/etc/rc.d : > root@bsdaddict# ls -l /usr/local/etc/rc.d/privoxy* > -rwxr-xr-x _1 root _wheel _1497 20 jan > 21:41 /usr/local/etc/rc.d/privoxy root@bsdaddict# >=20 > I tried renaming it to "privoxy.sh" and "privoxy" (without any > extension) but nothing seems to work. All I get is this error message > in dmesg : root@bsdaddict# dmesg -a | grep privoxy > /etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy > root@bsdaddict# This doesn't work because %%PREFIX%% is replaced at install time. And it would require more changes anyway. Please take a look here if you want to learn about the way rc.d scripts work: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-script= s.html Also, when submitting a port PR, please put category/port at the beginning of the synopsis line as this allows the PR to be automatically assigned, the maintainer of the port notified, etc. --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/OlD0wPrX+BqM279echq+h1Y Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmcTjMACgkQJ7GIuiH/oeU19gCbBOUTCDJVroLqXP8LOwSuNtmC 83EAni56HOIXc4TUo2JD23FrMulEJDaB =C7DM -----END PGP SIGNATURE----- --Sig_/OlD0wPrX+BqM279echq+h1Y--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902181810.n1IIA3QS044822>