diff options
author | Yixun Lan <dlan@gentoo.org> | 2015-04-13 02:21:24 +0000 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2015-04-13 02:21:24 +0000 |
commit | c7a9cb1cd5803d24363cfc4769cff3f6a5cae7af (patch) | |
tree | 7086e8c3ea3e818f6af70e2f55fdb766ddc25b5e /sys-process | |
parent | let me sign it... (diff) | |
download | gentoo-2-c7a9cb1cd5803d24363cfc4769cff3f6a5cae7af.tar.gz gentoo-2-c7a9cb1cd5803d24363cfc4769cff3f6a5cae7af.tar.bz2 gentoo-2-c7a9cb1cd5803d24363cfc4769cff3f6a5cae7af.zip |
version bump
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/criu/ChangeLog | 7 | ||||
-rw-r--r-- | sys-process/criu/criu-1.5.1.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/sys-process/criu/ChangeLog b/sys-process/criu/ChangeLog index 90266097f8c9..d5a17bfdca83 100644 --- a/sys-process/criu/ChangeLog +++ b/sys-process/criu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-process/criu # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/criu/ChangeLog,v 1.20 2015/03/16 03:08:29 dlan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/criu/ChangeLog,v 1.21 2015/04/13 02:21:24 dlan Exp $ + +*criu-1.5.1 (13 Apr 2015) + + 13 Apr 2015; Yixun Lan <dlan@gentoo.org> +criu-1.5.1.ebuild: + version bump 16 Mar 2015; Yixun Lan <dlan@gentoo.org> metadata.xml: add virt herd to get more attention diff --git a/sys-process/criu/criu-1.5.1.ebuild b/sys-process/criu/criu-1.5.1.ebuild new file mode 100644 index 000000000000..83f3c6abde7a --- /dev/null +++ b/sys-process/criu/criu-1.5.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/criu/criu-1.5.1.ebuild,v 1.1 2015/04/13 02:21:24 dlan 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 ~arm" +IUSE="setproctitle" + +RDEPEND="dev-libs/protobuf-c + setproctitle? ( dev-libs/libbsd )" +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 + epatch "${FILESDIR}"/${PN}-1.5-automagic-libbsd.patch +} + +src_compile() { + unset ARCH + emake CC="$(tc-getCC)" LD="$(tc-getLD)" V=1 SETPROCTITLE=$(usex setproctitle) 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 +} |