tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
autofs: 5.0.8 -> 5.1.1
Tobias Geerinckx-Rice
10 years ago
1e593edb
7cfa918a
+13
-40
4 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
autofs
create-patches-v5.sh
default.nix
patches-v5.nix
top-level
all-packages.nix
+12
-13
pkgs/os-specific/linux/autofs/autofs-v5.nix
pkgs/os-specific/linux/autofs/default.nix
reviewed
···
1
1
-
{stdenv, fetchurl, flex, bison, linuxHeaders}:
1
1
+
{ stdenv, fetchurl, flex, bison, linuxHeaders }:
2
2
3
3
let
4
4
-
baseURL = mirror://kernel/linux/daemons/autofs/v5;
5
5
-
in
6
6
-
stdenv.mkDerivation {
7
7
-
name = "autofs-5.0.8";
4
4
+
version = "5.1.1";
5
5
+
name = "autofs-${version}";
6
6
+
in stdenv.mkDerivation {
7
7
+
inherit name;
8
8
9
9
src = fetchurl {
10
10
-
url = "${baseURL}/autofs-5.0.8.tar.bz2";
11
11
-
sha256 = "0zczihrqdamj43401v2pczf7zi94f8qk20gc6l92nxmpak3443if";
10
10
+
url = "mirror://kernel/linux/daemons/autofs/v5/${name}.tar.xz";
11
11
+
sha256 = "1hr1f11wp538h7r298wpa5khfkhfs8va3p1kdixxhrgkkzpz13z0";
12
12
};
13
13
-
14
14
-
patches = import ./patches-v5.nix fetchurl;
15
13
16
14
preConfigure = ''
17
15
configureFlags="--disable-move-mount --with-path=$PATH"
···
31
29
#make install SUBDIRS="samples" # impure!
32
30
'';
33
31
34
34
-
buildInputs = [flex bison linuxHeaders];
32
32
+
buildInputs = [ flex bison linuxHeaders ];
35
33
36
36
-
meta = {
37
37
-
description="Kernel based automounter";
38
38
-
homepage="http://www.linux-consulting.com/Amd_AutoFS/autofs.html";
34
34
+
meta = {
35
35
+
inherit version;
36
36
+
description = "Kernel-based automounter";
37
37
+
homepage = http://www.linux-consulting.com/Amd_AutoFS/autofs.html;
39
38
license = stdenv.lib.licenses.gpl2;
40
39
executables = [ "automount" ];
41
40
};
-19
pkgs/os-specific/linux/autofs/create-patches-v5.sh
reviewed
···
1
1
-
#!/bin/sh
2
2
-
#
3
3
-
# Use this script with the upstream sorted list of patches
4
4
-
# curl ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/patches-5.0.{x+1}/patch_order-5.0.x |
5
5
-
# grep -v '^#' | sh create-patches-v5.sh
6
6
-
7
7
-
BASEURL=mirror://kernel/linux/daemons/autofs/v5/patches-5.0.9;
8
8
-
9
9
-
echo '# File created automatically' > patches-v5.nix
10
10
-
echo 'fetchurl :' >> patches-v5.nix
11
11
-
echo '[' >> patches-v5.nix
12
12
-
13
13
-
while read a; do
14
14
-
URL=$BASEURL/$a
15
15
-
HASH=`nix-prefetch-url $URL`
16
16
-
echo "(fetchurl { url = $URL; sha256 = \"$HASH\"; })" >> patches-v5.nix
17
17
-
done
18
18
-
19
19
-
echo ']' >> patches-v5.nix
-7
pkgs/os-specific/linux/autofs/patches-v5.nix
reviewed
···
1
1
-
# File created automatically
2
2
-
fetchurl :
3
3
-
[
4
4
-
(fetchurl { url = mirror://kernel/linux/daemons/autofs/v5/patches-5.0.9/autofs-5.0.8-fix-undefined-authtype_requires_creds-err-if-ldap-en.patch; sha256 = "11v1a32rx57ylp8scswpk41jl9n4kfx55nvdlzhvfs4rhws18rpx"; })
5
5
-
(fetchurl { url = mirror://kernel/linux/daemons/autofs/v5/patches-5.0.9/autofs-5.0.8-fix-master-map-type-check.patch; sha256 = "1nkq0y6j7dc6214af3q9bxvy7pv9kak0q9chijxcj6zkhfzwrjy3"; })
6
6
-
(fetchurl { url = mirror://kernel/linux/daemons/autofs/v5/patches-5.0.9/autofs-5.0.8-fix-task-manager-not-getting-signaled.patch; sha256 = "17h06wk4x0rqiky6pm9dglbc5ycxxrd3438a9snnlysl4zzgrqhx"; })
7
7
-
]
+1
-1
pkgs/top-level/all-packages.nix
reviewed
···
9262
9262
9263
9263
afuse = callPackage ../os-specific/linux/afuse { };
9264
9264
9265
9265
-
autofs5 = callPackage ../os-specific/linux/autofs/autofs-v5.nix { };
9265
9265
+
autofs5 = callPackage ../os-specific/linux/autofs { };
9266
9266
9267
9267
_915resolution = callPackage ../os-specific/linux/915resolution { };
9268
9268