SHA256
1
0
forked from pool/kmod

Accepting request 674337 from home:michals

- Enable PKCS#7 signature parsing again - requires openssl
- Fix testsuite build - requires kernel-default-devel
- Rediff the SUSE patches and rename starting with 0001.

- Update to new upstream release 26
  * depmod now handles parallel invocations better by protecting
    the temporary files being used.
  * modprobe has a new --show-exports option. Under the hood,
    this reads the .symtab and .strtab sections rather than
    __versions so it shows useful data even if kernel is
    configured without modversions (CONFIG_MODVERSIONS).
  * modinfo supports PKCS#7 parsing by using openssl.
- Replaced the asn1c-based parser by an openssl-based PKCS
  parser.
- Remove libkmod-signature-Fix-crash-when-module-signature-is.patch,
  libkmod-signature-pkcs-7-fix-crash-when-signer-info-.patch,
  libkmod-signature-implement-pkcs7-parsing-with-asn1c.patch
  (not accepted upstream)
- Remove enum.patch,
  depmod-Prevent-module-dependency-files-corruption-du.patch,
  depmod-Prevent-module-dependency-files-missing-durin.patch,
  depmod-shut-up-gcc-insufficinet-buffer-warning.patch
  (accepted upstream)

- Enable PKCS#7 signature parsing again - requires openssl
- Rediff the SUSE patches and rename starting with 0001.

OBS-URL: https://build.opensuse.org/request/show/674337
OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=158
This commit is contained in:
2019-02-12 23:23:22 +00:00
committed by Git OBS Bridge
parent 7ea344109a
commit 81cdb97d27
13 changed files with 131 additions and 289 deletions

View File

@@ -29,15 +29,16 @@ URL: https://www.kernel.org/pub/linux/utils/kernel/kmod/
#Git-Clone: git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod
Source: https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-%version.tar.xz
Source2: https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-%version.tar.sign
Patch1: 0002-modprobe-Recognize-allow-unsupported-modules-on-comm.patch
Patch2: 0003-libkmod-config-Recognize-allow_unsupported_modules-i.patch
Patch3: 0009-libkmod-Implement-filtering-of-unsupported-modules-o.patch
Patch4: 0010-modprobe-Implement-allow-unsupported-modules.patch
Patch5: 0011-Do-not-filter-unsupported-modules-when-running-a-van.patch
Patch8: 0012-modprobe-print-unsupported-status.patch
Patch1: 0001-modprobe-Recognize-allow-unsupported-modules-on-comm.patch
Patch2: 0002-libkmod-config-Recognize-allow_unsupported_modules-i.patch
Patch3: 0003-libkmod-Implement-filtering-of-unsupported-modules-o.patch
Patch4: 0004-modprobe-Implement-allow-unsupported-modules.patch
Patch5: 0005-Do-not-filter-unsupported-modules-when-running-a-van.patch
Patch6: 0006-modprobe-print-status-of-allow_unsupported_modules-v.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libopenssl-devel >= 1.1.0
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.21
BuildRequires: xz
@@ -114,6 +115,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
%configure \
--with-xz \
--with-zlib \
--with-openssl \
--includedir="%_includedir/kmod" \
--with-rootlibdir="%_libdir" \
--bindir="%_bindir"