[DRE-commits] [ruby-rbnacl] 01/04: Re-add rbnacl-libsodium hack

Lucas Nussbaum lucas at moszumanska.debian.org
Sun Jul 9 07:23:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

lucas pushed a commit to branch master
in repository ruby-rbnacl.

commit b5f5f07cc86b949940af417f5de22073506e101b
Author: Lucas Nussbaum <lucas at debian.org>
Date:   Sun Jul 9 08:30:49 2017 +0200

    Re-add rbnacl-libsodium hack
---
 debian/control                         |  4 ++++
 debian/patches/provide_libsodium.patch | 15 ++++++++++++---
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 61fd252..f0cd559 100644
--- a/debian/control
+++ b/debian/control
@@ -26,6 +26,10 @@ Depends: libsodium-dev,
          ruby-ffi,
          ${misc:Depends},
          ${shlibs:Depends}
+# That provides is a hack: rbnacl-libsodium is another gem that provides
+# rbnacl with a bundled libsodium. Given that we depend on libsodium, this
+# package is equivalent.
+Provides: ruby-rbnacl-libsodium
 Description: Ruby binding to the Networking and Cryptography (NaCl) library
  The Networking and Cryptography (NaCl) library provides a high-level
  toolkit for building cryptographic systems and protocols
diff --git a/debian/patches/provide_libsodium.patch b/debian/patches/provide_libsodium.patch
index 38fbdd1..6463e2c 100644
--- a/debian/patches/provide_libsodium.patch
+++ b/debian/patches/provide_libsodium.patch
@@ -1,10 +1,19 @@
-Description: provide libsodium.
-Author: Unit 193 <unit193 at ubuntu.com>
+From: Debian Ruby Extras Maintainers
+ <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Date: Sat, 8 Jul 2017 23:04:03 +0200
+Subject: provide_libsodium
 
 Last-Update: 2017-01-03
+---
+ lib/rbnacl/libsodium.rb | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 lib/rbnacl/libsodium.rb
 
+diff --git a/lib/rbnacl/libsodium.rb b/lib/rbnacl/libsodium.rb
+new file mode 100644
+index 0000000..94d04a7
 --- /dev/null
-+++ ruby-rbnacl-4.0.1/lib/rbnacl/libsodium.rb
++++ b/lib/rbnacl/libsodium.rb
 @@ -0,0 +1,3 @@
 +module RbNaCl; module LibSodium
 +   require 'rbnacl'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rbnacl.git



More information about the Pkg-ruby-extras-commits mailing list