From 5e077cccba965cf0b4b20d3f9d47747be85b9f42 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 16 Jan 2014 17:10:26 +0100 Subject: [PATCH] lxc: update to 0.9.0. --- srcpkgs/lxc/template | 49 +++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/srcpkgs/lxc/template b/srcpkgs/lxc/template index a856cad6f92..9d8bac91528 100644 --- a/srcpkgs/lxc/template +++ b/srcpkgs/lxc/template @@ -1,37 +1,40 @@ # Template file for 'lxc' -pkgname=lxc -version=0.8.0 -revision=2 -build_style=gnu-configure -configure_args="--disable-apparmor" -makedepends="libcap-devel" -short_desc="LinuX Containers" -maintainer="Juan RP " -homepage="http://lxc.sourceforge.net" -license="LGPL-2.1" -distfiles="http://lxc.sourceforge.net/download/lxc/lxc-${version}.tar.gz" -checksum=eac833730b94e423d4bef6834bc4a716437d2abd6ab8b24334c506aaaa08692c -long_desc=" - The container technology is actively being pushed into the mainstream linux - kernel. It provides the resource management through the control groups aka - process containers and resource isolation through the namespaces. +_desc="Linux Containers" - The linux containers, lxc, aims to use these new functionalities to provide - an userspace container object which provides full resource isolation and - resource control for an application or a system." +pkgname=lxc +version=0.9.0 +revision=1 +conf_files="/etc/lxc/default.conf" +build_style=gnu-configure +configure_args="--enable-seccomp --disable-apparmor --with-distro=none + --with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log" +hostmakedepends="pkg-config" +makedepends="libcap-devel libseccomp-devel" +short_desc="${_desc} - utilities" +maintainer="Juan RP " +homepage="http://linuxcontainers.org" +license="LGPL-2.1" +distfiles="http://linuxcontainers.org/downloads/lxc-${version}.tar.gz" +checksum=1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120 + +make_dirs=" + /var/lib/lxc 0755 root root + /var/lxc/containers 0755 root root + /var/lxc/log 0755 root root" liblxc_package() { - short_desc+=" - shared library" + short_desc="${_desc} - shared library" pkg_install() { - vmove "usr/lib/*.so*" + vmove "usr/lib/*.so.*" } } lxc-devel_package() { - depends="libcap-devel liblxc-${version}_${revision}" - short_desc+=" - development files" + depends="libcap-devel liblxc>=${version}_${revision}" + short_desc="${_desc} - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" } }