[Buildroot] [PATCH 1/1] package/putty: bump version to 0.78

Peter Korsgaard peter at korsgaard.com
Tue Jun 27 06:07:13 UTC 2023


>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls at 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 at 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



More information about the buildroot mailing list