Package: kmod
Version: 26-1
Severity: wishlist
Tags: patch

Please consider enabling support for gzip compressed modules.

I see xz-compressed modules are supported, which is definitely useful,
but gzip compressed modules are also widely used, and have different CPU
vs. storage space tradeoffs.

Patch attached.

live well,
  vagrant
From 45f30b6510e1275b4261cdb08ec0644e8defb31c Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@debian.org>
Date: Sat, 9 May 2020 14:43:20 -0700
Subject: [PATCH] Enable support for gzip-compressed modules.

Add Build-Depends on zlib1g-dev.
---
 debian/control | 2 +-
 debian/rules   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 0abc91d..9c8a015 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: admin
 Priority: important
 Maintainer: Marco d'Itri <m...@linux.it>
 Build-Depends: debhelper-compat (= 12), liblzma-dev, libssl-dev, xsltproc,
-  autoconf, automake, libtool, gtk-doc-tools
+  autoconf, automake, libtool, gtk-doc-tools, zlib1g-dev
 Standards-Version: 4.4.0.1
 Rules-Requires-Root: no
 Vcs-Git: https://salsa.debian.org/md/kmod.git
diff --git a/debian/rules b/debian/rules
index b40ac59..4345679 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,7 @@ CONFFLAGS_deb  = $(CONFFLAGS) \
   --enable-gtk-doc \
   --with-openssl \
   --with-xz \
+  --with-zlib \
   --enable-debug
 CONFFLAGS_udeb = $(CONFFLAGS) \
   $(subst -O2,-Os -fomit-frame-pointer,$(shell DEB_BUILD_MAINT_OPTIONS="hardening=-all" \
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature

Reply via email to