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

Bug#378105: marked as done (apr-util: .pc and apu-config --libs list recursive deps)



Your message dated Fri, 18 Aug 2006 05:47:06 -0700
with message-id <E1GE3kg-00055x-EW@spohr.debian.org>
and subject line Bug#378105: fixed in apr-util 1.2.7+dfsg-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libaprutil1-dev
Version: 1.2.7-2
Severity: minor
Tags: patch

  $ pkg-config --libs apr-util-1
  -laprutil-1 -lldap -llber -ldb-4.3 -lpq -lsqlite3 -lexpat -lapr-1

  $ apu-1-config --libs
   -lldap -llber -ldb-4.3 -lpq -lsqlite3 -lexpat

These really should not list recursive dependencies except with the
--static flag to pkg-config.

A related point is that /usr/lib/libaprutil-1.la is not needed and
should not, IMO, be shipped.  But note that deleting that would require
another trivial edit to apu-config, to make --link-libtool say the same
as --link-ld.  I did not make that change.

Peter
#! /bin/sh /usr/share/dpatch/dpatch-run
## apu-config.dpatch by <peter@p12n.org>
##
## DP: Prevent recursive linking of dependent libraries by apr-util users.

@DPATCH@
Index: apr-util.pc.in
--- a/apr-util.pc.in
+++ b/apr-util.pc.in
@@ -8,6 +8,7 @@
 Description: Companion library for APR
 Version: @APRUTIL_DOTTED_VERSION@
 # assume that apr-util requires libapr of same major version
-Requires: apr-@APRUTIL_MAJOR_VERSION@
-Libs: -L${libdir} -l@APRUTIL_LIBNAME@ @APRUTIL_EXPORT_LIBS@
+Requires.private: apr-@APRUTIL_MAJOR_VERSION@
+Libs: -L${libdir} -l@APRUTIL_LIBNAME@
+Libs.private: @APRUTIL_EXPORT_LIBS@
 Cflags: -I${includedir}
Index: apu-config.in
--- a/apu-config.in
+++ b/apu-config.in
@@ -27,7 +27,7 @@
 libdir="@libdir@"
 includedir="@includedir@"
 
-LIBS="@APRUTIL_EXPORT_LIBS@"
+LIBS=
 INCLUDES="@APRUTIL_INCLUDES@"
 LDFLAGS="@APRUTIL_LDFLAGS@"
 

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: apr-util
Source-Version: 1.2.7+dfsg-1

We believe that the bug you reported is fixed in the latest version of
apr-util, which is due to be installed in the Debian FTP archive:

apr-util_1.2.7+dfsg-1.diff.gz
  to pool/main/a/apr-util/apr-util_1.2.7+dfsg-1.diff.gz
apr-util_1.2.7+dfsg-1.dsc
  to pool/main/a/apr-util/apr-util_1.2.7+dfsg-1.dsc
apr-util_1.2.7+dfsg.orig.tar.gz
  to pool/main/a/apr-util/apr-util_1.2.7+dfsg.orig.tar.gz
libaprutil1-dbg_1.2.7+dfsg-1_i386.deb
  to pool/main/a/apr-util/libaprutil1-dbg_1.2.7+dfsg-1_i386.deb
libaprutil1-dev_1.2.7+dfsg-1_i386.deb
  to pool/main/a/apr-util/libaprutil1-dev_1.2.7+dfsg-1_i386.deb
libaprutil1_1.2.7+dfsg-1_i386.deb
  to pool/main/a/apr-util/libaprutil1_1.2.7+dfsg-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 378105@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tollef Fog Heen <tfheen@debian.org> (supplier of updated apr-util package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 14 Jul 2006 15:31:22 +0200
Source: apr-util
Binary: libaprutil1 libaprutil1-dbg libaprutil1-dev
Architecture: source i386
Version: 1.2.7+dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Tollef Fog Heen <tfheen@debian.org>
Description: 
 libaprutil1 - The Apache Portable Runtime Utility Library
 libaprutil1-dbg - The Apache Portable Runtime Utility Library - Development Headers
 libaprutil1-dev - The Apache Portable Runtime Utility Library - Development Headers
Closes: 354510 378105
Changes: 
 apr-util (1.2.7+dfsg-1) unstable; urgency=low
 .
   * Remove dependency on libgdbm1 from libaprutil1-dev.
   * Build against libdb 4.4.  Closes: #354510
   * Remove most libs from apu-config --link-ld --libs.  Thanks to Peter
     Samuelson, Closes: #378105
   * Use md4 and md5 implementation from Solar Designer as this is in the
     public domain and not subject to RSA copyright.  This requires a
     repacked source, so add +dfsg to the version number.
Files: 
 0e6b43da9b848e9e715142c99516438e 1026 libs optional apr-util_1.2.7+dfsg-1.dsc
 a3117be657f99e92316be40add59b9ff 643328 libs optional apr-util_1.2.7+dfsg.orig.tar.gz
 c20c95a61b1948c963750c2a40134789 39998 libs optional apr-util_1.2.7+dfsg-1.diff.gz
 60ee5916cc51b5d89a4ca91ec164a086 68402 libs optional libaprutil1_1.2.7+dfsg-1_i386.deb
 5706626533625f043328e2857bb7e0c2 116828 libdevel optional libaprutil1-dev_1.2.7+dfsg-1_i386.deb
 3e0148a5c2926a4559a8d54936899ba3 121570 libdevel optional libaprutil1-dbg_1.2.7+dfsg-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFE5bThQSseMYF6mWoRAoBKAKCElpPiDeX9wOOVone8X/vjxfX34wCg6mo7
W3VMHY9q7BwFTCChKbmH1zM=
=6+lX
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: