[PATCH] use https://bugs.debian.org explicitly instead of http://bugs.debian.org
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Oct 1 19:37:11 UTC 2015
The changes in c2c055ab32180d2a8ba643c0114d1319b791e33f were not quite
sufficient to fully convert all bugs.debian.org access to https by
default. This changeset fixes a few missed spots.
---
lib/Devscripts/Debbugs.pm | 2 +-
scripts/bts.pl | 2 +-
scripts/rc-alert.pl | 2 +-
scripts/wnpp-check.sh | 2 +-
test/bashisms/exit-code.sh | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/Devscripts/Debbugs.pm b/lib/Devscripts/Debbugs.pm
index ee4ecdf..ae1f735 100644
--- a/lib/Devscripts/Debbugs.pm
+++ b/lib/Devscripts/Debbugs.pm
@@ -98,7 +98,7 @@ use strict;
use warnings;
my $soapurl='Debbugs/SOAP/1';
-our $btsurl='http://bugs.debian.org/';
+our $btsurl='https://bugs.debian.org/';
my @errors;
sub init_soap {
diff --git a/scripts/bts.pl b/scripts/bts.pl
index 55bb83a..8545fea 100755
--- a/scripts/bts.pl
+++ b/scripts/bts.pl
@@ -496,7 +496,7 @@ if (@ARGV and $ARGV[0] =~ /^--no-?conf$/) {
'BTS_SUPPRESS_ACKS' => 'no',
'BTS_INTERACTIVE' => 'no',
'BTS_DEFAULT_CC' => '',
- 'BTS_SERVER' => 'bugs.debian.org',
+ 'BTS_SERVER' => 'https://bugs.debian.org',
);
my %config_default = %config_vars;
diff --git a/scripts/rc-alert.pl b/scripts/rc-alert.pl
index 9685c29..e23bc03 100755
--- a/scripts/rc-alert.pl
+++ b/scripts/rc-alert.pl
@@ -37,7 +37,7 @@ sub dt_parse_request($);
my $cachedir = $ENV{XDG_CACHE_HOME} || File::Spec->catdir($ENV{HOME}, '.cache');
$cachedir = File::Spec->catdir($cachedir, 'devscripts', 'rc-alert');
-my $url = "http://bugs.debian.org/release-critical/other/all.html";
+my $url = "https://bugs.debian.org/release-critical/other/all.html";
my $cachefile = File::Spec->catfile($cachedir, basename($url));
my $forcecache = 0;
my $usecache = 0;
diff --git a/scripts/wnpp-check.sh b/scripts/wnpp-check.sh
index f134777..510d7c6 100755
--- a/scripts/wnpp-check.sh
+++ b/scripts/wnpp-check.sh
@@ -88,7 +88,7 @@ $GETCOMMAND $WNPPTMP http://www.debian.org/devel/wnpp/requested || \
{ echo "$PROGNAME: $CURLORWGET http://www.debian.org/devel/wnpp/requested failed." >&2; exit 1; }
sed -ne 's/.*<li><a href="https\?:\/\/bugs.debian.org\/\([0-9]*\)">\([^:<]*\)[: ]*\([^<]*\)<\/a>.*/RFP \1 \2 -- \3/; T d; p; : d' $WNPPTMP >> $WNPP
-awk -F' ' '{print "("$1" - #"$2") http://bugs.debian.org/"$2" "$3}' $WNPP | sort -k 5 > $WNPP_PACKAGES
+awk -F' ' '{print "("$1" - #"$2") https://bugs.debian.org/"$2" "$3}' $WNPP | sort -k 5 > $WNPP_PACKAGES
FOUND=0
for pkg in $PACKAGES
diff --git a/test/bashisms/exit-code.sh b/test/bashisms/exit-code.sh
index 48b9fcd..7f7bdf3 100644
--- a/test/bashisms/exit-code.sh
+++ b/test/bashisms/exit-code.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# http://bugs.debian.org/687450
+# https://bugs.debian.org/687450
exit -- 2 # BASHISM
exit 255
exit 256 # BASHISM
--
2.5.3
More information about the devscripts-devel
mailing list