Source: oss-compat
Version: 7
Priority: wishlist
Tags: patch moreinfo
User: helm...@debian.org
Usertags: dep17m2

Dear Maintainer,

your package installs a file into /lib. For the Debian UsrMerge
effort [1] this file needs to move to /usr/lib.

Attached you will find a patch implementing this.

However: at the time of writing you should not upload this to
unstable, thus I tagged this bug "moreinfo".

Feel free to upload to experimental.
Once the wiki page [1] no longer says "pause moves", you may upload
this to unstable too.

I'm guessing oss-compat does not get backports or major
restructuring during trixie. If it does, please see the wiki page on
how to proceed.

Thanks,
Chris

diff -Nru oss-compat-7/debian/changelog oss-compat-7+nmu1/debian/changelog
--- oss-compat-7/debian/changelog	2018-05-15 20:52:02.000000000 +0200
+++ oss-compat-7+nmu1/debian/changelog	2023-12-08 23:07:54.000000000 +0100
@@ -1,3 +1,10 @@
+oss-compat (7+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move /lib/oss-compat to /usr/lib/oss-compat.
+
+ -- Chris Hofstaedtler <z...@debian.org>  Fri, 08 Dec 2023 23:07:54 +0100
+
 oss-compat (7) unstable; urgency=medium
 
   * Migrate to Salsa.
diff -Nru oss-compat-7/debian/dirs oss-compat-7+nmu1/debian/dirs
--- oss-compat-7/debian/dirs	2008-07-22 09:40:00.000000000 +0200
+++ oss-compat-7+nmu1/debian/dirs	2023-12-08 23:04:06.000000000 +0100
@@ -1,2 +1,2 @@
 etc/modprobe.d
-lib/oss-compat
+usr/lib/oss-compat
diff -Nru oss-compat-7/debian/install oss-compat-7+nmu1/debian/install
--- oss-compat-7/debian/install	2006-09-11 14:54:04.000000000 +0200
+++ oss-compat-7+nmu1/debian/install	2023-12-08 23:04:01.000000000 +0100
@@ -1 +1 @@
-linux	lib/oss-compat
+linux	usr/lib/oss-compat
diff -Nru oss-compat-7/debian/postinst oss-compat-7+nmu1/debian/postinst
--- oss-compat-7/debian/postinst	2018-05-14 15:37:59.000000000 +0200
+++ oss-compat-7+nmu1/debian/postinst	2023-12-08 23:07:31.000000000 +0100
@@ -30,13 +30,13 @@
             cp ${oldconffile} ${curconffile}
           else
             # Installing from scratch
-            cp /lib/oss-compat/linux ${curconffile}
+            cp /usr/lib/oss-compat/linux ${curconffile}
           fi
         fi
         # Cleanup extension-less configuration link
         [ -L ${oldconffile} ] && rm -f ${oldconffile}
         # Wheezy configuration file (using install directives)
-        [ -f ${curconffile} ] && [ "$(md5sum ${curconffile} | cut -d\  -f1)" = "88222606b0a3ba8b0825c5000c754e6f" ] && cp /lib/oss-compat/linux ${curconffile}
+        [ -f ${curconffile} ] && [ "$(md5sum ${curconffile} | cut -d\  -f1)" = "88222606b0a3ba8b0825c5000c754e6f" ] && cp /usr/lib/oss-compat/linux ${curconffile}
 
         if lsmod | grep -q "^snd " ; then
           modprobe snd || true

Reply via email to