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

Bug#827951: libssl udeb inclusion in Jessie



Package: openssl
Severity: normal
Version: 1.0.1t-1+deb8u2
X-Debbugs-CC: debian-release@lists.debian.org
X-Debbugs-CC: debian-boot@lists.debian.org

Hi,

Marga Manterola provided a patch to build a libssl udeb as well as the
libcrypto udeb that was included in Sid (#802591). Could this patch be a
candidate for Jessie inclusion? If so, you can find a patch attached to
this mail.

Regards

Yann Soubeyrand
diff -Nru openssl-1.0.1t/debian/changelog openssl-1.0.1t/debian/changelog
--- openssl-1.0.1t/debian/changelog	2016-05-15 21:16:55.000000000 +0200
+++ openssl-1.0.1t/debian/changelog	2016-06-23 10:54:52.000000000 +0200
@@ -1,3 +1,11 @@
+openssl (1.0.1t-1+deb8u2scibian1) jessie; urgency=medium
+
+  [ Margarita Manterola ]
+  * Add a udeb for libssl, based on similar changes done in Ubuntu
+    starting in version 0.9.8o-4ubuntu1
+
+ -- Yann Soubeyrand <yann-externe.soubeyrand@edf.fr>  Wed, 22 Jun 2016 17:12:43 +0200
+
 openssl (1.0.1t-1+deb8u2) jessie; urgency=medium
 
   * add Update-S-MIME-certificates.patch to update expired certificates to
diff -Nru openssl-1.0.1t/debian/control openssl-1.0.1t/debian/control
--- openssl-1.0.1t/debian/control	2016-05-01 23:53:42.000000000 +0200
+++ openssl-1.0.1t/debian/control	2016-06-23 10:54:52.000000000 +0200
@@ -55,6 +55,17 @@
  It contains a version of the libcrypto shared library for use with the
  Debian Installer. Do not install it on a normal system.
 
+Package: libssl1.0.0-udeb
+XC-Package-Type: udeb
+Section: debian-installer
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: ssl shared library - udeb
+ libssl shared library.
+ .
+ Do not install it on a normal system.
+
 Package: libssl-dev
 Section: libdevel
 Priority: optional
diff -Nru openssl-1.0.1t/debian/libssl1.0.0-udeb.dirs openssl-1.0.1t/debian/libssl1.0.0-udeb.dirs
--- openssl-1.0.1t/debian/libssl1.0.0-udeb.dirs	1970-01-01 01:00:00.000000000 +0100
+++ openssl-1.0.1t/debian/libssl1.0.0-udeb.dirs	2016-06-23 10:54:52.000000000 +0200
@@ -0,0 +1 @@
+usr/lib
diff -Nru openssl-1.0.1t/debian/rules openssl-1.0.1t/debian/rules
--- openssl-1.0.1t/debian/rules	2016-05-06 14:16:42.000000000 +0200
+++ openssl-1.0.1t/debian/rules	2016-06-23 10:54:52.000000000 +0200
@@ -139,6 +139,7 @@
 	mv debian/tmp/usr/lib/ssl/{certs,openssl.cnf,private} debian/tmp/etc/ssl/
 	ln -s /etc/ssl/{certs,openssl.cnf,private} debian/tmp/usr/lib/ssl/
 	cp -pf debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libcrypto.so.* debian/libcrypto1.0.0-udeb/usr/lib/
+	cp -pf debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libssl.so.* debian/libssl1.0.0-udeb/usr/lib/
 	cp -auv lib*.so* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
 	for opt in $(OPTS); do set -xe; mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/$$opt; cp -auv $$opt/lib*.so* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/$$opt/; done
 	mkdir -p debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/openssl
@@ -162,6 +163,7 @@
 	dh_perl -a -d
 	dpkg-gensymbols -Pdebian/libssl1.0.0/ -plibssl1.0.0 -c4
 	dh_makeshlibs -a -V "libssl1.0.0 (>= 1.0.1d)" --add-udeb="libcrypto1.0.0-udeb" -Xengines
+	sed -i '/^udeb: libssl/s/libcrypto1.0.0-udeb/libssl1.0.0-udeb/' debian/libssl1.0.0/DEBIAN/shlibs
 	dh_shlibdeps -a -L libssl1.0.0 -l debian/libssl1.0.0/usr/lib/$(DEB_HOST_MULTIARCH)
 	dh_gencontrol -a
 	dh_installdeb -a

Reply to: