summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-02-19 12:07:18 +0000
committerTim Harder <radhermit@gentoo.org>2014-02-19 12:07:18 +0000
commitcb3347b866ba58126a000bdb9d1ef131b9f6a1cd (patch)
treefdbc505552d4cea66db8c53a8865a7c31be656bd /sys-process
parentVersion bump (bug #501748 by Alex Barker). (diff)
downloadgentoo-2-cb3347b866ba58126a000bdb9d1ef131b9f6a1cd.tar.gz
gentoo-2-cb3347b866ba58126a000bdb9d1ef131b9f6a1cd.tar.bz2
gentoo-2-cb3347b866ba58126a000bdb9d1ef131b9f6a1cd.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/criu/ChangeLog9
-rw-r--r--sys-process/criu/criu-1.1.ebuild49
2 files changed, 56 insertions, 2 deletions
diff --git a/sys-process/criu/ChangeLog b/sys-process/criu/ChangeLog
index 8330c7860b1b..e8ce6c14f914 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.6 2013/11/26 04:24:05 radhermit Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/criu/ChangeLog,v 1.7 2014/02/19 12:07:18 radhermit Exp $
+
+*criu-1.1 (19 Feb 2014)
+
+ 19 Feb 2014; Tim Harder <radhermit@gentoo.org> +criu-1.1.ebuild:
+ Version bump.
*criu-1.0 (26 Nov 2013)
diff --git a/sys-process/criu/criu-1.1.ebuild b/sys-process/criu/criu-1.1.ebuild
new file mode 100644
index 000000000000..0174124a2a65
--- /dev/null
+++ b/sys-process/criu/criu-1.1.ebuild
@@ -0,0 +1,49 @@
+# 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.1.ebuild,v 1.1 2014/02/19 12:07:18 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
+}