Apply Debian package changes 3.0.28-1 and 3.0.28-2
authorRoland Rosenfeld <roland@debian.org>
Sat, 30 Nov 2019 11:37:22 +0000 (12:37 +0100)
committerRoland Rosenfeld <roland@debian.org>
Sat, 30 Nov 2019 11:37:22 +0000 (12:37 +0100)
30 files changed:
debian/changelog
debian/compat
debian/control
debian/copyright
debian/gitlab-ci.yml [new file with mode: 0644]
debian/init.d
debian/logrotate
debian/maintscript [new file with mode: 0644]
debian/patches/05_defaut_action.patch
debian/patches/06_8bit_manual.patch [deleted file]
debian/patches/14_config.patch
debian/patches/15_mansection8.patch
debian/patches/17_502_no_such_domain.patch
debian/patches/25_standard_medium.patch
debian/patches/27_remove_nsl.patch
debian/patches/32_bind_fixup.patch
debian/patches/33_manpage_hyphen.patch
debian/patches/34_system-docbook2man.patch
debian/patches/35_man-spelling.patch
debian/patches/36_openspopenjade.patch [deleted file]
debian/patches/36_trusted-cgi-referer-example.patch [new file with mode: 0644]
debian/patches/37_adventofcode.patch [deleted file]
debian/patches/37_ppedit-tests403.patch [new file with mode: 0644]
debian/patches/series
debian/po/es.po [new file with mode: 0644]
debian/privoxy.service
debian/rules
debian/tests/privoxy-regression-test
debian/upstream/signing-key.asc
debian/watch

