Package: pastebinit
Version: 1.5-1

The URL shown in the manpage was not updated in 1.5-1 (add https
support. Closes: #799580, closes: #708206.)

When a user with an existing ~/.pastebinit.xml tries with a URL of
http://paste.ubuntu.com or a user creates a config file per the manpage
they will get the following error:

  Unknown website, please post a bugreport to request
  this pastebin to be added (http://paste.ubuntu.com)

Here is a suggested patch:

Description: URL in manpage not updated for https
 The URL shown in the manpage was not updated in 1.5-1
 (add https support. Closes: #799580, closes: #708206.)
 .
 When a user with an existing ~/.pastebinit.xml tries with a URL
 of http://paste.ubuntu.com or a user creates a config file per
 the manpage they will get the following error:
 .
 Unknown website, please post a bugreport to request this
 pastebin to be added (http://paste.ubuntu.com)
 .
Author: Robert C Jennings <robert.jenni...@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1574849

---

--- pastebinit-1.5.orig/pastebinit.xml
+++ pastebinit-1.5/pastebinit.xml
@@ -4,7 +4,7 @@
   <!ENTITY dhfirstname "<firstname>Stephane</firstname>">
   <!ENTITY dhsurname   "<surname>Graber</surname>">
   <!-- Please adjust the date whenever revising the manpage. -->
-  <!ENTITY dhdate      "<date>January 06, 2014</date>">
+  <!ENTITY dhdate      "<date>April 25, 2016</date>">
   <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
   <!ENTITY dhemail     "<email>stgra...@ubuntu.com</email>">
   <!ENTITY dhusername  "Stephane Graber">
@@ -112,7 +112,7 @@
     <para>Here's an example file:</para>
     <code language="xml">
  &lt;pastebinit&gt;
-     &lt;pastebin&gt;http://paste.ubuntu.com&lt;/pastebin&gt;
+     &lt;pastebin&gt;https://paste.ubuntu.com&lt;/pastebin&gt;
      &lt;author&gt;Stephane Graber&lt;/author&gt;
      &lt;jabberid&gt;stgra...@stgraber.org&lt;/jabberid&gt;
      &lt;format&gt;text&lt;/format&gt;

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to