2021-01-15 07:07:56 +00:00
|
|
|
{ fetchurl, fetchpatch, lib, stdenv, libtirpc }:
|
2009-08-19 21:19:17 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-10-02 16:52:37 +01:00
|
|
|
name = "xinetd-2.3.15";
|
|
|
|
|
2009-08-19 21:19:17 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.xinetd.org/${name}.tar.gz";
|
2012-10-02 16:52:37 +01:00
|
|
|
sha256 = "1qsv1al506x33gh92bqa8w21k7mxqrbsrwmxvkj0amn72420ckmz";
|
2009-08-19 21:19:17 +01: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";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-08-22 18:36:46 +01:00
|
|
|
buildInputs = [ libtirpc ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];
|
|
|
|
NIX_LDFLAGS = [ "-ltirpc" ];
|
|
|
|
|
2009-08-19 21:19:17 +01:00
|
|
|
meta = {
|
|
|
|
description = "Secure replacement for inetd";
|
2021-01-15 07:07:56 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://xinetd.org";
|
2021-01-15 07:07:56 +00:00
|
|
|
license = lib.licenses.free;
|
2009-08-19 21:19:17 +01:00
|
|
|
};
|
|
|
|
}
|