2016-11-16 18:31:20 +00:00
|
|
|
{ fetchurl, fetchpatch, stdenv }:
|
2009-08-19 20:19:17 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-10-02 15:52:37 +00:00
|
|
|
name = "xinetd-2.3.15";
|
|
|
|
|
2009-08-19 20:19:17 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.xinetd.org/${name}.tar.gz";
|
2012-10-02 15:52:37 +00:00
|
|
|
sha256 = "1qsv1al506x33gh92bqa8w21k7mxqrbsrwmxvkj0amn72420ckmz";
|
2009-08-19 20:19:17 +00:00
|
|
|
};
|
|
|
|
|
2016-11-16 18:31:20 +00:00
|
|
|
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";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2009-08-19 20:19:17 +00:00
|
|
|
meta = {
|
|
|
|
description = "Secure replacement for inetd";
|
2011-12-13 12:43:11 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-08-19 20:19:17 +00:00
|
|
|
homepage = http://xinetd.org;
|
2014-11-06 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.free;
|
2009-08-19 20:19:17 +00:00
|
|
|
};
|
|
|
|
}
|