Control: user [email protected] Control: usertags -1 + dep17m2 Control: tags -1 + patch
On Tue, Dec 24, 2019 at 11:52:56AM -0500, Boyuan Yang wrote: > With the progress of usrmerge, it should be reasonable to move libcap-ng so > files back to /usr/lib/ when usrmerge becomes the default of Debian > installation. (See https://bugs.debian.org/829126 and > https://bugs.debian.org/828992 for the original reason of moving the library > into /lib). The file move moratorium has now been delegated to https://wiki.debian.org/UsrMerge. We now can move, but need to be careful. https://subdivi.de/~helmut/dep17.html lists a few problem classes to watch out for. If we were to rename libcap-ng0 to libcap-ng0t64 as part of https://wiki.debian.org/ReleaseGoals/64bit-time, that would cause a file loss scenario (DEP17 P1), but it is listed as not-affected. Most other problems do not apply. Multiarch shared file loss (P7) does not apply, because the libraries are installed to architecture-dependent paths. I locally verified that the change does not impact filesystem bootstrap. Since no udebs are built, the debian-installer is not affected (P10). Hence, we are good to go. I do not expect libcap-ng to be uploaded to bookworm-backports and therefore changed the paths directly in the attached patch. This patch should not be uploaded to bookworm-backports. If that's relevant to you, consider using dh_movetousr instead. Also keep in mind that restructuring changes (such as libcap-ng0t64) should be uploaded to experimental first to let dumat analyze your change for possible problems. Helmut
diff --minimal -Nru libcap-ng-0.8.3/debian/changelog libcap-ng-0.8.3/debian/changelog --- libcap-ng-0.8.3/debian/changelog 2022-06-23 07:22:33.000000000 +0200 +++ libcap-ng-0.8.3/debian/changelog 2023-11-14 12:42:31.000000000 +0100 @@ -1,3 +1,10 @@ +libcap-ng (0.8.3-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Move libraries to /usr. Closes: #-1 + + -- Helmut Grohne <[email protected]> Tue, 14 Nov 2023 12:42:31 +0100 + libcap-ng (0.8.3-1) unstable; urgency=medium * New upstream release. Closes: #1004519 diff --minimal -Nru libcap-ng-0.8.3/debian/libcap-ng0.install libcap-ng-0.8.3/debian/libcap-ng0.install --- libcap-ng-0.8.3/debian/libcap-ng0.install 2022-06-23 07:22:33.000000000 +0200 +++ libcap-ng-0.8.3/debian/libcap-ng0.install 2023-11-14 12:42:23.000000000 +0100 @@ -1 +1 @@ -lib/*/lib*.so.* +usr/lib/*/lib*.so.* diff --minimal -Nru libcap-ng-0.8.3/debian/rules libcap-ng-0.8.3/debian/rules --- libcap-ng-0.8.3/debian/rules 2022-06-23 07:22:33.000000000 +0200 +++ libcap-ng-0.8.3/debian/rules 2023-11-14 12:42:13.000000000 +0100 @@ -34,12 +34,6 @@ done find $(CURDIR)/debian/tmp -name *.la -delete - mkdir -p $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH) && \ - mv $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lib*.so.0* $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/; \ - rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libcap-ng.so; \ - ln -s ../../../lib/$(DEB_HOST_MULTIARCH)/libcap-ng.so.0.0.0 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libcap-ng.so; \ - rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdrop_ambient.so; \ - ln -s ../../../lib/$(DEB_HOST_MULTIARCH)/libdrop_ambient.so.0.0.0 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libdrop_ambient.so; \ override_dh_auto_test: for V in $(PY3VERS); do \

