From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/criu/
Date: Wed, 19 Aug 2015 06:53:37 +0000 (UTC) [thread overview]
Message-ID: <1439996012.fa5ac7db85145c72617a40cc3216f1f2a57a8417.dlan@gentoo> (raw)
commit: fa5ac7db85145c72617a40cc3216f1f2a57a8417
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 19 14:48:06 2015 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Aug 19 14:53:32 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa5ac7db
sys-process/criu: version bump 1.6.1
Package-Manager: portage-2.2.20.1
sys-process/criu/Manifest | 1 +
sys-process/criu/criu-1.6.1.ebuild | 72 ++++++++++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/sys-process/criu/Manifest b/sys-process/criu/Manifest
index d6611bb..4fda2d0 100644
--- a/sys-process/criu/Manifest
+++ b/sys-process/criu/Manifest
@@ -1,2 +1,3 @@
DIST criu-1.5.2.tar.bz2 457573 SHA256 e8226018ac6c4094d61a1c002543e2b2253b4041a8edb24d4c1eaa41ce5ab345 SHA512 c7916fde1f63cb66a89e71867c204a251dfa2b9de703ac467bc460c6f0d895947996fd466c17cb529d2502aba7b75b8b30162baf3944fefebb71625fb88e5458 WHIRLPOOL c951692e684bd1b032bde1b534a4f4bd4b769a1e73afc56c74711ac943da907f638489205e8be2c68bbc345c1da8b641a7175dccd34aad907ca3251c3f2156a0
+DIST criu-1.6.1.tar.bz2 484598 SHA256 c74810383b7e524be0d909b9a6c1805e0887ac93cf1bfa28f00a87f395879e18 SHA512 59de498035970decc5181c3e464ccf686fce34e9fa5285d0c6777849013b8441a4338ef7f89339953ff83dcaf1b7e95dbbd54432f61a28665fbde979df5e31e8 WHIRLPOOL 07fa8490bca046a17476b59e375a287dacbb13c1a99ac0a05166c5925d997748ca506c1cf3bab2bdae832010f6d87e7aa6f4b4371ce7c7d630120a0f47f1ae23
DIST criu-1.6.tar.bz2 484513 SHA256 35ba6f5df90bfb8a25ae5e53459272bb37b8a69790e084f86d7a9ffa0df35993 SHA512 0672c7342ffed7c23fdb747b7bd3b08f205a4bf3965577991d007f71e70be5243247e52ad823f0099713f7977f6f4be5403ea2073a840b5024b6a0f240f65bdc WHIRLPOOL da5a767b3f89efdd2cda21331cc60e60e0cdbab163a55ef1a3080d3601df924688d612c7e76000c3d383cdb22002b16c28ad2740b7bc6aba784021f31ebc54c4
diff --git a/sys-process/criu/criu-1.6.1.ebuild b/sys-process/criu/criu-1.6.1.ebuild
new file mode 100644
index 0000000..3806853
--- /dev/null
+++ b/sys-process/criu/criu-1.6.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~arm64"
+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
+}
+
+criu_arch() {
+ # criu infers the arch from $(uname -m). We never want this to happen.
+ case ${ARCH} in
+ amd64) echo "x86_64";;
+ arm64) echo "aarch64";;
+ x86) echo "i386";;
+ *) echo "${ARCH}";;
+ esac
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getLD)" \
+ OBJCOPY="$(tc-getOBJCOPY)" \
+ ARCH="$(criu_arch)" \
+ V=1 WERROR=0 \
+ SETPROCTITLE=$(usex setproctitle) \
+ all docs
+}
+
+src_test() {
+ # root privileges are required to dump all necessary info
+ if [[ ${EUID} -eq 0 ]] ; then
+ emake -j1 CC="$(tc-getCC)" ARCH="$(criu_arch)" V=1 WERROR=0 test
+ fi
+}
+
+src_install() {
+ emake \
+ ARCH="$(criu_arch)" \
+ PREFIX="${EPREFIX}"/usr \
+ LOGROTATEDIR="${EPREFIX}"/etc/logrotate.d \
+ DESTDIR="${D}" \
+ install
+
+ dodoc CREDITS README.md
+}
next reply other threads:[~2015-08-19 6:53 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-19 6:53 Yixun Lan [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-03-15 15:13 [gentoo-commits] repo/gentoo:master commit in: sys-process/criu/ Alexis Ballier
2016-03-15 15:13 Alexis Ballier
2016-03-21 6:15 Yixun Lan
2016-05-27 9:33 Lars Wendler
2016-07-04 19:05 Stephen Klimaszewski
2016-09-20 6:35 Yixun Lan
2016-09-20 6:35 Yixun Lan
2016-10-18 20:49 Yixun Lan
2016-10-18 20:49 Yixun Lan
2016-12-20 19:21 Tobias Klausmann
2017-01-19 1:47 Yixun Lan
2017-02-15 21:45 Yixun Lan
2017-02-22 9:08 Yixun Lan
2017-03-10 7:49 Yixun Lan
2017-03-10 7:49 Yixun Lan
2017-03-30 6:32 Yixun Lan
2017-05-26 22:54 David Seifert
2017-09-21 21:06 Mike Gilbert
2017-11-12 21:08 Justin Lecher
2017-12-16 0:24 Matthias Maier
2018-01-22 1:42 Zac Medico
2018-02-12 3:05 Matthias Maier
2018-02-12 3:05 Matthias Maier
2018-02-22 9:05 Agostino Sarubbo
2018-04-30 15:58 Mike Gilbert
2018-05-07 6:38 Mike Frysinger
2019-01-12 23:29 Sergei Trofimovich
2019-01-12 23:29 Sergei Trofimovich
2019-03-02 9:57 Sergei Trofimovich
2019-07-28 19:39 Matthias Maier
2019-07-28 19:39 Matthias Maier
2019-10-20 6:29 Yixun Lan
2019-12-29 9:56 David Seifert
2020-05-15 17:36 Patrick McLean
2020-08-02 17:37 Patrick McLean
2020-09-22 20:25 Georgy Yakovlev
2020-09-22 20:25 Georgy Yakovlev
2020-09-24 1:53 Georgy Yakovlev
2020-09-24 8:29 Georgy Yakovlev
2020-09-25 8:45 Agostino Sarubbo
2020-11-25 3:45 Patrick McLean
2021-06-01 6:32 Agostino Sarubbo
2021-07-20 0:51 Georgy Yakovlev
2021-09-03 1:53 Sam James
2022-02-02 8:02 Agostino Sarubbo
2022-02-02 20:52 Arthur Zamarin
2022-03-25 4:23 Sam James
2022-03-25 9:46 Jakov Smolić
2022-06-03 6:58 Sam James
2022-06-03 8:12 Sam James
2022-06-07 6:34 Joonas Niilola
2022-06-07 8:24 Jakov Smolić
2022-07-03 23:54 Sam James
2022-11-02 23:14 Sam James
2022-11-03 6:15 Sam James
2022-11-03 6:15 Sam James
2022-11-15 18:22 Michał Górny
2023-02-25 12:48 Joonas Niilola
2023-05-01 12:52 Sam James
2023-07-07 3:36 Sam James
2023-07-07 4:40 Sam James
2023-07-08 3:39 Sam James
2024-01-21 9:44 Florian Schmaus
2024-01-21 14:52 Florian Schmaus
2024-01-21 15:15 Florian Schmaus
2024-04-29 10:36 Joonas Niilola
2024-08-22 8:55 WANG Xuerui
2024-08-22 8:55 WANG Xuerui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1439996012.fa5ac7db85145c72617a40cc3216f1f2a57a8417.dlan@gentoo \
--to=dlan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox