XPost: linux.debian.devel.release
Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc:
ebook-speaker@packages.debian.org
Control: affects -1 + src:ebook-speaker
User:
release.debian.org@packages.debian.org
Usertags: pu
Hello,
I have uploaded ebook-speaker_6.2.0-4+deb12u1 for inclusion in
bookworm.
[ Reason ]
As reported on
https://github.com/book-readers/ebook-speaker/issues/4
Some users see ebook-speaker just completely fail... just because their
login is longer than 8 characters. oldstable already had the issue.
[ Impact ]
Users with a login longer than 8 characters cannot use ebook-speaker.
[ Tests ]
This was tested manually.
[ Risks ]
The code is rather simple.
[ Checklist ]
[X] *all* changes are documented in the d/changelog
[X] I reviewed all changes and I approve them
[X] attach debdiff against the package in (old)stable
[X] the issue is verified as fixed in unstable
[ Changes ]
The patch gets rid of the use of the cuserid() function which brings the
length limitation. Instead we just compare gids as int rather than
interating over the logins of the group, which won't pose such kind of
issues.
Thanks,
Samuel
diff -Nru ebook-speaker-6.2.0/debian/changelog ebook-speaker-6.2.0/debian/changelog
--- ebook-speaker-6.2.0/debian/changelog 2022-01-08 18:01:53.000000000 +0100
+++ ebook-speaker-6.2.0/debian/changelog 2022-02-06 01:10:26.000000000 +0100
@@ -1,3 +1,9 @@
+ebook-speaker (6.2.0-4+deb12u1) bookworm; urgency=medium
+
+ * patches/long-logins: Fix testing belonging to the audio group.
+
+ -- Samuel Thibault <
sthibault@debian.org> Sun, 06 Feb 2022 01:10:26 +0100
+
ebook-speaker (6.2.0-4) unstable; urgency=medium
* control: Bump Standards-Version to 4.6.0 (no change)
diff -Nru ebook-speaker-6.2.0/debian/patches/long-logins ebook-speaker-6.2.0/debian/patches/long-logins
--- ebook-speaker-6.2.0/debian/patches/long-logins 1970-01-01 01:00:00.000000000 +0100
+++ ebook-speaker-6.2.0/debian/patches/long-logins 2022-02-06 01:10:26.000000000 +0100
@@ -0,0 +1,47 @@
+commit b29f4884e9a7637e09f93f8d53973c83a69670d9
+Author: Samuel Thibault <
samuel.thibault@ens-lyon.org>
+Date: Sun Feb 11 21:32:24 2024 +0100
+
+ Fix testing belonging to the audio group
+
+ cuserid() is limite