[Pkg-openssl-devel] Bug#926315: [PATCH] debian/rules: Ship openssl.cnf in libssl1.1-udeb, as required to use OpenSSL by other udebs, e.g. wget-udeb. Closes: #926315

Dimitri John Ledkov xnox at ubuntu.com
Wed Apr 3 12:04:46 BST 2019


---
 debian/changelog | 7 +++++++
 debian/rules     | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 920d74c030..bb3fd13682 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+openssl (1.1.1b-2) UNRELEASED; urgency=medium
+
+  * debian/rules: Ship openssl.cnf in libssl1.1-udeb, as required to use
+    OpenSSL by other udebs, e.g. wget-udeb. Closes: #926315
+
+ -- Dimitri John Ledkov <xnox at ubuntu.com>  Wed, 03 Apr 2019 12:02:03 +0100
+
 openssl (1.1.1b-1) unstable; urgency=medium
 
   [ Sebastian Andrzej Siewior ]
diff --git a/debian/rules b/debian/rules
index 5ef5069c68..cf25fddb13 100755
--- a/debian/rules
+++ b/debian/rules
@@ -120,6 +120,8 @@ override_dh_auto_install-arch:
 	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.1-udeb/usr/lib/
 	cp -pf debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libssl.so.* debian/libssl1.1-udeb/usr/lib/
+	mkdir -p debian/libssl1.1-udeb/usr/lib/ssl
+	cp debian/tmp/etc/ssl/openssl.cnf debian/libssl1.1-udeb/usr/lib/ssl/
 	cp -auv build_shared/lib*.so* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
 	for opt in $(OPTS); \
 		do set -xe; \
-- 
2.20.1



More information about the Pkg-openssl-devel mailing list