aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2018-11-29 14:46:21 +0100
committerAnders Broman <a.broman58@gmail.com>2018-11-29 22:11:27 +0000
commitbcd32b07e7d5fcc14e1683535a53fccdd6be70f3 (patch)
tree80d04cc05ab4fd255cc826466c8001bda11fca7a
parent7cc07bf7489fc5eef349c6aa862d6b109fe0d483 (diff)
Drop support for GnuTLS 2.12.x, require GnuTLS 3.2 or newer
Upcoming changes need GnuTLS >= 3.0.2. Require GnuTLS 3.2 (or newer) for licensing reasons. The Debian control file still mentions 3.2.14 because older packages linked with a GMP library that was not GPLv2+ compatible. RHEL6 only has 2.12.23, but is already unsupported anyway. Change-Id: I024b2a734ebb16b73a624bb2435c254e963d8b7d Reviewed-on: https://code.wireshark.org/review/30832 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--CMakeLists.txt4
-rw-r--r--debian/control5
-rw-r--r--docbook/wsdg_src/WSDG_chapter_libraries.asciidoc6
-rwxr-xr-xtools/debian-setup.sh4
4 files changed, 9 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 97fc411965..92e152e4cd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -979,7 +979,9 @@ endif()
if(ENABLE_GNUTLS)
set(PACKAGELIST ${PACKAGELIST} GNUTLS)
# Minimum version needed.
- set(GNUTLS_OPTIONS "2.12.0")
+ # 3.0.2 due to GNUTLS_PRIVKEY_IMPORT_COPY
+ # 3.2.0 to remain GPLv2-compatible.
+ set(GNUTLS_OPTIONS "3.2.0")
endif()
# Kerberos
diff --git a/debian/control b/debian/control
index 1d04c01e66..828137e093 100644
--- a/debian/control
+++ b/debian/control
@@ -11,9 +11,8 @@ Build-Depends: lsb-release,
docbook-xsl (>= 1.64.1.0-0), docbook-xml, libxml2-utils, libpcre3-dev,
libcap2-dev [linux-any] | libcap-dev (>= 2.17) [linux-any],
bison, quilt, libparse-yapp-perl,
-# libgnutls28-dev >= 3.2.14-1 is GPLv2+ compatible. libgnutls-dev is
-# backports-compatible.
- libgnutls28-dev (>= 3.2.14-1~) | libgnutls-dev,
+# libgnutls28-dev >= 3.2.14-1 is GPLv2+ compatible.
+ libgnutls28-dev (>= 3.2.14-1~),
libgcrypt-dev, libkrb5-dev, liblua5.2-dev, libsmi2-dev,
libmaxminddb-dev, dpkg-dev (>= 1.16.1~), libsystemd-dev | libsystemd-journal-dev,
libnl-genl-3-dev [linux-any], libnl-route-3-dev [linux-any], asciidoctor,
diff --git a/docbook/wsdg_src/WSDG_chapter_libraries.asciidoc b/docbook/wsdg_src/WSDG_chapter_libraries.asciidoc
index c81db8b491..2978e732c1 100644
--- a/docbook/wsdg_src/WSDG_chapter_libraries.asciidoc
+++ b/docbook/wsdg_src/WSDG_chapter_libraries.asciidoc
@@ -229,8 +229,8 @@ https://www.winpcap.org/install/[]
=== GnuTLS (optional)
-The GNU Transport Layer Security Library is used to dissect TLS and SSL
-protocols (aka: HTTPS).
+The GNU Transport Layer Security Library is used to enable TLS decryption
+using a RSA private key.
[[ChLibsUnixGNUTLS]]
@@ -238,7 +238,7 @@ protocols (aka: HTTPS).
If this library isn't already installed or available as a
package for your platform, you can get it at
-https://www.gnu.org/software/gnutls/download.html[].
+https://gnutls.org/[].
[[ChLibsWin32GNUTLS]]
diff --git a/tools/debian-setup.sh b/tools/debian-setup.sh
index c3537af232..8b6a0db101 100755
--- a/tools/debian-setup.sh
+++ b/tools/debian-setup.sh
@@ -118,11 +118,9 @@ add_package ADDITIONAL_LIST libssh-gcrypt-dev ||
add_package ADDITIONAL_LIST libssh-dev ||
echo "libssh-gcrypt-dev and libssh-dev are unavailable" >&2
-# libgnutls-dev: Debian <= jessie, Ubuntu <= 16.04
# libgnutls28-dev: Debian >= wheezy-backports, Ubuntu >= 12.04
add_package ADDITIONAL_LIST libgnutls28-dev ">= 3.2.14-1" ||
-add_package ADDITIONAL_LIST libgnutls-dev ||
-echo "libgnutls28-dev and libgnutls-dev are unavailable" >&2
+echo "libgnutls28-dev is unavailable" >&2
# mmdbresolve
add_package ADDITIONAL_LIST libmaxminddb-dev ||