Package: freedombox-setup
Version: 0.4
Severity: minor
Tags: patch

Hello,

Currently, Privoxy is being installed and configured from freedombox-setup.
However, with recent changes, Plinth handles this duty.  All references to
Privoxy should be removed from freedombox-setup.  Please see similar bugs for
application removal for rationale.

Thank you,

--
Sunil



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 3.19.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages freedombox-setup depends on:
ii  apache2                                2.4.12-2
ii  augeas-tools                           1.2.0-0.2
ii  avahi-daemon                           0.6.31-5
pn  avahi-utils                            <none>
ii  bridge-utils                           1.5-9
pn  checkinstall                           <none>
pn  devio                                  <none>
ii  dialog                                 1.2-20150528-1
pn  dnsmasq                                <none>
ii  dnsutils                               1:9.9.5.dfsg-9
ii  dosfstools                             3.0.28-1
pn  etckeeper                              <none>
ii  firewalld                              0.3.13-1
pn  haveged                                <none>
ii  hostname                               3.15
ii  htop                                   1.0.3-1
pn  iftop                                  <none>
ii  iptables                               1.4.21-2+b1
ii  iputils-ping                           3:20121221-5+b2
ii  isc-dhcp-client                        4.3.2-1
pn  libnss-gw-name                         <none>
ii  libnss-mdns                            0.10-6
ii  libnss-myhostname                      220-7
ii  libpython2.7-stdlib [python-argparse]  2.7.10-3
ii  locales                                2.19-18
pn  locales-all                            <none>
ii  lsof                                   4.86+dfsg-1
pn  lua-sec                                <none>
pn  macchanger                             <none>
pn  monkeysphere                           <none>
ii  net-tools                              1.60-26+b1
ii  ntp                                    1:4.2.6.p5+dfsg-7
ii  openssh-server                         1:6.7p1-6
ii  parted                                 3.2-7
pn  plinth                                 <none>
ii  psmisc                                 22.21-2
ii  python-augeas                          0.4.1-2
ii  python-beautifulsoup                   3.2.1-1
ii  python-bjsonrpc                        0.2.0-1
ii  python-docutils                        0.12+dfsg-1
ii  python-lxml                            3.4.2-1
pn  python:any                             <none>
pn  resolvconf                             <none>
ii  ssl-cert                               1.0.36
ii  sudo                                   1.8.12-1
ii  tcpdump                                4.7.4-1
pn  uaputl                                 <none>
ii  vim-tiny                               2:7.4.712-3
ii  wget                                   1.16.3-3
pn  zile                                   <none>

Versions of packages freedombox-setup recommends:
pn  batctl          <none>
pn  pagekite        <none>
pn  rfkill          <none>
ii  wireless-tools  30~pre9-8

freedombox-setup suggests no packages.
>From e1b1207aa2497a7c19d79774b71ba06781641cfd Mon Sep 17 00:00:00 2001
From: Sunil Mohan Adapa <su...@medhas.org>
Date: Tue, 7 Jul 2015 16:46:39 +0530
Subject: [PATCH] Remove privoxy setup as it happens in Plinth now

- Skip the privoxy test in the testsuite if Privoxy is
  disabled/not-installed.
---
 setup.d/91_privoxy       | 6 ------
 testsuite/web-proxy.test | 5 +++++
 2 files changed, 5 insertions(+), 6 deletions(-)
 delete mode 100755 setup.d/91_privoxy

diff --git a/setup.d/91_privoxy b/setup.d/91_privoxy
deleted file mode 100755
index 1a51051..0000000
--- a/setup.d/91_privoxy
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-apt-get install -y privoxy
-
-# Listen on all interfaces
-sed -i 's/listen-address  localhost:8118/listen-address  [::]:8118/' /etc/privoxy/config
diff --git a/testsuite/web-proxy.test b/testsuite/web-proxy.test
index 5b9e136..3220c1e 100755
--- a/testsuite/web-proxy.test
+++ b/testsuite/web-proxy.test
@@ -2,6 +2,11 @@
 
 . $(dirname $0)/testsuite-functions
 
+if ! systemctl is-enabled privoxy > /dev/null ; then
+    skip "$0: Privoxy is disabled"
+    exit 0
+fi
+
 netstat_check 8118 tcp privoxy
 netstat_check 8118 tcp6 privoxy
 
-- 
2.1.4

Reply via email to