Workaround for trouble with installing Privoxy from src

Other talk about Salix
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Workaround for trouble with installing Privoxy from src

Post by mimosa »

Some time ago I had trouble with the Slackbuild from Privoxy, and encountered some rather messy solution. The same thing just happened to me again (I have contacted the maintainer) and this time I dealt with it like this:

The Slackbuild fails at the checking stage because it is looking for Privoxy 13.0.12. I downloaded the latest version (19) from the Privoxy website and placed it in the relevant directory.

Code: Select all

#cp privoxy-3.0.19-stable-src.tar.gz /usr/src/slapt-src/network/privoxy/
Running slapt-src -i privoxy again then successfully builds it, but it fails again at the point of installing because it's still looking for 13.0.12. I installed manually with pkgtool.

The ideal would perhaps be to edit the Slackbuild script to fix the problem, but anyway, this worked :)

I also used pkgtool to set up privoxy as a service:

#pkgtool --> Setup --> Services

This worked better than calling rc.privoxy from rc.local, or whatever I did manually last time round.

Note that before doing any of this, you need to create a user and a group for Privoxy:

Code: Select all

#groupadd -g 206 privoxy
#useradd -u 206 -g 206 -c "Web Proxy" -d /dev/null -s /bin/false privoxy
Post Reply