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

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



tags 787478 - moreinfo
thanks


Hey,

The patch for grave bug #787471 has successfully resolved the issue. It
is both in unstable and testing (11) and it didn't cause any problems
there. I have applied the patch (attached) to the stable version and
packed it. It builds fine in stable (jessie) environment and it also
works flawlessly there.

Fixed package is pushed to git repository [1] and if it accepted by
stable release managers I'll upload it (RFS to be more precise).


Regards,
T. Nitecki

[1]
https://anonscm.debian.org/cgit/collab-maint/how-can-i-help.git/log/?h=jessie
diff --git a/bin/how-can-i-help b/bin/how-can-i-help
index bd05064..ddb6249 100755
--- a/bin/how-can-i-help
+++ b/bin/how-can-i-help
@@ -41,7 +41,7 @@ unless Dir.exists?(HOME)
   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_uri = $proxy_url.nil? ? OpenStruct.new : URI.parse($proxy_url)
 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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: