diff -Nru foxeye-0.12.1/debian/changelog foxeye-0.12.1/debian/changelog --- foxeye-0.12.1/debian/changelog 2020-12-30 22:54:48.000000000 +0000 +++ foxeye-0.12.1/debian/changelog 2021-11-25 16:40:17.000000000 +0000 @@ -1,3 +1,21 @@ +foxeye (0.12.1-3ubuntu1) jammy; urgency=medium + + * d/p/OpenSSL3.patch: fix the build against OpenSSL 3.0 + + -- Simon Chopin Thu, 25 Nov 2021 17:40:17 +0100 + +foxeye (0.12.1-3build2) jammy; urgency=medium + + * No-change rebuild against openssl3 + + -- Simon Chopin Tue, 23 Nov 2021 15:57:20 +0100 + +foxeye (0.12.1-3build1) jammy; urgency=medium + + * No-change rebuild against libidn12 + + -- Steve Langasek Sun, 07 Nov 2021 05:31:41 +0000 + foxeye (0.12.1-3) unstable; urgency=medium * Add fix-gettext.patch (Closes: #978347). diff -Nru foxeye-0.12.1/debian/control foxeye-0.12.1/debian/control --- foxeye-0.12.1/debian/control 2020-04-21 08:52:52.000000000 +0000 +++ foxeye-0.12.1/debian/control 2021-11-07 05:31:41.000000000 +0000 @@ -1,7 +1,8 @@ Source: foxeye Section: net Priority: optional -Maintainer: Andriy Grytsenko +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Andriy Grytsenko Build-Depends: debhelper (>= 12~), pkg-config, tcl-dev, liblua5.3-dev | liblua5.2-dev, gettext, libssl-dev | libssl1.0-dev, diff -Nru foxeye-0.12.1/debian/patches/OpenSSL3.patch foxeye-0.12.1/debian/patches/OpenSSL3.patch --- foxeye-0.12.1/debian/patches/OpenSSL3.patch 1970-01-01 00:00:00.000000000 +0000 +++ foxeye-0.12.1/debian/patches/OpenSSL3.patch 2021-11-25 16:39:20.000000000 +0000 @@ -0,0 +1,15 @@ +Author: Simon Chopin +Description: Don't call FIPS_mode_set if OpenSSL3 + The function has been removed from OpenSSL3, and its replacement operates + per-context, which means we don't need to call it there. +--- a/modules/ssl/openssl.c ++++ b/modules/ssl/openssl.c +@@ -446,7 +446,7 @@ + /* deinit library */ + #if OPENSSL_VERSION_NUMBER < 0x10100000L + ERR_remove_state(0); +-#else ++#elif OPENSSL_VERSION_NUMBER < 0x30000000L + FIPS_mode_set(0); + #endif + ENGINE_cleanup(); diff -Nru foxeye-0.12.1/debian/patches/series foxeye-0.12.1/debian/patches/series --- foxeye-0.12.1/debian/patches/series 2020-12-30 21:39:10.000000000 +0000 +++ foxeye-0.12.1/debian/patches/series 2021-11-25 16:34:04.000000000 +0000 @@ -1 +1,2 @@ fix-gettext.patch +OpenSSL3.patch