kmod: Update to 32

Message ID 87c3cfc6-41c6-4d56-9815-488a77b59fb0@ipfire.org
State Staged
Commit 581e1c7a67cd35930c01deca791a06a89c4df3d8
Headers
Series kmod: Update to 32 |

Commit Message

Peter Müller April 22, 2024, 4:48 p.m. UTC
  Changelog according to the tarball's NEWS file:

- Improvements

        - Use any hash algo known by kernel/openssl instead of keep needing
          to update the mapping

        - Teach kmod to load modprobe.d/depmod.d configuration from ${prefix}/lib
          and allow it to be overriden during build with --with-distconfdir=DIR

        - Make kernel modules directory configurable. This allows distro to
          make kmod use only files from /usr regardless of having a compat
          symlink in place.

        - Install kmod.pc containing the features selected at build time.

        - Install all tools and symlinks by default. Previously kmod relied on
          distro packaging to set up the symlinks in place like modprobe,
          depmod, lsmod, etc. Now those symlinks are created by kmod itself
          and they are always placed in $bindir.

- Bug Fixes

        - Fix warnings due to -Walloc-size

- Others

        - Drop python bindings. Those were not update in ages and not compatible
          with latest python releases.

        - Cleanup test infra, dropping what was not used anymore

        - Drop experimental tools `kmod insert` / `kmod remove`. Building those
          was protected by a configure option never set by distros. They also
          didn't gain enough traction to replace the older interfaces via
          modprobe/insmod/rmmod.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 config/rootfiles/common/kmod | 2 +-
 lfs/kmod                     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
  

Comments

Adolf Belka April 23, 2024, 11:39 a.m. UTC | #1
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>

On 22/04/2024 18:48, Peter Müller wrote:
> Changelog according to the tarball's NEWS file:
>
> - Improvements
>
>          - Use any hash algo known by kernel/openssl instead of keep needing
>            to update the mapping
>
>          - Teach kmod to load modprobe.d/depmod.d configuration from ${prefix}/lib
>            and allow it to be overriden during build with --with-distconfdir=DIR
>
>          - Make kernel modules directory configurable. This allows distro to
>            make kmod use only files from /usr regardless of having a compat
>            symlink in place.
>
>          - Install kmod.pc containing the features selected at build time.
>
>          - Install all tools and symlinks by default. Previously kmod relied on
>            distro packaging to set up the symlinks in place like modprobe,
>            depmod, lsmod, etc. Now those symlinks are created by kmod itself
>            and they are always placed in $bindir.
>
> - Bug Fixes
>
>          - Fix warnings due to -Walloc-size
>
> - Others
>
>          - Drop python bindings. Those were not update in ages and not compatible
>            with latest python releases.
>
>          - Cleanup test infra, dropping what was not used anymore
>
>          - Drop experimental tools `kmod insert` / `kmod remove`. Building those
>            was protected by a configure option never set by distros. They also
>            didn't gain enough traction to replace the older interfaces via
>            modprobe/insmod/rmmod.
>
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
>   config/rootfiles/common/kmod | 2 +-
>   lfs/kmod                     | 4 ++--
>   2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/config/rootfiles/common/kmod b/config/rootfiles/common/kmod
> index 1a0432169..ed30ab10d 100644
> --- a/config/rootfiles/common/kmod
> +++ b/config/rootfiles/common/kmod
> @@ -9,6 +9,6 @@ sbin/rmmod
>   #usr/lib/libkmod.la
>   #usr/lib/libkmod.so
>   usr/lib/libkmod.so.2
> -usr/lib/libkmod.so.2.4.1
> +usr/lib/libkmod.so.2.4.2
>   #usr/lib/pkgconfig/libkmod.pc
>   #usr/share/bash-completion/completions/kmod
> diff --git a/lfs/kmod b/lfs/kmod
> index 643573d33..2719083e5 100644
> --- a/lfs/kmod
> +++ b/lfs/kmod
> @@ -24,7 +24,7 @@
>   
>   include Config
>   
> -VER        = 31
> +VER        = 32
>   
>   THISAPP    = kmod-$(VER)
>   DL_FILE    = $(THISAPP).tar.xz
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>   
>   $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>   
> -$(DL_FILE)_BLAKE2 = 0dc8572da570315cf0aadd87fa7e83d0f88dea91c8566749e6f3004f9a6df916dce337ca99ea5929d41f45b408c1e3effa50f9d24615d7fa28688150a5ce91cf
> +$(DL_FILE)_BLAKE2 = 5b5dac4639406549b23bb1da44bedd86a42885304ef4c7c67344dc8fd70b9e0ca3f83d033c6b80f6e00371d7188e205f4b68fadc56a9ddbf9d6a9d28e9b1e9a4
>   
>   install : $(TARGET)
>
  

Patch

diff --git a/config/rootfiles/common/kmod b/config/rootfiles/common/kmod
index 1a0432169..ed30ab10d 100644
--- a/config/rootfiles/common/kmod
+++ b/config/rootfiles/common/kmod
@@ -9,6 +9,6 @@  sbin/rmmod
 #usr/lib/libkmod.la
 #usr/lib/libkmod.so
 usr/lib/libkmod.so.2
-usr/lib/libkmod.so.2.4.1
+usr/lib/libkmod.so.2.4.2
 #usr/lib/pkgconfig/libkmod.pc
 #usr/share/bash-completion/completions/kmod
diff --git a/lfs/kmod b/lfs/kmod
index 643573d33..2719083e5 100644
--- a/lfs/kmod
+++ b/lfs/kmod
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 31
+VER        = 32
 
 THISAPP    = kmod-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 0dc8572da570315cf0aadd87fa7e83d0f88dea91c8566749e6f3004f9a6df916dce337ca99ea5929d41f45b408c1e3effa50f9d24615d7fa28688150a5ce91cf
+$(DL_FILE)_BLAKE2 = 5b5dac4639406549b23bb1da44bedd86a42885304ef4c7c67344dc8fd70b9e0ca3f83d033c6b80f6e00371d7188e205f4b68fadc56a9ddbf9d6a9d28e9b1e9a4
 
 install : $(TARGET)