- Update to version 24.11.00:

* lib: fwts_version.h - update to V24.11.00
  * debian: update changelog
  * hdaaudio: fix the the build errors under plucky amd64
  * auto-packager: mkpackage.sh: add plucky
  * dmicheck: add more types for version length test.
  * dmicheck: update for supporting DMI version to 3.8.0
  * acpi: iort: memory access flag update.
  * src/acpi: Fix a few spelling mistakes
  * acpi/wmi: Warn if WMI GUIDs from the Windows driver samples are found
  * lib: fwts_acpi_object_eval: Do not return FWTS_OK if method lookup fails
  * script: fix bash-completion-with-hashbang lintian warning
  * dmicheck: update for supporting DMI version to 3.7.1
  * tpmevlog: Ensure the event log matches the actual TPM PCRs

OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=174
This commit is contained in:
Martin Pluskal 2024-11-26 11:05:24 +00:00 committed by Git OBS Bridge
commit 8bd2b75769
13 changed files with 2047 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="obs_scm" mode="manual">
<param name="versionformat">@PARENT_TAG@</param>
<param name="url">https://github.com/fwts/fwts.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="exclude">.*</param>
<param name="versionrewrite-pattern">V(.*)</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="manual">
</service>
</services>

8
_servicedata Normal file
View File

@ -0,0 +1,8 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://git.launchpad.net/fwts</param>
<param name="changesrevision">3cbc82cb1b73781d0b7a3fd94141f924436eed39</param></service><service name="tar_scm">
<param name="url">https://github.com/ColinIanKing/fwts.git</param>
<param name="changesrevision">7a824d3b13fb4e33c3970fe560e36d2c65e7fb10</param></service><service name="tar_scm">
<param name="url">https://github.com/fwts/fwts.git</param>
<param name="changesrevision">559c0289b119749ab1f06c69f4d66bbd7ae81b29</param></service></servicedata>

3
fwts-24.03.00.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:003b406829abf9429ba41ed4a5969fc32d12e8a24165920f058f331dae4ef2cc
size 21826061

BIN
fwts-24.07.00.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

3
fwts-24.09.00.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bfaa9390bd5081dfe93b2e721e28f4700a308a6ae690137c05c4d224539c3edd
size 21905421

3
fwts-24.11.00.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8829b4d54aabb7e5602771db0e16e401bd14fd0661f66c9bc154e3f138aabf3
size 21913613

25
fwts-fix-non-acpi.patch Normal file
View File

@ -0,0 +1,25 @@
Index: fwts-21.01.00/src/acpica/source/tools/acpiexec/aecommon.h
===================================================================
--- fwts-21.01.00.orig/src/acpica/source/tools/acpiexec/aecommon.h
+++ fwts-21.01.00/src/acpica/source/tools/acpiexec/aecommon.h
@@ -201,11 +201,18 @@ typedef struct init_file_entry
} INIT_FILE_ENTRY;
+#if defined(__x86_64__) || defined(__x86_64) || defined(__i386__) || defined(__i386) || defined(__aarch64__) || defined(__riscv)
+extern BOOLEAN AcpiGbl_IgnoreErrors;
+extern UINT8 AcpiGbl_RegionFillValue;
+#else
+#define VOID_FUNC(name) void name(void);
+extern VOID_FUNC(AcpiGbl_IgnoreErrors)
+extern VOID_FUNC(AcpiGbl_RegionFillValue)
+#endif
+
extern BOOLEAN AcpiGbl_UseLocalFaultHandler;
extern BOOLEAN AcpiGbl_VerboseHandlers;
-extern BOOLEAN AcpiGbl_IgnoreErrors;
extern BOOLEAN AcpiGbl_AbortLoopOnTimeout;
-extern UINT8 AcpiGbl_RegionFillValue;
extern INIT_FILE_ENTRY *AcpiGbl_InitEntries;
extern UINT32 AcpiGbl_InitFileLineCount;
extern UINT8 AcpiGbl_UseHwReducedFadt;

11
fwts-no-compiletime.patch Normal file
View File

@ -0,0 +1,11 @@
--- fwts-20.11.00/src/acpica/source/compiler/aslutils.c 2020/11/27 16:29:34 1.1
+++ fwts-20.11.00/src/acpica/source/compiler/aslutils.c 2020/11/27 16:29:50
@@ -596,7 +596,7 @@
/* Compiler name and version number */
FlPrintFile (FileId, "%s version %X [%s]\n\n",
- ASL_COMPILER_NAME, (UINT32) ACPI_CA_VERSION, __DATE__);
+ ASL_COMPILER_NAME, (UINT32) ACPI_CA_VERSION);
}
/* Summary of main input and output files */

1852
fwts.changes Normal file

File diff suppressed because it is too large Load Diff

4
fwts.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: fwts
version: 24.11.00
mtime: 1732601569
commit: 559c0289b119749ab1f06c69f4d66bbd7ae81b29

94
fwts.spec Normal file
View File

@ -0,0 +1,94 @@
#
# spec file for package fwts
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: fwts
Version: 24.11.00
Release: 0
Summary: Firmware Test Suite
License: GPL-2.0-or-later
URL: https://wiki.ubuntu.com/Kernel/Reference/fwts
Source0: %{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE fwts-no-compiletime.patch
Patch1: fwts-no-compiletime.patch
# PATCH-FIX-OPENSUSE fwts-fix-non-acpi.patch
Patch2: fwts-fix-non-acpi.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: libfdt-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(bash-completion)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(json)
BuildRequires: pkgconfig(libbsd)
BuildRequires: pkgconfig(libpci)
BuildRequires: pkgconfig(libpcre)
BuildRequires: pkgconfig(zlib)
Requires: bash-completion
Recommends: acpica
Recommends: dmidecode
Recommends: pciutils
ExclusiveArch: %ix86 x86_64 aarch64
%description
The FirmWare Test Suite (fwts) is a tool to do automatic testing of a PC's
firmware. There can be a lot of subtle or vexing Linux Kernel/firmware issues
caused when firmware is buggy, so it's useful to have a tool that can
automatically check for common BIOS and ACPI errors. Where possible the tool
will give some form of advice on how to fix issues or workaround firmware
issues.
%prep
%autosetup -p1
%build
find . -name Makefile.am -exec sed -i "s|-Werror||g" {} +
autoreconf -fiv
%configure \
--disable-static
# parallel build fails on Factory
%make_build --jobs=1
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
install -D -p -m 0644 data/klog.json %{buildroot}%{_datadir}/%{name}/klog.json
install -D -p -m 0644 data/syntaxcheck.json %{buildroot}%{_datadir}/%{name}/syntaxcheck.json
# There are no headers, so drop remaining development files
rm -f "%{buildroot}/%{_libdir}/%{name}"/*.so
%files
%doc README README_ACPICA.txt README_SOURCE.txt ./data/README_JSON.txt
%doc debian/changelog
%{_bindir}/fwts
%{_bindir}/kernelscan
%{_libdir}/fwts
%{_mandir}/man1/fwts-collect.1%{?ext_man}
%{_mandir}/man1/fwts-frontend-text.1%{?ext_man}
%{_mandir}/man1/fwts.1%{?ext_man}
%{_datadir}/bash-completion/completions/fwts
%dir %{_datadir}/%{name}
%{_datadir}/fwts/clog.json
%{_datadir}/fwts/klog.json
%{_datadir}/fwts/syntaxcheck.json
%{_datadir}/fwts/olog.json
%changelog