xinetd: patch for CVE-2013-4342

This commit is contained in:
Graham Christensen 2016-11-16 13:31:20 -05:00 committed by Graham Christensen
parent 1eb545df05
commit 7ed55dc9e4
No known key found for this signature in database
GPG Key ID: ACA1C1D120C83D5C

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv }: { fetchurl, fetchpatch, stdenv }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "xinetd-2.3.15"; name = "xinetd-2.3.15";
@ -8,6 +8,14 @@ stdenv.mkDerivation rec {
sha256 = "1qsv1al506x33gh92bqa8w21k7mxqrbsrwmxvkj0amn72420ckmz"; sha256 = "1qsv1al506x33gh92bqa8w21k7mxqrbsrwmxvkj0amn72420ckmz";
}; };
patches = [
(fetchpatch {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/xinetd/files/xinetd-2.3.15-creds.patch?id=426002bfe2789fb6213fba832c8bfee634d68d02";
name = "CVE-2013-4342.patch";
sha256 = "1iqcrqzgisz4b6vamprzg2y6chai7qpifqcihisrwbjwbc4wzj8v";
})
];
meta = { meta = {
description = "Secure replacement for inetd"; description = "Secure replacement for inetd";
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;