Merge Debian 3.0.29-1 version.
authorRoland Rosenfeld <roland@debian.org>
Sun, 17 Jan 2021 12:28:07 +0000 (13:28 +0100)
committerRoland Rosenfeld <roland@debian.org>
Sun, 17 Jan 2021 12:28:07 +0000 (13:28 +0100)
13 files changed:
debian/changelog
debian/control
debian/copyright
debian/patches/14_config.patch
debian/patches/32_bind_fixup.patch
debian/patches/35_man-spelling.patch
debian/patches/38_SOURCE_DATE_EPOCH.patch
debian/postrm
debian/privoxy.cron.daily [new file with mode: 0644]
debian/rules
debian/salsa-ci.yml [new file with mode: 0644]
debian/source/lintian-overrides
debian/watch

index 4c81ad8..07cf123 100644 (file)
@@ -1,9 +1,10 @@
-privoxy (3.0.29~gitc62254-1) UNRELEASED; urgency=medium
+privoxy (3.0.29-1) unstable; urgency=medium
 
 
-  * New upstream development version.
+  * New upstream release 3.0.29.
   * Update all patches to new version.
   * 36_trusted-cgi-referer-example and 37_ppedit-tests403 are now
     incorporated upstream.
   * Update all patches to new version.
   * 36_trusted-cgi-referer-example and 37_ppedit-tests403 are now
     incorporated upstream.
+  * d/copyright: Update to new upstream version.
   * d/copyright: use ./ prefix to upstream filenames, because orig.tar.gz
     is build with a ./ prefix.
   * Upgrade to debhelper v13.
   * d/copyright: use ./ prefix to upstream filenames, because orig.tar.gz
     is build with a ./ prefix.
   * Upgrade to debhelper v13.
@@ -12,11 +13,15 @@ privoxy (3.0.29~gitc62254-1) UNRELEASED; urgency=medium
     configure.in but use the date from debian/changelog.
   * Remove 05_defaut_action since this is no longer needed.
   * Tag all patches with Forwarded header.
     configure.in but use the date from debian/changelog.
   * Remove 05_defaut_action since this is no longer needed.
   * Tag all patches with Forwarded header.
+  * debian/watch: Cleanup and update to version 4.
   * Compile --with-mbedtls to allow https-inspection.
   * Adapt TLS/SSL settings to Debian FHS.
   * Generate dirs with correct permissions for https-inspection.
   * Compile --with-mbedtls to allow https-inspection.
   * Adapt TLS/SSL settings to Debian FHS.
   * Generate dirs with correct permissions for https-inspection.
+  * Delete https-inspection certs on purge.
+  * Expire https-inspection certs after 90 days.
+  * Compile --with-brotli to enable support for brotli decompression.
 
 
- -- Roland Rosenfeld <roland@debian.org>  Fri, 04 Sep 2020 15:13:08 +0200
+ -- Roland Rosenfeld <roland@debian.org>  Sun, 29 Nov 2020 14:22:27 +0100
 
 privoxy (3.0.28-3) unstable; urgency=medium
 
 
 privoxy (3.0.28-3) unstable; urgency=medium
 
index 9cc22bf..7ce5356 100644 (file)
@@ -8,6 +8,8 @@ Build-Depends: autoconf,
                docbook-dsssl,
                docbook-utils,
                groff,
                docbook-dsssl,
                docbook-utils,
                groff,
+               libbrotli-dev,
+               libmbedtls-dev,
                libpcre3-dev,
                man2html,
                opensp,
                libpcre3-dev,
                man2html,
                opensp,
index 9c41e3f..4594083 100644 (file)
@@ -5,22 +5,42 @@ Source: https://sourceforge.net/projects/ijbswa/files/Sources/
 
 Files: *
 Copyright:
 
 Files: *
 Copyright:
- Copyright (C) 2001-2018 by the Privoxy team. http://www.privoxy.org/
+ Copyright (C) 2001-2020 by the Privoxy team. https://www.privoxy.org/
+ Copyright (C) 2001-2020 by Privoxy Developers <privoxy-devel@lists.privoxy.org>
+ Parts Copyright (c) 1997 by Anonymous Coders and Junkbusters, Inc.
  Parts Copyright (C) 1999 Adam Lock <locka@iol.ie>
  Parts Copyright (C) 1999 Adam Lock <locka@iol.ie>
+ Parts Copyright (C) 1998-1999 Steve Cheng <steve@ggi-project.org>
+ Parts Copyright (C) 2000-2002 Greg Ferguson <gferg@metalab.unc.edu>
+ Parts Copyright (C) 2001 Jonathan Foster http://www.jon-foster.co.uk/
  Parts Copyright (C) 2003 Ian Cummings <ian_a_c@hotmail.com>
  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-2018 Fabian Keil <fk@fabiankeil.de>
