Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/lxc: ChangeLog lxc-0.6.5.ebuild lxc-0.6.4-r1.ebuild lxc-0.6.4.ebuild
Date: Sat, 30 Jan 2010 23:16:58
Message-Id: E1NbMYg-0002Iz-Ec@stork.gentoo.org
1 flameeyes 10/01/30 23:16:54
2
3 Modified: ChangeLog
4 Added: lxc-0.6.5.ebuild
5 Removed: lxc-0.6.4-r1.ebuild lxc-0.6.4.ebuild
6 Log:
7 Version bump; remove old versions.
8 (Portage version: 2.2_rc62/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.8 app-emulation/lxc/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/lxc/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/lxc/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/lxc/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 8 Dec 2009 07:45:34 -0000 1.7
24 +++ ChangeLog 30 Jan 2010 23:16:53 -0000 1.8
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-emulation/lxc
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.7 2009/12/08 07:45:34 swegener Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.8 2010/01/30 23:16:53 flameeyes Exp $
31 +
32 +*lxc-0.6.5 (30 Jan 2010)
33 +
34 + 30 Jan 2010; Diego E. Pettenò <flameeyes@g.o> -lxc-0.6.4.ebuild,
35 + -lxc-0.6.4-r1.ebuild, +lxc-0.6.5.ebuild:
36 + Version bump; remove old versions.
37
38 *lxc-0.6.4-r2 (08 Dec 2009)
39
40
41
42
43 1.1 app-emulation/lxc/lxc-0.6.5.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/lxc/lxc-0.6.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/lxc/lxc-0.6.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: lxc-0.6.5.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.6.5.ebuild,v 1.1 2010/01/30 23:16:54 flameeyes Exp $
53
54 EAPI="2"
55
56 inherit eutils linux-info versionator base
57
58 DESCRIPTION="LinuX Containers userspace utilities"
59 HOMEPAGE="http://lxc.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
61
62 KEYWORDS="~amd64 ~x86"
63
64 LICENSE="LGPL-3"
65 SLOT="0"
66 IUSE="+doc examples"
67
68 RDEPEND="sys-libs/libcap"
69
70 DEPEND="${RDEPEND}
71 doc? ( app-text/docbook-sgml-utils )
72 >=sys-kernel/linux-headers-2.6.29"
73
74 CONFIG_CHECK="~CGROUPS
75 ~CGROUP_NS ~CPUSETS ~CGROUP_CPUACCT
76 ~RESOURCE_COUNTERS ~CGROUP_MEM_RES_CTLR
77 ~CGROUP_SCHED
78
79 ~NAMESPACES
80 ~IPC_NS ~USER_NS ~PID_NS
81
82 ~SECURITY_FILE_CAPABILITIES
83 ~DEVPTS_MULTIPLE_INSTANCES
84 ~CGROUP_FREEZER
85 ~UTS_NS ~NET_NS
86 ~VETH ~MACVLAN"
87
88 ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
89
90 ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
91
92 ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
93 ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
94
95 ERROR_VETH="CONFIG_VETH: needed for internal (inter-container) networking"
96 ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
97
98 src_configure() {
99 econf \
100 --localstatedir=/var \
101 --bindir=/usr/sbin \
102 --docdir=/usr/share/doc/${PF} \
103 --with-config-path=/etc/lxc \
104 $(use_enable doc) \
105 $(use_enable examples) \
106 || die "configure failed"
107 }
108
109 src_install() {
110 emake DESTDIR="${D}" install || die "install failed"
111
112 dodoc AUTHORS CONTRIBUTING MAINTAINERS \
113 NEWS TODO README doc/FAQ.txt || die "dodoc failed"
114
115 rm -r "${D}"/etc/lxc "${D}"/usr/sbin/lxc-{setcap,ls}
116
117 keepdir /etc/lxc
118
119 find "${D}" -name '*.la' -delete
120 }