Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock
X-Debbugs-CC: vivia.nikolai...@puri.sm pitsior...@gmail.com

Please unblock megadown 0~20180705+git83c53dd-1.1 . This upload fixes RC bug 
https://bugs.debian.org/927462 which renders the package unusable.

The full debdiff is pasted here.

--
Regards,
Boyuan Yang

diff --git a/debian/changelog b/debian/changelog
index 8f6859f..b6146d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+megadown (0~20180705+git83c53dd-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Cherry-pick upstream fix on link parsing logic to make the tool
+    actually usable. (Closes: #927462)
+
+ -- Boyuan Yang <by...@debian.org>  Mon, 13 May 2019 13:59:17 -0400
+
 megadown (0~20180705+git83c53dd-1) unstable; urgency=medium
 
   * Initial release (Closes: #904702)
diff --git a/debian/patches/0003-File-hex-key-fix.patch b/debian/patches/0003-
File-hex-key-fix.patch
new file mode 100644
index 0000000..3f9a66d
--- /dev/null
+++ b/debian/patches/0003-File-hex-key-fix.patch
@@ -0,0 +1,26 @@
+From: tonikelope <tonikel...@gmail.com>
+Date: Wed, 17 Apr 2019 12:41:19 +0200
+Subject: File hex key fix
+
+Bug-Debian: https://bugs.debian.org/927462
+Applied-Upstream: 
https://github.com/tonikelope/megadown/commit/734e46fec67a2798bfbb5e21a75f04b90afafd65
+Signed-Off-By: Boyuan Yang <by...@debian.org>
+
+---
+ megadown | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/megadown b/megadown
+index d928bad..a0c362a 100755
+--- a/megadown
++++ b/megadown
+@@ -145,8 +145,7 @@ function hrk2hk {
+       declare -A hk
+       hk[0]=$(( 0x${1:0:16} ^ 0x${1:32:16} ))
+       hk[1]=$(( 0x${1:16:16} ^ 0x${1:48:16} ))
+-
+-      printf "%016x" ${hk[*]}
++      printf "%016x%016x" ${hk[0]} ${hk[1]}
+ }
+ 
+ # 1:link
diff --git a/debian/patches/series b/debian/patches/series
index 2f4b7de..9665868 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 use_installed_helpers.patch
 2to3.patch
+0003-File-hex-key-fix.patch

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to