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.7.1.ebuild lxc-0.6.5.ebuild lxc-0.7.0.ebuild
Date: Mon, 28 Jun 2010 00:00:11
Message-Id: 20100628000008.9CE6B2CF9D@corvid.gentoo.org
1 flameeyes 10/06/28 00:00:08
2
3 Modified: ChangeLog
4 Added: lxc-0.7.1.ebuild
5 Removed: lxc-0.6.5.ebuild lxc-0.7.0.ebuild
6 Log:
7 Version bump, remove old versions, remove stray patch files.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.13 app-emulation/lxc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 20 Jun 2010 20:29:21 -0000 1.12
24 +++ ChangeLog 28 Jun 2010 00:00:08 -0000 1.13
25 @@ -1,6 +1,15 @@
26 # ChangeLog for app-emulation/lxc
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.12 2010/06/20 20:29:21 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.13 2010/06/28 00:00:08 flameeyes Exp $
30 +
31 +*lxc-0.7.1 (28 Jun 2010)
32 +
33 + 28 Jun 2010; Diego E. Pettenò <flameeyes@g.o>
34 + -files/lxc-0.6.4-fix-full-system.patch,
35 + -files/lxc-0.6.4-lxc.network.pair.patch,
36 + -files/lxc-0.6.4-move-rcfile.patch, -files/lxc-0.6.4-tty-malloc.patch,
37 + -lxc-0.6.5.ebuild, -lxc-0.7.0.ebuild, +lxc-0.7.1.ebuild:
38 + Version bump, remove old versions, remove stray patch files.
39
40 *lxc-0.7.0 (20 Jun 2010)
41
42
43
44
45 1.1 app-emulation/lxc/lxc-0.7.1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/lxc-0.7.1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/lxc-0.7.1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: lxc-0.7.1.ebuild
51 ===================================================================
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.7.1.ebuild,v 1.1 2010/06/28 00:00:08 flameeyes Exp $
55
56 EAPI="2"
57
58 inherit eutils linux-info versionator base
59
60 DESCRIPTION="LinuX Containers userspace utilities"
61 HOMEPAGE="http://lxc.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
63
64 KEYWORDS="~amd64 ~x86"
65
66 LICENSE="LGPL-3"
67 SLOT="0"
68 IUSE="doc examples"
69
70 RDEPEND="sys-libs/libcap"
71
72 DEPEND="${RDEPEND}
73 doc? ( app-text/docbook-sgml-utils )
74 >=sys-kernel/linux-headers-2.6.29"
75
76 CONFIG_CHECK="~CGROUPS
77 ~CGROUP_NS ~CPUSETS ~CGROUP_CPUACCT
78 ~RESOURCE_COUNTERS ~CGROUP_MEM_RES_CTLR
79 ~CGROUP_SCHED
80
81 ~NAMESPACES
82 ~IPC_NS ~USER_NS ~PID_NS
83
84 ~DEVPTS_MULTIPLE_INSTANCES
85 ~CGROUP_FREEZER
86 ~UTS_NS ~NET_NS
87 ~VETH ~MACVLAN"
88
89 ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
90
91 ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
92
93 ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
94 ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
95
96 ERROR_VETH="CONFIG_VETH: needed for internal (inter-container) networking"
97 ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
98
99 src_configure() {
100 econf \
101 --localstatedir=/var \
102 --bindir=/usr/sbin \
103 --docdir=/usr/share/doc/${PF} \
104 --with-config-path=/etc/lxc \
105 $(use_enable doc) \
106 $(use_enable examples) \
107 || die "configure failed"
108 }
109
110 src_install() {
111 emake DESTDIR="${D}" install || die "install failed"
112
113 dodoc AUTHORS CONTRIBUTING MAINTAINERS \
114 NEWS TODO README doc/FAQ.txt || die "dodoc failed"
115
116 # If the documentation is going to be rebuilt, the Makefiles will
117 # install the man pages themselves; if we're not going to, we
118 # still need to install them, as they are provided with the
119 # tarball in recent versions.
120 if ! use doc; then
121 doman doc/*.{1,5,7} || die
122 fi
123
124 rm -r "${D}"/usr/sbin/lxc-{setcap,ls} \
125 "${D}"/usr/share/man/man1/lxc-ls.1 \
126 || die "unable to remove extraenous content"
127
128 keepdir /etc/lxc
129
130 find "${D}" -name '*.la' -delete
131 }