Commit Graph

131 Commits

Author SHA1 Message Date
github-actions[bot]
e11b11e738
Merge staging-next into staging 2023-01-27 12:01:56 +00:00
Alyssa Ross
dcb1b49be6 libkrb5: fix BSD cross-compilation
For Linux and Darwin, it uses $(CC), but for BSD it hardcodes ld for
some reason.
2023-01-27 09:37:19 +00:00
Shawn8901
a59dda942c treewide: remove global with lib; statements in pkgs/development 2023-01-26 18:31:02 +01:00
github-actions[bot]
79cb2f7e61
Merge master into staging-next 2023-01-14 11:12:34 +00:00
Robert Scott
5e2d7188e7 krb5: add some key reverse-dependencies to passthru.tests 2022-12-26 17:10:11 +00:00
R. Ryantm
967b87ea6e krb5: 1.20 -> 1.20.1 2022-12-19 01:06:51 +00:00
R. Ryantm
574faaf47d heimdal: 7.7.0 -> 7.8.0 2022-11-16 03:25:18 +00:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Graham Christensen
c2b898da76 treewide: drop -l$NIX_BUILD_CORES
Passing `-l$NIX_BUILD_CORES` improperly limits the overall system load.

For a build machine which is configured to run `$B` builds where each
build gets `total cores / B` cores (`$C`), passing `-l $C` to make will
improperly limit the load to `$C` instead of `$B * $C`.

This effect becomes quite pronounced on machines with 80 cores, with
40 simultaneous builds and a cores limit of 2. On a machine with this
configuration, Nix will run 40 builds and make will limit the overall
system load to approximately 2. A build machine with this many cores
can happily run with a load approaching 80.

A non-solution is to oversubscribe the machine, by picking a larger
`$C`. However, there is no way to divide the number of cores in a way
which fairly subdivides the available cores when `$B` is greater than
1.

There has been exploration of passing a jobserver in to the sandbox,
or sharing a jobserver between all the builds. This is one option, but
relatively complicated and only supports make. Lots of other software
uses its own implementation of `-j` and doesn't support either `-l` or
the Make jobserver.

For the case of an interactive user machine, the user should limit
overall system load using `$B`, `$C`, and optionally systemd's
cpu/network/io limiting features.

Making this change should significantly improve the utilization of our
build farm, and improve the throughput of Hydra.
2022-09-22 16:01:23 -04:00
ajs124
5719e20547 krb5: add pasthru.tests 2022-07-09 21:13:09 +02:00
ajs124
8108584109 krb5: remove file-wide with lib; 2022-07-07 19:51:20 +02:00
ajs124
2736dc9016 krb5: run hooks and replace subshells with make -C 2022-07-07 19:15:08 +02:00
ajs124
2b7224c8e0 krb5: preConfigure -> sourceRoot 2022-07-07 19:15:08 +02:00
ajs124
cfebc8fc64 krb5: 1.19.3 -> 1.20
see https://github.com/krb5/krb5/blob/krb5-1.20-final/README#L88 for changes
2022-07-07 16:01:55 +02:00
ajs124
bb438b6f2c krb5: 1.19.2 -> 1.19.3 2022-05-09 22:45:25 +01:00
Felix Buehler
041dcd46a5 krb5: rename name to pname&version 2022-02-24 19:09:55 +01:00
Jan Tojnar
2f8ef6f380
Merge pull request #111945 from r-ryantm/auto-update/krb5
krb5: 1.18 -> 1.19.2
2022-01-28 20:28:26 +01:00
Niklas Hambüchen
36c59877d3 krb5: 1.18 -> 1.19.2 2021-08-11 13:58:56 +02:00
Ben Wolsieffer
e8b2b2c8e9 heimdal: install compile_et for cross-compilation 2021-06-27 23:30:31 -04:00
Sandro Jäckel
33a395f195
yacc: deprecate alias
and add a new line after the alphabetically sorting to please my inner monk
2021-04-04 03:18:58 +02:00
ajs124
08d0cc0566 heimdal: python2 -> python3 2021-03-16 18:29:51 +01:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Matthew Bauer
d0677e6d45 treewide: add warning comment to “boot” packages
This adds a warning to the top of each “boot” package that reads:

  Note: this package is used for bootstrapping fetchurl, and thus cannot
  use fetchpatch! All mutable patches (generated by GitHub or cgit) that
  are needed here should be included directly in Nixpkgs as files.

