Your message dated Thu, 30 Nov 2023 21:49:04 +0000
with message-id <[email protected]>
and subject line Bug#1056997: fixed in bmusb 0.7.7-1
has caused the Debian Bug report #1056997,
regarding libbmusb6: Let udev.pc decide where to install rules
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1056997: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056997
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libbmusb6
Version: 0.7.5-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: dep17m2

Dear Maintainer,

your package ships a udev rules file in /lib/udev/rules.d, and currently
hard-codes this path. As part of the UsrMerge effort[1], the install
path for udev rules must and will change soon. To pick up this change
with a binNMU, your package can use pkg-config to determine the install
location.

I'm attaching a patch to implement this.

Please apply at your earliest convenience.

Thanks,
Chris
diff -Nru bmusb-0.7.5/debian/changelog bmusb-0.7.5/debian/changelog
--- bmusb-0.7.5/debian/changelog        2020-04-07 21:29:27.000000000 +0200
+++ bmusb-0.7.5/debian/changelog        2023-11-27 18:41:53.000000000 +0100
@@ -1,3 +1,10 @@
+bmusb (0.7.5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Defer placement of udev rules file to udev's pkg-config data.
+
+ -- Chris Hofstaedtler <[email protected]>  Mon, 27 Nov 2023 18:41:53 +0100
+
 bmusb (0.7.5-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru bmusb-0.7.5/debian/compat bmusb-0.7.5/debian/compat
--- bmusb-0.7.5/debian/compat   2016-07-26 13:29:10.000000000 +0200
+++ bmusb-0.7.5/debian/compat   1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-9
diff -Nru bmusb-0.7.5/debian/control bmusb-0.7.5/debian/control
--- bmusb-0.7.5/debian/control  2019-04-19 10:00:21.000000000 +0200
+++ bmusb-0.7.5/debian/control  2023-11-27 18:41:53.000000000 +0100
@@ -1,7 +1,7 @@
 Source: bmusb
 Priority: optional
 Maintainer: Steinar H. Gunderson <[email protected]>
-Build-Depends: debhelper (>= 9), libusb-1.0-0-dev, pkg-config
+Build-Depends: debhelper-compat (= 13), libusb-1.0-0-dev, pkg-config, udev
 Standards-Version: 3.9.8
 Section: libs
 
diff -Nru bmusb-0.7.5/debian/libbmusb6.install 
bmusb-0.7.5/debian/libbmusb6.install
--- bmusb-0.7.5/debian/libbmusb6.install        2020-04-07 21:29:27.000000000 
+0200
+++ bmusb-0.7.5/debian/libbmusb6.install        2023-11-27 18:38:42.000000000 
+0100
@@ -1,2 +1,2 @@
 usr/lib/*/*.so.*
-lib/udev/rules.d/*
+${env:deb_udevdir}/rules.d/*
diff -Nru bmusb-0.7.5/debian/patches/debian-multiarch.diff 
bmusb-0.7.5/debian/patches/debian-multiarch.diff
--- bmusb-0.7.5/debian/patches/debian-multiarch.diff    2020-04-07 
21:29:27.000000000 +0200
+++ bmusb-0.7.5/debian/patches/debian-multiarch.diff    2023-11-27 
18:39:46.000000000 +0100
@@ -7,16 +7,17 @@
 ===================================================================
 --- bmusb-0.7.5.orig/Makefile
 +++ bmusb-0.7.5/Makefile
-@@ -6,6 +6,8 @@ LN := ln
+@@ -6,6 +6,9 @@ LN := ln
  RANLIB := ranlib
  INSTALL := install
  PREFIX := /usr
 +DEB_MULTIARCH_TRIPLET := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 +LIBDIR := $(PREFIX)/lib/$(DEB_MULTIARCH_TRIPLET)
++UDEVDIR := $(shell pkg-config --variable=udevdir udev)
  LIB := libbmusb.a
  SODEV := libbmusb.so
  SONAME := libbmusb.so.6
-@@ -36,14 +38,16 @@ clean:
+@@ -36,14 +39,16 @@ clean:
  
  install: all
        $(INSTALL) -m 755 -o root -g root -d \
@@ -25,18 +26,20 @@
 +              $(DESTDIR)$(LIBDIR) \
 +              $(DESTDIR)$(LIBDIR)/pkgconfig \
                $(DESTDIR)$(PREFIX)/include/bmusb \
-               $(DESTDIR)/lib/udev/rules.d
+-              $(DESTDIR)/lib/udev/rules.d
 -      $(INSTALL) -m 755 -o root -g root $(LIB) $(SOLIB) 
$(DESTDIR)$(PREFIX)/lib
 -      $(LN) -sf $(SOLIB) $(DESTDIR)$(PREFIX)/lib/$(SONAME)
 -      $(LN) -sf $(SOLIB) $(DESTDIR)$(PREFIX)/lib/$(SODEV)
++              $(DESTDIR)$(UDEVDIR)/rules.d
 +      $(INSTALL) -m 755 -o root -g root $(LIB) $(SOLIB) $(DESTDIR)$(LIBDIR)
 +      $(LN) -sf $(SOLIB) $(DESTDIR)$(LIBDIR)/$(SONAME)
 +      $(LN) -sf $(SOLIB) $(DESTDIR)$(LIBDIR)/$(SODEV)
        $(INSTALL) -m 755 -o root -g root bmusb/bmusb.h bmusb/fake_capture.h 
$(DESTDIR)$(PREFIX)/include/bmusb
 -      $(INSTALL) -m 644 -o root -g root bmusb.pc 
$(DESTDIR)$(PREFIX)/lib/pkgconfig
-+      $(INSTALL) -m 644 -o root -g root bmusb.pc $(DESTDIR)$(LIBDIR)/pkgconfig
-       $(INSTALL) -m 644 -o root -g root 70-bmusb.rules 
$(DESTDIR)/lib/udev/rules.d
+-      $(INSTALL) -m 644 -o root -g root 70-bmusb.rules 
$(DESTDIR)/lib/udev/rules.d
 -
++      $(INSTALL) -m 644 -o root -g root bmusb.pc $(DESTDIR)$(LIBDIR)/pkgconfig
++      $(INSTALL) -m 644 -o root -g root 70-bmusb.rules 
$(DESTDIR)$(UDEVDIR)/rules.d
 +      sed 's/@DEB_MULTIARCH_TRIPLET@/$(DEB_MULTIARCH_TRIPLET)/' < bmusb.pc > 
$(DESTDIR)$(LIBDIR)/pkgconfig/bmusb.pc
 +      chmod 0644 $(DESTDIR)$(LIBDIR)/pkgconfig/bmusb.pc
 +      chown root:root $(DESTDIR)$(LIBDIR)/pkgconfig/bmusb.pc
diff -Nru bmusb-0.7.5/debian/rules bmusb-0.7.5/debian/rules
--- bmusb-0.7.5/debian/rules    2016-07-26 13:41:34.000000000 +0200
+++ bmusb-0.7.5/debian/rules    2023-11-27 18:41:53.000000000 +0100
@@ -1,4 +1,6 @@
 #! /usr/bin/make -f
 
+export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
+
 %:
        dh $@ 

--- End Message ---
--- Begin Message ---
Source: bmusb
Source-Version: 0.7.7-1
Done: Steinar H. Gunderson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
bmusb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steinar H. Gunderson <[email protected]> (supplier of updated bmusb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 30 Nov 2023 22:11:56 +0100
Source: bmusb
Architecture: source
Version: 0.7.7-1
Distribution: unstable
Urgency: medium
Maintainer: Steinar H. Gunderson <[email protected]>
Changed-By: Steinar H. Gunderson <[email protected]>
Closes: 1056997
Changes:
 bmusb (0.7.7-1) unstable; urgency=medium
 .
   * New upstream release.
     * Fetches udevdir from pkg-config. (Closes: #1056997)
     * Simplifies/partly obsoletes the build system patches in debian/patches/.
     * Build-depend on udev, to get the udev rules path.
Checksums-Sha1:
 6d4b456a96adbece2d6f5fa12fb145c480abee2d 1740 bmusb_0.7.7-1.dsc
 8bfd4be5e7edd4dd285e4e11174c5d68241c8a28 32322 bmusb_0.7.7.orig.tar.gz
 a892ae0358f3e21556d0ac3386e336ec76bd2b45 3260 bmusb_0.7.7-1.debian.tar.xz
 f0e146907b49d839cd2557ef03ca0fd2e95a5084 7043 bmusb_0.7.7-1_amd64.buildinfo
Checksums-Sha256:
 14dd4ab529cd1089cdb2f36dc1caeda1ebd07f288df63c6d8e4abd79bba66254 1740 
bmusb_0.7.7-1.dsc
 cbcc13de349e6ded4a87d0284bbf61066ac848d59931efb4eeaa23053a20199c 32322 
bmusb_0.7.7.orig.tar.gz
 3769a66741de3b67cba791191991e98d6654285d9126003ee828b094ba8069f4 3260 
bmusb_0.7.7-1.debian.tar.xz
 3efeb149c30cbb5d4bfdcc47a67ccdcacbc77939089e2e7e9b5ffbaa9611be44 7043 
bmusb_0.7.7-1_amd64.buildinfo
Files:
 2608dcecf42e56eb2d2024067b51eb21 1740 libs optional bmusb_0.7.7-1.dsc
 26f3b1d55f9d4fdb575ed0ad09af6d71 32322 libs optional bmusb_0.7.7.orig.tar.gz
 8af6660928e858b7a89b984560301897 3260 libs optional bmusb_0.7.7-1.debian.tar.xz
 aa14942b6b8cf7e4307e0c2df7393b08 7043 libs optional 
bmusb_0.7.7-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwukAT/AowY5OrduDf2F1YXeXj3YFAmVo/FoACgkQf2F1YXeX
j3bQew//aPEGTiLEEVeARFVtAAKnQUifxVZ1AR0pvsv4LxyKPviOMj3R6zMfUo3w
uDWUT733O7Jrr5U8pfftma++xl5NJUP0kv9Gm8bcXxU7I8txOcS5dZ6JICOP4Szd
ehEDnSdqp/ljbT3FH4yg/Wz/Yfxx2xAyYGqiZf4YtZPc7ERERataMp+GcAlkQIXF
yV3CQenQ7jcJkgqaBCshjFbG0mPhgO/LN1ItYtcYbs/UeuuXmP0VfJ58Z4rhh0XP
jGJQ+51BOpaeRPC7Lo/euTIUYABXjYNTv9gYfuIX1NWVNwXJrdV3RfIXOA9aFj5q
hzX8lwrgCE2Tv16beTbUR6ZpENmJfo7vwmB/cOv2/h9MO9rbjZr2QPVKR+kLFvEe
3a2WUGcSnFJEo9GBZB2zY7QvBUtUbujOTPJzeH8MZ+Df1LM2Yl5B2mDG2zyYES3j
v3wX7EBT0VppjF/wdGLaju5DYCPkev8cMvZG3UbizdCi0WaPHBp6blr7AKNzdfs5
bjFkfJQuXM/TZAUOFmE9dpr98VcedJbcA3jfA72r/Itxw3V68t2bPDtXJkXE8zFs
0HEU66cjl/NZ1gx05B9Y4cy7FYdXVaygerC21xs94OKmGxGtQKt0UCY7t+RRxZwb
FG94eBQ8hfJ5/xx2mKIhxDsAqyibLsd8oRRJ7q5Emp5jAD1mLes=
=/OoB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to