• Bug#1063571: libpcre3: move libraries to /usr (DEP17)

    From Helmut Grohne@21:1/5 to All on Fri Feb 9 17:40:01 2024
    Package: libpcre3
    Version: 2:8.39-15
    Tags: patch
    User: helmutg@debian.org
    Usertags: dep17m2

    Hi,

    we want to finalize the /usr-merge transition by moving all aliased
    files from / to /usr via DEP17 to avoid any negative effects arising
    from aliasing. libpcre3 is involved, because installs a shared library
    below /lib. I'm sending a patch, because it cannot be automatically
    converted using dh-sequence-movetousr. Note that this patch must not be uploaded to bookworm-backports or earlier as it would violate the
    earlier file move moratorium there.

    Helmut

    diff --minimal -Nru pcre3-8.39/debian/changelog pcre3-8.39/debian/changelog
    --- pcre3-8.39/debian/changelog 2022-12-22 17:45:21.000000000 +0100
    +++ pcre3-8.39/debian/changelog 2024-02-09 16:13:23.000000000 +0100
    @@ -1,3 +1,10 @@
    +pcre3 (2:8.39-15.1) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Move library to /usr. (Closes: #-1)
    +
    + -- Helmut Grohne <helmut@subdivi.de> Fri, 09 Feb 2024 16:13:23 +0100
    +
    pcre3 (2:8.39-15) unstable; urgency=medium

    * Make currently-important packages optional as pcre3 is obsolete
    diff --minimal -Nru pcre3-8.39/debian/dirs pcre3-8.39/debian/dirs
    --- pcre3-8.39/debian/dirs 2022-12-22 17:45:21.000000000 +0100
    +++ pcre3-8.39/debian/dirs 1970-01-01 01:00:00.000000000 +0100
    @@ -1,2 +0,0 @@
    -usr/bin
    -usr/sbin
    diff --minimal -Nru pcre3-8.39/debian/rules pcre3-8.39/debian/rules
    --- pcre3-8.39/debian/rules 2022-12-22 17:45:21.000000000 +0100
    +++ pcre3-8.39/debian/rules 2024-02-09 16:12:49.000000000 +0100
    @@ -93,10 +93,6 @@
    dh_install -a
    # This man page is in the main package, don't want it in -dev
    rm debian/lib