Source: php-defaults
Version: 93
Tags: patch
User: [email protected]
Usertags: dep17m2
We want to move aliased files from / to /usr to finalize the /usr-merge
transition via DEP17. php-common is affected, because it installs
systemd units. Rather than move them, I recommend deferring the
placement to debhelper, because that'll make it revert to the previous
location for bookworm-backports to honour the file move moratorium that
still is in effect there. debdiff cannot represent the patch due to the
use of symlinks, so I'll give a script here:
ln -s ../phpsessionclean.timer debian/php-common.phpsessionclean.timer
ln -s ../phpsessionclean.service debian/php-common.phpsessionclean.service
sed -i -e /systemd/d debian/php-common.install
In debian/rules change
dh_systemd_enable --package=php-common phpsessionclean.timer
to
dh_systemd_enable --package=php-common --name phpsessionclean
phpsessionclean.timer
dh_systemd_enable --package=php-common --name phpsessionclean --no-enable
phpsessionclean.service
Helmut