diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2014-12-21 10:18:18 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2014-12-21 10:18:18 +0000 |
commit | cd91c2d4ccd4e4efea2719cfabef615bcc02177c (patch) | |
tree | fabaa517b5c61f7eea695eb67f7aa384a629a890 /app-emulation/lxc | |
parent | Drop keywords from live ebuild now that the mask has been lifted (diff) | |
download | historical-cd91c2d4ccd4e4efea2719cfabef615bcc02177c.tar.gz historical-cd91c2d4ccd4e4efea2719cfabef615bcc02177c.tar.bz2 historical-cd91c2d4ccd4e4efea2719cfabef615bcc02177c.zip |
Version bump
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0x09BF4F54C2BA7F3C!
Diffstat (limited to 'app-emulation/lxc')
-rw-r--r-- | app-emulation/lxc/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/lxc/Manifest | 38 | ||||
-rw-r--r-- | app-emulation/lxc/lxc-1.0.7.ebuild | 185 |
3 files changed, 211 insertions, 19 deletions
diff --git a/app-emulation/lxc/ChangeLog b/app-emulation/lxc/ChangeLog index 30105f9b983d..e5fa44f9ed06 100644 --- a/app-emulation/lxc/ChangeLog +++ b/app-emulation/lxc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/lxc # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.53 2014/11/09 15:28:25 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/ChangeLog,v 1.54 2014/12/21 10:18:14 hwoarang Exp $ + +*lxc-1.0.7 (21 Dec 2014) + + 21 Dec 2014; Markos Chandras <hwoarang@gentoo.org> +lxc-1.0.7.ebuild: + Version bump 09 Nov 2014; Justin Lecher <jlec@gentoo.org> lxc-1.0.6-r1.ebuild: Fix for old bash-completion, #527520 diff --git a/app-emulation/lxc/Manifest b/app-emulation/lxc/Manifest index 17e288f7c651..9a7455a7cf8a 100644 --- a/app-emulation/lxc/Manifest +++ b/app-emulation/lxc/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX lxc-1.0.6-bash-completion.patch 1341 SHA256 ddac7cc033a4029f8264d06978321bb33ef7c4fd34c9a44bb1acaaaf1c85d302 SHA512 56b00f77812c0600a8ff7557ef0acf7f50d37bb9f6e5b3641c9a218a53ac64a59785430d0775c1c7980ac39120a2544fd7c28cf39fefc07e7f1558f88b9b5917 WHIRLPOOL b3ff9a377d7d29fa76b6d547f2d1b1621c5ab52e972a9b52389c269f26ba9f43eae6a414db46135be84f1ed91ebea9d6d24cc25da11f493dc86fee088e90bfb4 AUX lxc.initd.2 3673 SHA256 bb7780168695e934549909c5c7baa7d6cdc92b0e19093a3d04a1313081a832e1 SHA512 25b0474d6f16fcede89a8e17518a658f810cb554eaef10aae3ce1fdd8c8640118aa6375cbee443f0b26e8086eb7c25375ceaaaf29a4110bd779f94b2f4b0d300 WHIRLPOOL 28f56d71b95b26c7f6ad5402a37413a973bc7bdf08fd3963ad192888ae1b49809a56c16009bc6049061d419ecffb1279e153e6ef5acbe06956efca154eae6a01 @@ -7,27 +7,29 @@ AUX lxc.initd.3 3765 SHA256 2a96156f8d07391ae67d2160199d6ae362889438ac5b48c6c241 AUX lxc_at.service 232 SHA256 0aaf2f362b3ac6aa2b427d47ac4436d46387624b0d8bc4850c5d5b6a7d228711 SHA512 4c3bab4f2cc9aea8b0753dcaf2fd7ed5f1cd7d97d286d6204b2fc17505b6edaac2f536bbda5c1466856311d0e93d75de91dec51e9b0f665d67afedbf40c19170 WHIRLPOOL f6928b4b85e63c38295cabc651b7bd61d2b0bc69ff1850de7cfa8a4f40e4894d94264c262fec7d345488cace49c4283f932739313b975f6862c1aa0ef51e0652 DIST lxc-1.0.4.tar.gz 548741 SHA256 bcb04752fddc581030727be179a9f65715e11b0a04bf9bb119adb1b2d117bd9a SHA512 ec30e01e2dab393a74b50279981a9bb0e93da2ed2c82b33e218cd1146df20b5443a75ace623c30b6c9718f8a23e4a447484bf316c9155324fe931741d2ed9f06 WHIRLPOOL 2ae27940884bb645674410ff223f80e63b90cda7a4fdf189133ebab91621c0fc95ddb24e439f08ffbf93a3056e32dcc88cdc04ac75d9c4ad8a4779c177845074 DIST lxc-1.0.6.tar.gz 561249 SHA256 2aea199a89e2cd946f93406af6c3f62844f36954b79a6991b36d2c33022cb11c SHA512 fe85ccb57865d86704df6b4b79d60f31892785b07dc9dd2580cc6c384c89c29c23516e906b7a16bc03c6582c1fb2432bb8ff11bd17c09efa8f6a035fb41f46b1 WHIRLPOOL 9e77453fbe31523a2e8f39cfaba6f09fef68d00b54549167a0cde56c00934f827f5b4190b9fb64242f36782a9fcda63e6796c35fd47420870c2cee7b9bc0a1c8 +DIST lxc-1.0.7.tar.gz 564985 SHA256 a0b1b09592e076e270dcb3ba004616d9ac3147f9de0b78ca39a30f8956b0a8f2 SHA512 e6ff42a7b41177e1be0d2cd47d4c554565c7fc35355f3aa8aeba00d4adc7a0f364ecd060ddb6c97b2fe5968329c4e4c4b3cb022bffd2da145f30880f077264a8 WHIRLPOOL f07e5e9efb8ff394aa9cdd6c3e725b453c8137ec221399cbf910d57dbc9268fc84e7227273567792821415dc14e774942b76a58a1a478de57d5c82e545702000 EBUILD lxc-1.0.4.ebuild 5597 SHA256 c7f4007dae5414e8d8acdc8927df0f2f090ca9bbcba8ef8f7044d6df0e4da43e SHA512 994812de2c433e2996f0149da1c156947ccaa50699852f4af655d74bd9bac93a743a782e42a603ee192ebc66c52432e687413831896d0d2e7286d5ac1b75e33f WHIRLPOOL c9d7200d4493fa341d15fbe83fd76b6fc277a0d4d334739586a28f2dbe897864c431423bdb2a189ef6e2866ac120808781151c8b36f986bdf8049053a139eec1 EBUILD lxc-1.0.6-r1.ebuild 5858 SHA256 b4bc37f2d005858c71dc02110ac99d048f5193bb4c1d2da7b9f858c36ed01452 SHA512 3821d69cf02f91e08075b029ede033f994f397b958932ce6ce13e588da92e68e15757184ae3b176d003fa190d8bdfc5e926b3333376a300aa5d5b789e581f4cd WHIRLPOOL 9bebff48adca2da4fef6b24e8f24acacd50064ae45c812b6d68faa7832da5f6ddda90552de57ab439de2bc2113f266b257f1312eb63b4b5667b9e4dc0ef0c8c9 EBUILD lxc-1.0.6.ebuild 5517 SHA256 342383c71c61bb2d5dc14b179d0f8570f3707a654be9ea3b5bba946b44c2b183 SHA512 a8314c49a5f2df5ede9ffa6882fb84350ec15fed18cf82f4b63d513e309ba9267adf5a0a068c37c83ae2cfcbfa6fba2b4e8083b59c441fb852938498a5fafebd WHIRLPOOL ac1bdfeb650ad33cad3d3b7b3257f24e409bbcaed15900ef27fd4ee7fb4e836a56314fb09f1d52c45dcd3014c89f54ca65bc46c53a0e829b9900e43a49098377 -MISC ChangeLog 11638 SHA256 24a65998c95c2417628ee41055a9279381b1f1d1ec7336af49ed947e32ae7eac SHA512 4e53c57d0c1770444794b4289deeabc5c5a07217003645357a31728fc765ba83fa9b8c5b656fce48aa6299d68d5027faa1dd9742a749b7348ca2f2fd56adb721 WHIRLPOOL 9f92f78a9e1215b72e1bc6a5670a93992b45a0d9cf646701896762f7a6963647fc17a875302b976b61b774a519bc69ea1a7f2be19ba0e3c01bb649f2d2bb61ca +EBUILD lxc-1.0.7.ebuild 5866 SHA256 6a9f4223eb538116dcad468a14b990d514e3205d7de3b6e6e0b04658f0875079 SHA512 9f362ab9e63dadc98393bca8570a63b66efd8ce427701d9bb1878b6f65bd966b823464ee5da322734aa736274865e8739192e55206638b5d5ae1edf9d73c21f9 WHIRLPOOL 55e23833b4571f60d8d85ea3ef770d50b9acd802a61e2f0f1cb9127c9d381b895185780bf50d92c7816b62a4d7175a408945df22c4a76e106270a467ee6c81a0 +MISC ChangeLog 11756 SHA256 5ed77072b3fe7f4827cdd30f7c4936b5d73fd395f7cc6b373c4e6815273c8822 SHA512 1cd6d7afcfd57af2e87edc62b52107aff9390a5015786e5e2ed141be0e528f0d2f96a2047485ead6bd9b6e2da62ed1ab75b2735eb933e0cc5fa43b497be93cb6 WHIRLPOOL f90e086c53eaa7ff28a0606c7332e264324d4995ade88a3893fabdfc2f495ad5a5df86b16d22d9f75b1f4acdb79cde7bd06843dbad2588b5a16750f350f14e88 MISC metadata.xml 494 SHA256 82db4b5e8580454962bfd6c341660f4b5b2d244311152978f8ff107dcf3c55d2 SHA512 cb0cdedcafedb433898bf9cde51736a6728db69d689ca0cc324487cf1f35356e710062bb8072a94909139bfa1cace529d81cc6a8b4ae4cba6e6f99fde0ac53a7 WHIRLPOOL a1aacd0211fb2a31522c7a0ab2f1259870b4cbcc8ba099ec35188bf24e55fc4f4cf3eb76dd67360037b0a038b3d80f1c7c45fb6a081f6bf424780573f1178a1c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0 +Version: GnuPG v2 -iQJ8BAEBCgBmBQJUX4gcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC -OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirLHoP/3ysxwy27rd0IE7nMyxflM7I -gT+d6CKDCwWRQEa8+h0NbfCwBxAuncQfVpgFNEn/ngWK7yMmBLyw/diG7w6fgZCe -NHsWfA1Iq9qjG1VPd2QIBBGdoopsRl9V/tfTwUNTnzhs41IM+LesLUoXqQfHWIxP -/zBzI+OBe/L52TYGctsC9TMw4zatw5LWGdkiKJ3dgPXFn1F4kNr8v3Abra87aeVf -whDdAjjmr0WFkR0tdEka7boZ9XWM6t3DirYR+TcsfqyMazUfUX0tBm+8ICqaPhrk -j7+9oElxH3zIUSMqXVSiuQ/l5b+7JayQmJK7byHhYZ4rY2IR+SWK3jKEvkzRJNVm -ZrBePZRqmuK2axh05pwzywxdByPYf5mTsiQJIoxErxvJMYuALRAkgtcVypf/uosQ -8k/irJ1dS9S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La5UcvdvtfzRz5WXuuAtTUaLWZ3Q6rfnQaZLqilXEzYIluT6IiHzk5IBfk/iNB +WHObLYghHUvIN2R9d2uE +=Lmzq -----END PGP SIGNATURE----- diff --git a/app-emulation/lxc/lxc-1.0.7.ebuild b/app-emulation/lxc/lxc-1.0.7.ebuild new file mode 100644 index 000000000000..4a9a7ed5c636 --- /dev/null +++ b/app-emulation/lxc/lxc-1.0.7.ebuild @@ -0,0 +1,185 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-1.0.7.ebuild,v 1.1 2014/12/21 10:18:14 hwoarang Exp $ + +EAPI="5" + +MY_P="${P/_/-}" +PYTHON_COMPAT=( python{3_2,3_3,3_4} ) +DISTUTILS_OPTIONAL=1 + +inherit autotools bash-completion-r1 distutils-r1 eutils linux-info versionator flag-o-matic systemd + +DESCRIPTION="LinuX Containers userspace utilities" +HOMEPAGE="https://linuxcontainers.org/" +SRC_URI="https://github.com/lxc/lxc/archive/${MY_P}.tar.gz" + +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" + +LICENSE="LGPL-3" +SLOT="0" +IUSE="doc examples lua python seccomp" + +RDEPEND="net-libs/gnutls + sys-libs/libcap + lua? ( >=dev-lang/lua-5.1 ) + python? ( ${PYTHON_DEPS} ) + seccomp? ( sys-libs/libseccomp )" + +DEPEND="${RDEPEND} + doc? ( app-text/docbook-sgml-utils ) + >=sys-kernel/linux-headers-3.2" + +RDEPEND="${RDEPEND} + sys-apps/util-linux + app-misc/pax-utils + virtual/awk" + +CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE + ~CPUSETS ~CGROUP_CPUACCT + ~RESOURCE_COUNTERS + ~CGROUP_SCHED + + ~NAMESPACES + ~IPC_NS ~USER_NS ~PID_NS + + ~DEVPTS_MULTIPLE_INSTANCES + ~CGROUP_FREEZER + ~UTS_NS ~NET_NS + ~VETH ~MACVLAN + + ~POSIX_MQUEUE + ~!NETPRIO_CGROUP + + ~!GRKERNSEC_CHROOT_MOUNT + ~!GRKERNSEC_CHROOT_DOUBLE + ~!GRKERNSEC_CHROOT_PIVOT + ~!GRKERNSEC_CHROOT_CHMOD + ~!GRKERNSEC_CHROOT_CAPS +" + +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" + +ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command" + +ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting." + +ERROR_GRKERNSEC_CHROOT_MOUNT=":CONFIG_GRKERNSEC_CHROOT_MOUNT some GRSEC features make LXC unusable see postinst notes" +ERROR_GRKERNSEC_CHROOT_DOUBLE=":CONFIG_GRKERNSEC_CHROOT_DOUBLE some GRSEC features make LXC unusable see postinst notes" +ERROR_GRKERNSEC_CHROOT_PIVOT=":CONFIG_GRKERNSEC_CHROOT_PIVOT some GRSEC features make LXC unusable see postinst notes" +ERROR_GRKERNSEC_CHROOT_CHMOD=":CONFIG_GRKERNSEC_CHROOT_CHMOD some GRSEC features make LXC unusable see postinst notes" +ERROR_GRKERNSEC_CHROOT_CAPS=":CONFIG_GRKERNSEC_CHROOT_CAPS some GRSEC features make LXC unusable see postinst notes" + +DOCS=(AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt) + +S="${WORKDIR}/${PN}-${MY_P}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +src_prepare() { + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die + if [[ -n ${BACKPORTS} ]]; then + epatch "${WORKDIR}"/patches/* + fi + + epatch "${FILESDIR}"/${PN}-1.0.6-bash-completion.patch + + eautoreconf +} + +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 \ + $(use_enable doc) \ + --disable-apparmor \ + $(use_enable examples) \ + $(use_enable lua) \ + --disable-python +} + +python_compile() { + distutils-r1_python_compile build_ext -I ../ -L ../${PN} +} + +src_compile() { + default + + if use python; then + pushd "${S}/src/python-${PN}" > /dev/null + distutils-r1_src_compile + popd > /dev/null + fi +} + +src_install() { + default + + mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die + bashcomp_alias ${PN}-start \ + ${PN}-{attach,cgroup,clone,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait} + + if use python; then + pushd "${S}/src/python-lxc" > /dev/null + # Unset DOCS. This has been handled by the default target + unset DOCS + distutils-r1_src_install + popd > /dev/null + fi + + keepdir /etc/lxc /usr/lib/lxc/rootfs /var/log/lxc + + find "${D}" -name '*.la' -delete + + # Gentoo-specific additions! + # Use initd.3 per #517144 + newinitd "${FILESDIR}/${PN}.initd.3" ${PN} + + # lxc-devsetup script + exeinto /usr/libexec/${PN} + doexe config/init/systemd/${PN}-devsetup + # Use that script with the systemd service (Similar to upstream + # Makefile.am + cp "${FILESDIR}"/${PN}_at.service ${PN}_at.service || die + sed -i \ + "/Restart=always/a ExecStartPre=/usr/libexec/${PN}/${PN}-devsetup" \ + ${PN}_at.service \ + || die "Failed to add ${PN}-devsetup to the systemd service file" + systemd_newunit ${PN}_at.service "lxc@.service" +} + +pkg_postinst() { + 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 "" + 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." + ewarn "" + ewarn "Some GrSecurity settings in relation to chroot security will cause LXC not to" + ewarn "work, while others will actually make it much more secure. Please refer to" + ewarn "Diego Elio Pettenò's weblog at http://blog.flameeyes.eu/tag/lxc for further" + ewarn "details." +} |