[DRE-commits] [SCM] ruby-excon.git branch, master, updated. debian/0.10.0-1-5-gd402cf9
Laurent Bigonville
bigon at debian.org
Tue Apr 17 15:43:56 UTC 2012
The following commit has been merged in the master branch:
commit 43b1a78a8c686ae33b3a05531fbb064f0b07fe91
Author: Laurent Bigonville <bigon at debian.org>
Date: Tue Apr 17 17:40:45 2012 +0200
debian/patches/01_use_ca-certificate.patch: Use SSL certificates from ca-certificate package
diff --git a/debian/changelog b/debian/changelog
index 1868ea3..2d1af98 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
ruby-excon (0.13.4-1) UNRELEASED; urgency=low
* New upstream release
+ * debian/patches/01_use_ca-certificate.patch: Use SSL certificates from
+ ca-certificate package
- -- Laurent Bigonville <bigon at debian.org> Tue, 17 Apr 2012 17:01:10 +0200
+ -- Laurent Bigonville <bigon at debian.org> Tue, 17 Apr 2012 17:40:28 +0200
ruby-excon (0.10.0-1) unstable; urgency=low
diff --git a/debian/patches/01_use_ca-certificate.patch b/debian/patches/01_use_ca-certificate.patch
new file mode 100644
index 0000000..da56c80
--- /dev/null
+++ b/debian/patches/01_use_ca-certificate.patch
@@ -0,0 +1,15 @@
+Description: Use SSL certificates from ca-certificate package
+Author: Laurent Bigonville <bigon at debian.org>
+Forwarded: not-needed
+
+--- a/lib/excon/constants.rb
++++ b/lib/excon/constants.rb
+@@ -12,7 +12,7 @@
+ end
+
+ unless const_defined?(:DEFAULT_CA_FILE)
+- DEFAULT_CA_FILE = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "data", "cacert.pem"))
++ DEFAULT_CA_FILE = '/etc/ssl/certs/ca-certificates.crt'
+ end
+
+ unless const_defined?(:DEFAULT_RETRY_LIMIT)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..49a81a1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_use_ca-certificate.patch
--
ruby-excon.git
More information about the Pkg-ruby-extras-commits
mailing list