This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
2020-07-31 08:56:53 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Niklas Hambüchen
5676e6df1f krb5: Add patches to fix build with musl on 1.18 2020-04-01 02:23:13 +02:00
R. RyanTM
5d33637dd9 krb5: 1.17 -> 1.18 2020-02-27 10:21:01 +01:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00: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
831fcf8801 heimdal: 7.6.0 -> 7.7.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/heimdal/versions
2019-06-16 19:00:04 -07:00
R. RyanTM
623d7c046e heimdal: 7.5.0 -> 7.6.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/heimdal/versions
2019-05-21 09:31:15 -07:00
Matthew Bauer
d453273fbf llvm8: support c++ in cross case
this adds libc++ to the LLVM cross, giving us access to the full
Nixpkgs set. This requires 4 stages of wrapped compilers:

- Clang with no libraries
- Clang with just compiler-rt
- Clang with Libc, and compiler-rt
- Clang with Libc++, Libc, and compiler-rt
2019-04-11 21:28:51 -04:00
Will Dietz
934c6bb7b9 krb5: 1.15.5 -> 1.17
https://web.mit.edu/kerberos/krb5-1.17/

https://web.mit.edu/kerberos/krb5-1.16/krb5-1.16.2.html
https://web.mit.edu/kerberos/krb5-1.16/krb5-1.16.1.html
https://web.mit.edu/kerberos/krb5-1.16/krb5-1.16.html
2019-02-22 01:54:01 -06:00
Will Dietz
5883ef9dc2 krb5: 1.15.2 -> 1.15.5
https://web.mit.edu/kerberos/krb5-1.15/krb5-1.15.3.html
https://web.mit.edu/kerberos/krb5-1.15/krb5-1.15.4.html
https://web.mit.edu/kerberos/krb5-1.15/krb5-1.15.5.html
2019-02-22 01:53:59 -06:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Kai Wohlfahrt
ade842f51a kerberos: move user binaries to default output
The intention of the previous change was to move krb5-config to .dev (it
gives the locations of headers), but it grabbed all of the user-facing
binaries too. This puts them back.
2018-12-11 13:33:10 +00:00
Jörg Thalheim
3681fa5456
direnv: make cross-compile on windows 2018-11-24 10:43:47 +00:00
Matthew Bauer
ef4d78aded
krb5: don't pull in keyutils with bionic
keyutils breaks with bionic. since it's an optional dependency, it seems safe to just disable it with libkrb5 (which otherwise works fine with bionic libc).
2018-11-03 14:37:18 -05:00
Matthew Bauer
4120a9dda7
Merge pull request #42295 from avnik/libprefixed-to-multioutput/heimdal
Libprefixed to multioutput/heimdal
2018-09-05 13:50:13 -05:00
Dan Peebles
a5b5536e2a krb5: add linux keyring support
This requires some minor hoop-hopping because it's involved in the
Linux bootstrap, but it's nothing too complicated.

Fixes #43289
2018-08-20 02:42:41 +00:00
Alexander V. Nikolaev
5a59d5e131 heimdal: simplify build, keep bin/ in $out 2018-08-08 13:38:40 +03:00
Alexander V. Nikolaev
0a72127d57 heimdal: move "info" to own output 2018-08-08 13:38:40 +03:00
Alexander V. Nikolaev
cb1e30f84b heimdal: refactor lib-prefixed packages to multi-output 2018-08-08 13:38:40 +03:00
Niklas Hambüchen
bc6cfb4750 krb5: Add staticOnly flag 2018-07-21 04:43:50 +02:00
Josef Kemetmüller
020957716e heimdal: Fix darwin build 2018-05-22 18:19:28 +03:00
Josef Kemetmüller
9a100e3e31 heimdal: Fix db include
[dezgeg squashed in to fit the changes introduced in "db: Use more
conventional outputs, also split bin"]
2018-05-22 18:19:28 +03:00
Jan Malakhovski
7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Edward Tjörnhammar
5566bf97e5
libheimdal: 7.4.0 -> 7.5.0
In Heimdal 7.1 through 7.4, remote unauthenticated attackers are able to
crash the KDC by sending a crafted UDP packet containing empty data
fields for client name or realm.

Security: CVE-2017-17439
2018-03-21 21:17:50 +01:00
Ben Gamari
bef09dcca1 krb5: Allow cross-compilation 2018-01-09 11:23:56 -05:00
Vladimír Čunát
c303047032
fetchurl on Darwin: gssSupport = false (see 9b54a00160)
I can't see a better way around the problem for now.
2017-12-21 09:34:44 +01:00