Package: openssl
Version: 1.02.03-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: libcrypto 0.9.8 libcrypto0.9.8-udeb (>= 0.9.8a-1)

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

This will also mean that, eventually, we will be able to drop the
"Provides: libssl0.9.8" for the udeb, but we cannot do that until 
other udebs that currently depend on libssl0.9.8 instead of 
libcrypto0.9.8-udeb have been rebuilt. I'll file a separate bug when 
that change can be made.

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


The attached patch implements the necessary changes:
- add --add-udeb option for dh_makeshlibs which autogenerates the udeb:
  lines for the shlibs file
- this requires debhelper 5.0.22

Note that this also adds a line "udeb: libssl 0.9.8 libcrypto0.9.8-udeb 
(>= 0.9.8a-1)" in shlibs, even though libssl is not actually provided in 
that udeb. This is however not really any different or worse than the 
current situation and thus IMO can be ignored.

I've _not_ updated DH_COMPAT from level 3 to 5 as, when I tried this, it 
resulted in a change in files included in the openssl package. You may 
want to look into that though as level 3 is deprecated.
You may also want to set the compatibility level in debian/compat instead 
of through DH_COMPAT in debian/rules; the use of debian/compat is 
preferred.

I've checked the debdiff for the openssl and libssl debs and the libcrypto 
udeb against current versions and there were no unexpected changes.

TIA,
Frans Pop

diff -u openssl-0.9.8a/debian/control openssl-0.9.8a/debian/control
--- openssl-0.9.8a/debian/control
+++ openssl-0.9.8a/debian/control
@@ -1,5 +1,5 @@
 Source: openssl
-Build-Depends: debhelper (>= 4.2.0), binutils (>= 2.14.90.0.7), zlib1g-dev, m4, bc
+Build-Depends: debhelper (>= 5.0.22), binutils (>= 2.14.90.0.7), zlib1g-dev, m4, bc
 Section: utils
 Priority: optional
 Maintainer: Debian OpenSSL Team <[EMAIL PROTECTED]>
diff -u openssl-0.9.8a/debian/rules openssl-0.9.8a/debian/rules
--- openssl-0.9.8a/debian/rules
+++ openssl-0.9.8a/debian/rules
@@ -155,7 +155,7 @@
 	dh_strip --dbg-package=libssl0.9.8
 	dh_perl -d
 #	dh_suidregister
-	dh_makeshlibs -V "libssl0.9.8 (>= 0.9.8a-1)"
+	dh_makeshlibs -V "libssl0.9.8 (>= 0.9.8a-1)" --add-udeb="libcrypto0.9.8-udeb"
 	dh_shlibdeps -L libssl0.9.8 -l debian/libssl0.9.8/usr/lib
 	dh_gencontrol
 	dh_installdeb

Attachment: pgpUGW4dhxTly.pgp
Description: PGP signature

Reply via email to