Your message dated Sat, 18 Dec 2021 11:36:17 +0000 with message-id <f35b13da0620aab462a587a3d6f06f29a527c6c9.camel@adam-barratt.org.uk> and subject line Closing p-u requests for changes included in 11.2 has caused the Debian Bug report #996026, regarding bullseye-pu: package ruby-httpclient/2.8.3-3+deb11u1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 996026: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996026 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: bullseye-pu: package ruby-httpclient/2.8.3-3+deb11u1
- From: Antonio Terceiro <terceiro@debian.org>
- Date: Sun, 10 Oct 2021 09:40:07 -0300
- Message-id: <YWLfJ8BDA9nfpKRW@debian.org>
Package: release.debian.org Severity: normal Tags: bullseye User: release.debian.org@packages.debian.org Usertags: pu (Please provide enough information to help the release team to judge the request efficiently. E.g. by filling in the sections below.) [ Reason ] ruby-httpclient uses a vendored copy of a CA certificate bundle, and that is a ticking time bomb. This update fixes that by removing that vendored copy and making it use the system CA certificate bundle by default. [ Impact ] The main package affected by this is apt-listbugs, which stopped being able to download bug data information from bugs.debian.org due to the recent expiration of the old Let's Encrypt root certificate. [ Tests ] The added autopkgtest test fails without the patch and passes without it. apt-listbugs is now able to fetch bug data information again. [ Risks ] The changes are simple enough and this is a low risk update. [ Checklist ] [*] *all* changes are documented in the d/changelog [*] I reviewed all changes and I approve them [*] attach debdiff against the package in (old)stable [*] the issue is verified as fixed in unstable [ Changes ] The changes are simple enough that I feel copy-pasting from the changelog is enough: * Add simple autopkgtest to check a basic SSL connection * Add patch to use the system certificate store (Closes: #995448) * debian/rules: remove embedded CA certificate store * Add dependency on ca-certificatesdiff --git a/debian/changelog b/debian/changelog index a164bb1..3708b17 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +ruby-httpclient (2.8.3-3+deb11u1) bullseye; urgency=medium + + * Add simple autopkgtest to check a basic SSL connection + * Add patch to use the system certificate store (Closes: #995448) + * debian/rules: remove embedded CA certificate store + * Add dependency on ca-certificates + + -- Antonio Terceiro <terceiro@debian.org> Sun, 10 Oct 2021 09:24:03 -0300 + ruby-httpclient (2.8.3-2) unstable; urgency=medium * Team upload. diff --git a/debian/control b/debian/control index e50868f..e38581d 100644 --- a/debian/control +++ b/debian/control @@ -21,6 +21,7 @@ Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ruby | ruby-interpreter, ruby-http-cookie (>= 1.0), + ca-certificates, ${misc:Depends}, ${shlibs:Depends} Description: HTTP client library for ruby diff --git a/debian/patches/0008-Use-system-CA-certificate-store.patch b/debian/patches/0008-Use-system-CA-certificate-store.patch new file mode 100644 index 0000000..3ec8820 --- /dev/null +++ b/debian/patches/0008-Use-system-CA-certificate-store.patch @@ -0,0 +1,33 @@ +From: Antonio Terceiro <terceiro@debian.org> +Date: Wed, 6 Oct 2021 10:03:32 -0300 +Subject: Use system CA certificate store + +--- + lib/httpclient/ssl_config.rb | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/lib/httpclient/ssl_config.rb b/lib/httpclient/ssl_config.rb +index f6e7ce9..d4e48f2 100644 +--- a/lib/httpclient/ssl_config.rb ++++ b/lib/httpclient/ssl_config.rb +@@ -249,7 +249,7 @@ class HTTPClient + # Loads default trust anchors. + # Calling this method resets all existing sessions. + def load_trust_ca +- load_cacerts(@cert_store) ++ set_default_paths + change_notify + end + +@@ -413,11 +413,6 @@ class HTTPClient + nil + end + +- # Use 2048 bit certs trust anchor +- def load_cacerts(cert_store) +- file = File.join(File.dirname(__FILE__), 'cacert.pem') +- add_trust_ca_to_store(cert_store, file) +- end + end + + diff --git a/debian/patches/series b/debian/patches/series index f1a4a0e..3764163 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ 0004-Add-upstream-changelog.patch 0005-tweak-test-dep-change.patch disable-test-proxy-ssl.patch +0008-Use-system-CA-certificate-store.patch diff --git a/debian/rules b/debian/rules index 118221b..bdf2c5b 100755 --- a/debian/rules +++ b/debian/rules @@ -6,3 +6,8 @@ export LANG=C.UTF-8 %: dh $@ --buildsystem=ruby --with ruby + + +override_dh_auto_install: + dh_auto_install + rm --verbose $(CURDIR)/debian/ruby-httpclient/usr/lib/ruby/vendor_ruby/httpclient/*.pem diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..d5b55a2 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,2 @@ +Tests: ssl-smoke-test +Restrictions: needs-internet, allow-stderr diff --git a/debian/tests/ssl-smoke-test b/debian/tests/ssl-smoke-test new file mode 100644 index 0000000..ce81ca0 --- /dev/null +++ b/debian/tests/ssl-smoke-test @@ -0,0 +1,5 @@ +#!/bin/sh + +set -exu + +httpclient get https://bugs.debian.org/Attachment: signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 992331-done@bugs.debian.org, 992518-done@bugs.debian.org, 993100-done@bugs.debian.org, 993315-done@bugs.debian.org, 993318-done@bugs.debian.org, 994064-done@bugs.debian.org, 994393-done@bugs.debian.org, 995291-done@bugs.debian.org, 995394-done@bugs.debian.org, 995494-done@bugs.debian.org, 995848-done@bugs.debian.org, 996025-done@bugs.debian.org, 996026-done@bugs.debian.org, 996283-done@bugs.debian.org, 996601-done@bugs.debian.org, 996623-done@bugs.debian.org, 996694-done@bugs.debian.org, 996728-done@bugs.debian.org, 997078-done@bugs.debian.org, 997597-done@bugs.debian.org, 998247-done@bugs.debian.org, 998252-done@bugs.debian.org, 998436-done@bugs.debian.org, 998832-done@bugs.debian.org, 998902-done@bugs.debian.org, 999359-done@bugs.debian.org, 999427-done@bugs.debian.org, 999434-done@bugs.debian.org, 999509-done@bugs.debian.org, 999668-done@bugs.debian.org, 999673-done@bugs.debian.org, 999769-done@bugs.debian.org, 999838-done@bugs.debian.org, 100037-done@bugs.debian.org, 100044-done@bugs.debian.org, 100045-done@bugs.debian.org, 100045-done@bugs.debian.org, 100047-done@bugs.debian.org, 100047-done@bugs.debian.org, 100048-done@bugs.debian.org, 100051-done@bugs.debian.org, 100060-done@bugs.debian.org, 100070-done@bugs.debian.org, 100078-done@bugs.debian.org, 100081-done@bugs.debian.org, 100097-done@bugs.debian.org, 100110-done@bugs.debian.org, 100111-done@bugs.debian.org, 100114-done@bugs.debian.org, 100118-done@bugs.debian.org, 100127-done@bugs.debian.org, 100128-done@bugs.debian.org, 100138-done@bugs.debian.org, 100138-done@bugs.debian.org, 100139-done@bugs.debian.org, 100147-done@bugs.debian.org
- Subject: Closing p-u requests for changes included in 11.2
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 18 Dec 2021 11:36:17 +0000
- Message-id: <f35b13da0620aab462a587a3d6f06f29a527c6c9.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 11.2 Hi, All of the updates referred to by these bugs were included in this morning's bullseye point release. Regards, Adam
--- End Message ---