Skip to content

Commit

Permalink
chrony: 3.5.1 -> 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bbigras committed Oct 30, 2020
1 parent 989b403 commit 4e6f5a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 48 deletions.
26 changes: 0 additions & 26 deletions pkgs/tools/networking/chrony/allow-clock_adjtime.patch

This file was deleted.

13 changes: 4 additions & 9 deletions pkgs/tools/networking/chrony/default.nix
@@ -1,27 +1,22 @@
{ stdenv, fetchurl, pkgconfig, libcap, readline, texinfo, nss, nspr
, libseccomp, pps-tools }:
, libseccomp, pps-tools, gnutls }:

assert stdenv.isLinux -> libcap != null;

stdenv.mkDerivation rec {
pname = "chrony";
version = "3.5.1";
version = "4.0";

src = fetchurl {
url = "https://download.tuxfamily.org/chrony/${pname}-${version}.tar.gz";
sha256 = "19ywl8a3lb2id7lcna5hp2g4pjnfwdc9ihr0fk6i9m45vdq2za0v";
sha256 = "09f6w2x5h5kamb4rhcbaz911q1f730qdalgsn8s48yjyqlafl9xy";
};

patches = [
./allow-clock_adjtime.patch
./fix-seccomp-build.patch
];

postPatch = ''
patchShebangs test
'';

buildInputs = [ readline texinfo nss nspr ]
buildInputs = [ readline texinfo nss nspr gnutls ]
++ stdenv.lib.optionals stdenv.isLinux [ libcap libseccomp pps-tools ];
nativeBuildInputs = [ pkgconfig ];

Expand Down
13 changes: 0 additions & 13 deletions pkgs/tools/networking/chrony/fix-seccomp-build.patch

This file was deleted.

0 comments on commit 4e6f5a3

Please sign in to comment.