diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-11-26 04:24:05 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-11-26 04:24:05 +0000 |
commit | ae3c4ecd6e8f387e6d5f9ce9909d6cfd26eaaaa5 (patch) | |
tree | 1d9083d4fc353548714b33c9bb9aa11f15f3c795 /sys-process/criu | |
parent | Initial ebuild. (diff) | |
download | gentoo-2-ae3c4ecd6e8f387e6d5f9ce9909d6cfd26eaaaa5.tar.gz gentoo-2-ae3c4ecd6e8f387e6d5f9ce9909d6cfd26eaaaa5.tar.bz2 gentoo-2-ae3c4ecd6e8f387e6d5f9ce9909d6cfd26eaaaa5.zip |
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'sys-process/criu')
-rw-r--r-- | sys-process/criu/ChangeLog | 7 | ||||
-rw-r--r-- | sys-process/criu/criu-1.0.ebuild | 49 |
2 files changed, 55 insertions, 1 deletions
diff --git a/sys-process/criu/ChangeLog b/sys-process/criu/ChangeLog index be139064f721..8330c7860b1b 100644 --- a/sys-process/criu/ChangeLog +++ b/sys-process/criu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-process/criu # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/criu/ChangeLog,v 1.5 2013/11/06 06:46:08 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/criu/ChangeLog,v 1.6 2013/11/26 04:24:05 radhermit Exp $ + +*criu-1.0 (26 Nov 2013) + + 26 Nov 2013; Tim Harder <radhermit@gentoo.org> +criu-1.0.ebuild: + Version bump. *criu-0.8 (06 Nov 2013) diff --git a/sys-process/criu/criu-1.0.ebuild b/sys-process/criu/criu-1.0.ebuild new file mode 100644 index 000000000000..066206f07d8f --- /dev/null +++ b/sys-process/criu/criu-1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/criu/criu-1.0.ebuild,v 1.1 2013/11/26 04:24:05 radhermit Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs linux-info flag-o-matic + +DESCRIPTION="utility to checkpoint/restore a process tree" +HOMEPAGE="http://criu.org/" +SRC_URI="http://download.openvz.org/criu/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-libs/protobuf-c" +DEPEND="${RDEPEND} + app-text/asciidoc + app-text/xmlto" + +CONFIG_CHECK="~CHECKPOINT_RESTORE ~NAMESPACES ~PID_NS ~FHANDLE ~EVENTFD ~EPOLL ~INOTIFY_USER + ~IA32_EMULATION ~UNIX_DIAG ~INET_DIAG ~INET_UDP_DIAG ~PACKET_DIAG ~NETLINK_DIAG" + +RESTRICT="test" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.6-flags.patch + + # use raw ldflags for direct ld calls + sed -i "s/\$\$\?(LDFLAGS)/$(raw-ldflags)/" scripts/Makefile.build || die +} + +src_compile() { + unset ARCH + emake CC="$(tc-getCC)" LD="$(tc-getLD)" V=1 WERROR=0 all docs +} + +src_test() { + # root privileges are required to dump all necessary info + if [[ ${EUID} -eq 0 ]] ; then + emake -j1 CC="$(tc-getCC)" V=1 WERROR=0 test + fi +} + +src_install() { + emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install + dodoc CREDITS README +} |