[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#787478: jessie-pu: package how-can-i-help/10



Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey,

I'd like to update how-can-i-help with a patch that fixes grave bug #787471.

It appears that all http request sent to UDD are now redirected through https.
how-can-i-help was unable to handle that so the patch switched data source 
from http to https. Without this patch, how-can-i-help is left in an 
unusable state.

debdiff attached.

Thanks!


- -- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVbOPPAAoJEObHEOLlweSjpkAQAMnkz4/TqiKgwaotvxVJLVQD
caUDWGiATBIg9WjpXSzKrdcM49rzS5IHI8+EsYDCjAJm0XveAr/Dya/2xqEDujKe
6GfEaa08RB5E/8Paw8CzYh6kYF2nvgyB7/Wm07OJrF4icGTxiYhiJTN7ECRzX6tY
ba8BIjlgMcrAbW5ipvX2SbbQtc4aaYM+PvQE3Wl5wKiGtKRVXKR4W5NQoUgYGLF9
z4YoPiwonWSJ3BgOH7WGyyq0NY5H1yEHC+8D+CmxYMPCT59cWUSh+2UnqZywFec7
HFZgGx/TpAB1pnvMT7J6lqTnuOIXdT5vMBlfPF3DJK//WLFn6F2HkhZfjJ4GbMDG
+dpPOckAhk+EXjostgBN+lPZjNc2I2TkWlBquMIun2hq4Jls9pcjjJ5Ma0y/mV6E
64a+hECf6SIvajTeEYmc6kSB4KMAVE3bXxTKZw923gMMWmHGImDRQjNsX81yGGJi
X1SLyuxI1bllp/1qKbRzW6Ba5Tq31YMOUqzNpl5RcwQBUmdDXdF1rLmmfkwdP5D5
hl6W5AuJGfldPCPbQiSN/kTgg/ixw7HM/H59enX7UtQF6GK2agj+AgJgzzdk9h45
9S2B4LEPkfj7ZfZk71bWqSLypxDlvnQqyAbZ57f77UTPXQMWuCrJ8mH4RBRPcv91
PLzfC+4kg/I+bk6stguU
=FsNz
-----END PGP SIGNATURE-----
diff -Nru how-can-i-help-10/bin/how-can-i-help how-can-i-help-11/bin/how-can-i-help
--- how-can-i-help-10/bin/how-can-i-help	2014-12-01 09:01:27.000000000 +0100
+++ how-can-i-help-11/bin/how-can-i-help	2015-06-01 23:56:54.000000000 +0200
@@ -41,7 +41,7 @@
   exit(0)
 end
 
-HELPITEMS_URL = 'http://udd.debian.org/how-can-i-help.json.gz'
+HELPITEMS_URL = 'https://udd.debian.org/how-can-i-help.json.gz'
 CACHEDIR = "#{HOME}/.cache/how-can-i-help"
 CONFIGDIR = "#{HOME}/.config/how-can-i-help"
 SEEN_LOCAL = "#{CACHEDIR}/seen.json"
@@ -120,6 +120,7 @@
 proxy_user, proxy_pass = proxy_uri.userinfo.split(/:/) if proxy_uri.userinfo
 http_object = Net::HTTP.new(uri.host, uri.port, proxy_uri.host, proxy_uri.port,
                      proxy_user, proxy_pass)
+http_object.use_ssl = uri.scheme == 'https'
 # proceeding get_response
 
 begin
diff -Nru how-can-i-help-10/debian/changelog how-can-i-help-11/debian/changelog
--- how-can-i-help-10/debian/changelog	2014-12-01 09:21:26.000000000 +0100
+++ how-can-i-help-11/debian/changelog	2015-06-02 00:27:51.000000000 +0200
@@ -1,3 +1,10 @@
+how-can-i-help (11) unstable; urgency=high
+
+  * Allow hcih to download data through https. Closes: #787471
+    Patch from Stephen Kitt <skitt@debian.org>
+
+ -- Tomasz Nitecki <tnnn@tnnn.pl>  Tue, 02 Jun 2015 00:26:30 +0200
+
 how-can-i-help (10) unstable; urgency=medium
 
   [ Tomasz Nitecki ]

Reply to: