Merge staging-next into staging

This commit is contained in:
Frederik Rietdijk
2018-11-18 10:41:34 +01:00
422 changed files with 65253 additions and 65218 deletions

View File

@@ -1,18 +1,18 @@
{ stdenv, fetchzip, autoreconfHook, pkgconfig, glib, libtool, pcre
, json_c, flex, bison, dtc, pciutils, dmidecode, iasl }:
, json_c, flex, bison, dtc, pciutils, dmidecode, iasl, libbsd }:
stdenv.mkDerivation rec {
name = "fwts-${version}";
version = "18.07.00";
version = "18.11.00";
src = fetchzip {
url = "http://fwts.ubuntu.com/release/fwts-V${version}.tar.gz";
sha256 = "11fc26k1k98i1rv1jw9ahbbal7p7cl6wxy967a7ixs330q5ry1lb";
sha256 = "14dxw0ny5z681kz4dpm2phyanr2q4c8fqml3mhdr1mb2ndrrwqgz";
stripRoot = false;
};
nativeBuildInputs = [ autoreconfHook pkgconfig libtool ];
buildInputs = [ glib pcre json_c flex bison dtc pciutils dmidecode iasl ];
buildInputs = [ glib pcre json_c flex bison dtc pciutils dmidecode iasl libbsd ];
postPatch = ''
substituteInPlace src/lib/include/fwts_binpaths.h --replace "/usr/bin/lspci" "${pciutils}/bin/lspci"

View File

@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, libmnl }:
stdenv.mkDerivation rec {
name = "ipset-6.38";
name = "ipset-7.0";
src = fetchurl {
url = "http://ipset.netfilter.org/${name}.tar.bz2";
sha256 = "0i72wcljl0nkpmzc20jcch3hpphrm0qp4v4j4ajamq0zlddn5vyf";
sha256 = "1bs1qz6cs9z167f36xsbg93fb6dj5bw05shk07fkwkjiglxhzyn6";
};
nativeBuildInputs = [ pkgconfig ];

View File

@@ -3,7 +3,7 @@
with stdenv.lib;
buildLinux (args // rec {
version = "4.14.80";
version = "4.14.81";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1lnp7qnlbj8mrc6iwnffpq3dbms3l40qxwdbqmd4g9my3k0ppp4x";
sha256 = "1pjvwyhag2i8i5kns8836ifpk93ssvp35m4rfxhz0kl4ag8dydjb";
};
} // (args.argsOverride or {}))

View File

@@ -3,7 +3,7 @@
with stdenv.lib;
buildLinux (args // rec {
version = "4.18.18";
version = "4.18.19";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0g83i1ai0z0gpjw1rm8a8wdipjjxhfdvp798nrl14l5d2pw63crl";
sha256 = "1g9iasj17i6z5494azsbr4pji7qj27f1fasrx36fbxy4rp1w8rkw";
};
} // (args.argsOverride or {}))

View File

@@ -3,7 +3,7 @@
with stdenv.lib;
buildLinux (args // rec {
version = "4.19.1";
version = "4.19.2";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0ac8w310p83z11ksmyad7by7cmacwg4vq68pzxchc88bbk33gmk4";
sha256 = "0wyzy8i2lfhz2rf9ilygl2jgz6iyspv2amx2fzm85mwv060py361";
};
} // (args.argsOverride or {}))

View File

@@ -1,11 +1,11 @@
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
buildLinux (args // rec {
version = "4.9.136";
version = "4.9.137";
extraMeta.branch = "4.9";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1j1f4v3m0gggarz0r33pk907gf8dy633s9x5k3ww3khkvzi335fk";
sha256 = "1295x8a8k8bdanrpsalnaaq00mk3fl91sr14061lrgwlj0m53ckd";
};
} // (args.argsOverride or {}))

View File

