[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1102909: apr: depend on libcrypt-dev explicitly



Source: apr
Version: 1.7.5-1
Tags: patch
User: helmutg@debian.org 
Usertags: libcrypt-pkgconf
Control: affects -1 + src:lua-svn

apr uses libxcrypt during build, but it also exposes this header to its 
downstreams by including -lcrypt in its pkgconf .pc file. 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, apr and reverse dependencies of libapr1-dev 
will fail to build from source. 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

[1] https://lists.debian.org/debian-devel/2025/04/msg00113.html

diff -Nru apr-1.7.5/debian/changelog apr-1.7.5/debian/changelog
--- apr-1.7.5/debian/changelog	2024-09-07 11:01:36.000000000 +0200
+++ apr-1.7.5/debian/changelog	2025-04-13 07:59:43.000000000 +0200
@@ -1,3 +1,10 @@
+apr (1.7.5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Explicitly depend on libcrypt-dev. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 13 Apr 2025 07:59:43 +0200
+
 apr (1.7.5-1) unstable; urgency=medium
 
   * New usptream version
diff -Nru apr-1.7.5/debian/control apr-1.7.5/debian/control
--- apr-1.7.5/debian/control	2024-09-07 10:36:41.000000000 +0200
+++ apr-1.7.5/debian/control	2025-04-13 07:59:41.000000000 +0200
@@ -5,6 +5,7 @@
 Uploaders: Stefan Fritsch <sf@debian.org>
 Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
  autoconf,
+ libcrypt-dev,
  mawk,
  uuid-dev,
  doxygen,
@@ -36,7 +37,7 @@
 Package: libapr1-dev
 Architecture: any
 Section: libdevel
-Depends: libapr1t64 (= ${binary:Version}), uuid-dev, ${misc:Depends}, libsctp-dev [linux-any], python3:any
+Depends: libapr1t64 (= ${binary:Version}), libcrypt-dev, uuid-dev, ${misc:Depends}, libsctp-dev [linux-any], python3:any
 Conflicts: libapr1.0-dev, libapr0-dev
 Description: Apache Portable Runtime Library - Development Headers
  APR is Apache's Portable Runtime Library, designed to be a support library

Reply to: