lxc: update to 1.0

This commit is contained in:
Jan S 2014-02-24 14:55:20 +01:00
parent d1d6b6dcda
commit 32603ce5f1
2 changed files with 21 additions and 5 deletions

11
srcpkgs/lxc/files/service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=%i LXC
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/lxc-start -d -n %i
ExecStop=/usr/bin/lxc-stop -n %i
[Install]
WantedBy=multi-user.target

View File

@ -2,20 +2,20 @@
_desc="Linux Containers"
pkgname=lxc
version=0.9.0
revision=2
version=1.0.0
revision=1
conf_files="/etc/lxc/default.conf"
build_style=gnu-configure
configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none
configure_args="--enable-seccomp --disable-apparmor --with-distro=none
--with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"
hostmakedepends="pkg-config docbook2x"
makedepends="libcap-devel libseccomp-devel"
makedepends="libcap-devel libseccomp-devel automake"
short_desc="${_desc} - utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://linuxcontainers.org"
license="LGPL-2.1"
distfiles="http://linuxcontainers.org/downloads/lxc-${version}.tar.gz"
checksum=1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120
checksum=0992212ddaad01dfe8c048e130566b73dd5f34191585f36bdac07a4f8a91f3bd
make_dirs="
/var/lib/lxc 0755 root root
@ -23,6 +23,7 @@ make_dirs="
/var/lxc/log 0755 root root"
pre_configure() {
sed -e 's|"\\"-//Davenport//DTD DocBook V3.0//EN\\""|"\\"-//OASIS//DTD DocBook XML\\" \\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\\""|' -i configure
sed -e 's,docbook2x-man,docbook2man,g' -i configure
}
@ -42,3 +43,7 @@ lxc-devel_package() {
vmove "usr/lib/*.so"
}
}
post_install() {
vinstall ${FILESDIR}/service 644 usr/lib/systemd/system lxc.service
}