On Mon, 16 Oct 2023 20:25:23 +0200 Helmut Grohne <[email protected]> wrote:
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

I've submitted a MR at https://salsa.debian.org/php-team/php-defaults/-/merge_requests/5 which allows the use of symlinks as proposed in this patch.

I diffed the generated maintscripts code to be sure it does the correct thing.

Please consider applying this change at your earliest convenience.

Regards,
Michael

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to