Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 + src:ckb-next
User: [email protected]
Usertags: pu

[ Reason ]
Upstream has reached out via IRC on #debian that the package in trixie (and
downstream distros) doesn't correctly install the systemd unit and sysv init
script, resulting in an unusable installation and many complaints upstream.

The fix for the missing systemd unit is trivial, debian/rules was missing an
escape (typo). I had to also add .postinst and .postrm maintainer scripts.

I also added "gpg-from-sq | gpg" as deps, since there's an unsafe firmware
update fallback that breaks e2e encryption (this is a security issue).

[ Impact ]
I guess due to the low popcon people haven't complained yet, but upstream has
confirmed that it's 100% broken in trixie and a few people filed bugs with
upstream instead of Debian.

[ Tests ]
I did the usual tests (lintian, piuparts, manual install). I shared the binaries
with the upstream dev and they confirmed that it fixed the issue on upgrade to
this package, and also on a fresh install to this package.

[ Risks ]
It's a bigger change than I want for a +deb13u1, but in this case it's the
minimal necessary to make it work again.

[ 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 ]
* Fix typo causing init systems' config not to be installed (Closes: #1119076)
* Add debian/gbp.conf to follow trixie release branch
* Correctly initialize sysv init scripts
* Ensure firmware updates are cryptographically verified
diff -Nru ckb-next-0.6.2+dfsg/debian/changelog 
ckb-next-0.6.2+dfsg/debian/changelog
--- ckb-next-0.6.2+dfsg/debian/changelog        2025-04-08 17:00:13.000000000 
+0200
+++ ckb-next-0.6.2+dfsg/debian/changelog        2026-01-09 19:08:27.000000000 
+0100
@@ -1,3 +1,13 @@
+ckb-next (0.6.2+dfsg-0.1+deb13u1) trixie; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix typo causing init systems' config not to be installed (Closes: 
#1119076)
+  * Add debian/gbp.conf to follow trixie release branch
+  * Correctly initialize sysv init scripts
+  * Ensure firmware updates are cryptographically verified
+
+ -- Lee Garrett <[email protected]>  Fri, 09 Jan 2026 19:08:27 +0100
+
 ckb-next (0.6.2+dfsg-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru ckb-next-0.6.2+dfsg/debian/ckb-next.postinst 
ckb-next-0.6.2+dfsg/debian/ckb-next.postinst
--- ckb-next-0.6.2+dfsg/debian/ckb-next.postinst        1970-01-01 
01:00:00.000000000 +0100
+++ ckb-next-0.6.2+dfsg/debian/ckb-next.postinst        2026-01-09 
19:08:27.000000000 +0100
@@ -0,0 +1,5 @@
+#!/usr/bin/sh
+
+set -e
+
+#DEBHELPER#
diff -Nru ckb-next-0.6.2+dfsg/debian/ckb-next.postrm 
ckb-next-0.6.2+dfsg/debian/ckb-next.postrm
--- ckb-next-0.6.2+dfsg/debian/ckb-next.postrm  1970-01-01 01:00:00.000000000 
+0100
+++ ckb-next-0.6.2+dfsg/debian/ckb-next.postrm  2026-01-09 19:08:27.000000000 
+0100
@@ -0,0 +1,5 @@
+#!/usr/bin/sh
+
+set -e
+
+#DEBHELPER#
diff -Nru ckb-next-0.6.2+dfsg/debian/control ckb-next-0.6.2+dfsg/debian/control
--- ckb-next-0.6.2+dfsg/debian/control  2025-04-08 17:00:13.000000000 +0200
+++ ckb-next-0.6.2+dfsg/debian/control  2026-01-09 19:08:27.000000000 +0100
@@ -23,7 +23,8 @@
 
 Package: ckb-next
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, gpg-from-sq | gpg
 Description: driver for Corsair keyboards and mice
  ckb-next is an open-source driver for Corsair keyboards and mice.
  It aims to bring the features of Corsair's proprietary CUE
diff -Nru ckb-next-0.6.2+dfsg/debian/gbp.conf 
ckb-next-0.6.2+dfsg/debian/gbp.conf
--- ckb-next-0.6.2+dfsg/debian/gbp.conf 1970-01-01 01:00:00.000000000 +0100
+++ ckb-next-0.6.2+dfsg/debian/gbp.conf 2026-01-09 19:08:27.000000000 +0100
@@ -0,0 +1,4 @@
+[DEFAULT]
+debian-branch = debian/trixie
+pristine-tar = True
+sign-tags = True
diff -Nru ckb-next-0.6.2+dfsg/debian/rules ckb-next-0.6.2+dfsg/debian/rules
--- ckb-next-0.6.2+dfsg/debian/rules    2025-04-08 17:00:13.000000000 +0200
+++ ckb-next-0.6.2+dfsg/debian/rules    2026-01-09 19:08:27.000000000 +0100
@@ -19,7 +19,10 @@
 override_dh_auto_configure:
        dh_auto_configure -- \
                -DCMAKE_INSTALL_LIBEXECDIR=lib/$(DEB_HOST_MULTIARCH) \
-               -DUDEV_RULE_DIRECTORY=/usr/lib/udev/rules.d
+               -DUDEV_RULE_DIRECTORY=/usr/lib/udev/rules.d \
                -DSYSTEMD_UNIT_INSTALL_DIR=/usr/lib/systemd/system \
                -DDISABLE_UPDATER=ON \
                -DFORCE_INIT_SYSTEM='systemd;sysvinit'
+
+override_dh_installinit:
+       dh_installinit --name=ckb-next-daemon --onlyscripts

Reply via email to