package/putty: bump version to 0.78

Changelog:
https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html

Removed patch, the patched file does not exist anymore in this release.

Updated license hash due to copyright year bump:
https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=ce59d8bb4f7a1c6aff677d1431ec84a803a24091

Switched build system to cmake.

Added optional dependency to libgtk3.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls 2023-07-02 13:04:47 +02:00 committed by Thomas Petazzoni
parent 6ebb7c3752
commit 5673ea3ce4
5 changed files with 14 additions and 58 deletions

View File

@ -1239,7 +1239,6 @@ package/pulseaudio/S50pulseaudio ConsecutiveEmptyLines EmptyLastLine Indent Vari
package/pulseview/0001-Replace-obsolete-deprecated-Qt-methods.patch Upstream
package/pulseview/0002-Fix-broken-build-due-to-C-template-behind-C-linkage.patch Upstream
package/pulseview/0003-Support-glibmm-2.68.patch Upstream
package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch Upstream
package/python-aiohttp-remotes/0001-Fix-flit_core-build-requires-backend.patch Upstream
package/python-automat/0001-Remove-uneeded-dependency-to-wheel.patch Upstream
package/python-crossbar/0001-Avoid-intentional-syntax-error.patch Upstream

View File

@ -1,41 +0,0 @@
From 3f30f3a7e3f07f5ca3cef0f405b02e22a018c6e4 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 9 May 2021 15:22:29 +0200
Subject: [PATCH] unix/uxutils.h: fix build on uclibc
Build on uclibc is broken since version 0.75 and commit
65383082bf0c49cec63f4b36001a40bd9b13edf6 because AT_HWCAP2 is used
even if <sys/auxv.h> is not available:
unix/uxutils.c: In function 'platform_aes_hw_available':
unix/uxutils.c:13:22: error: 'AT_HWCAP2' undeclared (first use in this function)
13 | return getauxval(AT_HWCAP2) & HWCAP2_AES;
| ^~~~~~~~~
To fix this build failure, include <elf.h>
Fixes:
- http://autobuild.buildroot.org/results/726f7c5ce13e78ed91e827b872e9d7ccfa13f298
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: sent to Simon Tatham <anakin@pobox.com>]
---
unix/uxutils.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/unix/uxutils.h b/unix/uxutils.h
index c9acff53..b80bf972 100644
--- a/unix/uxutils.h
+++ b/unix/uxutils.h
@@ -18,6 +18,8 @@
#if defined __arm__ || defined __aarch64__
+#include <elf.h>
+
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
--
2.30.2

View File

@ -3,10 +3,10 @@ config BR2_PACKAGE_PUTTY
depends on BR2_USE_MMU # fork()
depends on BR2_USE_WCHAR
help
PuTTY is a free SSH and Telnet client. Without GTK2
PuTTY is a free SSH and Telnet client. Without GTK2 or GTK3
activated, only the commandline tools plink, pscp, psftp,
and puttygen are built; enable GTK2 for the graphical
client.
and puttygen are built; enable GTK2 or GTK3 for the
graphical client.
http://www.chiark.greenend.org.uk/~sgtatham/putty/

View File

@ -1,8 +1,7 @@
# Hashes from: http://the.earth.li/~sgtatham/putty/0.76/{md5,sha1,sha256,sha512}sums
md5 9d22f8c56c1eaa1c0af3098438f25908 putty-0.76.tar.gz
sha1 de09f50aee330eb05ad0cb81b970d0cc8e5c9b25 putty-0.76.tar.gz
sha256 547cd97a8daa87ef71037fab0773bceb54a8abccb2f825a49ef8eba5e045713f putty-0.76.tar.gz
sha512 4576b359593928c6eba923f2d7b66ac0f2cf00e0c217cdbbb124471c3b35feb090e623847bfc507a4ef106cb3067aac47419e241b11dd8bf4ae554061fa93c25 putty-0.76.tar.gz
# Hashes from: http://the.earth.li/~sgtatham/putty/0.78/{sha1,sha256,sha512}sums
sha1 198f01db6bea708e480fb11dd23026eda7b3f49f putty-0.78.tar.gz
sha256 274e01bcac6bd155dfd647b2f18f791b4b17ff313753aa919fcae2e32d34614f putty-0.78.tar.gz
sha512 d7a3e2eabd5f1f65fc0f3f1ee0789c30fbe891b57f63ddeac0b92befcb6aecd4a748f04a21c76ee42d992deb77c2e1a0454a71cc620ef26fbf23af660bd84bb5 putty-0.78.tar.gz
# Locally calculated
sha256 3f3e870dd3d0867d79370b1d433602c60bb91b59de04e5d8f2a149b788530d53 LICENCE
sha256 7b10c93f0d582e820a9e6f8c6abbcff54192e41e60644f4d09b96b14fdbc74f8 LICENCE

View File

@ -4,18 +4,17 @@
#
################################################################################
PUTTY_VERSION = 0.76
PUTTY_VERSION = 0.78
PUTTY_SITE = http://the.earth.li/~sgtatham/putty/$(PUTTY_VERSION)
PUTTY_LICENSE = MIT
PUTTY_LICENSE_FILES = LICENCE
PUTTY_CPE_ID_VENDOR = putty
PUTTY_CONF_OPTS = --disable-gtktest
PUTTY_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_LIBGTK2),y)
PUTTY_CONF_OPTS += --with-gtk=2
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
PUTTY_DEPENDENCIES += libgtk3
else ifeq ($(BR2_PACKAGE_LIBGTK2),y)
PUTTY_DEPENDENCIES += libgtk2
else
PUTTY_CONF_OPTS += --without-gtk
endif
$(eval $(autotools-package))
$(eval $(cmake-package))