summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-07-26 13:39:28 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-07-26 13:39:28 +0000
commit9530d0f948074cec15c4ca92d01385db3c069c82 (patch)
tree3781c55cc5685a9b2cab5dbee7a788caf1b1629e /app-emulation/lxc
parentPatch from Jaco Kroon allows setvar from users.conf to work for chan_dahdi ag... (diff)
downloadhistorical-9530d0f948074cec15c4ca92d01385db3c069c82.tar.gz
historical-9530d0f948074cec15c4ca92d01385db3c069c82.tar.bz2
historical-9530d0f948074cec15c4ca92d01385db3c069c82.zip
Version bump.
Package-Manager: portage-2.2.0_alpha47/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/lxc')
-rw-r--r--app-emulation/lxc/ChangeLog7
-rw-r--r--app-emulation/lxc/Manifest14
-rw-r--r--app-emulation/lxc/lxc-0.7.4.2.ebuild120
3 files changed, 139 insertions, 2 deletions
diff --git a/app-emulation/lxc/ChangeLog b/app-emulation/lxc/ChangeLog
index d0bdf33bdc80..5f36bf6eb8d3 100644
--- a/app-emulation/lxc/ChangeLog
+++ b/app-emulation/lxc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/lxc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.24 2011/07/05 02:46:37 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.25 2011/07/26 13:39:28 flameeyes Exp $
+
+*lxc-0.7.4.2 (26 Jul 2011)
+
+ 26 Jul 2011; Diego E. Pettenò <flameeyes@gentoo.org> +lxc-0.7.4.2.ebuild:
+ Version bump.
05 Jul 2011; Mark Loeser <halcy0n@gentoo.org> lxc-0.7.4.1-r1.ebuild:
Mark ~ppc64
diff --git a/app-emulation/lxc/Manifest b/app-emulation/lxc/Manifest
index 371ca0c30665..cc38ae478cfb 100644
--- a/app-emulation/lxc/Manifest
+++ b/app-emulation/lxc/Manifest
@@ -1,5 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX lxc.initd 3620 RMD160 4c594655927fbd3438dcea2e2d77cca8874f0f10 SHA1 800f2ce6ff3e9c65ffc16763020275991e8229f2 SHA256 497760658fea3b82562e6eaf2fe540351d5252b9d752b56fd944ba5514f9bb83
DIST lxc-0.7.4.1.tar.gz 274420 RMD160 1028abd9ae0f2689ac9cd15f33f9dc0b2aa0a8fb SHA1 837be69ef9fa20441793bb97b6d1291dba9191c2 SHA256 6354e7c0ada65bcd1649d4a8333adde97e6480da518399ad2298a7364ef7881f
+DIST lxc-0.7.4.2.tar.gz 274421 RMD160 4f56aab0bbb48a514fee7fece9a485e599688a63 SHA1 876cf9a4788eb082e58e4a7853ca81b0a9676037 SHA256 b483fcc1c1a2540c194af065d9c68aeab261b57bd4d50b17f3970701a322a0b3
EBUILD lxc-0.7.4.1-r1.ebuild 3568 RMD160 dba0f4d59fd3b6e835fd18ee721675f5bbac56db SHA1 7ad2aefaabf0244c1945bfa80130d8a0ef0dcdea SHA256 46d92705f1f8dc5dd987b6a708fada36e9111e182dbe96293ca9a81cb7f14c20
-MISC ChangeLog 5552 RMD160 3be294f51f96e6efb419be5e368e94740cbcfbac SHA1 11b9eff74592b1d294aa517144f7058efd6098ae SHA256 9d6027f9e26805f86181c01db95cbee3c02f1929432f8fef4d85f2c4ec014c76
+EBUILD lxc-0.7.4.2.ebuild 3528 RMD160 c3103d7e1e15d42f33313536eeffc7490d93f1a4 SHA1 279fc085f333a5f760f17eedc98bafdd428ce73f SHA256 a4c9350fb82fc9870231a0c97245a80023e701f253ddd97122cd6b0f03dcbb29
+MISC ChangeLog 5676 RMD160 8e28a73bb7d3a4815a4ad0230a16f3b05dd93d38 SHA1 5e01e0731c15397a56164bbfdc899df81398a2be SHA256 8a5651988af9242b699e37099edc7ca28bc8c76dc1e4b219d6223d820a3979a5
MISC metadata.xml 653 RMD160 d6139a7ce3a5dab18f33c7f111f2e7827c290723 SHA1 47ba631625b4f2b20e491a964e65c78dd236f6f2 SHA256 35f64761067f47ff7abd0e3f3cb57f4bab888a2546bf3267d59987505101a190
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk4uw5oACgkQAiZjviIA2Xi00QCg6tzUfma9aLiYH1jWxFbHH3Pz
+DIIAn2+mH/H0HzZf5y5BZVXvo9VY15z9
+=oB4M
+-----END PGP SIGNATURE-----
diff --git a/app-emulation/lxc/lxc-0.7.4.2.ebuild b/app-emulation/lxc/lxc-0.7.4.2.ebuild
new file mode 100644
index 000000000000..2e05dd140090
--- /dev/null
+++ b/app-emulation/lxc/lxc-0.7.4.2.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.7.4.2.ebuild,v 1.1 2011/07/26 13:39:28 flameeyes Exp $
+
+EAPI="4"
+
+MY_P="${P/_/-}"
+
+inherit eutils linux-info versionator flag-o-matic
+
+DESCRIPTION="LinuX Containers userspace utilities"
+HOMEPAGE="http://lxc.sourceforge.net/"
+SRC_URI="http://lxc.sourceforge.net/download/lxc/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="doc examples vanilla"
+
+RDEPEND="sys-libs/libcap"
+
+DEPEND="${RDEPEND}
+ doc? ( app-text/docbook-sgml-utils )
+ >=sys-kernel/linux-headers-2.6.29"
+
+# For init script, so protect with vanilla, they are not strictly
+# needed.
+RDEPEND="${RDEPEND}
+ vanilla? (
+ sys-apps/util-linux
+ app-misc/pax-utils
+ )"
+
+CONFIG_CHECK="~CGROUPS
+ ~CGROUP_NS ~CPUSETS ~CGROUP_CPUACCT
+ ~RESOURCE_COUNTERS ~CGROUP_MEM_RES_CTLR
+ ~CGROUP_SCHED
+
+ ~NAMESPACES
+ ~IPC_NS ~USER_NS ~PID_NS
+
+ ~DEVPTS_MULTIPLE_INSTANCES
+ ~CGROUP_FREEZER
+ ~UTS_NS ~NET_NS
+ ~VETH ~MACVLAN"
+
+ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
+
+ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
+
+ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
+ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
+
+ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
+ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
+
+src_configure() {
+ append-flags -fno-strict-aliasing
+
+ econf \
+ --localstatedir=/var \
+ --bindir=/usr/sbin \
+ --docdir=/usr/share/doc/${PF} \
+ --with-config-path=/etc/lxc \
+ --with-rootfs-path=/usr/lib/lxc/rootfs \
+ --with-linuxdir="${KERNEL_DIR}" \
+ $(use_enable doc) \
+ $(use_enable examples)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc AUTHORS CONTRIBUTING MAINTAINERS \
+ NEWS TODO README doc/FAQ.txt
+
+ # If the documentation is going to be rebuilt, the Makefiles will
+ # install the man pages themselves; if we're not going to, we
+ # still need to install them, as they are provided with the
+ # tarball in recent versions.
+ if ! use doc; then
+ doman doc/*.{1,5,7}
+ fi
+
+ rm -r "${D}"/usr/sbin/lxc-{setcap,ls} \
+ "${D}"/usr/share/man/man1/lxc-ls.1 \
+ || die "unable to remove extraenous content"
+
+ keepdir /etc/lxc /usr/lib/lxc/rootfs
+
+ find "${D}" -name '*.la' -delete
+
+ use vanilla && return 0
+
+ # Gentoo-specific additions!
+ newinitd "${FILESDIR}/${PN}.initd" ${PN}
+ keepdir /var/log/lxc
+}
+
+pkg_postinst() {
+ if ! use vanilla; then
+ elog "There is an init script provided with the package now; no documentation"
+ elog "is currently available though, so please check out /etc/init.d/lxc ."
+ elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
+ elog "to start the container defined into /etc/lxc/configname.conf ."
+ elog "For further information about LXC development see"
+ elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
+ elog ""
+ fi
+ ewarn "With version 0.7.4, the mountpoint syntax came back to the one used by 0.7.2"
+ ewarn "and previous versions. This means you'll have to use syntax like the following"
+ ewarn ""
+ ewarn " lxc.rootfs = /container"
+ ewarn " lxc.mount.entry = /usr/portage /container/usr/portage none bind 0 0"
+ ewarn ""
+ ewarn "To use the Fedora, Debian and (various) Ubuntu auto-configuration scripts, you"
+ ewarn "will need sys-apps/yum or dev-util/debootstrap."
+}