mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-util/trinity: Drop old
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST trinity-1.7.tar.xz 195488 BLAKE2B a2efd5fa2dd9ae40e943d96b2ae9232e292bb5cd41a350813a137a5910cf308a06d4e0b1be37e2ab8dc6325443101b6d956a593a778d9a7128e086ebbf6f2b61 SHA512 bb702ec79494591e04c74279e39d6dd0c5779f7cb2696c306c94bee3a8aefb524e369674daadf02f70b58dbb19ad5699d2c331bc4c9089046d2214403a95ba87
|
||||
DIST trinity-1.8.tar.xz 213984 BLAKE2B 56f664023e2bc3648e941e4a3cb20e450cdcad3556289e201513d1755267eb013da2be035e81c87b3f1d1b0b1e12cb041c6bb345f7a84ee4c5c12f20a8e87f55 SHA512 686076dab2346cf9b5d8a20b14db31f460a352fa72eeadbe005a7423941918f5afef08b4987bb68cbbf4218d0cb620adb85f8036294d8df5ab5262e0031a44e4
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index c77d1f9..b970d08 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -10,7 +10,8 @@ endif
|
||||
CC := $(CROSS_COMPILE)$(CC)
|
||||
LD := $(CROSS_COMPILE)$(LD)
|
||||
|
||||
-CFLAGS += -Wall -Wextra -g -O2 -I. -Iinclude/ -Wimplicit -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D__linux__
|
||||
+CFLAGS ?= -g -O2 -D_FORTIFY_SOURCE=2
|
||||
+CFLAGS += -Wall -Wextra -I. -Iinclude/ -Wimplicit -D_GNU_SOURCE -D__linux__
|
||||
|
||||
CFLAGS += $(shell if $(CC) -std=gnu11 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-std=gnu11"; else echo "-std=gnu99"; fi)
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
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}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
# We need newer headers to avoid compilation failures in the BPF stuff.
|
||||
DEPEND="app-arch/xz-utils
|
||||
>=sys-kernel/linux-headers-4.8"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-cflags.patch" )
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Enable a verbose (i.e. not quiet) build.
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user