+ Parts Copyright (C) 2000-2003 by Andreas S. Oesterhelt <andreas@oesterhelt.org>
+ Parts Copyright (C) 2006-2020 Fabian Keil <fk@fabiankeil.de>
+ Parts Copyright (c) 2020 Maxim Antonov <mantonov@gmail.com>
+ Parts Copyright (C) 2017-2020 Vaclav Svec. FIT CVUT.
 Comment:
 Comment:
- Based on the Internet Junkbuster originally written
- by and Copyright (C) 1997 Anonymous Coders and
- Junkbusters Corporation.  http://www.junkbusters.com
+ Some source code is based on code Copyright (c) 1997 by Anonymous
+ Coders and Junkbusters, Inc. and licensed under the GNU General
+ Public License.
+ .
+ Privoxy is free software; you can redistribute and/or modify its
+ source code under the terms of the GNU General Public License as
+ published by the Free Software Foundation, either version 2 of the
+ license, or (at your option) any later version.
+ .
+ The same is true for Privoxy binaries unless they are linked with a
+ mbed TLS version that is licensed under the Apache 2.0 license in
+ which case you can redistribute and/or modify the Privoxy binaries
+ under the terms of the GNU General Public License as published by the
+ Free Software Foundation, either version 3 of the license, or (at
+ your option) any later version.
 License: GPL-2+
 
 License: GPL-2+
 
-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
+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:
  ./utils/create-package-feed.pl
 Copyright:
- Copyright (c) 2006-2017 Fabian Keil <fk@fabiankeil.de>
+ Copyright (c) 2006-2020 Fabian Keil <fk@fabiankeil.de>
 License: ISC
 
 Files: ./strptime.h
 License: ISC
 
 Files: ./strptime.h
@@ -31,9 +51,14 @@ Comment:
  Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 License: GPL-2+
 
  Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 License: GPL-2+
 
