[libapp-nopaste-perl] 01/02: Add a patch to use HTTPS for paste.debian.net and paste.ubuntu.com

gregor herrmann gregoa at debian.org
Sat Feb 25 13:51:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libapp-nopaste-perl.

commit bd0143c3cb44ee8dde5a3e49baf60bdf6b861fd5
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Feb 25 14:51:01 2017 +0100

    Add a patch to use HTTPS for paste.debian.net and paste.ubuntu.com
---
 debian/patches/debian_ubuntu-https.patch | 85 ++++++++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 86 insertions(+)

diff --git a/debian/patches/debian_ubuntu-https.patch b/debian/patches/debian_ubuntu-https.patch
new file mode 100644
index 0000000..8cdbadc
--- /dev/null
+++ b/debian/patches/debian_ubuntu-https.patch
@@ -0,0 +1,85 @@
+Description: use HTTPS for paste.debian.net and paste.ubuntu.com
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-02-25
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=120369
+Bug: https://rt.cpan.org/Ticket/Display.html?id=120369
+
+--- a/lib/App/Nopaste/Service/Debian.pm
++++ b/lib/App/Nopaste/Service/Debian.pm
+@@ -1,7 +1,7 @@
+ use strict;
+ use warnings;
+ package App::Nopaste::Service::Debian;
+-# ABSTRACT: Service provider for Debian - http://paste.debian.net/
++# ABSTRACT: Service provider for Debian - https://paste.debian.net/
+ 
+ our $VERSION = '1.007';
+ 
+@@ -246,7 +246,7 @@
+     "yaml" => "yaml",
+ };
+ 
+-sub uri { "http://paste.debian.net/" }
++sub uri { "https://paste.debian.net/" }
+ 
+ sub fill_form {
+     my $self = shift;
+@@ -286,7 +286,7 @@
+ 
+ =head1 NAME
+ 
+-App::Nopaste::Service::Debian - Service provider for Debian - http://paste.debian.net/
++App::Nopaste::Service::Debian - Service provider for Debian - https://paste.debian.net/
+ 
+ =head1 VERSION
+ 
+--- a/lib/App/Nopaste/Service/Ubuntu.pm
++++ b/lib/App/Nopaste/Service/Ubuntu.pm
+@@ -1,7 +1,7 @@
+ use strict;
+ use warnings;
+ package App::Nopaste::Service::Ubuntu;
+-# ABSTRACT: Service provider for Ubuntu - http://paste.ubuntu.com/
++# ABSTRACT: Service provider for Ubuntu - https://paste.ubuntu.com/
+ 
+ our $VERSION = '1.007';
+ 
+@@ -207,7 +207,7 @@
+     "YAML"                           => "yaml",
+ };
+ 
+-sub uri { "http://paste.ubuntu.com/" }
++sub uri { "https://paste.ubuntu.com/" }
+ 
+ sub fill_form {
+     my $self = shift;
+@@ -244,7 +244,7 @@
+ 
+ =head1 NAME
+ 
+-App::Nopaste::Service::Ubuntu - Service provider for Ubuntu - http://paste.ubuntu.com/
++App::Nopaste::Service::Ubuntu - Service provider for Ubuntu - https://paste.ubuntu.com/
+ 
+ =head1 VERSION
+ 
+--- a/t/004-02-debian.t
++++ b/t/004-02-debian.t
+@@ -5,6 +5,6 @@
+ 
+ use App::Nopaste::Service::Debian;
+ 
+-is(App::Nopaste::Service::Debian->uri, 'http://paste.debian.net/');
++is(App::Nopaste::Service::Debian->uri, 'https://paste.debian.net/');
+ 
+ done_testing;
+--- a/t/004-10-ubuntu.t
++++ b/t/004-10-ubuntu.t
+@@ -5,6 +5,6 @@
+ 
+ use App::Nopaste::Service::Ubuntu;
+ 
+-is(App::Nopaste::Service::Ubuntu->uri, 'http://paste.ubuntu.com/');
++is(App::Nopaste::Service::Ubuntu->uri, 'https://paste.ubuntu.com/');
+ 
+ done_testing;
diff --git a/debian/patches/series b/debian/patches/series
index 2e9783b..dc8b5e1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 use-usr-bin-perl-shebang.patch
+debian_ubuntu-https.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapp-nopaste-perl.git



More information about the Pkg-perl-cvs-commits mailing list