Commit Graph

22 Commits

Author SHA1 Message Date
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
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
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
spacefrogg
37c999228b openafs_1_8: init at 1.8.0 (#41889)
- Introduce new "server" output holding the server binaries
 - Adapt tsmbac.patch to new build environment
 - Adapt openafs nixos server module accordingly
 - Update upstream CellServDB: 2017-03-14 -> 2018-05-14
 - Introduce package attributes to refer to the openafs packages to use for
   server, programs and kernel module
2018-06-30 00:34:35 +02:00