Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Samuel Martin <s.martin49@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/putty: bump version to 0.78
Date: Tue, 27 Jun 2023 08:07:13 +0200	[thread overview]
Message-ID: <87v8f9xwtq.fsf@48ers.dk> (raw)
In-Reply-To: <20230610173850.1108670-1-bernd.kuhls@t-online.de> (Bernd Kuhls's message of "Sat, 10 Jun 2023 19:38:50 +0200")

>>>>> "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

      reply	other threads:[~2023-06-27  6:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v8f9xwtq.fsf@48ers.dk \
    --to=peter@korsgaard.com \
    --cc=bernd.kuhls@t-online.de \
    --cc=buildroot@buildroot.org \
    --cc=s.martin49@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox