• Bug#1102912: heimdal: depend on libcrypt-dev explicitly

    From Helmut Grohne@21:1/5 to All on Sun Apr 13 08:20:01 2025
    Source: heimdal
    Version: 7.8.git20221117.28daf24+dfsg-9
    Tags: patch
    User: helmutg@debian.org
    Usertags: libcrypt-pkgconf

    heimdal uses libxcrypt during build, but it also exposes this header to
    its downstreams by including -lcrypt in the pkgconf .pc files installed
    by heimdal-multidev. There is an effort[1] to drop libcrypt-dev from the build-essential package set. This will not happen during the trixie
    freeze, but some months into the forky cycle. Once dropped, heimdal and
    reverse dependencies of heimdal-multidev will fail to build from source.
    While looking into it, I noticed that one of the .pc files also contains -lroken without a matching dependency. I'm attaching a patch to make
    these dependencies explicit. It is safe for inclusion into trixie, but
    it does not warrant an upload of its own at this time of the freeze.

    Helmut

    diff -Nru heimdal-7.8.git20221117.28daf24+dfsg/debian/changelog heimdal-7.8.git20221117.28daf24+dfsg/debian/changelog
    --- heimdal-7.8.git20221117.28daf24+dfsg/debian/changelog 2025-03-04 00:58:18.000000000 +0100
    +++ heimdal-7.8.git20221117.28daf24+dfsg/debian/changelog 2025-04-13 07:53:32.000000000 +0200
    @@ -1,3 +1,10 @@
    +heimdal (7.8.git20221117.28daf24+dfsg-9.1) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Explicitly depend on libcrypt-dev. (Closes: #-1)
    +
    + -- Helmut Grohne <helmut@subdivi.de> Sun, 13 Apr 2025 07:53:32 +0200
    +
    heimdal (7.8.git20221117.28daf24+dfsg-9) unstable; urgency=medium

    * Use kadmin.heimdal in postinst instead of heimdal. Closes: #1070031.
    diff -Nru heimdal-7.8.git20221117.28daf24+dfsg/debian/control heimdal-7.8.git20221117.28daf24+dfsg/debian/control
    --- heimdal-7.8.git20221117.28daf24+dfsg/debian/control 2024-08-08 03:22:29.000000000 +0200
    +++ heimdal-7.8.git20221117.28daf24+dfsg/debian/control 2025-04-13 07:53:30.000000000 +0200
    @@ -10,6 +10,7 @@
    debhelper (>= 10),
    flex,
    libcap-ng-dev [linux-any],
    +