summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-12-22 02:19:07 +0000
committerTim Harder <radhermit@gentoo.org>2013-12-22 02:19:07 +0000
commit942363cd745efd3034f3aad247e3e87a8240d64b (patch)
treeaa1f461aa73480146ab21efc3e8f6c1ea396c2ea /dev-util
parentremove elog message (diff)
downloadgentoo-2-942363cd745efd3034f3aad247e3e87a8240d64b.tar.gz
gentoo-2-942363cd745efd3034f3aad247e3e87a8240d64b.tar.bz2
gentoo-2-942363cd745efd3034f3aad247e3e87a8240d64b.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/trinity/ChangeLog8
-rw-r--r--dev-util/trinity/trinity-1.3.ebuild47
-rw-r--r--dev-util/trinity/trinity-9999.ebuild3
3 files changed, 55 insertions, 3 deletions
diff --git a/dev-util/trinity/ChangeLog b/dev-util/trinity/ChangeLog
index 0567bfff8ce9..f5a2dce4b698 100644
--- a/dev-util/trinity/ChangeLog
+++ b/dev-util/trinity/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/trinity
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/trinity/ChangeLog,v 1.6 2013/10/29 22:25:53 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/trinity/ChangeLog,v 1.7 2013/12/22 02:19:07 radhermit Exp $
+
+*trinity-1.3 (22 Dec 2013)
+
+ 22 Dec 2013; Tim Harder <radhermit@gentoo.org> +trinity-1.3.ebuild,
+ trinity-9999.ebuild:
+ Version bump.
29 Oct 2013; Tim Harder <radhermit@gentoo.org> trinity-9999.ebuild:
Update sed lines to respect CFLAGS and CC.
diff --git a/dev-util/trinity/trinity-1.3.ebuild b/dev-util/trinity/trinity-1.3.ebuild
new file mode 100644
index 000000000000..b784524732ad
--- /dev/null
+++ b/dev-util/trinity/trinity-1.3.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/dev-util/trinity/trinity-1.3.ebuild,v 1.1 2013/12/22 02:19:07 radhermit Exp $
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="A Linux system call fuzz tester"
+HOMEPAGE="http://codemonkey.org.uk/projects/trinity/"
+SRC_URI="http://codemonkey.org.uk/projects/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+DEPEND="sys-kernel/linux-headers"
+
+src_prepare() {
+ sed -e 's/^CFLAGS := /CFLAGS +=/' \
+ -e 's/-g -O2//' \
+ -e 's/-D_FORTIFY_SOURCE=2//' \
+ -e '/-o trinity/s/$(CFLAGS)/\0 $(LDFLAGS)/' \
+ -i Makefile || die
+
+ 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
+}
diff --git a/dev-util/trinity/trinity-9999.ebuild b/dev-util/trinity/trinity-9999.ebuild
index 6bd4af63e268..3a5fadd23562 100644
--- a/dev-util/trinity/trinity-9999.ebuild
+++ b/dev-util/trinity/trinity-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/trinity/trinity-9999.ebuild,v 1.3 2013/10/29 22:25:53 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/trinity/trinity-9999.ebuild,v 1.4 2013/12/22 02:19:07 radhermit Exp $
EAPI=5
@@ -22,7 +22,6 @@ src_prepare() {
-e 's/-g -O2//' \
-e 's/-D_FORTIFY_SOURCE=2//' \
-e '/-o trinity/s/$(CFLAGS)/\0 $(LDFLAGS)/' \
- -e '/^CC :=/d' \
-i Makefile || die
tc-export CC