Commit Graph

51 Commits

Author SHA1 Message Date
Alyssa Ross
12d2821bf5
treewide: remove -ldl linker flags
With all libcs I'm aware of, libdl is now either empty (Glibc, musl,
uclibc, illumos), a symlink to libc or equivalent (Apple), or does not
exist (FreeBSD, NetBSD).  So explicitly linking libdl now does nothing
for the former platforms, and breaks the build for the latter
platforms.

With this patch I've removed -ldl from all overridden linker flags for
all free packages in Nixpkgs.  Everything still seems to build.
2023-01-23 15:34:53 +00:00
Anders Kaseorg
c361b8af77 openafs: 1.8.8.1 → 1.8.9
This is needed for new Linux kernel support.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-12-26 13:22:35 -08:00
Anders Kaseorg
83668bc0df openafs: Fix incorrectly required and inverted withNcurses parameter
Introduced by commit
cc7deb7e4a (#187862).

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-12-07 02:43:30 -08:00
Sandro Jäckel
cc7deb7e4a
openafs: remove null overwrites, fix tsm package name, move openafs_1_8 to aliases 2022-08-22 14:25:36 +02:00
Anders Kaseorg
fdc792bf61 openafs: Patch for Linux kernel 5.18
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-06-27 20:05:04 -07:00
Alyssa Ross
4c83012f83 linuxPackages.openafs: mark broken on Linux 5.18 2022-05-25 12:29:13 +00:00
Anders Kaseorg
dddadac600 openafs: Patch for Linux kernel 5.17
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-04-10 23:49:13 -07:00
Alyssa Ross
ae8e8aaee7 treewide: remove obsolete kernel version checks
We no longer support any Linux kernel older than 4.9.
2022-04-08 09:56:09 +00:00
Alyssa Ross
3a06e285c9 linuxPackages.openafs: mark broken on Linux 5.17 2022-03-21 13:22:59 +00:00
Felix Buehler
b5e0221e44 treewide: use pname&version instead of name 2021-12-24 15:51:27 +01:00
Anders Kaseorg
1a3b084c63 openafs: run nixpkgs-fmt
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-12-13 13:15:04 -05:00
Anders Kaseorg
43c93f6131 openafs: 1.8.8 → 1.8.8.1
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-12-13 03:56:18 -05:00
Anders Kaseorg
d4f4b721bc openafs: Add upstream patches for Linux kernel 5.15
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-11-07 13:22:58 -08:00
Alyssa Ross
bb2b3da36d linuxPackages.openafs: mark broken on Linux 5.15 2021-11-06 11:43:56 -07:00
Sandro Jäckel
9cf07919cc
openafs: cleanup 2021-08-02 10:58:48 +02:00
Marc 'risson' Schmitt
87f0713511
openafs: 1.8.7 -> 1.8.8
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2021-07-30 01:52:32 +02:00
Anders Kaseorg
5fa1186df7 openafs: Add upstream patches for Linux kernel 5.12
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-05-31 00:48:45 -07: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
Sandro Jäckel
dcb501f993
kerberos: deprecate alias 2021-04-04 03:18:56 +02:00
Anders Kaseorg
e51d997364 openafs: Add upstream patches for Linux kernel 5.11
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-02-18 18:50:40 -08:00
Jörg Thalheim
94f3683935
Merge pull request #109428 from andersk/openafs-1.8.7
openafs: 1.8.6 → 1.8.7 (emergency fix for unix timestamp 0x60000000)
2021-01-15 09:13:22 +00:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Anders Kaseorg
175fdc84aa openafs: 1.8.6 → 1.8.7
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-01-14 22:42:17 -08: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
Michael Raitza
1f323ec2b4 openafs: remove 1.6; point to openafs_1_8 2020-11-17 21:31:59 +01:00
Jörg Thalheim
dd1908f879
Merge pull request #99379 from spacefrogg/openafs-fixups 2020-11-17 16:31:51 +01:00
Michael Raitza
54a69eb804
openafs_1_8: Properly generate and split off developer documentation 2020-11-17 16:12:22 +01:00
Michael Raitza
f08099d0a7
openafs_1_8: Merge server output with out
User and server binaries cannot be shipped separately. The bos tool uses a
hard-coded path to the volume salvage command (which resides with the server
binaries). Splitting them into separate outputs invalidates the reference in the
bos tool (due to remove-references-to). This rendered the volume salvager
inoperable (which is obviously a bad thing).
2020-11-17 16:12:21 +01:00
Michael Raitza
62a34589b8
openafs_1_8: Cleanup build and fix build issues
Parallel building is broken, leading to failing builds in very rare
cases. (volint.h not yet built while alredy needed when compiling volser.)
2020-11-17 16:12:21 +01:00
Anders Kaseorg
14245d48a4 openafs_1_8: Add upstream patches for Linux kernel 5.8 and 5.9
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-09-27 21:51:18 -07:00
Anders Kaseorg
e38494a8da openafs_1_8: 1.8.5 -> 1.8.6
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-06-29 17:27:15 -07:00
Jörg Thalheim
027908357f
openafs_1_8: include 5.6 fixes 2020-05-21 23:11:41 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Anders Kaseorg
b661db12e8 openafs_1_8: 1.8.3 -> 1.8.5 (#75104)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-12-07 11:58:19 -05:00
Marco Maggesi
ff1ed720e2 Rename z77z into maggesi
Make the "handle" of the maintainer match the name of the github account.
Also update the email address.
2019-10-07 17:05:25 +02:00
Artemis Tosini
5acd6681f2
linuxPackages_5_3.openafs_1_8: fix build
This update cherry-picks patches necessary to build the OpenAFS kernel
module from the OpenAFS master branch. This commit does not fix OpenAFS
1.6.
2019-09-20 17:29:06 +00:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +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
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Michael Raitza
09013c8172 openafs: 1.8.2 -> 1.8.3 2019-04-30 08:29:15 +02:00
Artemis Tosini
357f51b93d openafs: Add support for Linux 5.0 to openafs_1_8 (#56859)
OpenAFS 1.8.2 does has not yet merged support for Linux 4.20 or 5.0
This patch cherry-picks commits from the git repository, and includes
them in the patches/ directory. This also replaces the amalgamated Linux 4.20
patches I added earlier with the original outputs from `git show`.

This has been tested to build on Linux 4.4, 4.14, 4.20, and 5.0.

This does not change the derivations of openafs_1_8, only
linuxPackages_*.openafs_1_8.
2019-03-07 13:34:16 -05:00
Artemis Tosini
71c68185e6
openafs_1_8: Include support for Linux 4.20
OpenAFS version 1.8.2 does not have support for Linux 4.20,
meaning that linuxPackages_latest.openafs_1_8 would fail
to build.

This patch adds patches taken from the OpenAFS git to
remove the references to deprecated functions. This has been
tested on Linux 4.20 and Linux 4.14

This patch must be removed when OpenAFS 1.8.3 is released
and improved when Linux 5.0 is added to Nix
2019-02-20 02:45:11 +00:00
Joachim Fasting
a4f51746f8
Revert "openafs: fix build against linux_hardened"
This reverts commit 4bb0a719cf.

Can be reveted once randstruct actually works
2019-01-07 19:50:06 +01:00
Joachim Fasting
4bb0a719cf
openafs: fix build against linux_hardened
See https://hydra.nixos.org/build/86750041
and https://hydra.nixos.org/build/86749971
2019-01-06 14:08:27 +01:00
Michael Raitza
d37bb7302f openafs_1_8: 1.8.0 -> 1.8.2
This release adds support for ARM64.
2018-10-17 17:55:10 +02:00
Michael Raitza
bf7600d3b5 openafs: Align package name with kernel version based on modDirVersion 2018-10-15 15:48:19 +02:00
xeji
f629d36560
Merge pull request #45411 from alyssais/linux-libre
linux-libre: init
2018-08-30 09:01:00 +02:00
Alyssa Ross
33a1044c32
linuxPackages*.openafs*: use modDirVersion
`version` doesn't include .0 patch versions, or suffixes (eg -gnu).
For .0 patch versions, this isn't a problem, since the glob takes care
of everything after a `.`. It does, however, prevent openafs installing
for suffixed kernels.
2018-08-21 00:39:38 +02:00
Alyssa Ross
358ca401da
linuxPackages_4_18.openafs_1_8: broken 2018-08-21 00:34:54 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00