Package: openssl
Version: 0.9.8g-4
Severity: wishlist
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch

Two thirds of the current openssl package is documentation, which is
quite large (640 kB). Since the documentation is not really
interesting for casual users, embedded software, etc, it would be nice
if it could be moved to a separate package.

Tested patch attached.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -u openssl-0.9.8g/Makefile openssl-0.9.8g/Makefile
--- openssl-0.9.8g/debian/openssl.dirs
+++ openssl-0.9.8g/debian/openssl.dirs
@@ -1,4 +1,3 @@
-usr/share/doc/openssl/doc
 usr/bin
 usr/lib
 etc/ssl/certs
diff -u openssl-0.9.8g/debian/control openssl-0.9.8g/debian/control
--- openssl-0.9.8g/debian/control
+++ openssl-0.9.8g/debian/control
@@ -12,7 +12,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${perl:Depends}
 Conflicts: ssleay (<< 0.9.2b)
-Suggests: ca-certificates
+Suggests: ca-certificates, openssl-doc
 Description: Secure Socket Layer (SSL) binary and related cryptographic tools
  This package contains the openssl binary and related tools.
  .
@@ -26,6 +26,15 @@
   -  SSL/TLS client and server tests;
   -  Handling of S/MIME signed or encrypted mail.
 
+Package: openssl-doc
+Section: doc
+Priority: optional
+Architecture: all
+Description: Secure Socket Layer (SSL) documentation
+ This package contains the OpenSSL documentation.
+ .
+ It is part of the OpenSSL implementation of SSL.
+
 Package: libssl0.9.8
 Section: libs
 Priority: important
reverted:
--- openssl-0.9.8g/debian/openssl.docs
+++ openssl-0.9.8g.orig/debian/openssl.docs
@@ -1,2 +0,0 @@
-doc
-FAQ
diff -u openssl-0.9.8g/debian/changelog openssl-0.9.8g/debian/changelog
--- openssl-0.9.8g/debian/changelog
+++ openssl-0.9.8g/debian/changelog
@@ -1,3 +1,10 @@
+openssl (0.9.8g-4ubuntu2) hardy; urgency=low
+
+  * Ship documentation in new openssl-doc package, since it is very large and
+    not terribly useful for the casual desktop user.
+
+ -- Martin Pitt <[EMAIL PROTECTED]>  Tue, 11 Mar 2008 22:52:28 +0100
+
 openssl (0.9.8g-4ubuntu1) hardy; urgency=low
 
   * Merge from unstable; remaining changes:
only in patch2:
unchanged:
--- openssl-0.9.8g.orig/debian/openssl-doc.docs
+++ openssl-0.9.8g/debian/openssl-doc.docs
@@ -0,0 +1,2 @@
+doc
+FAQ

Attachment: signature.asc
Description: Digital signature

Reply via email to