Skip to content

Commit

Permalink
lxc: 2.0.7 -> 2.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz committed Jun 20, 2017
1 parent a721076 commit eb8c147
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions pkgs/os-specific/linux/lxc/default.nix
Expand Up @@ -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 = [
Expand All @@ -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
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit eb8c147

Please sign in to comment.