diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-02-23 22:27:06 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-02-23 22:27:06 +0000 |
commit | e2fd2a572bec8770c5d41ca1ec6a52771b1474da (patch) | |
tree | 33433bf40044d710ed2638cf5b852177f9e3431b /sys-process | |
parent | Initial import, ebuild by me. (diff) | |
download | historical-e2fd2a572bec8770c5d41ca1ec6a52771b1474da.tar.gz historical-e2fd2a572bec8770c5d41ca1ec6a52771b1474da.tar.bz2 historical-e2fd2a572bec8770c5d41ca1ec6a52771b1474da.zip |
Initial import, ebuild by me.
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64
Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/crtools/Manifest | 18 | ||||
-rw-r--r-- | sys-process/crtools/crtools-0.4.ebuild | 48 | ||||
-rw-r--r-- | sys-process/crtools/files/crtools-0.4-flags.patch | 68 | ||||
-rw-r--r-- | sys-process/crtools/metadata.xml | 8 |
4 files changed, 140 insertions, 2 deletions
diff --git a/sys-process/crtools/Manifest b/sys-process/crtools/Manifest index ab1e76d455f1..91b5deeed272 100644 --- a/sys-process/crtools/Manifest +++ b/sys-process/crtools/Manifest @@ -1,5 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX crtools-0.4-flags.patch 1824 SHA256 02812881204783dd50654f60d76c91c6e2e70686c9fabb2ddf6069acbe01c6a9 SHA512 6db4c556b0c72a5d8563986260c60feab617fdbffe113bb5e4698968aae47c10c44a8cd9bb1d1385c22d7c2c569859004d6ac8c98b7f54b7c34fb9605772361c WHIRLPOOL b94e23cc7ae23ffc5ccaf487ec6be70a6a8e228b92f5f23fead4160061aad40074a8bc924388ce153bffb8a916762b6fe5e488d2c5d7d7db5cfe0142e0a727fb DIST crtools-0.4.tar.bz2 238242 SHA256 7632c0d5f9829864d0ffedef41396398fdf862409ae486817aeb89f3e0c26dda SHA512 0278c13c1bf302131e386a10694ba4b5e24a761885e46b5d1fa9854fade1297d10a5cebcc1f139131539501e0f5746c2b749d427c2e791146c1a1084b5f51a24 WHIRLPOOL ca117b41e02f23e2f50b5f4be66d5aab3ccc6a3ae33e8a13bb0ff4fb5e877ec1a580e7092283e3d42c8dad5bb2934da02f67df0c6e44f048416b69d495220255 -EBUILD crtools-0.4.ebuild 960 SHA256 d3d27f941c0e404f65f01545722e6b247525f7cc60043e63ba85be2ad6849a21 SHA512 d9608375a189757843907115f2d614749b21d86b403c3f96f3dab220cdbac0d6c1d74d34846f788c32ea236f13501d836aabcc4e4724d0cd7fe2b007b806819f WHIRLPOOL c7b10540612a3b12385f7608ac04f2cb116885a09f59e8a949f3a2aece5c4f0d4e1e58cecb4e24463d27fe0c56a7061ac7e144e8c5981d9c108caaee6c284a9c -MISC ChangeLog 300 SHA256 9cfca344a49f6790131b3e2b6a24135f056dc5687c5d4d5bed360dabcc055c79 SHA512 aa824d0eb4c51b792d845fbf79d1471dd4313759905070e32d0e317c0617e175171b96daf5927d514af1287fe35cfc0aa8c186cb20d209eebb6e341e8d774ed6 WHIRLPOOL 78b570647f712954b3d469ad1b05a087c745c739bdcb7515cc8c754f3314558d045d5d3a5e87d34459706846d6a0504711b9be37c53c96796d78b85c034be57d +EBUILD crtools-0.4.ebuild 1063 SHA256 001eba83214d7bc04bc687a2e5a003bd87682fc0ed113a9f6ce3dd1f0d88c2a6 SHA512 abae5a4bc8b8cfeadc579b396bce6030a22d8c1d565864fc824285425275905ab446e02daa9d0450ab428f0661afd11caa16be8a18b1c7908a0dccb17b17335c WHIRLPOOL ba9d6fe45266af2fb39916f207d5f7c0b11c649d87db43b1ca6539a5559d143a2f10c29210fe88299703fdacbf05f8f4b4399ced4f9c07ff383149ba63d5dd6c +MISC ChangeLog 394 SHA256 7680860cc07c10aaef71ccd2b0588d64ceba4351592ead46422fd649bd431bf5 SHA512 b56ff28bab309cc4833214312eab39294d52bc614ebec4e74a126f68e7ec1df33a2b88705a607ead09d6bf6730285786479f7ed6c6fa0763177eef6a2c0dc421 WHIRLPOOL 78cd5061503db8925c39c013718940793fc81b79f34677c9f54bfde9cb5ee65b239dffa0bd59e86ed3137392528575f6cbd3bf78a334f94ee2b265c94107dfeb MISC metadata.xml 236 SHA256 5285fd5ca6bc85e0392ff64ec8e54d0018ebd761d3977869c00c93dee45ea09d SHA512 a1abf9a60fb1a2078d0475df655f8abd4b2f877f8d232028232fafca2eb7e7ae6ec2c835c4fe0ef27b3b5655d746d1fe53bbcb353703819448ddec84acdd4215 WHIRLPOOL fdbf5fcd34aa17330575f013aef4c87a8b039b62b6de3337a4004a6a0217238ceca43fa15425c30ddb7a5a632de7eb138ed541dfb161614cba817527297781e2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRKUI5AAoJEEqz6FtPBkyjo+AH/0m07PcU9fe60+3/4GYMj/u/ +QyCrMLQQX/E8XfKcTPpEY9sfqbsNkCOQnbYcPdNC4N+KVRJy4pKckaCrnoPlBwJt ++PLsvxy/F8pbnQKiTyw0J2RqGm2j2xgyQZN5i9pSKFUAxlTB1SJMEMZ+bzmbuiV2 +OdZQKBjWrh47ofwlCcI5U4Paj3/attBWP/soa4h1sNLb6R3yLmM2UAe68otrJKI7 +UhVs3HauVcrsyX+k0sZDWDQQZZUKrmGBpU5ny63rXzXklFgtVM7LxCUduIr0Qkgn +n4ZZC3z0t/9BM8/uEQFd+0wP0IBoebO5CaJKjVhjCwhzhuF7MgSgyl5uw3/NEOc= +=frSn +-----END PGP SIGNATURE----- diff --git a/sys-process/crtools/crtools-0.4.ebuild b/sys-process/crtools/crtools-0.4.ebuild new file mode 100644 index 000000000000..120ccd9ceeed --- /dev/null +++ b/sys-process/crtools/crtools-0.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/crtools/crtools-0.4.ebuild,v 1.1 2013/02/23 22:27:00 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" +IUSE="" + +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}"/${P}-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 + doman Documentation/${PN}.1 +} diff --git a/sys-process/crtools/files/crtools-0.4-flags.patch b/sys-process/crtools/files/crtools-0.4-flags.patch new file mode 100644 index 000000000000..c52374ea0f84 --- /dev/null +++ b/sys-process/crtools/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/crtools/metadata.xml b/sys-process/crtools/metadata.xml new file mode 100644 index 000000000000..efa5eb0078f3 --- /dev/null +++ b/sys-process/crtools/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> |