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