diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/rr |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/rr')
-rw-r--r-- | dev-util/rr/Manifest | 4 | ||||
-rw-r--r-- | dev-util/rr/files/rr-4.5.0-sysmacros.patch | 28 | ||||
-rw-r--r-- | dev-util/rr/metadata.xml | 19 | ||||
-rw-r--r-- | dev-util/rr/rr-4.5.0.ebuild | 57 |
4 files changed, 108 insertions, 0 deletions
diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest new file mode 100644 index 000000000000..d3ddffc3e3f4 --- /dev/null +++ b/dev-util/rr/Manifest @@ -0,0 +1,4 @@ +AUX rr-4.5.0-sysmacros.patch 788 SHA256 131be30c9cc07ba73c615b75e62580b6270e594070052bf4ac7d26ac2aff3f17 SHA512 57c802d02ba6d8e9295300fcc0156670a3fc9b35dbd05d594eff95481eaa746d7715d9b493190c94833cb331e45cda71f5574b0fa5aed06991b1d80fd4f9bae6 WHIRLPOOL 528ce6fb414ae327a320df7b3de6142c51a85c78128fb60a407a7c3d3671388dd82f0f5c6c14e4ab92b4a5004e41e0114b6933f5b35615d54b0e230859bc20dd +DIST mozilla-rr-4.5.0.tar.gz 683371 SHA256 19f28259c0aa562c9518ae51207377fa93071a7dc270a0738d8d39e45ae2b1c0 SHA512 8e9b7c6eaa9908e75853b5e19f61954b57e6e5afa7a8b6fe55f31aee36bab6ff315b5c3511d14c93dca5da19055a7879b6f3b9f51c349b1bb9acea130187a5e6 WHIRLPOOL d16e36da11d3ed0c0c4f8509abe890842fc95127a899e98800db93d407080ea796d1e8fd8545f17d84540a553f848b3985c9c139479d1a76fa31e418ad700e33 +EBUILD rr-4.5.0.ebuild 1073 SHA256 731063d2afb3e09469e2e7ed5adf401d6e4093dfdcef2074d126479daaee9bfe SHA512 45174284c9f7c0c1c297629a028a8b83fee93972ee94d111b0c681922df208530849a20884663f511df38f7113b61ce2e4fc3404116102a3a6aa0945afab3c57 WHIRLPOOL 4d5d45abf5fdfc543a8ecd6593228fe68a8745884c4c157a9b4c3c366b84e9aa61d44e6b6ff12aa8013fcdfb79b7f4efdeb7cf04fc952b30c24d5e4e573575e6 +MISC metadata.xml 555 SHA256 e5fa28c09a12a5b011c7e60caadd9436cbd2b8a139ff7db98977a0b385231c7e SHA512 33487b0389d097115365ef82c85accedf17d798e312e9528fae27519f242c343fa280d32bff05c6f1a1620d6481df1db57fc4c1e2fa7ce36dbe56f998f03870a WHIRLPOOL 7a0d6df2c68791c2849a709ba64cfabcd4b5707fe01a2a7d552122ed3b66b863fc9f4040668b133ce9906f210eed9521d0b7d033dce6c2296e2e2280269dc5ab diff --git a/dev-util/rr/files/rr-4.5.0-sysmacros.patch b/dev-util/rr/files/rr-4.5.0-sysmacros.patch new file mode 100644 index 000000000000..573d5956598b --- /dev/null +++ b/dev-util/rr/files/rr-4.5.0-sysmacros.patch @@ -0,0 +1,28 @@ +https://github.com/mozilla/rr/pull/1981 + +From fefdb3b89e98192601dfdc98c8927c9a91f07f9f Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Mon, 13 Feb 2017 16:01:52 -0500 +Subject: [PATCH] tests: include sys/sysmacros.h for minor/major funcs + +Newer versions of glibc are deprecating the implicit sys/sysmacros.h +include via sys/types.h, so include it explicitly. +--- + src/test/rrutil.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/test/rrutil.h b/src/test/rrutil.h +index 60de6e47a57b..bb5b527c4c9a 100644 +--- a/src/test/rrutil.h ++++ b/src/test/rrutil.h +@@ -76,6 +76,7 @@ + #include <sys/socket.h> + #include <sys/stat.h> + #include <sys/sysinfo.h> ++#include <sys/sysmacros.h> + #include <sys/time.h> + #include <sys/timerfd.h> + #include <sys/times.h> +-- +2.11.0 + diff --git a/dev-util/rr/metadata.xml b/dev-util/rr/metadata.xml new file mode 100644 index 000000000000..4c3360d06373 --- /dev/null +++ b/dev-util/rr/metadata.xml @@ -0,0 +1,19 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>toolchain@gentoo.org</email> + <name>Gentoo Toolchain Project</name> + </maintainer> + <maintainer type="person"> + <email>lu_zero@gentoo.org</email> + <name>Luca Barbato</name> + </maintainer> + <maintainer type="person"> + <email>mudler@gentoo.org</email> + <name>Ettore Di Giacinto</name> + </maintainer> + <upstream> + <remote-id type="github">mozilla/rr</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild new file mode 100644 index 000000000000..fd1d69c293d0 --- /dev/null +++ b/dev-util/rr/rr-4.5.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +CMAKE_BUILD_TYPE=Release + +inherit cmake-utils linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="http://rr-project.org/" +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + sys-libs/zlib + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + sys-devel/gdb[xml]" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + sys-devel/gdb[xml] + )" + +PATCHES=( + "${FILESDIR}"/${P}-sysmacros.patch +) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="SECCOMP" + linux-info_pkg_setup + fi + python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + sed -i 's:-Werror::' CMakeLists.txt || die #609192 +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +} |