Your message dated Mon, 15 Jun 2026 18:56:01 +0000
with message-id <[email protected]>
and subject line Bug#1139286: fixed in rockdodger 1.1.4-5
has caused the Debian Bug report #1139286,
regarding rockdodger: please consider using dh-cruft to clean
/var/games/{,rockdodger.scores}
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.)
--
1139286: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139286
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rockdodger
Version: 1.1.4-4
Severity: normal
Dear Maintainer,
Please consider using dh-cruft to register & purge /var/games/rockdodger.scores.
This has several benefits:
*) On the technical side, this keep your game in sync
with the one maintained by Games Team
without any supplemental later work needed on your side.
The "rmdir --ignore-fail-on-non-empty /var/games/" for example.
https://lists.debian.org/debian-devel-games/2025/12/msg00016.html
*) This relieves the cruft-ng maintainers from having to write
~1000 shadow rules for the cruft-ng forensic tool;
that will slowly bitrot over the years:
https://salsa.debian.org/pkg-security-team/cruft-ng/-/blob/master/rules/rockdodger?ref_type=heads
Please have a look a the newly generated postrm script & the patch itself.
Greetings
Alexandre
========== new postrm =====================
$ cat /var/lib/dpkg/info/rockdodger.postrm
#!/bin/sh -e
if [ "$1" = purge ]
then
if [ -x /usr/bin/update-desktop-database ]
then
update-desktop-database -q
fi
fi
# Automatically added by dh_cruft/0.9.85
if [ "$1" = "purge" ]
then
# we need to glob, so no quotes
rm -rf ${DPKG_ROOT:-}/var/games/rockdodger.scores
if test -d ${DPKG_ROOT:-}/var/games/
then
rmdir --ignore-fail-on-non-empty ${DPKG_ROOT:-}/var/games/
fi
fi
# End automatically added section
================ PATCH ====================
/tmp/rockdodger$ git diff HEAD~
diff --git a/debian/control b/debian/control
index 36b4f82..e5631ad 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,11 @@ Source: rockdodger
Section: games
Priority: optional
Maintainer: Martin A. Godisch <[email protected]>
-Build-Depends: debhelper-compat (= 13), libsdl-image1.2-dev,
libsdl-mixer1.2-dev
+Build-Depends:
+ debhelper-compat (= 13),
+ dh-sequence-cruft,
+ libsdl-image1.2-dev,
+ libsdl-mixer1.2-dev,
Rules-Requires-Root: no
Standards-Version: 4.7.4
Homepage: https://bitbucket.org/rpkrawczyk/rockdodger
diff --git a/debian/rockdodger.postrm b/debian/rockdodger.postrm
index 6b7de3a..4549297 100644
--- a/debian/rockdodger.postrm
+++ b/debian/rockdodger.postrm
@@ -2,8 +2,6 @@
if [ "$1" = purge ]
then
- rm -f /var/games/rockdodger.scores
-
if [ -x /usr/bin/update-desktop-database ]
then
update-desktop-database -q
diff --git a/debian/rockdodger.purge b/debian/rockdodger.purge
new file mode 100644
index 0000000..ee4e50a
--- /dev/null
+++ b/debian/rockdodger.purge
@@ -0,0 +1 @@
+/var/games/rockdodger.scores
=====================================
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 7.0.10+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages rockdodger depends on:
ii libc6 2.42-16
ii libsdl-image1.2 1.2.12-14+b2
ii libsdl-mixer1.2 1.2.12-19+b2
ii libsdl1.2debian 1.2.76-1
rockdodger recommends no packages.
rockdodger suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: rockdodger
Source-Version: 1.1.4-5
Done: Martin A. Godisch <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rockdodger, 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.
Martin A. Godisch <[email protected]> (supplier of updated rockdodger 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: SHA512
Format: 1.8
Date: Mon, 15 Jun 2026 20:13:42 +0200
Source: rockdodger
Architecture: source
Version: 1.1.4-5
Distribution: unstable
Urgency: medium
Maintainer: Martin A. Godisch <[email protected]>
Changed-By: Martin A. Godisch <[email protected]>
Closes: 1038551 1105733 1139286
Changes:
rockdodger (1.1.4-5) unstable; urgency=medium
.
* Fix FTBFS with make --shuffle=random: declare the dependency of the
objects on the generated config.h explicitly (new patch
make-shuffle.diff), closes: #1105733.
* Fix FTBR by removing COMPILEDATE (new patch ftbr-compiledate.diff); the
patch also drops the now-unused COMPILEDATE define from the Makefile.
* Use dh-cruft to register and purge /var/games/rockdodger.scores: add
debian/rockdodger.purge, drop the manual removal from the postrm and
build-depend on dh-sequence-cruft, closes: #1139286.
* Port from SDL 1.2 to SDL 2 (new patch sdl2-port.diff); build-depend on
libsdl2-dev, libsdl2-image-dev and libsdl2-mixer-dev instead of the
SDL 1.2 -dev packages, closes: #1038551.
* sdl2-port.diff: use a real fullscreen mode switch (SDL_WINDOW_FULLSCREEN)
and render the framebuffer 1:1 instead of scaling a desktop-sized window,
restoring the crisp text of the SDL 1.2 version.
* Build with hardening=+all so the setgid binary gets bindnow/full RELRO
(the dpkg default only enables partial RELRO).
* Set the setgid-games bit via dpkg-statoverride in the postinst instead of
a bare chmod, so the mode is recorded in dpkg's database; remove it again
in the postrm.
* Drop the manual update-desktop-database calls from the maintainer scripts
and rely on the desktop-file-utils trigger instead.
* Harden runtime path and string handling (new patch
harden-runtime-paths.diff): guard getenv("HOME") against NULL and use
snprintf() for the data-derived version banner and high-score names.
* Polish the .desktop entry: short GenericName plus a Keywords field (new
patch desktop-entry-polish.diff).
* Drop the redundant Priority field from the source stanza (the default is
optional).
Checksums-Sha1:
7f5f0fba37dfe8717c1ce5edfda5d7ec75f35b03 1851 rockdodger_1.1.4-5.dsc
5e10c8ee4bbcf43e9d73b2f176e58c4c03bfc957 19912 rockdodger_1.1.4-5.debian.tar.xz
f233f205926e585f21ca0dc54806f73d19a8aad9 12242
rockdodger_1.1.4-5_amd64.buildinfo
Checksums-Sha256:
e9541140e7a7a68dc29eba41e857994fb1b5d376c41505c5e7e52fb646233a2d 1851
rockdodger_1.1.4-5.dsc
c1fba1d0c98d126472a334e6b52dae14a5736378a64a03710a49bfa6e4960cd3 19912
rockdodger_1.1.4-5.debian.tar.xz
7751658c93efedd5eb6cd5001cbe61709234b3997fa276d361d9b6c06e4512b2 12242
rockdodger_1.1.4-5_amd64.buildinfo
Files:
afc2c6fec4e58f0983babcf4ae4b3c16 1851 games optional rockdodger_1.1.4-5.dsc
28563c37a150b658f984e301215b1945 19912 games optional
rockdodger_1.1.4-5.debian.tar.xz
9f174ca912bf908f6bf5869f64b790e6 12242 games optional
rockdodger_1.1.4-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEEGEIyO0/Pm5CZX6F/o1C5kfBaSFcFAmowQf0THGdvZGlzY2hA
ZGViaWFuLm9yZwAKCRCjULmR8FpIV8KQD/9X2Nk2AVlvyV0ynLyaqv5XxRg2qNbX
sOeWfSEpO/xclCqRnw2xIykjGH2Gwq5r7XWxkiNsrf2jFcYiuDOd0u8Pc1rx19jz
C8ZaXBZkbOwHOtao4GkDvJH5Cz7vY6CDwkApWbRU9fooSgq5CIRHqYnqYdXZX1qo
D00iH0L8bSy7P8GX35HklnjbnFzcWos6o3UFhBfHeqJu6rERHY89QgdEtsNCy28J
B4WwWsoEeKqBwA3Tq9S0/kTq2JCkTL/pRQwvurLdiHYO5UP0mf/YFkQxU8EbsO48
0HZvAU1eCwzqbYbKXFXR48OSAPocVvEJz67bUejblnyh8qSVY0eQcU1lfZlJWEc4
PHoUPwKMpHzNbswzzVhsVTSs5pfpHHlbZzSQva5k8tbDmP6+vDdCM+jW3wBkfwlu
ayinQu8lX+4B1XEl3yUf+pTUhBEyfp27hNoYGuqCvfVZh08B2dPPFTukVZV8wbQ7
MIzh0fM2Dw54L1B22ldesP44oAPD5bveT2A3tVDJnRSEXMvcO43hEeaJjkFk5XCw
8vv2ib35611kEHtM9RXPFt5e0WUyIdwAqX49z//Tv0CtGnnCUXlI/lnz9IEi1AhS
PPGMLMsA+QbjHET4a2b8KT6twtDCu4Q4+zl+2mtmyQ+o7Di69eeecXGP97c0i02z
gcw3US2eYS/duQ==
=s7Mb
-----END PGP SIGNATURE-----
pgpNuFYa8PoEt.pgp
Description: PGP signature
--- End Message ---