Dear maintainer,

I've prepared an NMU for keyutils (versioned as 1.6.3-3.1). The diff
is attached to this message.

Regards.

diff -Nru keyutils-1.6.3/debian/changelog keyutils-1.6.3/debian/changelog
--- keyutils-1.6.3/debian/changelog	2024-02-06 09:09:45.000000000 +0100
+++ keyutils-1.6.3/debian/changelog	2024-10-20 19:10:45.000000000 +0200
@@ -1,3 +1,11 @@
+keyutils (1.6.3-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply patch from Aurelien Jarno to fix build in
+    unshare (Closes: #1070012)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Sun, 20 Oct 2024 19:10:45 +0200
+
 keyutils (1.6.3-3) unstable; urgency=medium
 
   [ Helmut Grohne ]
diff -Nru keyutils-1.6.3/debian/patches/1070012-root.patch keyutils-1.6.3/debian/patches/1070012-root.patch
--- keyutils-1.6.3/debian/patches/1070012-root.patch	1970-01-01 01:00:00.000000000 +0100
+++ keyutils-1.6.3/debian/patches/1070012-root.patch	2024-10-20 19:10:43.000000000 +0200
@@ -0,0 +1,13 @@
+Index: keyutils-1.6.3/tests/toolbox.inc.sh
+===================================================================
+--- keyutils-1.6.3.orig/tests/toolbox.inc.sh
++++ keyutils-1.6.3/tests/toolbox.inc.sh
+@@ -45,7 +45,7 @@ fi
+ 
+ maxcall=$fullpage
+ 
+-maxsquota=`grep '^ *0': /proc/key-users | sed s@.*/@@`
++maxsquota=`grep "^ *$UID": /proc/key-users | sed s@.*/@@`
+ 
+ key_gc_delay_file="/proc/sys/kernel/keys/gc_delay"
+ if [ -f $key_gc_delay_file ]; then
diff -Nru keyutils-1.6.3/debian/patches/series keyutils-1.6.3/debian/patches/series
--- keyutils-1.6.3/debian/patches/series	2024-02-06 09:09:45.000000000 +0100
+++ keyutils-1.6.3/debian/patches/series	2024-10-20 19:05:48.000000000 +0200
@@ -6,3 +6,4 @@
 man-page-fixes.patch
 Tests-for-KEYCTL_MOVE-require-kernel-5.3-or-above.patch
 Mark-test-requiring-root-as-such.patch
+1070012-root.patch

Reply via email to