summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-12-04 03:46:30 +0000
committerTim Harder <radhermit@gentoo.org>2014-12-04 03:46:30 +0000
commit9b125d744b10ccb598bc0309d0eb20660fa64bfb (patch)
tree238a9c468e3cf69d44634074826642c3f02a81b1 /sys-process/criu
parentChangeLog (diff)
downloadgentoo-2-9b125d744b10ccb598bc0309d0eb20660fa64bfb.tar.gz
gentoo-2-9b125d744b10ccb598bc0309d0eb20660fa64bfb.tar.bz2
gentoo-2-9b125d744b10ccb598bc0309d0eb20660fa64bfb.zip
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'sys-process/criu')
-rw-r--r--sys-process/criu/ChangeLog7
-rw-r--r--sys-process/criu/criu-1.4.ebuild47
2 files changed, 53 insertions, 1 deletions
diff --git a/sys-process/criu/ChangeLog b/sys-process/criu/ChangeLog
index cc7449c0c88b..0f2ef4146ee4 100644
--- a/sys-process/criu/ChangeLog
+++ b/sys-process/criu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-process/criu
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/criu/ChangeLog,v 1.11 2014/11/08 03:34:18 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/criu/ChangeLog,v 1.12 2014/12/04 03:46:30 radhermit Exp $
+
+*criu-1.4 (04 Dec 2014)
+
+ 04 Dec 2014; Tim Harder <radhermit@gentoo.org> +criu-1.4.ebuild:
+ Version bump.
*criu-1.3.1 (08 Nov 2014)
diff --git a/sys-process/criu/criu-1.4.ebuild b/sys-process/criu/criu-1.4.ebuild
new file mode 100644
index 000000000000..b3e6f8f699fd
--- /dev/null
+++ b/sys-process/criu/criu-1.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/criu/criu-1.4.ebuild,v 1.1 2014/12/04 03:46:30 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-1"
+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}-1.3.1-flags.patch
+ epatch "${FILESDIR}"/${PN}-1.3.1-makefile.patch
+}
+
+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 SYSCONFDIR="${EPREFIX}"/etc PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install
+ dodoc CREDITS README
+}