Add new openntpd package in version 20080406p-10.
It's actually a fork from Debian who are providing cross-platform compatibility fixes for it. A big advantage is that it is far more minimal than the ntpd reference implementation and especially useful if you don't want to run an NTP service. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
f9e63ca20d
commit
3fbb9f0502
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, fetchgit, openssl
|
||||
, privsepPath ? "/var/empty"
|
||||
, privsepUser ? "ntp"
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openntpd-${version}";
|
||||
version = "20080406p-10";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.debian.org/collab-maint/openntpd.git";
|
||||
rev = "refs/tags/debian/${version}";
|
||||
sha256 = "0gd6j4sw4x4adlz0jzbp6lblx5vlnk6l1034hzbj2xd95k8hjhh8";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e '/^install:/,/^$/{/@if.*PRIVSEP_PATH/,/^$/d}' Makefile.in
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-privsep-path=${privsepPath}"
|
||||
"--with-privsep-user=${privsepUser}"
|
||||
];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.openntpd.org/";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
description = "OpenBSD NTP daemon (Debian port)";
|
||||
};
|
||||
}
|
|
@ -1752,6 +1752,8 @@ let
|
|||
|
||||
openjade = callPackage ../tools/text/sgml/openjade { };
|
||||
|
||||
openntpd = callPackage ../tools/networking/openntpd { };
|
||||
|
||||
openobex = callPackage ../tools/bluetooth/openobex { };
|
||||
|
||||
openopc = callPackage ../tools/misc/openopc {
|
||||
|
|
Loading…
Reference in New Issue