mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
ntp: Update to 4.2.6p5
This commit is contained in:
parent
5e72e36f95
commit
d451d12128
@ -1,24 +1,26 @@
|
||||
{stdenv, fetchurl, libcap}:
|
||||
{ stdenv, fetchurl, libcap }:
|
||||
|
||||
assert stdenv.isLinux -> libcap != null;
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ntp-4.2.6p4";
|
||||
|
||||
name = "ntp-4.2.6p5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${name}.tar.gz";
|
||||
sha256 = "1ww1hpy0yfmj13vs46d80hs48hy8ig6kn6p6d8q2syym02khxhyy";
|
||||
sha256 = "077r69a41hasl8zf5c44km7cqgfhrkaj6a4jnr75j7nkz5qq7ayn";
|
||||
};
|
||||
|
||||
|
||||
configureFlags = ''
|
||||
--without-crypto
|
||||
${if stdenv.isLinux then "--enable-linuxcaps" else ""}
|
||||
'';
|
||||
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isLinux libcap;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.ntp.org/;
|
||||
description = "An implementation of the Network Time Protocol";
|
||||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user