Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-01-08 12:29:36 +00:00
committed by GitHub
23 changed files with 426 additions and 23 deletions
+2 -1
View File
@@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
./overflow_CVE-2012-4409.patch
./segv.patch
./sprintf_CVE-2012-4527.patch
./malloc_to_stdlib.patch
];
buildInputs = [ libmcrypt libmhash ];
@@ -26,7 +27,7 @@ stdenv.mkDerivation rec {
ever-wider range of algorithms and modes.
'';
homepage = "http://mcrypt.sourceforge.net";
license = stdenv.lib.licenses.gpl2;
license = stdenv.lib.licenses.gpl3Only;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.qknight ];
};
+26
View File
@@ -0,0 +1,26 @@
From e295844e8ef5c13487996ab700e5f12a7fadb1a6 Mon Sep 17 00:00:00 2001
From: Nima Vasseghi <nmv@fb.com>
Date: Wed, 30 Dec 2020 16:06:46 -0800
Subject: [PATCH] malloc.h to stdlib.h in rfc2440.c
The malloc.h is deprecated and should not be used
---
src/rfc2440.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rfc2440.c b/src/rfc2440.c
index 5a1f296..4d6a5db 100644
--- a/src/rfc2440.c
+++ b/src/rfc2440.c
@@ -23,7 +23,7 @@
#include <zlib.h>
#endif
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "xmalloc.h"
#include "keys.h"
--
2.13.5
+2 -2
View File
@@ -18,11 +18,11 @@ buildPythonPackage rec {
# The websites youtube-dl deals with are a very moving target. That means that
# downloads break constantly. Because of that, updates should always be backported
# to the latest stable release.
version = "2021.01.03";
version = "2021.01.08";
src = fetchurl {
url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
sha256 = "0qqixcr748nfhnihkjzayzdja26kgrsds45q5s8krmfm3b79ipli";
sha256 = "1k870v9xc7g16nvixa272sdjnmc7pl49ymmnn6rdz0mcj2548h3k";
};
nativeBuildInputs = [ installShellFiles makeWrapper ];