1 |
flameeyes 11/03/30 12:09:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lxc-0.7.4.1.ebuild |
5 |
Removed: lxc-0.7.2-r1.ebuild lxc-0.7.3-r1.ebuild |
6 |
lxc-0.7.4.ebuild |
7 |
Log: |
8 |
Version bump. |
9 |
|
10 |
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.21 app-emulation/lxc/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/ChangeLog?rev=1.21&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/ChangeLog?rev=1.21&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/ChangeLog?r1=1.20&r2=1.21 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v |
22 |
retrieving revision 1.20 |
23 |
retrieving revision 1.21 |
24 |
diff -u -r1.20 -r1.21 |
25 |
--- ChangeLog 26 Feb 2011 18:02:51 -0000 1.20 |
26 |
+++ ChangeLog 30 Mar 2011 12:09:06 -0000 1.21 |
27 |
@@ -1,6 +1,12 @@ |
28 |
# ChangeLog for app-emulation/lxc |
29 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.20 2011/02/26 18:02:51 flameeyes Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.21 2011/03/30 12:09:06 flameeyes Exp $ |
32 |
+ |
33 |
+*lxc-0.7.4.1 (30 Mar 2011) |
34 |
+ |
35 |
+ 30 Mar 2011; Diego E. Pettenò <flameeyes@g.o> -lxc-0.7.2-r1.ebuild, |
36 |
+ -lxc-0.7.3-r1.ebuild, -lxc-0.7.4.ebuild, +lxc-0.7.4.1.ebuild: |
37 |
+ Version bump. |
38 |
|
39 |
*lxc-0.7.4 (26 Feb 2011) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 app-emulation/lxc/lxc-0.7.4.1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/lxc-0.7.4.1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/lxc-0.7.4.1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: lxc-0.7.4.1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2011 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.7.4.1.ebuild,v 1.1 2011/03/30 12:09:06 flameeyes Exp $ |
54 |
|
55 |
EAPI="2" |
56 |
|
57 |
MY_P="${P/_/-}" |
58 |
|
59 |
inherit eutils linux-info versionator base |
60 |
|
61 |
DESCRIPTION="LinuX Containers userspace utilities" |
62 |
HOMEPAGE="http://lxc.sourceforge.net/" |
63 |
SRC_URI="http://lxc.sourceforge.net/download/lxc/${MY_P}.tar.gz" |
64 |
S="${WORKDIR}/${MY_P}" |
65 |
|
66 |
KEYWORDS="~amd64 ~x86" |
67 |
|
68 |
LICENSE="LGPL-3" |
69 |
SLOT="0" |
70 |
IUSE="doc examples vanilla" |
71 |
|
72 |
RDEPEND="sys-libs/libcap" |
73 |
|
74 |
DEPEND="${RDEPEND} |
75 |
doc? ( app-text/docbook-sgml-utils ) |
76 |
>=sys-kernel/linux-headers-2.6.29" |
77 |
|
78 |
# For init script, so protect with vanilla, they are not strictly |
79 |
# needed. |
80 |
RDEPEND="${RDEPEND} |
81 |
vanilla? ( |
82 |
sys-apps/util-linux |
83 |
app-misc/pax-utils |
84 |
)" |
85 |
|
86 |
CONFIG_CHECK="~CGROUPS |
87 |
~CGROUP_NS ~CPUSETS ~CGROUP_CPUACCT |
88 |
~RESOURCE_COUNTERS ~CGROUP_MEM_RES_CTLR |
89 |
~CGROUP_SCHED |
90 |
|
91 |
~NAMESPACES |
92 |
~IPC_NS ~USER_NS ~PID_NS |
93 |
|
94 |
~DEVPTS_MULTIPLE_INSTANCES |
95 |
~CGROUP_FREEZER |
96 |
~UTS_NS ~NET_NS |
97 |
~VETH ~MACVLAN" |
98 |
|
99 |
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container" |
100 |
|
101 |
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers" |
102 |
|
103 |
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info" |
104 |
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network" |
105 |
|
106 |
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking" |
107 |
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking" |
108 |
|
109 |
src_configure() { |
110 |
econf \ |
111 |
--localstatedir=/var \ |
112 |
--bindir=/usr/sbin \ |
113 |
--docdir=/usr/share/doc/${PF} \ |
114 |
--with-config-path=/etc/lxc \ |
115 |
--with-rootfs-path=/usr/lib/lxc/rootfs \ |
116 |
--with-linuxdir="${KERNEL_DIR}" \ |
117 |
$(use_enable doc) \ |
118 |
$(use_enable examples) \ |
119 |
|| die "configure failed" |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
emake DESTDIR="${D}" install || die "install failed" |
124 |
|
125 |
dodoc AUTHORS CONTRIBUTING MAINTAINERS \ |
126 |
NEWS TODO README doc/FAQ.txt || die "dodoc failed" |
127 |
|
128 |
# If the documentation is going to be rebuilt, the Makefiles will |
129 |
# install the man pages themselves; if we're not going to, we |
130 |
# still need to install them, as they are provided with the |
131 |
# tarball in recent versions. |
132 |
if ! use doc; then |
133 |
doman doc/*.{1,5,7} || die |
134 |
fi |
135 |
|
136 |
rm -r "${D}"/usr/sbin/lxc-{setcap,ls} \ |
137 |
"${D}"/usr/share/man/man1/lxc-ls.1 \ |
138 |
|| die "unable to remove extraenous content" |
139 |
|
140 |
keepdir /etc/lxc /usr/lib/lxc/rootfs |
141 |
|
142 |
find "${D}" -name '*.la' -delete |
143 |
|
144 |
use vanilla && return 0 |
145 |
|
146 |
# Gentoo-specific additions! |
147 |
newinitd "${FILESDIR}/${PN}.initd" ${PN} |
148 |
keepdir /var/log/lxc |
149 |
} |
150 |
|
151 |
pkg_postinst() { |
152 |
if ! use vanilla; then |
153 |
elog "There is an init script provided with the package now; no documentation" |
154 |
elog "is currently available though, so please check out /etc/init.d/lxc ." |
155 |
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname" |
156 |
elog "to start the container defined into /etc/lxc/configname.conf ." |
157 |
elog "For further information about LXC development see" |
158 |
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available |
159 |
elog "" |
160 |
fi |
161 |
ewarn "With version 0.7.4, the mountpoint syntax came back to the one used by 0.7.2" |
162 |
ewarn "and previous versions. This means you'll have to use syntax like the following" |
163 |
ewarn "" |
164 |
ewarn " lxc.rootfs = /container" |
165 |
ewarn " lxc.mount.entry = /usr/portage /container/usr/portage none bind 0 0" |
166 |
ewarn "" |
167 |
ewarn "To use the Fedora, Debian and (various) Ubuntu auto-configuration scripts, you" |
168 |
ewarn "will need sys-apps/yum or dev-util/debootstrap." |
169 |
} |