Your message dated Sun, 09 Jun 2024 00:49:38 +0000
with message-id <[email protected]>
and subject line Bug#1058859: fixed in teensy-loader-cli 2.2-1.1
has caused the Debian Bug report #1058859,
regarding teensy-loader-cli: use udev.pc to place udev 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.)


-- 
1058859: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058859
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: teensy-loader-cli
Version: 2.2-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: dep17m2

Dear Maintainer,

your package installs files related to udev, into /lib. These
files need to be moved to /usr/lib as part of Debian's usr-merge
effort [1].

Attached you will find a patch using udev.pc to place the udev files
(using pkg-config). This works today in unstable and also for
bookworm, and is safe to do now.
Once udev.pc in unstable points to /usr/lib, your package will
benefit automatically after a binNMU or any other upload.

If during the trixie cycle your package will undergo structural
changes or any other file moves, please see the wiki and upload
to experimental first when these changes are done.

Later during the trixie cycle I expect this bug class to raise in
priority.

Thank you for considering,
Chris

[1] https://wiki.debian.org/UsrMerge
diff -Nru teensy-loader-cli-2.2/debian/49-teensy.rules teensy-loader-cli-2.2/debian/49-teensy.rules
--- teensy-loader-cli-2.2/debian/49-teensy.rules	2022-01-11 14:30:43.000000000 +0100
+++ teensy-loader-cli-2.2/debian/49-teensy.rules	1970-01-01 01:00:00.000000000 +0100
@@ -1,38 +0,0 @@
-# UDEV Rules for Teensy boards, http://www.pjrc.com/teensy/
-#
-# The latest version of this file may be found at:
-#   http://www.pjrc.com/teensy/49-teensy.rules
-#
-# This file must be placed at:
-#
-# /etc/udev/rules.d/49-teensy.rules    (preferred location)
-#   or
-# /lib/udev/rules.d/49-teensy.rules    (req'd on some broken systems)
-#
-# To install, type this command in a terminal:
-#   sudo cp 49-teensy.rules /etc/udev/rules.d/49-teensy.rules
-#
-# Or use the alternate way (from this forum message) to download and install:
-#   https://forum.pjrc.com/threads/45595?p=150445&viewfull=1#post150445
-#
-# After this file is installed, physically unplug and reconnect Teensy.
-#
-ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
-ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", TAG+="uaccess", TAG+="udev-acl"
-KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", TAG+="uaccess", TAG+="udev-acl"
-#
-# If you share your linux system with other users, or just don't like the
-# idea of write permission for everybody, you can replace MODE:="0666" with
-# OWNER:="yourusername" to create the device owned by you, or with
-# GROUP:="somegroupname" and mange access using standard unix groups.
-#
-#
-# If using USB Serial you get a new device each time (Ubuntu 9.10)
-# eg: /dev/ttyACM0, ttyACM1, ttyACM2, ttyACM3, ttyACM4, etc
-#    apt-get remove --purge modemmanager     (reboot may be necessary)
-#
-# Older modem proding (eg, Ubuntu 9.04) caused very slow serial device detection.
-# To fix, add this near top of /lib/udev/rules.d/77-nm-probe-modem-capabilities.rules
-#   SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", GOTO="nm_modem_probe_end" 
-#
diff -Nru teensy-loader-cli-2.2/debian/changelog teensy-loader-cli-2.2/debian/changelog
--- teensy-loader-cli-2.2/debian/changelog	2022-01-15 21:59:54.000000000 +0100
+++ teensy-loader-cli-2.2/debian/changelog	2023-12-16 23:07:45.000000000 +0100
@@ -1,3 +1,10 @@
+teensy-loader-cli (2.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Let dh_installudev install udev rules. (Closes: #-1)
+
+ -- Chris Hofstaedtler <[email protected]>  Sat, 16 Dec 2023 23:07:45 +0100
+
 teensy-loader-cli (2.2-1) unstable; urgency=medium
 
   * New upstream release, contained all debian patches
diff -Nru teensy-loader-cli-2.2/debian/install teensy-loader-cli-2.2/debian/install
--- teensy-loader-cli-2.2/debian/install	2022-01-11 14:30:43.000000000 +0100
+++ teensy-loader-cli-2.2/debian/install	2023-12-16 23:07:45.000000000 +0100
@@ -1,2 +1 @@
 teensy_loader_cli /usr/bin/
-debian/49-teensy.rules /lib/udev/rules.d/
diff -Nru teensy-loader-cli-2.2/debian/rules teensy-loader-cli-2.2/debian/rules
--- teensy-loader-cli-2.2/debian/rules	2022-01-11 14:30:43.000000000 +0100
+++ teensy-loader-cli-2.2/debian/rules	2023-12-16 23:07:45.000000000 +0100
@@ -12,3 +12,6 @@
 
 %:
 	dh $@
+
+override_dh_installudev:
+	dh_installudev --priority=49 --name=teensy
diff -Nru teensy-loader-cli-2.2/debian/teensy-loader-cli.teensy.udev teensy-loader-cli-2.2/debian/teensy-loader-cli.teensy.udev
--- teensy-loader-cli-2.2/debian/teensy-loader-cli.teensy.udev	1970-01-01 01:00:00.000000000 +0100
+++ teensy-loader-cli-2.2/debian/teensy-loader-cli.teensy.udev	2022-01-11 14:30:43.000000000 +0100
@@ -0,0 +1,38 @@
+# UDEV Rules for Teensy boards, http://www.pjrc.com/teensy/
+#
+# The latest version of this file may be found at:
+#   http://www.pjrc.com/teensy/49-teensy.rules
+#
+# This file must be placed at:
+#
+# /etc/udev/rules.d/49-teensy.rules    (preferred location)
+#   or
+# /lib/udev/rules.d/49-teensy.rules    (req'd on some broken systems)
+#
+# To install, type this command in a terminal:
+#   sudo cp 49-teensy.rules /etc/udev/rules.d/49-teensy.rules
+#
+# Or use the alternate way (from this forum message) to download and install:
+#   https://forum.pjrc.com/threads/45595?p=150445&viewfull=1#post150445
+#
+# After this file is installed, physically unplug and reconnect Teensy.
+#
+ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
+ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", TAG+="uaccess", TAG+="udev-acl"
+KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", TAG+="uaccess", TAG+="udev-acl"
+#
+# If you share your linux system with other users, or just don't like the
+# idea of write permission for everybody, you can replace MODE:="0666" with
+# OWNER:="yourusername" to create the device owned by you, or with
+# GROUP:="somegroupname" and mange access using standard unix groups.
+#
+#
+# If using USB Serial you get a new device each time (Ubuntu 9.10)
+# eg: /dev/ttyACM0, ttyACM1, ttyACM2, ttyACM3, ttyACM4, etc
+#    apt-get remove --purge modemmanager     (reboot may be necessary)
+#
+# Older modem proding (eg, Ubuntu 9.04) caused very slow serial device detection.
+# To fix, add this near top of /lib/udev/rules.d/77-nm-probe-modem-capabilities.rules
+#   SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", GOTO="nm_modem_probe_end" 
+#

--- End Message ---
--- Begin Message ---
Source: teensy-loader-cli
Source-Version: 2.2-1.1
Done: Chris Hofstaedtler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
teensy-loader-cli, 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.
Chris Hofstaedtler <[email protected]> (supplier of updated teensy-loader-cli 
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 May 2024 02:13:46 +0200
Source: teensy-loader-cli
Architecture: source
Version: 2.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Team 
<[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 1058859
Changes:
 teensy-loader-cli (2.2-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Let dh_installudev install udev rules. (Closes: #1058859)
Checksums-Sha1:
 fd3d218f0b32053dedfcdcc1209aec7bb5c526d0 2033 teensy-loader-cli_2.2-1.1.dsc
 c9dbfa6b33cbf755c7e8e9007926b9ec33c0244b 4404 
teensy-loader-cli_2.2-1.1.debian.tar.xz
 5c23f95cf9e09ae7f5e9d6e20a5b249e96a654b6 5957 
teensy-loader-cli_2.2-1.1_arm64.buildinfo
Checksums-Sha256:
 67e6605a8cbb5c6eb805bca2a9140710b7608f31237ec6c2c674a52e90e0642b 2033 
teensy-loader-cli_2.2-1.1.dsc
 8f634e8f54d232d51972d6530308e3fd51d2e0a598d3fdb8b8a9732bfb0c124e 4404 
teensy-loader-cli_2.2-1.1.debian.tar.xz
 5531dafcf6bce693bfa39c3a267830692efe0f02c37e323aae86e56c46d620c0 5957 
teensy-loader-cli_2.2-1.1_arm64.buildinfo
Files:
 7bf395ce3ea5ebac95398efc5f69b5a8 2033 devel optional 
teensy-loader-cli_2.2-1.1.dsc
 38d5abc21844b876b172256bd7236734 4404 devel optional 
teensy-loader-cli_2.2-1.1.debian.tar.xz
 6e424e4b4083b53d67a71c383d1ba12e 5957 devel optional 
teensy-loader-cli_2.2-1.1_arm64.buildinfo

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

iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmZXxPsACgkQXBPW25MF
LgPdWBAAqBqjROzW9BkqnpqGJNZ0ZVz6Pw3eaiEiLqjprATcEaU92LK5/tkfDLu3
LtqxgEwyucJ0D4zNKbMWTvNEA31OawQN0z/H7zum5tB7Mpwzby+Ub55pSGRfiIAQ
k24SgqA41fD6PkIaw30zU6A7EVpWC0LVoFJzxNW+gb6UQREVucLXS3qWqMb6PUvx
lrS1W9EzEY9aju+p37xXGyb1Mu2SCbJB0TN5OHBFcitPgb8fq5yw4UAhZA8jVXOj
Jd1NHAlOhGqXDYKavzfWWTwB49glkFnGMhI5IVd4vd895N9IMk9zJKjuea+uP5Is
0vSfLREbRsyzfb0Qz5ki5Zx+XFk3oFvUNy6BybJ8JbKbDKQRIum1Oc4o0n09IY2W
ycwB3vNY9DRkS7pQleKbM1DLPh572DR9YI3Fz/nJ5X8/pe4G/9VB2NAWVcwlKdl6
vexsZjPrWq+XlbJ4iVbqJefeAsVMDE/cmROrx8Fu9SkMz4dSID4qP5fBQ730oFsS
L3wr+uS4Jmlvf1EVShli4W1M67jBr+PxbefE9asgR+gEFHYaCQY04unx+tyxrlhk
G51WMspch1ZeLQXXwMcz+NxngMf3K6XVkpRIJT3VRitRtDKZNETBCBu8xYISEHoo
rQ9TZ7sVg3Bi1Eyn07NrSFcPNwxGdL58a6ZfnzzU7Tdbr4GrrGs=
=Aqlx
-----END PGP SIGNATURE-----

Attachment: pgpQ0JdULyuH4.pgp
Description: PGP signature


--- End Message ---

Reply via email to