From 56d6a82c8ffb9006e824352127909f316a40b0a8 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 31 May 2016 08:01:28 -0700 Subject: Switch to HTTPS. Signed-off-by: Robin H. Johnson --- gentoo-data.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gentoo-data.rb b/gentoo-data.rb index 5782ff5..2d651b3 100644 --- a/gentoo-data.rb +++ b/gentoo-data.rb @@ -27,8 +27,8 @@ # end #end -#VALID_PACKAGE_SRC = "http://tinderbox.dev.gentoo.org/misc/qsearch.txt" -#GLSA_SRC = "http://www.gentoo.org/security/en/glsa/glsa-@GLSA_ID@.xml?passthru=1" +#VALID_PACKAGE_SRC = "https://tinderbox.dev.gentoo.org/misc/qsearch.txt" +#GLSA_SRC = "https://www.gentoo.org/security/en/glsa/glsa-@GLSA_ID@.xml?passthru=1" VALID_PACKAGE_SRC = "/dev/shm/qsearch.txt" GLSA_SRC = "#{ENV['PORTDIR']}/metadata/glsa/glsa-@GLSA_ID@.xml" PROJECTS_SRC = 'https://api.gentoo.org/metastructure/projects.xml' @@ -133,7 +133,7 @@ class GentooPlugin < Plugin def devaway(m, params) dev = params[:dev].downcase - res = @bot.httputil.get("http://dev.gentoo.org/devaway/index-csv.php?who=#{dev}") + res = @bot.httputil.get("https://dev.gentoo.org/devaway/index-csv.php?who=#{dev}") if res.length > 0 then m.reply "#{dev}: #{res}" else @@ -212,8 +212,8 @@ class GentooPlugin < Plugin now = Time.now.tv_sec unless @@cached['alias'] and @@cached['alias'][0] > now-600 #m.reply "Fetch #{@@cached['alias'][0]} > #{now-600}" - #res = @bot.httputil.get('http://dev.gentoo.org/~solar/.alias') - res = @bot.httputil.get('http://dev.gentoo.org/.alias.cache') + #res = @bot.httputil.get('https://dev.gentoo.org/~solar/.alias') + res = @bot.httputil.get('https://dev.gentoo.org/.alias.cache') alias_hash = {} for line in res split_line = line.split(' = ') @@ -333,15 +333,15 @@ class GentooPlugin < Plugin end def ddep(m, params) - depcommon(m, 'DEPEND', 'http://qa-reports.gentoo.org/output/genrdeps/dindex/', params) + depcommon(m, 'DEPEND', 'https://qa-reports.gentoo.org/output/genrdeps/dindex/', params) end def pdep(m, params) - depcommon(m, 'PDEPEND', 'http://qa-reports.gentoo.org/output/genrdeps/pindex/', params) + depcommon(m, 'PDEPEND', 'https://qa-reports.gentoo.org/output/genrdeps/pindex/', params) end def rdep(m, params) - depcommon(m, 'RDEPEND', 'http://qa-reports.gentoo.org/output/genrdeps/rindex/', params) + depcommon(m, 'RDEPEND', 'https://qa-reports.gentoo.org/output/genrdeps/rindex/', params) end def earch(m, params) -- cgit v1.2.3-65-gdbad