[DRE-commits] [ruby-kramdown-rfc2629] 02/06: Add patch to disable the use of certified gem

Cédric Boutillier boutil at moszumanska.debian.org
Tue Sep 12 14:28:52 UTC 2017


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

boutil pushed a commit to branch master
in repository ruby-kramdown-rfc2629.

commit 7860593660d9e0da46ad925b6a8e0a890b7726a6
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Sep 12 16:15:48 2017 +0200

    Add patch to disable the use of certified gem
---
 debian/patches/no-certified-gem.patch | 29 +++++++++++++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/no-certified-gem.patch b/debian/patches/no-certified-gem.patch
new file mode 100644
index 0000000..ee1967a
--- /dev/null
+++ b/debian/patches/no-certified-gem.patch
@@ -0,0 +1,29 @@
+Description: Do not use the certified gem
+ to manually maintain a certificate bundle
+ and update warning to indicate the user that this workaround is disabled on Debian
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: not-needed
+Last-Update: 2017-09-12
+
+--- a/bin/kramdown-rfc2629
++++ b/bin/kramdown-rfc2629
+@@ -15,8 +15,7 @@
+     File.open(OpenSSL::X509::DEFAULT_CERT_FILE) do end
+   rescue
+     warn "** Configuration problem with OpenSSL certificate store at #{OpenSSL::X509::DEFAULT_CERT_FILE}."
+-    warn "**   Activating workaround.  Occasionally run `certified-update`."
+-    require 'certified'
++    warn "**   workaround using 'certified' gem disabled on Debian."
+   end
+ end
+ 
+--- a/kramdown-rfc2629.gemspec
++++ b/kramdown-rfc2629.gemspec
+@@ -5,7 +5,6 @@
+   s.description = %{An RFC7749 (XML2RFC) generating backend for Thomas Leitner's
+ "kramdown" markdown parser.  Mostly useful for RFC writers.}
+   s.add_dependency('kramdown', '~> 1.14.0')
+-  s.add_dependency('certified', '~> 1.0')
+   s.files = Dir['lib/**/*.rb'] + %w(README.md LICENSE kramdown-rfc2629.gemspec bin/kdrfc bin/kramdown-rfc2629 bin/doilit bin/kramdown-rfc-extract-markdown data/kramdown-rfc2629.erb data/encoding-fallbacks.txt)
+   s.require_path = 'lib'
+   s.executables = ['kramdown-rfc2629', 'doilit', 'kramdown-rfc-extract-markdown', 'kdrfc']
diff --git a/debian/patches/series b/debian/patches/series
index 427038b..aa31882 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-path.patch
+no-certified-gem.patch

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



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