Submitted by GNUtoo on Sat, 02/09/2013 - 23:17
Revision of Install Freedombox packages on Trisquel from Sat, 02/09/2013 - 23:27
The revisions let you track differences between multiple versions of a post.
Introduction
Since trisquel is a GNU/Linux distribution that uses debian packaging system, it's easier to install some freedombox packages on it than parabola...Freedombox privoxy
Clone freedombox privoxy:git clone https://github.com/jvasile/freedombox-privoxy cd freedombox-privoxyThen we need to apply that patch to ensure that we build against debian version of freedbox-privoxy. Copy the following text in a file named trisquel.patch
From ba2451de6612667ea48df1ab6d3f74d8eabd0226 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Date: Sat, 9 Feb 2013 17:21:13 +0100 Subject: [PATCH] Make freedombox privoxy work in trisquel 5.5 Not all Debian based GNU/Linux distributions have the same version of privoxy than in debian. That changes fetches the privoxy packages from debian to have the required version that works. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> --- make_deb.sh | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/make_deb.sh b/make_deb.sh index 1950bf7..21ba4cd 100755 --- a/make_deb.sh +++ b/make_deb.sh @@ -91,7 +91,11 @@ mkdir -p Debian cd Debian ## Install source package -apt-get source privoxy +#apt-get source privoxy +wget http://ftp.de.debian.org/debian/pool/main/p/privoxy/privoxy_3.0.19-2.dsc +wget http://ftp.de.debian.org/debian/pool/main/p/privoxy/privoxy_3.0.19.orig.tar.gz +wget http://ftp.de.debian.org/debian/pool/main/p/privoxy/privoxy_3.0.19-2.debian.tar.gz +dpkg-source -x privoxy_3.0.19-2.dsc echo You might need to \"apt-get build-dep privoxy\" as root dir_setup add_patch config -- 1.7.5.4Then run:
git am trisquel.patchThen we need to build the packages, run:
make debIt will probably fails with:
Traceback (most recent call last): File "./abp_import.py", line 101, in 0 main() File "./abp_import.py", line 98, in main print translate_all(easylist, infile) File "./abp_import.py", line 71, in translate_all str += translate(line) File "./abp_import.py", line 54, in translate pat, opts = line.split("$",2) ValueError: too many values to unpack make: *** [privoxy/easylist.action] Error 1Then run make deb again:
make debThen install the result:
sudo apt-get purge privoxy # yes, this is necessary the first time sudo dpkg -i Debian/*.debAnd start the service:
sudo service privoxy restartThen to benefit from it, make your browser use the proxy:
Revisions
02/09/2013 - 23:17
08/13/2013 - 17:44
12/04/2013 - 08:59
09/22/2024 - 08:43