Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: UPDATE: flashrom 1.8.0
To:
Theo Buehler <tb@theobuehler.org>
Cc:
Brad Smith <brad@comstyle.com>, ports@openbsd.org
Date:
Thu, 3 Sep 2026 17:36:43 +0100

Download raw body.

Thread
On 2026/09/03 12:25, Theo Buehler wrote:
> On Tue, Sep 01, 2026 at 01:17:36AM -0400, Brad Smith wrote:
> > Here is an update to flashrom 1.8.0.
> > 
> > Fixes building on big endian archs.
> > 
> > https://raw.githubusercontent.com/flashrom/flashrom/refs/heads/main/doc/release_notes/v_1_8.rst
> 
> Brad's update does build on sparc64. Whether it works is another
> question. Some tests pass, others SIGBUS and some fail in a different
> way.

We can't hope to test things for all the various programmers supported
even on more common archs, I wonder if some kind of warning would make
sense (though I'm unsure anyone would actually read it ...).

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/flashrom/Makefile,v
> retrieving revision 1.28
> diff -u -p -u -p -r1.28 Makefile
> --- Makefile	4 Mar 2026 09:19:43 -0000	1.28
> +++ Makefile	1 Sep 2026 05:14:27 -0000
> @@ -2,8 +2,7 @@ COMMENT=	flash ROM programmer for BIOS e
>  
>  SHARED_LIBS +=  flashrom                  0.0 # 0.0
>  
> -V=		1.7.0
> -REVISION=	0
> +V=		1.8.0
>  DISTNAME=	flashrom-v${V}
>  PKGNAME=	flashrom-${V}
>  EXTRACT_SUFX=	.tar.xz
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/sysutils/flashrom/distinfo,v
> retrieving revision 1.8
> diff -u -p -u -p -r1.8 distinfo
> --- distinfo	2 Mar 2026 18:39:45 -0000	1.8
> +++ distinfo	1 Sep 2026 05:14:27 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (flashrom-v1.7.0.tar.xz) = Qyis6YM/fv58M0vdc0gs3oKGgZgmzAAUnoP7qWvzq08=
> -SIZE (flashrom-v1.7.0.tar.xz) = 5298400
> +SHA256 (flashrom-v1.8.0.tar.xz) = ZUycYXRcJQzTtczQ5W/EPudpgPkqXgeEIEIGOdZpdaI=
> +SIZE (flashrom-v1.8.0.tar.xz) = 5299524
> Index: patches/patch-meson_build
> ===================================================================
> RCS file: /cvs/ports/sysutils/flashrom/patches/patch-meson_build,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 patch-meson_build
> --- patches/patch-meson_build	2 Mar 2026 18:39:45 -0000	1.2
> +++ patches/patch-meson_build	1 Sep 2026 05:14:27 -0000
> @@ -1,7 +1,7 @@
>  Index: meson.build
>  --- meson.build.orig
>  +++ meson.build
> -@@ -156,7 +156,7 @@ libpci     = dependency('libpci', required : group_pci
> +@@ -148,7 +148,7 @@ libpci     = dependency('libpci', required : group_pci
>   libusb1    = dependency('libusb-1.0', required : group_usb)
>   libftdi1   = dependency('libftdi1', required : group_ftdi)
>   libjaylink = dependency('libjaylink', required : group_jlink, version : '>=0.3.0')
>