summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-05-03 07:51:26 +0000
committerTim Harder <radhermit@gentoo.org>2013-05-03 07:51:26 +0000
commitc22746239bb33a8e44db939f6baf66bf956ce6de (patch)
tree737bccbfec9607b19315f9ada02c37c89ee6ff44 /sys-process
parentVersion bump openvpn to 2.3.1. (diff)
downloadgentoo-2-c22746239bb33a8e44db939f6baf66bf956ce6de.tar.gz
gentoo-2-c22746239bb33a8e44db939f6baf66bf956ce6de.tar.bz2
gentoo-2-c22746239bb33a8e44db939f6baf66bf956ce6de.zip
Upstream rename and version bump of sys-process/crtools.
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/criu/ChangeLog10
-rw-r--r--sys-process/criu/Manifest5
-rw-r--r--sys-process/criu/criu-0.5.ebuild47
-rw-r--r--sys-process/criu/files/crtools-0.4-flags.patch68
-rw-r--r--sys-process/criu/metadata.xml8
5 files changed, 138 insertions, 0 deletions
diff --git a/sys-process/criu/ChangeLog b/sys-process/criu/ChangeLog
new file mode 100644
index 000000000000..71a5b2969415
--- /dev/null
+++ b/sys-process/criu/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2013/05/03 07:51:26 radhermit Exp $
+
+*criu-0.5 (03 May 2013)
+
+ 03 May 2013; Tim Harder <radhermit@gentoo.org>
+ +files/crtools-0.4-flags.patch, +criu-0.5.ebuild, +metadata.xml:
+ Upstream rename and version bump of sys-process/crtools.
+
diff --git a/sys-process/criu/Manifest b/sys-process/criu/Manifest
new file mode 100644
index 000000000000..7d6548747090
--- /dev/null
+++ b/sys-process/criu/Manifest
@@ -0,0 +1,5 @@
+AUX crtools-0.4-flags.patch 1824 SHA256 02812881204783dd50654f60d76c91c6e2e70686c9fabb2ddf6069acbe01c6a9 SHA512 6db4c556b0c72a5d8563986260c60feab617fdbffe113bb5e4698968aae47c10c44a8cd9bb1d1385c22d7c2c569859004d6ac8c98b7f54b7c34fb9605772361c WHIRLPOOL b94e23cc7ae23ffc5ccaf487ec6be70a6a8e228b92f5f23fead4160061aad40074a8bc924388ce153bffb8a916762b6fe5e488d2c5d7d7db5cfe0142e0a727fb
+DIST criu-0.5.tar.bz2 262342 SHA256 23d4717a151be0233fdf7e66ad5bf4f4f01f48abec93c5f3189b984b8a3377a5 SHA512 1d3d3ea0116153511a6c0c0198dc7994beb4ae6af5d2bca4ccf05532b1426bff7e96c75ca773e66a63f987de73357bc5cfe8bd645dd0acbf134f2bd66d0abe68 WHIRLPOOL eb91aa4ad24bfbc9603f9b9078f2b9a82ef228d5a6d66d558ebf9adae245f10b93071eb7ad9e4f39beaefccfc6f5cc3d8a765e8e69ee21821a62148ffa03e7a7
+EBUILD criu-0.5.ebuild 970 SHA256 b315d8327365ea8b444efd38c2f24f29fbf6aa356978a015c7ec65716bbae664 SHA512 d3fbb2f0478de91009e934f8682137e1d86eae12445d33260b2725334d64e1e8ea34354a8439b5cb73f5962ba9926562d4247d395d7c9095a661beca8cdddaa0 WHIRLPOOL c85b359d4e69aef5d13720881771acf8ad218774a383a99f074a6911c323898a56630bc3baf12c300ec719506d280eb93a2dff5d5b6f5a23ec423433ff0837b6
+MISC ChangeLog 318 SHA256 6e4191148b32e6ccbe470e32cc68e83dfcd5ffcebd829ab98a918fae9ffb05a6 SHA512 73577760b0433949e7a6bb5bb686e3ba44601a6ef6c968b74f5f4203258db6ec46208b342b5044f2ae6a55a83e4ea59a43c76ac9523e10b147d437b33a036c08 WHIRLPOOL 5043b90aef925e45bd8d5485342b22900af870ca2ce3076b993436728d2b47394dd4838d495d121b690511d3139e0d6e1618a9b0f59bbfb4a59cd136ae4f0111
+MISC metadata.xml 236 SHA256 5285fd5ca6bc85e0392ff64ec8e54d0018ebd761d3977869c00c93dee45ea09d SHA512 a1abf9a60fb1a2078d0475df655f8abd4b2f877f8d232028232fafca2eb7e7ae6ec2c835c4fe0ef27b3b5655d746d1fe53bbcb353703819448ddec84acdd4215 WHIRLPOOL fdbf5fcd34aa17330575f013aef4c87a8b039b62b6de3337a4004a6a0217238ceca43fa15425c30ddb7a5a632de7eb138ed541dfb161614cba817527297781e2
diff --git a/sys-process/criu/criu-0.5.ebuild b/sys-process/criu/criu-0.5.ebuild
new file mode 100644
index 000000000000..db5dc3faafa6
--- /dev/null
+++ b/sys-process/criu/criu-0.5.ebuild
@@ -0,0 +1,47 @@
+# 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-0.5.ebuild,v 1.1 2013/05/03 07:51:26 radhermit Exp $
+
+EAPI=5
+
+inherit eutils toolchain-funcs linux-info
+
+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 ~x86"
+
+RDEPEND="dev-libs/protobuf-c"
+DEPEND="${RDEPEND}
+ app-text/asciidoc
+ app-text/xmlto"
+
+CONFIG_CHECK="~CHECKPOINT_RESTORE ~FHANDLE ~EVENTFD ~EPOLL ~INOTIFY_USER
+ ~UNIX_DIAG ~INET_DIAG ~PACKET_DIAG"
+
+RESTRICT="test"
+
+src_prepare() {
+ epatch "${FILESDIR}"/crtools-0.4-flags.patch
+}
+
+src_compile() {
+ unset ARCH
+ emake CC="$(tc-getCC)" 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() {
+ dobin ${PN}
+ dodoc CREDITS README
+ newman Documentation/crtools.1 ${PN}.1
+}
diff --git a/sys-process/criu/files/crtools-0.4-flags.patch b/sys-process/criu/files/crtools-0.4-flags.patch
new file mode 100644
index 000000000000..c52374ea0f84
--- /dev/null
+++ b/sys-process/criu/files/crtools-0.4-flags.patch
@@ -0,0 +1,68 @@
+--- crtools-0.4/Makefile
++++ crtools-0.4/Makefile
+@@ -90,13 +90,6 @@
+ WARNINGS += -Werror
+ endif
+
+-ifeq ($(DEBUG),1)
+- DEFINES += -DCR_DEBUG
+- CFLAGS += -O0 -ggdb3
+-else
+- CFLAGS += -O2
+-endif
+-
+ CFLAGS += $(WARNINGS) $(DEFINES)
+ SYSCALL-LIB := arch/$(ARCH)/syscalls.built-in.o
+ ARCH-LIB := arch/$(ARCH)/crtools.built-in.o
+@@ -148,7 +141,7 @@
+
+ $(PROGRAM): $(SYSCALL-LIB) $(ARCH-LIB) pie/util-net.o protobuf/built-in.o built-in.o
+ $(E) " LINK " $@
+- $(Q) $(CC) $(CFLAGS) $^ $(LIBS) -o $@
++ $(Q) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
+
+ zdtm: all
+ $(Q) $(MAKE) -C test/zdtm all
+--- crtools-0.4/test/zdtm/lib/Makefile
++++ crtools-0.4/test/zdtm/lib/Makefile
+@@ -1,6 +1,6 @@
+ include ../Makefile.inc
+
+-CFLAGS = -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
++CFLAGS = -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
+
+ LIB = libzdtmtst.a
+
+--- crtools-0.4/test/zdtm/live/static/Makefile
++++ crtools-0.4/test/zdtm/live/static/Makefile
+@@ -3,7 +3,7 @@
+ LIBDIR = ../../lib
+ LIB = $(LIBDIR)/libzdtmtst.a
+ override CPPFLAGS += -I$(LIBDIR)
+-CFLAGS = -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
++CFLAGS = -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
+
+ TST_NOFILE = \
+ busyloop00 \
+--- crtools-0.4/test/zdtm/live/streaming/Makefile
++++ crtools-0.4/test/zdtm/live/streaming/Makefile
+@@ -3,7 +3,7 @@
+ LIBDIR = ../../lib
+ LIB = $(LIBDIR)/libzdtmtst.a
+ override CPPFLAGS += -I$(LIBDIR)
+-CFLAGS = -g -O2 -Wall -Werror -fno-strict-aliasing
++CFLAGS = -Wall -fno-strict-aliasing
+
+ TST_NOFILE = \
+ pipe_loop00 \
+--- crtools-0.4/test/zdtm/live/transition/Makefile
++++ crtools-0.4/test/zdtm/live/transition/Makefile
+@@ -3,7 +3,7 @@
+ LIBDIR = ../../lib
+ LIB = $(LIBDIR)/libzdtmtst.a
+ override CPPFLAGS += -I$(LIBDIR)
+-CFLAGS = -g -O2 -Wall -Werror
++CFLAGS = -Wall
+
+ TST_NOFILE = \
+ file_read \
diff --git a/sys-process/criu/metadata.xml b/sys-process/criu/metadata.xml
new file mode 100644
index 000000000000..efa5eb0078f3
--- /dev/null
+++ b/sys-process/criu/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>