summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2015-06-27 04:58:14 +0000
committerTim Harder <radhermit@gentoo.org>2015-06-27 04:58:14 +0000
commit0f0858daf0710fbced45ec413d1c18f56c03c628 (patch)
tree4cc78b7ae367d24779913ee44e1b55a48820b4f8 /dev-util
parentVersion bump. (diff)
downloadgentoo-2-0f0858daf0710fbced45ec413d1c18f56c03c628.tar.gz
gentoo-2-0f0858daf0710fbced45ec413d1c18f56c03c628.tar.bz2
gentoo-2-0f0858daf0710fbced45ec413d1c18f56c03c628.zip
Version bump.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/trinity/ChangeLog10
-rw-r--r--dev-util/trinity/files/trinity-1.5-flags.patch11
-rw-r--r--dev-util/trinity/trinity-1.5.ebuild45
3 files changed, 64 insertions, 2 deletions
diff --git a/dev-util/trinity/ChangeLog b/dev-util/trinity/ChangeLog
index e371c65dbc63..a02bfe08e9f6 100644
--- a/dev-util/trinity/ChangeLog
+++ b/dev-util/trinity/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/trinity
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/trinity/ChangeLog,v 1.9 2014/10/10 19:41:03 radhermit Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/trinity/ChangeLog,v 1.10 2015/06/27 04:58:14 radhermit Exp $
+
+*trinity-1.5 (27 Jun 2015)
+
+ 27 Jun 2015; Tim Harder <radhermit@gentoo.org> +trinity-1.5.ebuild,
+ +files/trinity-1.5-flags.patch:
+ Version bump.
10 Oct 2014; Tim Harder <radhermit@gentoo.org> trinity-9999.ebuild:
Update git repo location (bug #520068).
diff --git a/dev-util/trinity/files/trinity-1.5-flags.patch b/dev-util/trinity/files/trinity-1.5-flags.patch
new file mode 100644
index 000000000000..bb48287e1d83
--- /dev/null
+++ b/dev-util/trinity/files/trinity-1.5-flags.patch
@@ -0,0 +1,11 @@
+--- trinity-1.5/Makefile
++++ trinity-1.5/Makefile
+@@ -10,7 +10,7 @@
+ CC := $(CROSS_COMPILE)$(CC)
+ LD := $(CROSS_COMPILE)$(LD)
+
+-CFLAGS += -Wall -W -g -O2 -I. -Iinclude/ -Wimplicit -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D__linux__
++CFLAGS += -Wall -W -I. -Iinclude/ -Wimplicit -D_GNU_SOURCE -D__linux__
+ ifneq ($(SYSROOT),)
+ CFLAGS += --sysroot=$(SYSROOT)
+ endif
diff --git a/dev-util/trinity/trinity-1.5.ebuild b/dev-util/trinity/trinity-1.5.ebuild
new file mode 100644
index 000000000000..8488cb1ad448
--- /dev/null
+++ b/dev-util/trinity/trinity-1.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/trinity/trinity-1.5.ebuild,v 1.1 2015/06/27 04:58:14 radhermit Exp $
+
+EAPI=5
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="A Linux system call fuzz tester"
+HOMEPAGE="http://codemonkey.org.uk/projects/trinity/"
+SRC_URI="http://codemonkey.org.uk/projects/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+DEPEND="
+ app-arch/xz-utils
+ sys-kernel/linux-headers
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-flags.patch
+ tc-export CC
+}
+
+src_configure() {
+ ./configure.sh || die
+}
+
+src_compile() {
+ emake V=1
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc Documentation/* README
+
+ if use examples ; then
+ exeinto /usr/share/doc/${PF}/scripts
+ doexe scripts/*
+ docompress -x /usr/share/doc/${PF}/scripts
+ fi
+}