index f7badbc..a45a84c 100644 (file)
@@ -1,3 +1,47 @@
+privoxy (3.0.28-2) unstable; urgency=medium
+
+  * d/tests/privoxy-regression-test: Remove tmpdir on exit.
+  * 36_trusted-cgi-referer-example: Comment trusted-cgi-referer pointing
+    to example.org
+  * d/maintscript: Remove orphaned /etc/privoxy/templates/show-version
+    (Closes: #918110).
+  * 37_ppedit-tests403: Update a bunch of regression tests that have to
+    expect status code 403 now.
+  * Enable enable-edit-actions in privoxy-regression-test again.
+  * Upgrade to debhelper v12.
+  * Update (minimal) upstream signing key.
+  * Add Pre-Depends: ${misc:Pre-Depends} for --skip-systemd-native.
+
+ -- Roland Rosenfeld <roland@debian.org>  Sun, 06 Jan 2019 13:07:14 +0100
+
+privoxy (3.0.28-1) unstable; urgency=medium
+
+  [ Roland Rosenfeld ]
+  * Add es debconf translation.  Thanks to Jonathan Bustillos (Closes: #903863).
+  * 38_connection_close: Don't add a "Connection" header for CONNECT requests.
+
+  [ Ondřej Nový ]
+  * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP
+  * d/watch: Use https protocol
+
+  [ Roland Rosenfeld ]
+  * d/tests: Fix leftover ADTTMP.
+  * Add salsa CI pipeline in debian/gitlab-ci.yml.
+  * New upstream version 3.0.28.
+  * Adapt all patches to new version (06_8bit_manual is implemented in a
+    better way upstream now, 36_openspopenjade is replaced by some
+    autoconf code, 37_adventofcode and 38_connection_close are included
+    upstream).
+  * Update debian/copyright.
+  * Upgrade to Standards-Version 4.3.0 (Declare Rules-Requires-Root: no).
+  * Move PID file from /var/run to /run.
+  * Undo voodoo to remove CVS tags from configs since upstream uses git
+    now.
+  * Disable enable-edit-actions in privoxy-regression-test, since the test
+    seems to be broken (does not use referrer, which is required here).
+
+ -- Roland Rosenfeld <roland@debian.org>  Mon, 31 Dec 2018 16:52:27 +0100
+
 privoxy (3.0.26-6) unstable; urgency=medium
 
   * Fix typo in patch description.
index b4de394..48082f7 100644 (file)
@@ -1 +1 @@
-11
+12
index 5373a5e..c483d5c 100644 (file)
@@ -3,7 +3,7 @@ Section: web
 Priority: optional
 Maintainer: Roland Rosenfeld <roland@debian.org>
 Build-Depends: autoconf,
-               debhelper (>= 11~),
+               debhelper (>= 12~),
                docbook,
                docbook-dsssl,
                docbook-utils,
@@ -15,10 +15,11 @@ Build-Depends: autoconf,
                sgmlspl,
                w3m,
                zlib1g-dev
-Standards-Version: 4.1.4
+Standards-Version: 4.3.0
 Homepage: https://www.privoxy.org/
 Vcs-Git: https://salsa.debian.org/debian/privoxy.git
 Vcs-Browser: https://salsa.debian.org/debian/privoxy
+Rules-Requires-Root: no
 
 Package: privoxy
 Architecture: any
@@ -30,6 +31,7 @@ Depends: adduser,
          ${misc:Depends},
          ${perl:Depends},
          ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
 Recommends: doc-base
 Description: Privacy enhancing HTTP Proxy
  Privoxy is a web proxy with advanced filtering capabilities for
index acf6ef3..059f519 100644 (file)
@@ -5,11 +5,11 @@ Source: https://sourceforge.net/projects/ijbswa/files/Sources/
 
 Files: *
 Copyright:
- Copyright (C) 2001-2016 by the Privoxy team. http://www.privoxy.org/
+ Copyright (C) 2001-2018 by the Privoxy team. http://www.privoxy.org/
  Parts Copyright (C) 1999 Adam Lock <locka@iol.ie>
  Parts Copyright (C) 2003 Ian Cummings <ian_a_c@hotmail.com>
  Parts Copyright (C) 2000, 2001 by Andreas S. Oesterhelt <andreas@oesterhelt.org>
- Parts Copyright (C) 2006-2016 Fabian Keil <fk@fabiankeil.de>
+ Parts Copyright (C) 2006-2018 Fabian Keil <fk@fabiankeil.de>
 Comment:
  Based on the Internet Junkbuster originally written
  by and Copyright (C) 1997 Anonymous Coders and
@@ -20,7 +20,7 @@ Files: regression-tests.action tools/uagen.pl tools/privoxy-regression-test.pl
  tools/privoxy-log-parser.pl tools/url-pattern-translator.pl utils/changelog2doc.pl
  utils/create-package-feed.pl
 Copyright:
- Copyright (c) 2006-2016 Fabian Keil <fk@fabiankeil.de>
+ Copyright (c) 2006-2017 Fabian Keil <fk@fabiankeil.de>
 License: ISC
 
 Files: strptime.h
@@ -33,7 +33,7 @@ License: GPL-2+
 
 Files: debian/*
 Copyright:
- 2002-2016  Roland Rosenfeld <roland@debian.org>
+ 2002-2018  Roland Rosenfeld <roland@debian.org>
 License: GPL-2+
 
 Files: pcre/*
diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml
new file mode 100644 (file)
index 0000000..b7dc52a
--- /dev/null
@@ -0,0 +1,16 @@
+include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+
+build:
+    extends: .build-unstable
+
+reprotest:
+    extends: .test-reprotest
+
+lintian:
+    extends: .test-lintian
+
+autopkgtest:
+    extends: .test-autopkgtest
+
+piuparts:
+    extends: .test-piuparts
index 0660d92..d089d73 100644 (file)
@@ -22,7 +22,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="filtering proxy server"
 NAME=privoxy
 DAEMON=/usr/sbin/$NAME
-PIDFILE=/var/run/$NAME.pid
+PIDFILE=/run/$NAME.pid
 OWNER=privoxy
 CONFIGFILE=/etc/privoxy/config
 DAEMON_ARGS="--pidfile $PIDFILE --user $OWNER $CONFIGFILE"
index deddd26..d86c12b 100644 (file)
@@ -9,7 +9,7 @@
                if which invoke-rc.d >/dev/null 2>&1; then
                        invoke-rc.d privoxy rotate > /dev/null
                else
-                       if [ -f /var/run/privoxy.pid ]; then
+                       if [ -f /run/privoxy.pid ]; then
                                /etc/init.d/privoxy rotate > /dev/null
                        fi
                fi
diff --git a/debian/maintscript b/debian/maintscript
new file mode 100644 (file)
index 0000000..e6f0089
--- /dev/null
@@ -0,0 +1 @@
+rm_conffile /etc/privoxy/templates/show-version 3.0.28-2~ privoxy
index c3ffd5b..fc4551f 100644 (file)
@@ -4,7 +4,7 @@ Subject: Several changes/additons to default.action.
 
 --- a/default.action.master
 +++ b/default.action.master
-@@ -2419,6 +2419,9 @@ schneegans.de/sv/\?url=referer
+@@ -2427,6 +2427,9 @@ schneegans.de/sv/\?url=referer
  #MASTER# REMARKS: Exclude per Debian bug report #377843
  # URL = http://blogs.msdn.com/wga/archive/2006/07/16/667063.aspx
  blogs.msdn.com
@@ -14,7 +14,7 @@ Subject: Several changes/additons to default.action.
  
  {-filter{unsolicited-popups}}
  # Sticky Actions = -filter{unsolicited-popups}
-@@ -2477,6 +2480,11 @@ tr.anp.se/
+@@ -2485,6 +2488,11 @@ tr.anp.se/
  {+filter{tiny-textforms}}
  .sourceforge.net/tracker
  
diff --git a/debian/patches/06_8bit_manual.patch b/debian/patches/06_8bit_manual.patch
deleted file mode 100644 (file)
index 1bf225e..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-From: Roland Rosenfeld <roland@debian.org>
-Date: Sun, 15 May 2005 15:28:56 +0200
-Subject: Stop converting 8bit chars in the documentation (#203697)
-Bug-Debian: https://bugs.debian.org/203697
-
---- a/doc/source/ldp.dsl.in
-+++ b/doc/source/ldp.dsl.in
-@@ -47,9 +47,9 @@
\r
- ;; this is necessary because right now jadetex does not understand\r
- ;; symbolic entities, whereas things work well with numeric entities.\r
--(declare-characteristic preserve-sdata?\r
--  "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"\r
--  #f)\r
-+;(declare-characteristic preserve-sdata?\r
-+;  "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"\r
-+;  #f)\r
\r
- ;; put the legal notice in a separate file\r
- (define %generate-legalnotice-link%\r
-@@ -257,9 +257,9 @@
\r
- ;; this is necessary because right now jadetex does not understand\r
- ;; symbolic entities, whereas things work well with numeric entities.\r
--(declare-characteristic preserve-sdata?\r
--  "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"\r
--  #f)\r
-+;(declare-characteristic preserve-sdata?\r
-+;  "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"\r
-+;  #f)\r
\r
- ;; put the legal notice in a separate file\r
- (define %generate-legalnotice-link%\r
index 0a28cb1..2de0aa6 100644 (file)
@@ -4,7 +4,7 @@ Subject: Several Debian specific changes to config file
 
 --- a/config
 +++ b/config
-@@ -128,7 +128,7 @@
+@@ -126,7 +126,7 @@
  #          config file, because it is used while the config file is
  #          being read.
  #
@@ -13,7 +13,7 @@ Subject: Several Debian specific changes to config file
  #
  #  1.2. trust-info-url
  #  ====================
-@@ -260,7 +260,7 @@
+@@ -258,7 +258,7 @@
  #
  #      No trailing "/", please.
  #
@@ -22,7 +22,7 @@ Subject: Several Debian specific changes to config file
  #
  #  2.2. templdir
  #  ==============
-@@ -345,7 +345,7 @@ confdir .
+@@ -343,7 +343,7 @@ confdir .
  #
  #      No trailing "/", please.
  #
index 36dbb25..f8535e3 100644 (file)
@@ -15,7 +15,7 @@ Subject: Move man page from man section 1 to man section 8.
  VAR_DEST     = @localstatedir@
 --- a/doc/source/privoxy-man-page.sgml
 +++ b/doc/source/privoxy-man-page.sgml
-@@ -58,7 +58,7 @@
+@@ -54,7 +54,7 @@
  </refentryinfo>
  <refmeta>
   <refentrytitle>privoxy</refentrytitle>
index 27c5d67..da529ff 100644 (file)
@@ -6,7 +6,7 @@ Subject: Changes the 404 HTTP status code of the "No such Domain" template
 
 --- a/templates/no-such-domain
 +++ b/templates/no-such-domain
-@@ -79,7 +79,7 @@
+@@ -78,7 +78,7 @@
  <html>
  
  <head>
@@ -15,7 +15,7 @@ Subject: Changes the 404 HTTP status code of the "No such Domain" template
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-@@ -95,7 +95,7 @@
+@@ -94,7 +94,7 @@
    <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
      <tr>
        <td class="status">
index df505d0..ba6745c 100644 (file)
@@ -5,7 +5,7 @@ Subject: Change the global default from standard.Cautious to standard.Medium,
 
 --- a/match-all.action
 +++ b/match-all.action
-@@ -11,7 +11,16 @@
+@@ -10,7 +10,16 @@
  +client-header-tagger{css-requests} \
  +client-header-tagger{image-requests} \
  +client-header-tagger{range-requests} \
index 09d70a6..c317c22 100644 (file)
@@ -4,7 +4,7 @@ Subject: Remove unnecessary linking against libnsl.
 
 --- a/configure.in
 +++ b/configure.in
-@@ -491,7 +491,7 @@ dnl gmtime and localtime
+@@ -508,7 +508,7 @@ dnl gmtime and localtime
  dnl =================================================================
  
  dnl Next line needed to find the gethost*_r functions on Solaris
index d4f4713..aeff272 100644 (file)
@@ -5,7 +5,7 @@ Bug-Debian: https://bugs.debian.org/534735
 
 --- a/jbsockets.c
 +++ b/jbsockets.c
-@@ -867,20 +867,7 @@ int bind_port(const char *hostnam, int p
+@@ -975,20 +975,7 @@ int bind_port(const char *hostnam, int p
     }
  
     memset(&hints, 0, sizeof(struct addrinfo));
index d3df6e2..7c684a3 100644 (file)
@@ -4,7 +4,7 @@ Subject: Replace all -- in man page by \-\- to make lintian happy.
 
 --- a/GNUmakefile.in
 +++ b/GNUmakefile.in
-@@ -484,8 +484,7 @@ man: dok-release
+@@ -532,8 +532,7 @@ man: dok-release
        perl -pi.bak -e "s/\[ /\[/g;s/á/\\\\['a]/g;s/é/\\\\['e]/g" $(MAN_PAGE); \
        perl -pi.bak -e "s/ö/\\\\[:o]/g" $(MAN_PAGE); \
        perl -pi.bak -e 's/([ {])-([a-z])/$$1\\-$$2/g' $(MAN_PAGE); \
index 5c51dd8..83f8ba1 100644 (file)
@@ -5,12 +5,12 @@ Subject: Use Debian docbook2man-spec.pl (from docbook-utils) instead of local
 
 --- a/GNUmakefile.in
 +++ b/GNUmakefile.in
-@@ -479,7 +479,7 @@ dok-man:
+@@ -527,7 +527,7 @@ dok-man:
  # target for man page generation!
  man: dok-release
        mkdir -p doc/source/temp && cd doc/source/temp && $(RM) * ;\
--      nsgmls ../privoxy-man-page.sgml  | sgmlspl ../../../utils/docbook2man/docbook2man-spec.pl &&\
-+      nsgmls ../privoxy-man-page.sgml  | sgmlspl /usr/share/perl5/sgmlspl-specs/docbook2man-spec.pl &&\
+-      $(NSGMLS) ../privoxy-man-page.sgml  | sgmlspl ../../../utils/docbook2man/docbook2man-spec.pl &&\
++      $(NSGMLS) ../privoxy-man-page.sgml  | sgmlspl /usr/share/perl5/sgmlspl-specs/docbook2man-spec.pl &&\
        perl -pi.bak -e 's/ <URL:.*>//; s/\[ /\[/g' $(MAN_PAGE) ;\
        perl -pi.bak -e "s/\[ /\[/g;s/á/\\\\['a]/g;s/é/\\\\['e]/g" $(MAN_PAGE); \
        perl -pi.bak -e "s/ö/\\\\[:o]/g" $(MAN_PAGE); \
index 59681da..841fd62 100644 (file)
@@ -4,7 +4,7 @@ Subject: Fix typo in man page privoxy-log-parser(1)
 
 --- a/tools/privoxy-log-parser.pl
 +++ b/tools/privoxy-log-parser.pl
-@@ -2612,7 +2612,7 @@ omitted, ANSI escape sequences are used
+@@ -2628,7 +2628,7 @@ omitted, ANSI escape sequences are used
  This option is only intended to make embedding log excerpts in web pages easier.
  It does not escape any input!
  
diff --git a/debian/patches/36_openspopenjade.patch b/debian/patches/36_openspopenjade.patch
deleted file mode 100644 (file)
index 969f950..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Neil Roeth <neil@debian.org>
-Date: Sat, 10 Sep 2016 08:48:35 +0200
-Subject: Replace sp and jade with opensp and openjade.
-Bug-Debian: https://bugs.debian.org/837207
-
---- a/GNUmakefile.in
-+++ b/GNUmakefile.in
-@@ -479,7 +479,7 @@ dok-man:
- # target for man page generation!
- man: dok-release
-       mkdir -p doc/source/temp && cd doc/source/temp && $(RM) * ;\
--      nsgmls ../privoxy-man-page.sgml  | sgmlspl /usr/share/perl5/sgmlspl-specs/docbook2man-spec.pl &&\
-+      onsgmls ../privoxy-man-page.sgml  | sgmlspl /usr/share/perl5/sgmlspl-specs/docbook2man-spec.pl &&\
-       perl -pi.bak -e 's/ <URL:.*>//; s/\[ /\[/g' $(MAN_PAGE) ;\
-       perl -pi.bak -e "s/\[ /\[/g;s/á/\\\\['a]/g;s/é/\\\\['e]/g" $(MAN_PAGE); \
-       perl -pi.bak -e "s/ö/\\\\[:o]/g" $(MAN_PAGE); \
---- a/utils/docbook2man/docbook2man-spec.pl.1
-+++ b/utils/docbook2man/docbook2man-spec.pl.1
-@@ -11,14 +11,14 @@ docbook2man-spec.pl \- convert DocBook R
- \fBsgmlspl\fR \fBdocbook2man-spec.pl\fR
--\fBnsgmls\fR [ \fB\fIsgml document\fB\fR ]\fB| sgmlspl\fR \fBdocbook2man-spec.pl\fR
-+\fBonsgmls\fR [ \fB\fIsgml document\fB\fR ]\fB| sgmlspl\fR \fBdocbook2man-spec.pl\fR
- .SH "DESCRIPTION"
- .PP
- \fBdocbook2man\fR is a sgmlspl spec file that produced man
- pages (using the -man macros) from DocBook RefEntry markup.
- .PP
--The program reads ESIS produced by nsgmls (or other SGML parsers) from
-+The program reads ESIS produced by onsgmls (or other SGML parsers) from
- standard input.  Markup not found in RefEntry is discarded.
- .PP
- Its output, the converted man pages, are written to the current directory.  If
diff --git a/debian/patches/36_trusted-cgi-referer-example.patch b/debian/patches/36_trusted-cgi-referer-example.patch
new file mode 100644 (file)
index 0000000..bc0f1ba
--- /dev/null
@@ -0,0 +1,15 @@
+From: Roland Rosenfeld <roland@debian.org>
+Date: Tue, 01 Jan 2019 17:33:42 +0100
+Subject: Comment trusted-cgi-referer pointing to example.org
+
+--- a/config
++++ b/config
+@@ -1215,7 +1215,7 @@ enable-proxy-authentication-forwarding 0
+ #      |the user's knowledge.                                |
+ #      +-----------------------------------------------------+
+ #
+-trusted-cgi-referer http://www.example.org/
++#trusted-cgi-referer http://www.example.org/
+ #
+ #
+ #  5. FORWARDING
diff --git a/debian/patches/37_adventofcode.patch b/debian/patches/37_adventofcode.patch
deleted file mode 100644 (file)
index 12969fb..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-From: Roland Rosenfeld <roland@debian.org>
-Date: Wed, 11 Jan 2017 22:24:55 +0100
-Subject: unblock adventofcode.com
-Bug-Debian: https://bugs.debian.org/848211
-Forwarded: https://sourceforge.net/p/ijbswa/actionsfile-feedback/937/
-
---- a/default.action.master
-+++ b/default.action.master
-@@ -1941,7 +1941,8 @@ klikki.fi/adv/
- #MASTER# UNBLOCK-REFERRER: http://www.ardmediathek.de/tv
- # URL = http://www.ardmediathek.de/ard/static/img/ardmt/banner/ard-mediathek.svg
- .ardmediathek.de/
--
-+#MASTER# UNBLOCK-REFERRER: http://adventofcode.com
-+adventofcode.com
- #############################################################################
- # Site-specific special rules:
diff --git a/debian/patches/37_ppedit-tests403.patch b/debian/patches/37_ppedit-tests403.patch
new file mode 100644 (file)
index 0000000..68e3b81
--- /dev/null
@@ -0,0 +1,78 @@
+From: Fabian Keil <fk@fabiankeil.de>
+Date: Fri, 4 Jan 2019 14:03:14 +0000
+Subject: Update a bunch of tests that have to expect status code 403 now
+Origin: https://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=HEAD;hp=10a83542e5fba75cd6da2e08ad461ac7439ba807
+
+--- a/regression-tests.action
++++ b/regression-tests.action
+@@ -722,48 +722,70 @@ TAG:^Proxy-Authorization header forwardi
+ # Expect Status Code = 403
+ # Level = 21
+ # Fetch Test = http://p.p/edit-actions
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/eaa
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/eau
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/ear
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/eal
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/eafu
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/eas
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/easa
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/easr
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/eass
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/edit-actions-for-url
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/edit-actions-list
+ # Level = 12
+ # Fetch Test = http://p.p/edit-actions-submit
++# Expect Status Code = 403
+ # Level = 12
++# Expect Status Code = 403
+ # Fetch Test = http://p.p/edit-actions-url
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/edit-actions-url-form
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/edit-actions-add-url
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/edit-actions-add-url-form
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/edit-actions-remove-url
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/edit-actions-remove-url-form
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/edit-actions-section-add
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/edit-actions-section-remove
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/edit-actions-section-swap
++# Expect Status Code = 403
+ # Level = 12
+ # Fetch Test = http://p.p/error-favicon.ico
+ # Fetch Test = http://p.p/favicon.ico
index e640852..beefcda 100644 (file)
@@ -1,5 +1,4 @@
 05_defaut_action.patch
-06_8bit_manual.patch
 14_config.patch
 15_mansection8.patch
 17_502_no_such_domain.patch
@@ -9,5 +8,5 @@
 33_manpage_hyphen.patch
 34_system-docbook2man.patch
 35_man-spelling.patch
-36_openspopenjade.patch
-37_adventofcode.patch
+36_trusted-cgi-referer-example.patch
+37_ppedit-tests403.patch
diff --git a/debian/po/es.po b/debian/po/es.po
new file mode 100644 (file)
index 0000000..6e0b44b
--- /dev/null
@@ -0,0 +1,54 @@
+# privoxy po-debconf translation to Spanish.
+# Copyright (C) 2018 Software in the Public Interest
+# This file is distributed under the same license as the privoxy package.
+#
+# - Initial translation
+# Jonathan Bustillos <jathanblackred@openmailbox.com>, 2018.
+#
+# Traductores, si no conocen el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Equipo de traducción al español, por favor lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+# http://www.debian.org/intl/spanish/
+# especialmente las notas y normas de traducción en
+# http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+# /usr/share/doc/po-debconf/README-trans
+# o http://www.debian.org/intl/l10n/po-debconf/README-trans
+msgid ""
+msgstr ""
+"Project-Id-Version: privoxy\n"
+"Report-Msgid-Bugs-To: privoxy@packages.debian.org\n"
+"POT-Creation-Date: 2016-04-08 17:17+0200\n"
+"PO-Revision-Date: 2018-07-16 00:23+0200\n"
+"Last-Translator: Jonathan Bustillos <jathanblackred@openmailbox.com>\n"
+"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Gtranslator 2.91.7\n"
+
+#. Type: string
+#. Description
+#: ../templates:1001
+msgid "Adresses on with Privoxy listens:"
+msgstr "Direcciones que Privoxy escucha:"
+
+#. Type: string
+#. Description
+#: ../templates:1001
+msgid ""
+"Please enter a space separated list of address:port combinations on which "
+"Privoxy will listen for client requests."
+msgstr ""
+"Introduzca una lista de combinaciones dirección:puerto separadas por "
+"espacios en las que Privoxy escuchará las solicitudes de los clientes."
index f7b3f5d..8ad06d3 100644 (file)
@@ -4,11 +4,11 @@ Documentation=man:privoxy(8) https://www.privoxy.org/user-manual/
 After=network.target
 
 [Service]
-Environment=PIDFILE=/var/run/privoxy.pid
+Environment=PIDFILE=/run/privoxy.pid
 Environment=OWNER=privoxy
 Environment=CONFIGFILE=/etc/privoxy/config
 Type=forking
-PIDFile=/var/run/privoxy.pid
+PIDFile=/run/privoxy.pid
 ExecStart=/usr/sbin/privoxy --pidfile $PIDFILE --user $OWNER $CONFIGFILE
 ExecStopPost=/bin/rm -f $PIDFILE
 SuccessExitStatus=15
index aeedd3b..c8f914e 100755 (executable)
@@ -51,8 +51,7 @@ override_dh_auto_clean:
 
 override_dh_auto_install:
        install -m 0755 privoxy $(DEBDIR)/usr/sbin/privoxy
-       sed -e 's/\(Sample Configuration File for Privoxy\).*/\1/;' \
-           -e 's/\$$Id: config,v.*/Id: config,v/' < config \
+       sed -e 's/\(Sample Configuration File for Privoxy\).*/\1/;' < config \
            > $(DEBDIR)/usr/share/privoxy/config
        install -m 0644 default.action $(DEBDIR)/etc/privoxy/default.action
        install -m 0644 match-all.action $(DEBDIR)/etc/privoxy/match-all.action
@@ -75,21 +74,17 @@ override_dh_auto_install:
 
        cp -r templates $(DEBDIR)/etc/privoxy/
        rm -f $(DEBDIR)/etc/privoxy/templates/*~
-       rm -rf $(DEBDIR)/etc/privoxy/templates/CVS
 
-#      Remove CVS tags and trailing spaces from config files:
+#      Remove trailing spaces from config files:
        find $(DEBDIR)/etc/privoxy -type f \
-       | xargs grep -l '\$$[A-Z][^$$]*:[^$$]*\$$' \
+       | xargs grep -l ' $$' \
        | while read f; do \
-           sed -e 's/\$$\(Id: [^$$]*,v\)[^$$]*\$$/\1/' \
-               -e 's/\$$\(Source: [^$$]*\)\$$/\1/' \
-               -e 's/\$$\(Log: [^$$]*\)\$$/\1/' \
-               -e 's/ *$$//' < $$f > $$f.new; \
+           sed -e 's/  *$$//' < $$f > $$f.new; \
            mv -f $$f.new $$f; \
        done
 
 override_dh_installdocs:
-       dh_installdocs -XCVS
+       dh_installdocs
        (cd $(DEBDIR)/usr/share/doc/privoxy/; \
         mv privoxy-index.html index.html)
        (cd $(DEBDIR)/usr/share/doc/privoxy/user-manual; ln -s '../p_doc.css')
index 3122a1a..eb068b7 100755 (executable)
@@ -3,18 +3,20 @@
 # Run privoxy-regression-test.pl on a configuration extended by
 # regression-tests.action.
 #
-# (c) 2016 Roland Rosenfeld <roland@debian.org>
+# (c) 2018 Roland Rosenfeld <roland@debian.org>
 
 PORT=8119
 
-if [ -z "$ADTTMP" ]; then
-    ADTTMP=$(mktemp -d)
+if [ -z "$AUTOPKGTEST_TMP" ]; then
+    AUTOPKGTEST_TMP=$(mktemp -d)
 fi
 
-CONFIG=$ADTTMP/config
-PIDFILE=$ADTTMP/privoxy.pid
+trap "rm -rf $AUTOPKGTEST_TMP" EXIT
+
+CONFIG=$AUTOPKGTEST_TMP/config
+PIDFILE=$AUTOPKGTEST_TMP/privoxy.pid
 sed -e "s/^listen-address.*/listen-address 127.0.0.1:$PORT/" \
-    -e "s%^logdir.*%logdir $ADTTMP%" \
+    -e "s%^logdir.*%logdir $AUTOPKGTEST_TMP%" \
     -e "s/^enable-edit-actions.*/enable-edit-actions 1/" \
     -e "s/^keep-alive-timeout.*/keep-alive-timeout 21/" \
     -e "s/^#connection-sharing.*/connection-sharing 1/" \
@@ -27,7 +29,7 @@ echo "Starting privoxy on port $PORT"
 http_proxy=http://127.0.0.1:$PORT/
 export http_proxy
 
-OUTFILE=$ADTTMP/output
+OUTFILE=$AUTOPKGTEST_TMP/output
 
 /usr/bin/privoxy-regression-test --max-level 200 --show-skipped-tests \
     | tee $OUTFILE 2>&1
index 7dff834..e49a9e4 100644 (file)
@@ -1,5 +1,4 @@
 -----BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.4.12 (GNU/Linux)
 
 mQINBFB0JFYBEACy/Kz2i9v9hLuZpZWsToyVhhByN2wNVPv6vi3+U+fGNndG0Gxk
 SzEMqJDmNGSCrsllZCaAion3MgmdyZP8gNURf56NhE/CaMD3XLQWHTtBwTPPg/Bm
@@ -12,30 +11,42 @@ rQ57YHkt9urf+Xzsn+5/7z6qfxK5/H+R8vM8m5SPK54kFIL6HP3/4aYv96lQST/v
 WNHdHqjgQ0zxT31WxE6lYCCv9cwfLFoY7ZG6YuRhQEeVNazRb+YrcIxpbvkbamBu
 VmSEvzIhGN9PiWL1yOYJkNogR199f8zVRvuA4NYztg3e6RSOi3D3wyrZ7OIo2DI0
 en0AWSt0bpdGoaTiLWLyoZg1WOc5wNTWimDeZZkFrWhKLhE7RKagQXGeBwARAQAB
-tB5GYWJpYW4gS2VpbCA8ZmtAZmFiaWFua2VpbC5kZT6JAj0EEwEIACcFAlB0JFYC
-GwMFCQPCZwAFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AACgkQaRgikYuiNxySZg//
-VDHj0S26AEYynVbswitx79kEppfz7LHIJq37KTnOLZm29+q59hbfi1t5hSz13s76
-vdUSRvL1PH0hm/pZ5D4+ZNvsfA4sHUrO/l/YR6XZbsC0FggxGvEhXXR3ZDf0y9Am
-4N4iauC3dC7nJdA0MURV12Ckd47J76IQGhHZBscKAG7rwBm9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GYVlFyRI/5sbaFHYt/IOyb7IK63uGlTq
+zSuVpYTQNZs6ByJ44U7W9QPMLHtoEhGESquhbTM+aRPS6wqmXkEP0/TYXRP8iEkR
+oaK26qhHMVd3Qx8WA1SdekOXlconhptJd0mzy21lXnmiTAt+vOIk3Dz7Jj9e+zLT
+tUknU+ZIt00GJMy7OCqmk7GjRk86U14ZzMEY0s7eHqAzMaNDkl0Avt79z11qODbl
+hnwhwqwpoZP5tolssAE8ejux7dkbLp/Lqso8yQpT9EVlLGimpH7/1xFI9vn6irf0
+6alOBFURg/rIuecxy4HLXkCBqH/eAWl4BdjU+8py9MznZtJk/C3eKfiKG5METM5k
+ZG+BjI1FXFJCxArHOfoKjuwbWmzgSgJjcWuYgIHdC8e6zpYpkqZLG6xR2//1H9Ax
+znY/K1T1Pluo4TEhoro7D+1fymmTRyJRVreEoo4/Hy/Yc/dVuQwIafEtA+FDejKg
+zW3qmo5y
+=pli6
 -----END PGP PUBLIC KEY BLOCK-----
index 0e2c126..2687b2e 100644 (file)
@@ -5,4 +5,4 @@ version=3
 
 #http://sourceforge.net/project/showfiles.php?group_id=11118 http://prdownloads.sourceforge.net/ijbswa/privoxy-(.*)-stable-src.tar.gz\?download
 
-opts=pgpsigurlmangle=s/$/.asc/ http://sf.net/ijbswa/privoxy-(\d+.*)-(?:stable|beta)-src.tar.gz
+opts=pgpsigurlmangle=s/$/.asc/ https://sf.net/ijbswa/privoxy-(\d+.*)-(?:stable|beta)-src.tar.gz