Package: wireless-tools
Version: 27+28pre14-1
Severity: wishlist
Tags: patch, d-i

Let's call this an important wishlist bug (important for Debian Installer 
anyway :-)

Please add the following line to your shlibs file:
udeb: libiw 28 libiw28-udeb (>= 27+28pre13)

This will allow dpkg/debhelper to properly set the dependencies for udebs 
that depend on libiw28.
Please see #345472 and #345475 for further info on this.

It would be very much appreciated if this change could be implemented
soon.


The attached patch implements the necessary changes:
- add the line in debian/libiw28.shlibs
- use Depends: ${shlibs:Depends} for both udebs
- debhelper 5.0.22 is required for correct new udeb dependency handling
- drop the Provides: libiw28

This does change the dependencies for both udebs a bit, but AFAICT these 
changes should be OK.

You may want to update debhelper compatibility level to 5, in line with 
the debhelper dependency. (BTW: the use of a debian/compat file is 
prefered over setting it in debian/rules.)

I've checked the debdiff for all packages against current versions and 
there were no unexpected changes.

TIA,
Frans Pop

[1] Note: the line could also be generated automatically by dh_makeshlibs
    if the new --add-udeb option is used. But as you currently don't use
    dh_makeshlibs, I've not used that option.

diff -u wireless-tools-27+28pre14/debian/control wireless-tools-27+28pre14/debian/control
--- wireless-tools-27+28pre14/debian/control
+++ wireless-tools-27+28pre14/debian/control
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Guus Sliepen <[EMAIL PROTECTED]>
 Standards-Version: 3.6.2
-Build-Depends: debhelper (>= 4.2.0)
+Build-Depends: debhelper (>= 5.0.22)
 
 Package: wireless-tools
 Section: net
@@ -52,7 +52,7 @@
 Section: debian-installer
 Architecture: any
 XC-Package-Type: udeb
-Depends: libiw28-udeb (= ${Source-Version})
+Depends: ${shlibs:Depends}
 Description: Tools for manipulating Linux Wireless Extensions
  This package contains the Wireless tools, used to manipulate the Linux
  Wireless Extensions. The Wireless Extension is an interface allowing you to
@@ -64,7 +64,7 @@
 Section: debian-installer
 Architecture: any
 XC-Package-Type: udeb
-Provides: libiw28
+Depends: ${shlibs:Depends}
 Description: Tools for manipulating Linux Wireless Extensions
  This package contains the Wireless tools, used to manipulate the Linux
  Wireless Extensions. The Wireless Extension is an interface allowing you to
diff -u wireless-tools-27+28pre14/debian/libiw28.shlibs wireless-tools-27+28pre14/debian/libiw28.shlibs
--- wireless-tools-27+28pre14/debian/libiw28.shlibs
+++ wireless-tools-27+28pre14/debian/libiw28.shlibs
@@ -1,0 +2 @@
+udeb: libiw 28 libiw28-udeb (>= 27+28pre13)

Attachment: pgpYU0JYI2RVt.pgp
Description: PGP signature

Reply via email to