Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package lua-http

Dear release team,

the 0.1-3 update fixes two bugs:

- 0.1-1 package contained incorrect Breaks, this was fixed in 0.1-2
  but never uploaded to unstable

- 0.1-3 contains upstream patch to fix RC bug #863286 (HTTP Request
  string failed in non-comma-as-separator locales)

unblock lua-http/0.1-3

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64
 (x86_64)

Kernel: Linux 4.4.0-67-generic (SMP w/24 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 3.0 (quilt)
Source: lua-http
Binary: lua-http
Architecture: all
Version: 0.1-3
Maintainer: Ondřej Surý <ond...@debian.org>
Homepage: https://github.com/daurnimator/lua-http
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/git/pkg-lua/lua-http.git
Vcs-Git: git://anonscm.debian.org/pkg-lua/lua-http.git
Build-Depends: debhelper (>= 9), dh-lua, pandoc
Package-List:
 lua-http deb interpreters optional arch=all
Checksums-Sha1:
 b03216bb5c903b07678464664c142ff9c76833c0 116507 lua-http_0.1.orig.tar.gz
 36f72780773ad5752ce33568af9b30de0a582664 3452 lua-http_0.1-3.debian.tar.xz
Checksums-Sha256:
 4ba01edc7f02d49f98cf98883d7ad9b47f5e4c11dd95d5149f980f40ba12e546 116507 
lua-http_0.1.orig.tar.gz
 537488d3a5d918be5f5b625ca53582e318e66484f58f4d9cf034744219275696 3452 
lua-http_0.1-3.debian.tar.xz
Files:
 f5da73665fb3a13cd600e8b17e0c1bb9 116507 lua-http_0.1.orig.tar.gz
 2e5cbfb4a8dca99abf5fb33d5d4569fb 3452 lua-http_0.1-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEMLkz2A/OPZgaLTj7DJm3DvT8uwcFAlksChtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDMw
QjkzM0Q4MEZDRTNEOTgxQTJEMzhGQjBDOTlCNzBFRjRGQ0JCMDcACgkQDJm3DvT8
uwej0w//aN0E0k7GSSpB4wY/zaZWAG3x1fzY9diWU6HF7QvE+r4WDunVwXG8trW/
/JA1ilJfvCLkuBG9C0sFIiLWtkRVrGaZzudbEcEZvjMB4Q4QfvAbpG6v0SJzH8jA
TGj3YeF6IkSG9qUDB94o4pKTfiGEFIvdAP3UqHeJElsMYTMfN16O/HQ6VLC0C1lr
PG8aLnG+dik5eDtu8oopchRTHEj8iD7A0VMPK/7FN6VagaDpWm4F6+cEOq2IEqTj
gbrW4yJqHYEvc3OMhpQ9PiO+sJ8zHxD+z2fzHeXTz5AZQFLwWsZaPRZ6pC/mcvfx
91vZ0330zJ2Bm/dtZ7LSlUncB8gHTX16YiLc3uZc/A6wDM3x4i6LGaGYcr1DaVVv
hBpM7JoPmPFl31gue/MmY9wPe+JAzVKozPJs2aNoCgsrBFdyT3bUe6ZRkop9ITjb
VU0C2uKdxp7xl2+WDbTyKrkpgxVBI9TDwtwQHDIDZB/5qkLvkhHem0YCJZGBLFxa
yeNV97mOoinQp9haDHeBrbImSgNFY/hy+X+weDI8PfVp2s8AvM/DyfZQK8YafgJK
5m/YOQ4gMWIhPCPMdXy3onmYJuBAa2MehHlq+ZZGH83BrImIUmFqAN+D876NjnSh
MR/uHYAkxZK8njUwc2dRFrHVZ/v2SqAtxahBsXVXlE+nqgD8f+0=
=Wpip
-----END PGP SIGNATURE-----
diff -Nru lua-http-0.1/debian/changelog lua-http-0.1/debian/changelog
--- lua-http-0.1/debian/changelog       2016-12-19 13:13:38.000000000 +0100
+++ lua-http-0.1/debian/changelog       2017-05-29 13:39:46.000000000 +0200
@@ -1,3 +1,16 @@
+lua-http (0.1-3) unstable; urgency=medium
+
+  * Fix request building in locales with comma decimal separator
+    (Closes: #863286) (Courtesy of Daurnimator)
+
+ -- Ondřej Surý <ond...@debian.org>  Mon, 29 May 2017 13:39:46 +0200
+
+lua-http (0.1-2) unstable; urgency=medium
+
+  * New lua-http breaks knot-resolver-module-http and not knot-resolver
+
+ -- Ondřej Surý <ond...@debian.org>  Tue, 20 Dec 2016 11:39:33 +0100
+
 lua-http (0.1-1) unstable; urgency=medium
 
   * Imported Upstream version 0.1
diff -Nru lua-http-0.1/debian/control lua-http-0.1/debian/control
--- lua-http-0.1/debian/control 2016-12-19 13:13:38.000000000 +0100
+++ lua-http-0.1/debian/control 2017-05-29 13:39:46.000000000 +0200
@@ -21,7 +21,7 @@
          lua-luaossl (>= 20161208),
          ${misc:Depends},
          ${shlibs:Depends}
-Breaks: knot-resolver (<< 1.2.0~)
+Breaks: knot-resolver-module-http (<< 1.2.0~)
 Provides: ${lua:Provides}
 XB-Lua-Versions: ${lua:Versions}
 Description: HTTP library for Lua
diff -Nru 
lua-http-0.1/debian/patches/0001-http-h1_connection-Fix-request-building-in-locales-w.patch
 
lua-http-0.1/debian/patches/0001-http-h1_connection-Fix-request-building-in-locales-w.patch
--- 
lua-http-0.1/debian/patches/0001-http-h1_connection-Fix-request-building-in-locales-w.patch
 1970-01-01 01:00:00.000000000 +0100
+++ 
lua-http-0.1/debian/patches/0001-http-h1_connection-Fix-request-building-in-locales-w.patch
 2017-05-29 13:39:46.000000000 +0200
@@ -0,0 +1,32 @@
+From: daurnimator <q...@daurnimator.com>
+Date: Thu, 25 May 2017 11:04:32 +1000
+Subject: http/h1_connection: Fix request building in locales with comma
+ decimal separator
+
+Reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863286
+---
+ http/h1_connection.lua | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/http/h1_connection.lua b/http/h1_connection.lua
+index 1dd5def..28db038 100644
+--- a/http/h1_connection.lua
++++ b/http/h1_connection.lua
+@@ -336,7 +336,7 @@ function connection_methods:write_request_line(method, 
path, httpversion, timeou
+       assert(method:match("^[^ \r\n]+$"))
+       assert(path:match("^[^ \r\n]+$"))
+       assert(httpversion == 1.0 or httpversion == 1.1)
+-      local line = string.format("%s %s HTTP/%1.1f\r\n", method, path, 
httpversion)
++      local line = string.format("%s %s HTTP/%s\r\n", method, path, 
httpversion == 1.0 and "1.0" or "1.1")
+       local ok, err, errno = self.socket:xwrite(line, "f", timeout)
+       if not ok then
+               return nil, err, errno
+@@ -348,7 +348,7 @@ function connection_methods:write_status_line(httpversion, 
status_code, reason_p
+       assert(httpversion == 1.0 or httpversion == 1.1)
+       assert(status_code:match("^[1-9]%d%d$"), "invalid status code")
+       assert(type(reason_phrase) == "string" and 
reason_phrase:match("^[^\r\n]*$"), "invalid reason phrase")
+-      local line = string.format("HTTP/%1.1f %s %s\r\n", httpversion, 
status_code, reason_phrase)
++      local line = string.format("HTTP/%s %s %s\r\n", httpversion == 1.0 and 
"1.0" or "1.1", status_code, reason_phrase)
+       local ok, err, errno = self.socket:xwrite(line, "f", timeout)
+       if not ok then
+               return nil, err, errno
diff -Nru lua-http-0.1/debian/patches/series lua-http-0.1/debian/patches/series
--- lua-http-0.1/debian/patches/series  1970-01-01 01:00:00.000000000 +0100
+++ lua-http-0.1/debian/patches/series  2017-05-29 13:39:46.000000000 +0200
@@ -0,0 +1 @@
+0001-http-h1_connection-Fix-request-building-in-locales-w.patch

Attachment: lua-http_0.1-3.debian.tar.xz
Description: application/xz

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 29 May 2017 13:39:46 +0200
Source: lua-http
Binary: lua-http
Architecture: source
Version: 0.1-3
Distribution: unstable
Urgency: medium
Maintainer: Ondřej Surý <ond...@debian.org>
Changed-By: Ondřej Surý <ond...@debian.org>
Description:
 lua-http   - HTTP library for Lua
Closes: 863286
Changes:
 lua-http (0.1-3) unstable; urgency=medium
 .
   * Fix request building in locales with comma decimal separator
     (Closes: #863286) (Courtesy of Daurnimator)
Checksums-Sha1:
 0488cfdf6c0767c7bf3f666ff8cafa78307d67f2 1971 lua-http_0.1-3.dsc
 36f72780773ad5752ce33568af9b30de0a582664 3452 lua-http_0.1-3.debian.tar.xz
 092a53285eac04d036fbf7961fb4fcbb666379ef 6416 lua-http_0.1-3_amd64.buildinfo
Checksums-Sha256:
 cb108cf725543714a9a72cbd46acb8513a6704c04acbaf5c654e3b6b982f9426 1971 
lua-http_0.1-3.dsc
 537488d3a5d918be5f5b625ca53582e318e66484f58f4d9cf034744219275696 3452 
lua-http_0.1-3.debian.tar.xz
 33ce34fb5342140dfe5fdafdc27e9666b506de20c2dcb236c0e72f5e3d9cf7cf 6416 
lua-http_0.1-3_amd64.buildinfo
Files:
 2cff88c0e84128f822e6d742f89276b3 1971 interpreters optional lua-http_0.1-3.dsc
 2e5cbfb4a8dca99abf5fb33d5d4569fb 3452 interpreters optional 
lua-http_0.1-3.debian.tar.xz
 6d1a8fa2c4b8188de13e8b0560c7f398 6416 interpreters optional 
lua-http_0.1-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEMLkz2A/OPZgaLTj7DJm3DvT8uwcFAlksChxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDMw
QjkzM0Q4MEZDRTNEOTgxQTJEMzhGQjBDOTlCNzBFRjRGQ0JCMDcACgkQDJm3DvT8
uwfKRRAAiRnHnumZyAI2CPmutd1AUdEOcwy/BuqsexR1183tpFFDFzo1L4wz1Y72
agwgrpIOmz5ztXvW1m5+Z/XlXhixOhGHtcvqQNecuCvMUALt4BntONRbRf2pvCr0
SQy6Ga8wayaalrly7dNZBOWd17d+SgF7TXP1HCjta67ga4idvFCUPxKN4e9f4Lpg
j2BjPniampfvVAHlT8+PHEkKiPgXN70GKmXi2uPvzgXn3I3tgPH/SGTo7ffuTh4v
dDgFZXm4lQOQ3J5MJwi5hzVNrnQL2PSvaLslxzARsV1ut4B0BVAnQUpJ7x3GaGR7
rpZ5PJbs+S6qXpz11lfON82uDc0pqpy/smk/nRS5f+9wwC82pBRuuFL6gY+q5yGK
s+m2K8b97VmnWihp/VFk2YnKaiMILdrOOd9WS+6tqbU2Wavk0b8FAAwdDo6uGjMm
4aAd7JvDBe9jVMLkkVuMuRZcSh5S0ETJZ6LNH5z6s9buOAYR0Zs9lp8G8HdKwwYm
HEK62F5z8/7Pq/yQNYkUEzAUfXMcWxXNCzzH7olMRkuysVS2km9j0ZkFnaMR+eTg
rvfkLK/dOkLFmCsEbaIbBaB8xNiYguWeWGQcNAxiPlIRiNY9wSMGfS2Y4T7mI5Fd
sHvwby0u2+JPCAMMHFZ3u7rkClylVQ9prEAXORvTM/kjAZue3Jc=
=L2ZB
-----END PGP SIGNATURE-----

Reply via email to