Commit Graph

42 Commits

Author SHA1 Message Date
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
1e97f1d455 openafs_1_9: init at 1.9.0 2020-11-17 23:32:21 +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
Daniël de Kok
2c0034d5fb
Merge pull request #91938 from spacefrogg/openafs-1.6-deprecation
openafs: 1.6.23 -> 1.6.24, mark broken due to EOL
2020-08-12 17:11:28 +02:00
Michael Raitza
b3c794d610 openafs: 1.6.23 -> 1.6.24, mark broken due to EOL
Last old stable release. Enforce switch to openafs_1_8 by marking broken while
leaving a reasonable short-term alternative.

Ref #90927
2020-08-12 15:31:11 +02: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
8a8628f4dc openafs: fix OpenAFS 1.6 on Linux 4.20 (#56862)
openafs: fix OpenAFS 1.6 on Linux 4.20

This patch cherry-picks commits from the OpenAFS git repository to
add support for Linux 4.20 to OpenAFS 1.6.

There do not seem to be patches in the Git repository for full Linux 5.0
support, although I have added the ones which exist so far.

This patch has been tested on Linux 4.4, 4.14, 4.20, and is confirmed to
fail on Linux 5.0. It does not change the drv of the openafs package,
only linuxPackages_*.openafs.
2019-03-06 12:42:37 -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
f8b5b5dcb7 openafs: 1.6.22.2 -> 1.6.23
Add support for 4.18 kernels.
2018-10-17 17:55:10 +02: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
Alyssa Ross
8a66aacad7
linuxPackages_4_18.openafs: broken 2018-08-21 00:34:53 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matthew Bauer
76999cc40e treewide: remove aliases in nixpkgs
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.

Misc...

- qtikz: use libsForQt5.callPackage

  This ensures we get the right poppler.

- rewrites:

  docbook5_xsl -> docbook_xsl_ns
  docbook_xml_xslt -> docbook_xsl

diffpdf: fixup
2018-07-18 23:25:20 -04: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
Michael Raitza
eca3e88e63 openafs: 1.6.22.1 -> 1.6.22.2
Minor update. Adds support for linux kernel up to 4.15.
2018-02-06 14:14:08 +01:00
Michael Raitza
44a4844744 openafs: Break into multiple packages with multiple outputs
Two packages:
- pkgs.linuxPackages.openafs (only kernel module)
- pkgs.openafs (client/server programs, manpages, docs)

Disable `ncurses` by default
- Only needed for debugging tools

Introduce but disable `tsmbac` by default
- IBM's on-site backup service called Tivoli Storage Manager Backup
  Client
- Make openafs ready to use tsmbac when supplied via local overlay
  (needs special patching)
- TSM is not in nixpkgs due to unclear/unfree licensing. (Binaries need
  to be modified to work with nixos)
2018-02-01 16:21:38 +01:00
Michael Raitza
8a77ae81ad openafsClient: rename to openafs 2018-01-24 13:20:47 +01:00