lxc: 2.0.7 -> 2.0.8

This commit is contained in:
Franz Pletz 2017-06-20 02:01:38 +02:00
parent a7210764eb
commit eb8c14751a
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -12,11 +12,11 @@ in
with stdenv.lib;
stdenv.mkDerivation rec {
name = "lxc-${version}";
version = "2.0.7";
version = "2.0.8";
src = fetchurl {
url = "https://linuxcontainers.org/downloads/lxc/lxc-${version}.tar.gz";
sha256 = "0paz0lgb9dzpgahysad1cr6gz54l6xyhqdx6dzw2kh3fy1sw028w";
sha256 = "15449r56rqg3487kzsnfvz0w4p5ajrq0krcsdh6c9r6g0ark93hd";
};
nativeBuildInputs = [
@ -29,13 +29,12 @@ stdenv.mkDerivation rec {
patches = [
./support-db2x.patch
(fetchurl {
name = "CVE-2017-5985.patch";
url = "https://github.com/lxc/lxc/commit/d512bd5efb0e407eba350c4e649c464a65b712a3.patch";
sha256 = "0v1rhlfviadsxj2wmbl7nqb64p6y2bxm9y43sc44jg3k6mkr0r5c";
})
];
postPatch = ''
sed -i '/chmod u+s/d' src/lxc/Makefile.am
'';
XML_CATALOG_FILES = "${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml";
# FIXME
@ -81,7 +80,7 @@ stdenv.mkDerivation rec {
'';
meta = {
homepage = "http://lxc.sourceforge.net";
homepage = "https://linuxcontainers.org/";
description = "Userspace tools for Linux Containers, a lightweight virtualization system";
license = licenses.lgpl21Plus;