* [Buildroot] [PATCH 1/1] package/putty: bump version to 0.78
@ 2023-06-10 17:38 Bernd Kuhls
2023-06-27 6:07 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2023-06-10 17:38 UTC (permalink / raw)
To: buildroot; +Cc: Samuel Martin
Changelog:
https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
Removed patch, the patched file does not exist anymore in this release.
Switched build system to cmake.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
.checkpackageignore | 1 -
...1-unix-uxutils.h-fix-build-on-uclibc.patch | 41 -------------------
package/putty/putty.hash | 9 ++--
package/putty/putty.mk | 10 ++---
4 files changed, 7 insertions(+), 54 deletions(-)
delete mode 100644 package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch
diff --git a/.checkpackageignore b/.checkpackageignore
index 69b9b6720e..c6c3c61320 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -1252,7 +1252,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
diff --git a/package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch b/package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch
deleted file mode 100644
index 78cef8b908..0000000000
--- a/package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch
+++ /dev/null
@@ -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
-
diff --git a/package/putty/putty.hash b/package/putty/putty.hash
index 861d45cb76..0d24768b24 100644
--- a/package/putty/putty.hash
+++ b/package/putty/putty.hash
@@ -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
diff --git a/package/putty/putty.mk b/package/putty/putty.mk
index e57a78be96..e816ad04a5 100644
--- a/package/putty/putty.mk
+++ b/package/putty/putty.mk
@@ -4,18 +4,14 @@
#
################################################################################
-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
ifeq ($(BR2_PACKAGE_LIBGTK2),y)
-PUTTY_CONF_OPTS += --with-gtk=2
-PUTTY_DEPENDENCIES += libgtk2
-else
-PUTTY_CONF_OPTS += --without-gtk
+PUTTY_DEPENDENCIES += host-pkgconf libgtk2
endif
-$(eval $(autotools-package))
+$(eval $(cmake-package))
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [Buildroot] [PATCH 1/1] package/putty: bump version to 0.78
2023-06-10 17:38 [Buildroot] [PATCH 1/1] package/putty: bump version to 0.78 Bernd Kuhls
@ 2023-06-27 6:07 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2023-06-27 6:07 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: Samuel Martin, buildroot
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:
> Changelog:
> https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
> Removed patch, the patched file does not exist anymore in this release.
> Switched build system to cmake.
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> +++ b/package/putty/putty.hash
> @@ -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
You forgot to update the hash of the LICENSE:
>>> putty 0.78 Patching
>>> putty 0.78 Collecting legal info
ERROR: LICENCE has wrong sha256 hash:
ERROR: expected: 3f3e870dd3d0867d79370b1d433602c60bb91b59de04e5d8f2a149b788530d53
ERROR: got : 7b10c93f0d582e820a9e6f8c6abbcff54192e41e60644f4d09b96b14fdbc74f8
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
make: *** [package/putty/putty.mk:19: putty-legal-info] Error 1
> diff --git a/package/putty/putty.mk b/package/putty/putty.mk
> index e57a78be96..e816ad04a5 100644
> --- a/package/putty/putty.mk
> +++ b/package/putty/putty.mk
> @@ -4,18 +4,14 @@
> #
> ################################################################################
> -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
> ifeq ($(BR2_PACKAGE_LIBGTK2),y)
> -PUTTY_CONF_OPTS += --with-gtk=2
> -PUTTY_DEPENDENCIES += libgtk2
> -else
> -PUTTY_CONF_OPTS += --without-gtk
> +PUTTY_DEPENDENCIES += host-pkgconf libgtk2
I think we need to unconditionally pull in host-pkgconf so it doesn't
end up using the host pkg-config to check for gtk. Looking at
cmake/gtk.cmake it also seems to support gtk3 as well.
Care to respin the patch with the above fixes?
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-27 6:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-10 17:38 [Buildroot] [PATCH 1/1] package/putty: bump version to 0.78 Bernd Kuhls
2023-06-27 6:07 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox