Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/trinity/
Date: Thu, 04 Jan 2018 10:37:36
Message-Id: 1515062240.158f19e4ea24315601e245376031c7aa3edaa2f7.pacho@gentoo
1 commit: 158f19e4ea24315601e245376031c7aa3edaa2f7
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 4 10:34:20 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 4 10:37:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158f19e4
7
8 dev-util/trinity: Version bump
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-util/trinity/Manifest | 1 +
13 dev-util/trinity/trinity-1.8.ebuild | 41 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-util/trinity/Manifest b/dev-util/trinity/Manifest
17 index 5e658d2441c..8e0ae95bb9f 100644
18 --- a/dev-util/trinity/Manifest
19 +++ b/dev-util/trinity/Manifest
20 @@ -1 +1,2 @@
21 DIST trinity-1.7.tar.xz 195488 BLAKE2B a2efd5fa2dd9ae40e943d96b2ae9232e292bb5cd41a350813a137a5910cf308a06d4e0b1be37e2ab8dc6325443101b6d956a593a778d9a7128e086ebbf6f2b61 SHA512 bb702ec79494591e04c74279e39d6dd0c5779f7cb2696c306c94bee3a8aefb524e369674daadf02f70b58dbb19ad5699d2c331bc4c9089046d2214403a95ba87
22 +DIST trinity-1.8.tar.xz 213984 BLAKE2B 56f664023e2bc3648e941e4a3cb20e450cdcad3556289e201513d1755267eb013da2be035e81c87b3f1d1b0b1e12cb041c6bb345f7a84ee4c5c12f20a8e87f55 SHA512 686076dab2346cf9b5d8a20b14db31f460a352fa72eeadbe005a7423941918f5afef08b4987bb68cbbf4218d0cb620adb85f8036294d8df5ab5262e0031a44e4
23
24 diff --git a/dev-util/trinity/trinity-1.8.ebuild b/dev-util/trinity/trinity-1.8.ebuild
25 new file mode 100644
26 index 00000000000..1072988366e
27 --- /dev/null
28 +++ b/dev-util/trinity/trinity-1.8.ebuild
29 @@ -0,0 +1,41 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +inherit toolchain-funcs
35 +
36 +DESCRIPTION="A Linux system call fuzz tester"
37 +HOMEPAGE="http://codemonkey.org.uk/projects/trinity/"
38 +SRC_URI="http://codemonkey.org.uk/projects/${PN}/${P}.tar.xz"
39 +
40 +LICENSE="GPL-2"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE="examples"
44 +
45 +# We need newer headers to avoid compilation failures in the BPF stuff.
46 +DEPEND="app-arch/xz-utils
47 + >=sys-kernel/linux-headers-4.8
48 +"
49 +
50 +src_configure() {
51 + tc-export CC
52 + default
53 +}
54 +
55 +src_compile() {
56 + # Enable a verbose (i.e. not quiet) build.
57 + emake V=1
58 +}
59 +
60 +src_install() {
61 + dobin "${PN}"
62 + dodoc Documentation/*
63 + einstalldocs
64 +
65 + if use examples ; then
66 + exeinto "/usr/share/doc/${PF}/scripts"
67 + doexe scripts/*
68 + docompress -x "/usr/share/doc/${PF}/scripts"
69 + fi
70 +}