[Pkg-erlang-commits] r1523 - in yaws/trunk/debian: . patches

sgolovan at alioth.debian.org sgolovan at alioth.debian.org
Sun Jul 28 18:34:01 UTC 2013


Author: sgolovan
Date: 2013-07-28 18:34:01 +0000 (Sun, 28 Jul 2013)
New Revision: 1523

Added:
   yaws/trunk/debian/patches/sha.diff
Modified:
   yaws/trunk/debian/changelog
   yaws/trunk/debian/patches/series
Log:
[yaws]
  * Fixed FTBFS if built with Erlang R16B01 (closes: #718084).


Modified: yaws/trunk/debian/changelog
===================================================================
--- yaws/trunk/debian/changelog	2013-07-07 05:46:20 UTC (rev 1522)
+++ yaws/trunk/debian/changelog	2013-07-28 18:34:01 UTC (rev 1523)
@@ -1,8 +1,8 @@
-yaws (1.96-3) UNRELEASED; urgency=low
+yaws (1.96-3) unstable; urgency=low
 
-  * NOT RELEASED YET
+  * Fixed FTBFS if built with Erlang R16B01 (closes: #718084).
 
- -- Sergei Golovan <sgolovan at debian.org>  Fri, 10 May 2013 22:43:58 +0400
+ -- Sergei Golovan <sgolovan at debian.org>  Sun, 28 Jul 2013 22:33:38 +0400
 
 yaws (1.96-2) unstable; urgency=low
 

Modified: yaws/trunk/debian/patches/series
===================================================================
--- yaws/trunk/debian/patches/series	2013-07-07 05:46:20 UTC (rev 1522)
+++ yaws/trunk/debian/patches/series	2013-07-28 18:34:01 UTC (rev 1523)
@@ -2,3 +2,4 @@
 gnu.diff
 docs.diff
 m32m64.diff
+sha.diff

Added: yaws/trunk/debian/patches/sha.diff
===================================================================
--- yaws/trunk/debian/patches/sha.diff	                        (rev 0)
+++ yaws/trunk/debian/patches/sha.diff	2013-07-28 18:34:01 UTC (rev 1523)
@@ -0,0 +1,9 @@
+--- yaws-1.96.orig/src/yaws_websockets.erl
++++ yaws-1.96/src/yaws_websockets.erl
+@@ -1247,5 +1247,5 @@
+ 
+ hash_nonce(Nonce) ->
+     Salted = Nonce ++ "258EAFA5-E914-47DA-95CA-C5AB0DC85B11",
+-    HashBin = crypto:sha(Salted),
++    HashBin = crypto:hash(sha, Salted),
+     base64:encode_to_string(HashBin).




More information about the Pkg-erlang-commits mailing list