* NTP 4.2.4p5 (and the old url was broken).

svn path=/nixpkgs/trunk/; revision=12883
This commit is contained in:
Eelco Dolstra 2008-09-18 21:15:14 +00:00
parent cfef9ba3ad
commit 0548c19dbe

View file

@ -3,14 +3,22 @@
assert stdenv.isLinux -> libcap != null; assert stdenv.isLinux -> libcap != null;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ntp-4.2.4p4"; name = "ntp-4.2.4p5";
src = fetchurl { src = fetchurl {
url = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.4p4.tar.gz; url = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.4p5.tar.gz;
sha256 = "0im89i51ap7aqlhxq5isz5xg4h8w8ahwdhir8la3c83h3p47fcmv"; sha256 = "066x8gm55cziyc86ciwdq68y2xqfbbqqh8417nkwd1jmrihfmjvl";
}; };
configureFlags = '' configureFlags = ''
--without-crypto --without-crypto
${if stdenv.isLinux then "--enable-linuxcaps" else ""} ${if stdenv.isLinux then "--enable-linuxcaps" else ""}
''; '';
buildInputs = if stdenv.isLinux then [libcap] else []; buildInputs = if stdenv.isLinux then [libcap] else [];
meta = {
homepage = http://www.ntp.org/;
description = "An implementation of the Network Time Protocol";
};
} }