Package: libnet-ssh-ruby1.8
Version: 1:1.1.4-1
Severity: grave
Justification: renders package uninstallable
User: jrnie...@gmail.com
Usertags: ruby-187249
Tags: patch

libruby1.8 1.8.7.249-3 provides and conflicts with libopenssl-ruby1.8.
As a result, libnet-ssh-ruby1.8’s versioned dependency on
libopenssl-ruby1.8 makes it uninstallable with recent ruby1.8 versions.

Fix it by explicitly allowing libruby1.8 as an alternative
implementation.

Signed-off-by: Jonathan Nieder <jrnie...@gmail.com>
---
Hi again,

Here’s another patch for the same ruby1.8 change I mentioned at
<http://bugs.debian.org/576496>.

This one I didn’t run into “in the wild”, but I noticed it from
looking at the list of libraries subsumed in the ruby1.8 changelog.

I hope the patch is useful.  Please let me know if there is anything
I can do to make this kind of thing more helpful in the future.

Thanks,
Jonathan

 debian/changelog |    7 +++++++
 debian/control   |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d665efc..5a894e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libnet-ssh-ruby (1:1.1.4-1.1) local; urgency=medium
+
+  * Adjust dependencies to allow use of libruby1.8 to provide
+    libopenssl-ruby1.8.
+
+ -- Jonathan Nieder <jrnie...@gmail.com>  Mon, 05 Apr 2010 04:13:21 -0500
+
 libnet-ssh-ruby (1:1.1.4-1) unstable; urgency=high
 
   * Revert release version to 1.x (2.x was packaged already).
diff --git a/debian/control b/debian/control
index dfba22b..6f0c23c 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Homepage: http://rubyforge.org/projects/net-ssh/
 Package: libnet-ssh-ruby1.8
 Architecture: all
 Provides: libnet-ssh-ruby
-Depends: libopenssl-ruby1.8 (>= 1.8.1+1.8.2pre1-1), libneedle-ruby1.8 (>= 
1.2.0), ${misc:Depends}
+Depends: libruby1.8 (>= 1.8.7.249-3) | libopenssl-ruby1.8 (>= 
1.8.1+1.8.2pre1-1), libneedle-ruby1.8 (>= 1.2.0), ${misc:Depends}
 Description: pure ruby module that emulates an SSH client
  Net::SSH is to SSH as Net::Telnet is to Telnet and Net::HTTP is to HTTP.
  Perform non-interactive SSH processing, purely from Ruby!
-- 
debian.1.7.0.3.1.469.g398f8




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to