summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-02-07 22:51:32 +0000
committerTim Harder <radhermit@gentoo.org>2013-02-07 22:51:32 +0000
commite6510bbb76c20a7c830de6479ef98fc2ca99f623 (patch)
treeb3c4ca51c49c7adc5ada9ab763a10a57e889f6b8
parentMove Creative Commons licenses to shorter names. (diff)
downloadgentoo-2-e6510bbb76c20a7c830de6479ef98fc2ca99f623.tar.gz
gentoo-2-e6510bbb76c20a7c830de6479ef98fc2ca99f623.tar.bz2
gentoo-2-e6510bbb76c20a7c830de6479ef98fc2ca99f623.zip
Initial import (bug #456056 by Kevin Faulkner).
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
-rw-r--r--dev-util/trinity/ChangeLog10
-rw-r--r--dev-util/trinity/Manifest5
-rw-r--r--dev-util/trinity/files/trinity-1.1-flags.patch20
-rw-r--r--dev-util/trinity/metadata.xml8
-rw-r--r--dev-util/trinity/trinity-1.1.ebuild29
5 files changed, 72 insertions, 0 deletions
diff --git a/dev-util/trinity/ChangeLog b/dev-util/trinity/ChangeLog
new file mode 100644
index 000000000000..be9a27b55b74
--- /dev/null
+++ b/dev-util/trinity/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2013/02/07 22:51:32 radhermit Exp $
+
+*trinity-1.1 (07 Feb 2013)
+
+ 07 Feb 2013; Tim Harder <radhermit@gentoo.org> +trinity-1.1.ebuild,
+ +files/trinity-1.1-flags.patch, +metadata.xml:
+ Initial import (bug #456056 by Kevin Faulkner).
+
diff --git a/dev-util/trinity/Manifest b/dev-util/trinity/Manifest
new file mode 100644
index 000000000000..13735795abf8
--- /dev/null
+++ b/dev-util/trinity/Manifest
@@ -0,0 +1,5 @@
+AUX trinity-1.1-flags.patch 630 SHA256 398f245960cf31219a487ec8d571b57b0b874b196f63c7fc90cfa8c680b84604 SHA512 b1779eeaf082f736666806b7483f50ad6d570a15330df327bb756c2b9a413610fef7f94574ce35510e9626563ccbcce3689fa80609e25fa52d1de1a6de887e6f WHIRLPOOL 6eb53f75dc9d197e863c902b9624635fa97683e8def1abe41ab60d93cee3b194690bd8ee3414d65212cbde5a415e83b17fc38b94545892a378dab0399dfe2be6
+DIST trinity-1.1.tgz 115894 SHA256 926a1d6595d9fc29ad79075b6603e4bbfe42df3e04215bfce2502f4b554447cb SHA512 a10af383cf085e4ee3e22a66e0da79409570fa4e72f64b892566c499f04cf23122064e99984e7712c58fc81498300e38248b78c91d8e0397074714205af28b5a WHIRLPOOL dbc3ba3dc3248178652d0d32f787e51a0c617d31b54d9053632b9a8ae23e6dd7426d53c37fbfef7a48846e4afbb3a37b029a54ee98a81179cc90ab75f16dae0b
+EBUILD trinity-1.1.ebuild 547 SHA256 73250a2ca1a7b5d564d2f242ea0f633194372e649d9a8972b957fc7496582b6c SHA512 3408f67a231ea984c76be657cf1136299df4603f36a654bfd883dbeea278fe7b9bbe79678646077b6c6ccbf9796752be565fbede7c4fcfb120bde8d98cf10af0 WHIRLPOOL 3d73a6471b7f0767dd740800dd64c021efb8e9e7452d9b9d8937c1ac0519877f4b27bca5c4553d9735d27244a524a36978f2935b0dad0fa21ab664ac8aeb5d4b
+MISC ChangeLog 315 SHA256 838912e92ecf38c54ea191a3d95a139ca87498be167c3048448aa6e36dc17374 SHA512 51b85a27f4bb9d9ac86b4952f9ce66a92c3354573a89ba8e7e02a5da9869ed5b13afc633542fc5532d440e4e30169739280b0425f948d27e0413e8d1a7d26c2a WHIRLPOOL 9a44e25118664c9f4f151ae6933d2a08f4657b1879a88e37b6b88e84fcdb580ccbee7a0f9bda49b927c40b616f68cd9339487c9adb213ae9bf8eb8f59e9987d7
+MISC metadata.xml 236 SHA256 5285fd5ca6bc85e0392ff64ec8e54d0018ebd761d3977869c00c93dee45ea09d SHA512 a1abf9a60fb1a2078d0475df655f8abd4b2f877f8d232028232fafca2eb7e7ae6ec2c835c4fe0ef27b3b5655d746d1fe53bbcb353703819448ddec84acdd4215 WHIRLPOOL fdbf5fcd34aa17330575f013aef4c87a8b039b62b6de3337a4004a6a0217238ceca43fa15425c30ddb7a5a632de7eb138ed541dfb161614cba817527297781e2
diff --git a/dev-util/trinity/files/trinity-1.1-flags.patch b/dev-util/trinity/files/trinity-1.1-flags.patch
new file mode 100644
index 000000000000..fd794c62dc67
--- /dev/null
+++ b/dev-util/trinity/files/trinity-1.1-flags.patch
@@ -0,0 +1,20 @@
+--- trinity-1.1/Makefile
++++ trinity-1.1/Makefile
+@@ -3,7 +3,7 @@
+ INSTALL_PREFIX ?= $(DESTDIR)
+ INSTALL_PREFIX ?= $(HOME)
+
+-CFLAGS = -Wall -W -g -O2 -I. -Wimplicit -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
++CFLAGS += -Wall -W -I. -Wimplicit -D_GNU_SOURCE
+ #CFLAGS += $(shell if $(CC) -m32 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-m32"; fi)
+ CFLAGS += -Wdeclaration-after-statement
+ CFLAGS += -Wformat=2
+@@ -49,7 +49,7 @@
+ -include $(SRCS:%.c=$(DEPDIR)/%.d)
+
+ trinity: test $(OBJS) $(HEADERS)
+- $(CC) $(CFLAGS) -o trinity $(OBJS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o trinity $(OBJS)
+ @mkdir -p tmp
+
+ df = $(DEPDIR)/$(*F)
diff --git a/dev-util/trinity/metadata.xml b/dev-util/trinity/metadata.xml
new file mode 100644
index 000000000000..efa5eb0078f3
--- /dev/null
+++ b/dev-util/trinity/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>
diff --git a/dev-util/trinity/trinity-1.1.ebuild b/dev-util/trinity/trinity-1.1.ebuild
new file mode 100644
index 000000000000..99b65109fa5a
--- /dev/null
+++ b/dev-util/trinity/trinity-1.1.ebuild
@@ -0,0 +1,29 @@
+# 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.1.ebuild,v 1.1 2013/02/07 22:51:32 radhermit Exp $
+
+EAPI=5
+
+inherit eutils 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"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-flags.patch
+ tc-export CC
+}
+
+src_configure() {
+ ./configure.sh || die
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc Documentation/* README
+}