On Fri, 11 Feb 2022 18:04:54 +0100 Axel Beckert <a...@debian.org> wrote:
Hi,according to https://tracker.debian.org/pkg/telegram-cli, telegram-cli is threatened to be removed from testing due to an RC bug in the wolfssl source package. But at least in the resulting binary package, I see no relation to wolfssl, not even indirectly via libtgl. The only occurrences of wolfssl in the telegram-cli source package seem in the Debian packaging:
I have replaced the build dependency with libssl-dev. There will be no Depends generated on libssl but it still influences the build by finding the headers. The NMU debdiff is attached.
diff -Nru telegram-cli-1.3.1+git20160323.6547c0b21/debian/changelog telegram-cli-1.3.1+git20160323.6547c0b21/debian/changelog --- telegram-cli-1.3.1+git20160323.6547c0b21/debian/changelog 2021-11-07 12:39:00.000000000 +0100 +++ telegram-cli-1.3.1+git20160323.6547c0b21/debian/changelog 2022-10-11 09:21:06.000000000 +0200 @@ -1,3 +1,10 @@ +telegram-cli (1.3.1+git20160323.6547c0b21-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Build with libssl (Closes: #924848). + + -- Bastian Germann <b...@debian.org> Tue, 11 Oct 2022 09:21:06 +0200 + telegram-cli (1.3.1+git20160323.6547c0b21-3) unstable; urgency=low * Fix FTBFS for write with wrong size. (Closes: #997272) diff -Nru telegram-cli-1.3.1+git20160323.6547c0b21/debian/control telegram-cli-1.3.1+git20160323.6547c0b21/debian/control --- telegram-cli-1.3.1+git20160323.6547c0b21/debian/control 2019-01-20 08:26:45.000000000 +0100 +++ telegram-cli-1.3.1+git20160323.6547c0b21/debian/control 2022-10-11 09:21:06.000000000 +0200 @@ -11,7 +11,7 @@ liblua5.2-dev, libreadline-dev, libtgl-0.0.0.20160623-dev, - libwolfssl-dev, + libssl-dev, lua-lgi, lua5.2, zlib1g-dev diff -Nru telegram-cli-1.3.1+git20160323.6547c0b21/debian/rules telegram-cli-1.3.1+git20160323.6547c0b21/debian/rules --- telegram-cli-1.3.1+git20160323.6547c0b21/debian/rules 2019-01-20 08:26:45.000000000 +0100 +++ telegram-cli-1.3.1+git20160323.6547c0b21/debian/rules 2022-10-11 09:21:06.000000000 +0200 @@ -16,7 +16,7 @@ override_dh_auto_configure: ln -s -f /etc/mime.types $(CURDIR)/mime.types - dh_auto_configure -- --disable-openssl OPENSSL_INCLUDES="-I/usr/include/wolfssl -DWC_NO_HARDEN" + dh_auto_configure build-orig: mkdir -p $(PACKAGE_NAME)-$(VERSION)