Commit graph

44 commits

Author SHA1 Message Date
R. RyanTM 0391ca2b41 chrony: 4.0 -> 4.1 2021-05-14 09:29:20 +00:00
Ben Siraphob 76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Bruno Bigras 4e6f5a3054 chrony: 3.5.1 -> 4.0 2020-10-30 17:44:24 -04:00
Stig Palmquist 4aa493a829
chrony: 3.5 -> 3.5.1
https://chrony.tuxfamily.org/news.html#_20_aug_2020_chrony_3_5_1_released
Fixes CVE-2020-14367
2020-08-23 02:40:38 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster 6ca6ac796b
treewide: configureFlags is a flat list 2019-12-31 01:37:49 +01:00
Austin Seipp 5d8bd748f3
chrony: fix build break from libseccomp 2.4.2
03be1adb bumped libseccomp to 2.4.2, which has this note in the
changelog:

    "Stop defining __NR_x values for syscalls that don't exist,
     libseccomp now uses __SNR_x internally"

This change means that invalid syscalls for Linux that aren't defined in
glibc will no longer work. In this unlucky case, 'chrony' was trying to
reference the syscall number for 'ppoll', which doesn't exist. Fixing
this is easy with a simple patch.

This also includes another patch from upstream, which allows
clock_adjtime in the seccomp filter list. This is a robustness measure
for future glibc versions that use clock_adjutime inside adjtimex().

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-12-05 18:35:43 -06:00
Austin Seipp f0ad5ebdfb nixos/{chrony,ntpd,openntpd}: add myself as maintainer
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-09-12 11:45:51 -05:00
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Rickard Nilsson 225e412edb Remove myself as maintainer of some packages. 2019-08-20 15:24:01 +02:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM 4066babc96 chrony: 3.4 -> 3.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/chrony/versions
2019-05-21 01:49:20 -07:00
R. RyanTM 41457058da chrony: 3.3 -> 3.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/chrony/versions
2018-09-21 10:40:47 +00:00
Jan Malakhovski 2cd4bcec4a chrony: fix tests 2018-08-11 09:35:21 +00:00
Richard Marko 91575dd285 pps-tools: init at 1.0.2, enable for chrony, gpsd, ntp (#42889) 2018-07-04 11:28:07 +00:00
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
R. RyanTM 2db78d5be6 chrony: 3.2 -> 3.3
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/chrony/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/d5v3k2h8rdhxzyg4my66nrr0zhdhzvaw-chrony-3.3/bin/chronyc --help’ got 0 exit code
- ran ‘/nix/store/d5v3k2h8rdhxzyg4my66nrr0zhdhzvaw-chrony-3.3/bin/chronyc help’ got 0 exit code
- ran ‘/nix/store/d5v3k2h8rdhxzyg4my66nrr0zhdhzvaw-chrony-3.3/bin/chronyd -h’ got 0 exit code
- ran ‘/nix/store/d5v3k2h8rdhxzyg4my66nrr0zhdhzvaw-chrony-3.3/bin/chronyd --help’ got 0 exit code
- found 3.3 with grep in /nix/store/d5v3k2h8rdhxzyg4my66nrr0zhdhzvaw-chrony-3.3
- directory tree listing: https://gist.github.com/60dede830d6efc2bf29be2b4983e4c97
2018-04-11 00:28:41 -07:00
Franz Pletz 9fc7f918ee
chrony: 3.1 -> 3.2 2017-10-02 18:54:46 +02:00
Franz Pletz ed71a3a678
chrony: 3.0 -> 3.1 2017-06-20 03:45:42 +02:00
Franz Pletz 1d251e268c
chrony: 2.4.1 -> 3.0, enable seccomp 2017-01-26 03:52:45 +01:00
Franz Pletz dc0c7104ea
chrony: 2.4 -> 2.4.1 2016-12-15 15:35:22 +01:00
Franz Pletz 7d5546af42
chrony: 2.3 -> 2.4 2016-09-24 15:33:05 +02:00
Robin Gloster f222d98746 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-25 12:47:13 +00:00
Tuomas Tynkkynen 77a73115cd chrony: Tweak meta
- "repository" -> "repositories"
- reflow longDescription
2016-07-23 13:36:37 +03:00
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster 3b4765c9e5 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-02-28 16:32:57 +00:00
Franz Pletz 158ff99ae4 chrony: 2.2 -> 2.3 2016-02-27 18:00:07 +01:00
Robin Gloster 62f65d15ca chrony: enable pie hardening 2016-02-26 17:54:46 +00:00
Franz Pletz d89f269b26 chrony service: Members of group chrony can use chronyc 2015-11-03 15:07:18 +01:00
Franz Pletz 1a79058a81 chrony: Add fpletz to maintainers 2015-11-03 15:07:18 +01:00
Franz Pletz 596b06bd1c chrony: Build with NSS for secure hash support 2015-11-03 15:07:18 +01:00
Franz Pletz a639e51760 chrony: 2.1.1 -> 2.2 2015-11-03 15:06:45 +01:00
Daniel Fox Franke 4f70094857 chrony: 1.31 -> 2.1.1 2015-08-08 11:07:12 -04:00
Rickard Nilsson 8dd1abe3fa chrony: Update from 1.30 to 1.31 2014-09-16 13:53:18 +02:00
Luca Bruno 0b038724c5 chrony: fails to build on darwin 2014-08-10 11:50:43 +02:00
Rickard Nilsson c59a602465 chrony: Update from 1.29.1 to 1.30 2014-08-06 14:08:08 +02:00
Evgeny Egorochkin 6f57402bad chrony: update from 1.29 to 1.29.1 2014-03-08 18:27:30 +02:00
Evgeny Egorochkin 41333e1344 chrony; fix installation 2013-12-04 06:11:41 +02:00
Nixpkgs Monitor 1db5dd4ffb chrony: update from 1.27 to 1.29, potentially fixes CVE-2012-4502, CVE-2012-4503 2013-12-04 05:56:17 +02:00
Bjørn Forsman 28ac782583 Some description fixes
There are many more packages to fix, this is just a start.

Rules:
 * Don't repeat the package name (not always that easy...)
 * Start with capital letter
 * Don't end with full stop
 * Don't start with "The ..." or "A ..."

I've also added descriptions to some packages and rewritten others.
2013-10-05 19:36:23 +02:00
Ricardo M. Correia 200fd97b04 chrony: Add readline and libcap (on Linux) as dependencies
libcap is needed for chronyd to drop privileges when starting up.
readline was added as a convenience for when using chronyc.
2013-05-23 02:11:21 +00:00
Ricardo M. Correia e28b51360d Add chrony.
Chrony is a pair of programs which are used to maintain the accuracy of the system clock on a computer.
2013-05-22 00:41:58 +02:00