@@ -19,10 +19,10 @@ rec {
stable = if stdenv.hostPlatform.system == "x86_64-linux" then stable_410 else stable_390;
stable_410 = generic {
version = "410.73";
sha256_64bit = "07pzq8rvbsx3v8rgz98amyw0k1mn5mkygpd1q5gfn6r0h7vrrg5y";
settingsSha256 = "19xc10b0c074wb9fv9n04dvmi8hrwl6srvvyrjfyj92gch49x6hw";
persistencedSha256 = "0vhr7pysv4vk7v96yima0i9zsvvgxaxihjzxlfifpsdki57n2jz7";
version = "410.78";
sha256_64bit = "1ciabnmvh95gsfiaakq158x2yws3m9zxvnxws3p32lz9riblpdjx";
settingsSha256 = "1677g7rcjbcs5fja1s4p0syhhz46g9x2qqzyn3wwwrjsj7rwaz77";
persistencedSha256 = "01kvd3zp056i4n8vazj7gx1xw0h4yjdlpazmspnsmwg24ijb82x4";
};
# Last one supporting x86

View File

@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, python, waf }:
{ lib, stdenv, fetchurl, python, wafHook }:
stdenv.mkDerivation rec {
name = "pflask-${version}";
@@ -10,19 +10,9 @@ stdenv.mkDerivation rec {
sha256 = "2545fca37f9da484b46b6fb5e3a9bbba6526a9725189fe4af5227ef6e6fca440";
};
nativeBuildInputs = [ wafHook ];
buildInputs = [ python ];
configurePhase = ''
ln -s ${waf} waf
python waf configure --prefix=$out
'';
buildPhase = ''
python waf build
'';
installPhase = ''
python waf install
'';
meta = {
description = "Lightweight process containers for Linux";
homepage = "https://ghedo.github.io/pflask/";

View File

@@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
name = "plymouth-${version}";
version = "0.9.3";
version = "0.9.4";
src = fetchurl {
url = "https://www.freedesktop.org/software/plymouth/releases/${name}.tar.xz";
sha256 = "0x2a9s5jdvfcrdnwbdhm5x4ck3zimmcpghnqvhl65byfj25d13cz";
sha256 = "0l8kg7b2vfxgz9gnrn0v2w4jvysj2cirp0nxads5sy05397pl6aa";
};
nativeBuildInputs = [

View File

@@ -0,0 +1,48 @@
{ stdenv, fetchFromGitHub, fetchpatch, bash, coreutils, gdb, zlib }:
stdenv.mkDerivation rec {
name = "procdump-${version}";
version = "1.0.1";
src = fetchFromGitHub {
owner = "Microsoft";
repo = "ProcDump-for-Linux";
rev = version;
sha256 = "1lkm05hq4hl1vadj9ifm18hi7cbf5045xlfxdfbrpsl6kxgfwcc4";
};
nativeBuildInputs = [ zlib ];
buildInputs = [ bash coreutils gdb ];
patches = [
# Fix name conflict when built with musl
# TODO: check if fixed upstream https://github.com/Microsoft/ProcDump-for-Linux/pull/50
(fetchpatch {
url = "https://github.com/Microsoft/ProcDump-for-Linux/commit/1b7b50b910f20b463fb628c8213663c8a8d11d0d.patch";
sha256 = "0h0dj3gi6hw1wdpc0ih9s4kkagv0d9jzrg602cr85r2z19lmb7yk";
})
];
postPatch = ''
substituteInPlace src/CoreDumpWriter.c \
--replace '"gcore ' '"${gdb}/bin/gcore ' \
--replace '"rm ' '"${coreutils}/bin/rm ' \
--replace '/bin/bash' '${bash}/bin/bash'
'';
makeFlags = [
"DESTDIR=$(out)"
"INSTALLDIR=/bin"
"MANDIR=/share/man/man1"
];
doCheck = false; # needs root
meta = with stdenv.lib; {
description = "A Linux version of the ProcDump Sysinternals tool";
homepage = https://github.com/Microsoft/ProcDump-for-Linux;
license = licenses.mit;
maintainers = with maintainers; [ c0bw3b ];
platforms = platforms.linux;
};
}

View File

@@ -1,11 +1,13 @@
{ stdenv, fetchurl }:
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "0.6.2";
name = "reptyr-${version}";
src = fetchurl {
url = "https://github.com/nelhage/reptyr/archive/reptyr-${version}.tar.gz";
sha256 = "07pfl0rkgm8m3f3jy8r9l2yvnhf8lgllpsk3mh57mhzdxq8fagf7";
src = fetchFromGitHub {
owner = "nelhage";
repo = "reptyr";
rev = "reptyr-${version}";
sha256 = "0yfy1p0mz05xg5gzp52vilfz0yl1sjjsvwn0z073mnr4wyam7fg8";
};
# Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror.

View File

@@ -0,0 +1,26 @@
{ stdenv, lib, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "speedometer-${version}";
version = "2.8";
src = fetchurl {
url = "http://excess.org/speedometer/speedometer-${version}.tar.gz";
sha256 = "060bikv3gwr203jbdmvawsfhc0yq0bg1m42dk8czx1nqvwvgv6fm";
};
propagatedBuildInputs = [ pythonPackages.urwid ];
postPatch = ''
sed -i "/'entry_points': {/d" setup.py
sed -i "/'console_scripts': \['speedometer = speedometer:console'\],},/d" setup.py
'';
meta = with lib; {
description = "Measure and display the rate of data across a network connection or data being stored in a file";
homepage = http://excess.org/speedometer/;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ Baughn ];
};
}

View File

@@ -49,8 +49,7 @@ in stdenv.mkDerivation {
++ kernel.moduleBuildDependencies;
postInstall = ''
xz $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/media/dvb-core/dvb-core.ko
xz $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/media/v4l2-core/videodev.ko
find $out/lib/modules/${kernel.modDirVersion} -name "*.ko" -exec xz {} \;
'';
meta = with lib; {

View File

@@ -177,13 +177,13 @@ in {
zfsUnstable = common rec {
# comment/uncomment if breaking kernel versions are known
incompatibleKernelVersion = "4.19";
# incompatibleKernelVersion = "4.19";
# this package should point to a version / git revision compatible with the latest kernel release
version = "0.8.0-rc1";
version = "0.8.0-rc2";
rev = "b8a90418f3a9c23b89c5d2c729a4dd0fea644508";
sha256 = "041b7h8gbb042x9mhg8y87bgq9y793bawglc7b0fg871k6190drx";
rev = "af2e8411dacbc694b1aaf9074e68a9d12270e74c";
sha256 = "0wm7x9dwrw30jnjlnz6a224h88qd6a5794pzbjsih50lqb10g2gy";
isUnstable = true;
extraPatches = [