+Files: ./config.guess ./config.sub
+Copyright:
+  1992-2013, Free Software Foundation, Inc.
+License: GPL-2+
+
 Files: debian/*
 Copyright:
 Files: debian/*
 Copyright:
- 2002-2018  Roland Rosenfeld <roland@debian.org>
+ 2002-2020  Roland Rosenfeld <roland@debian.org>
 License: GPL-2+
 
 Files: ./pcre/*
 License: GPL-2+
 
 Files: ./pcre/*
index 2fe3c1c..ce6f6dc 100644 (file)
@@ -32,7 +32,7 @@ Forwarded: not-needed
  #
  #  2.5. actionsfile
  #  =================
  #
  #  2.5. actionsfile
  #  =================
-@@ -2474,7 +2474,7 @@ socket-timeout 300
+@@ -2479,7 +2479,7 @@ socket-timeout 300
  #
  #      ca-directory /usr/local/etc/privoxy/CA
  #
  #
  #      ca-directory /usr/local/etc/privoxy/CA
  #
@@ -41,16 +41,16 @@ Forwarded: not-needed
  #
  #  7.2. ca-cert-file
  #  ==================
  #
  #  7.2. ca-cert-file
  #  ==================
-@@ -2615,7 +2615,7 @@ socket-timeout 300
+@@ -2633,7 +2633,7 @@ socket-timeout 300
  #
  #      certificate-directory /usr/local/var/privoxy/certs
  #
 -#certificate-directory /usr/local/var/privoxy/certs
 +#certificate-directory /var/lib/privoxy/certs
  #
  #
  #      certificate-directory /usr/local/var/privoxy/certs
  #
 -#certificate-directory /usr/local/var/privoxy/certs
 +#certificate-directory /var/lib/privoxy/certs
  #
- #  7.6. trusted-cas-file
- #  ======================
-@@ -2648,7 +2648,7 @@ socket-timeout 300
+ #  7.6. cipher-list
+ #  =================
+@@ -2764,7 +2764,7 @@ socket-timeout 300
  #
  #      trusted-cas-file trusted_cas_file.pem
  #
  #
  #      trusted-cas-file trusted_cas_file.pem
  #
index ab94836..e0d82f3 100644 (file)
@@ -6,7 +6,7 @@ Forwarded: not-needed
 
 --- a/jbsockets.c
 +++ b/jbsockets.c
 
 --- a/jbsockets.c
 +++ b/jbsockets.c
-@@ -975,20 +975,7 @@ int bind_port(const char *hostnam, int p
+@@ -918,20 +918,7 @@ int bind_port(const char *hostnam, int p
     }
  
     memset(&hints, 0, sizeof(struct addrinfo));
     }
  
     memset(&hints, 0, sizeof(struct addrinfo));
index 3a2f19d..2fca69c 100644 (file)
@@ -5,9 +5,9 @@ Forwarded: not-needed
 
 --- a/tools/privoxy-log-parser.pl
 +++ b/tools/privoxy-log-parser.pl
 
 --- a/tools/privoxy-log-parser.pl
 +++ b/tools/privoxy-log-parser.pl
-@@ -2730,7 +2730,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!
+@@ -2753,7 +2753,7 @@ It does not escape any input!
[B<--keep-date>] Don't remove the date when printing highlighted log messages.
+ Useful when parsing multiple log files at once.
  
 -[B<--no-msecs>] Don't expect milisecond resolution
 +[B<--no-msecs>] Don't expect millisecond resolution
  
 -[B<--no-msecs>] Don't expect milisecond resolution
 +[B<--no-msecs>] Don't expect millisecond resolution
index 554e68a..27b528e 100644 (file)
@@ -10,8 +10,8 @@ Forwarded: not-necessary
  
  dnl Timestamp (date +%s) used by the mtree-spec target.
  dnl Should be updated before releases but forgetting it isn't critical.
  
  dnl Timestamp (date +%s) used by the mtree-spec target.
  dnl Should be updated before releases but forgetting it isn't critical.
--SOURCE_DATE_EPOCH=1545411710
-+dnl SOURCE_DATE_EPOCH=1545411710
+-SOURCE_DATE_EPOCH=1605695571
++dnl SOURCE_DATE_EPOCH=1605695571
  
  dnl CODE_STATUS can be "alpha", "beta", "stable" or "UNRELEASED",
  dnl and will be used for CGI output. Increment version number and
  
  dnl CODE_STATUS can be "alpha", "beta", "stable" or "UNRELEASED",
  dnl and will be used for CGI output. Increment version number and
index afd3038..aa9c832 100644 (file)
@@ -32,6 +32,10 @@ case "$1" in
             . /usr/share/debconf/confmodule
             db_purge
         fi
             . /usr/share/debconf/confmodule
             db_purge
         fi
+       # Remove https inspection certificates on purge:
+       if [ -d /var/lib/privoxy/certs ]; then
+           rm -rf /var/lib/privoxy/certs
+       fi
         ;;
 
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
         ;;
 
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
diff --git a/debian/privoxy.cron.daily b/debian/privoxy.cron.daily
new file mode 100644 (file)
index 0000000..114fd41
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# Expire https inspection certificates
+
+set -e
+
+CERTDIR=/var/lib/privoxy/certs
+EXPIREDAYS=90
+
+if [ -d $CERTDIR ]; then
+    find $CERTDIR -type f -mtime +$EXPIREDAYS | xargs -r rm -f
+fi
index 1a63295..aac8cdf 100755 (executable)
@@ -24,6 +24,7 @@ override_dh_auto_configure:
                --enable-no-gifs \
                --enable-external-filters \
                --with-mbedtls \
                --enable-no-gifs \
                --enable-external-filters \
                --with-mbedtls \
+               --with-brotli \
                --with-docbook=/usr/share/sgml/docbook/stylesheet/dsssl/modular
 
 override_dh_auto_build:
                --with-docbook=/usr/share/sgml/docbook/stylesheet/dsssl/modular
 
 override_dh_auto_build:
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644 (file)
index 0000000..892f3cd
--- /dev/null
@@ -0,0 +1,3 @@
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
index 3ddafbb..4050694 100644 (file)
@@ -2,3 +2,6 @@
 # so we can ignore the warnings about old libtool versions:
 privoxy source: ancient-libtool pcre/ltconfig
 privoxy source: ancient-libtool pcre/ltmain.sh 1.3.4
 # so we can ignore the warnings about old libtool versions:
 privoxy source: ancient-libtool pcre/ltconfig
 privoxy source: ancient-libtool pcre/ltmain.sh 1.3.4
+
+# The slackware init file is named rc.privoxy.orig upstream:
+privoxy source: debian-adds-patch-failure-file slackware/rc.privoxy.orig
index c204478..e607791 100644 (file)
@@ -1,8 +1,6 @@
 # See uscan(1) for format
 
 # See uscan(1) for format
 
-# Compulsory line, this is a version 3 file
-version=3
+version=4
 
 
-#https://sourceforge.net/project/showfiles.php?group_id=11118 https://prdownloads.sourceforge.net/ijbswa/privoxy-(.*)-stable-src.tar.gz\?download
-
-opts=pgpsigurlmangle=s/$/.asc/ https://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