diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
commit | e23a08d0c97a0cc415aaa165da840b056f93c997 (patch) | |
tree | 4c5f7db60483518201fef36f8cc0712789a08db2 /dev-util/trinity | |
parent | 391b5b359a346aff490103da7dddc85047f83830 (diff) |
gentoo resync : 08.10.2021
Diffstat (limited to 'dev-util/trinity')
-rw-r--r-- | dev-util/trinity/Manifest | 6 | ||||
-rw-r--r-- | dev-util/trinity/files/trinity-1.9-gcc10_fix.patch | 34 | ||||
-rw-r--r-- | dev-util/trinity/files/trinity-1.9-include_types_h.patch | 33 | ||||
-rw-r--r-- | dev-util/trinity/metadata.xml | 11 | ||||
-rw-r--r-- | dev-util/trinity/trinity-1.9.ebuild | 51 | ||||
-rw-r--r-- | dev-util/trinity/trinity-9999.ebuild | 46 |
6 files changed, 0 insertions, 181 deletions
diff --git a/dev-util/trinity/Manifest b/dev-util/trinity/Manifest deleted file mode 100644 index 749ef7b454a1..000000000000 --- a/dev-util/trinity/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX trinity-1.9-gcc10_fix.patch 1743 BLAKE2B 237257370a85c9a78b97c84620ab299d3fe4a602b1521f79fb655fa205dba60bfc0bdcfc1b319e2d8fbc2e66d13b92ed20eec84db15327407e11e7cdf3825f47 SHA512 a50354912c2fab90f5f6ee8d34f65b5e01283185d0491f4463ef3465a6da81b716a632cfc8a93d2a863b0ce5e61d5a97cb396c45e1aa6a1cfc693e29667e4e21 -AUX trinity-1.9-include_types_h.patch 1110 BLAKE2B f5d697256cc2f15f9942c12b4e8e98fb296f14cd64999790c3e6b4b708443c8c1e9dd81645e5e3515a040398fc75be087073728e43fbb35c94bf3b958dbddfe5 SHA512 9e0ff9906d588472cf2a86bd42760228d05105f62f4761ebac8495ed576bb1f66228610d2f3b08d6989b07b808c360a1cf25d26c2797b99d6a8614f118590522 -DIST trinity-1.9.tar.xz 216364 BLAKE2B dbf5af03539fc7bac37fd49f495e3feb506c7a403f72d0ef0b85327a3714b8edef52260a03dce1082db05d520376d7b96b0f85d541d6dff67e1245b0e1b35fe8 SHA512 3a2ab84b61b450d50e46a5da5dffa803f92bf469fc3d04ff4cb39f26b4f486bede9790bb48fc6b3bbda0ee882f0acf5b610d39e86b16bea7f2207adef94be31a -EBUILD trinity-1.9.ebuild 1026 BLAKE2B e57b904695694b19fe4d8d21edaaf9b943587198b41fc2a5c9def443ab2ae984b3cd43a3ed4d66c52335c140663ab1cb3a579e25843f03a08f193237fb26c853 SHA512 8186cb445b77e0de47f1a0557cf8ba2bbba2e5c9a5e8354453024f9f7fcde6b49231859f2c9c8c791ecb3997a82ffb38a247a8522b84a6a420f75a1554be3477 -EBUILD trinity-9999.ebuild 919 BLAKE2B eb7b31f4af2efef42488ea8e674b0c04f499c034ce135d96eef871206d516d7acdac5f899dc30d376969bd67f75e3379a480828d8cea8afda2a671dde8431324 SHA512 955a09b5ef2f7f60a036dbcceb47083630f78e75aeb24092ca07a13f75de442c4b74ff9eaaa0ce29a4d5c657547157359105a33e15a3ed47483ea155053b311b -MISC metadata.xml 347 BLAKE2B f82cee777cc9c45fffbe422dc06668f6f46f62f1491589f29118f29ef9548f510b5ea93443a8ddb49562dc65fb8930634845ce57150607abaea534a1a78dbd0f SHA512 518d1829303e93fe940dc7fc6c12dfefed2cdbcf7d6bc079abcda8f28f9ea9fd478a3b7947ff5aca983af221cfd1fdf3ba226d55c68eb94ffc6a521af9569eff diff --git a/dev-util/trinity/files/trinity-1.9-gcc10_fix.patch b/dev-util/trinity/files/trinity-1.9-gcc10_fix.patch deleted file mode 100644 index 9a17adaebcf9..000000000000 --- a/dev-util/trinity/files/trinity-1.9-gcc10_fix.patch +++ /dev/null @@ -1,34 +0,0 @@ -From e53e25cc8dd5bdb5f7d9b4247de9e9921eec81d8 Mon Sep 17 00:00:00 2001 -From: Vinson Lee <vlee@freedesktop.org> -Date: Thu, 30 Jan 2020 22:09:45 -0800 -Subject: [PATCH] Fix build with GCC 10. - - CC trinity -/usr/bin/ld: debug.o:include/logfile.h:8: multiple definition of `mainlogfile'; child.o:include/logfile.h:8: first defined here -/usr/bin/ld: log-files.o:include/logfile.h:8: multiple definition of `mainlogfile'; child.o:include/logfile.h:8: first defined here -/usr/bin/ld: log.o:include/logfile.h:8: multiple definition of `mainlogfile'; child.o:include/logfile.h:8: first defined here -/usr/bin/ld: main.o:include/logfile.h:8: multiple definition of `mainlogfile'; child.o:include/logfile.h:8: first defined here -/usr/bin/ld: output.o:include/logfile.h:8: multiple definition of `mainlogfile'; child.o:include/logfile.h:8: first defined here -/usr/bin/ld: params.o:include/logfile.h:8: multiple definition of `mainlogfile'; child.o:include/logfile.h:8: first defined here -/usr/bin/ld: shm.o:include/logfile.h:8: multiple definition of `mainlogfile'; child.o:include/logfile.h:8: first defined here -/usr/bin/ld: trinity.o:include/logfile.h:8: multiple definition of `mainlogfile'; child.o:include/logfile.h:8: first defined here - -Fixes: 13856316c259 ("reinstate the log-to-file code for now.") -Signed-off-by: Vinson Lee <vlee@freedesktop.org> ---- - include/logfile.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/logfile.h b/include/logfile.h -index 90ea8b23..2305ac15 100644 ---- a/include/logfile.h -+++ b/include/logfile.h -@@ -5,7 +5,7 @@ - FILE *find_logfile_handle(void); - void synclogs(void); - --FILE *mainlogfile; -+extern FILE *mainlogfile; - void open_main_logfile(void); - void close_logfile(FILE **handle); - diff --git a/dev-util/trinity/files/trinity-1.9-include_types_h.patch b/dev-util/trinity/files/trinity-1.9-include_types_h.patch deleted file mode 100644 index 0b8318ba2fb9..000000000000 --- a/dev-util/trinity/files/trinity-1.9-include_types_h.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 45fdc97620063be4318b9b361482fa1b5463e1d5 Mon Sep 17 00:00:00 2001 -From: Jiri Slaby <jslaby@suse.cz> -Date: Mon, 18 Nov 2019 10:14:55 +0100 -Subject: [PATCH] modify_ldt: include linux/types.h before ASSEMBLY == 1 - -Otherwise we see a lot of: -In file included from /usr/include/bits/statx.h:30, - from /usr/include/sys/stat.h:446, - from include/files.h:3, - from include/shm.h:6, - from syscalls/x86/modify_ldt.c:12: -/usr/include/linux/stat.h:57:2: error: unknown type name '__s64' - 57 | __s64 tv_sec; - | ^~~~~ -/usr/include/linux/stat.h:58:2: error: unknown type name '__u32' - 58 | __u32 tv_nsec; - | ^~~~~ ---- - syscalls/x86/modify_ldt.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/syscalls/x86/modify_ldt.c b/syscalls/x86/modify_ldt.c -index f2eaf065..0221561a 100644 ---- a/syscalls/x86/modify_ldt.c -+++ b/syscalls/x86/modify_ldt.c -@@ -6,6 +6,7 @@ - */ - #include <stdlib.h> - #include <sys/types.h> -+#include <linux/types.h> /* before __ASSEMBLY__ == 1 */ - #define __ASSEMBLY__ 1 - #include <asm/ldt.h> - #include "sanitise.h" diff --git a/dev-util/trinity/metadata.xml b/dev-util/trinity/metadata.xml deleted file mode 100644 index 8158244dd58b..000000000000 --- a/dev-util/trinity/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>bircoph@gentoo.org</email> - <name>Andrew Savchenko</name> - </maintainer> - <upstream> - <remote-id type="github">kernelslacker/trinity</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-util/trinity/trinity-1.9.ebuild b/dev-util/trinity/trinity-1.9.ebuild deleted file mode 100644 index 06d08790fac7..000000000000 --- a/dev-util/trinity/trinity-1.9.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit toolchain-funcs - -DESCRIPTION="A Linux system call fuzz tester" -HOMEPAGE="http://codemonkey.org.uk/projects/trinity/ https://github.com/kernelslacker/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=" - >=sys-kernel/linux-headers-4.8 -" - -PATCHES=( - "${FILESDIR}/${P}-gcc10_fix.patch" - "${FILESDIR}/${P}-include_types_h.patch" -) - -src_prepare() { - sed -e 's/-g -O2//' \ - -e 's/-D_FORTIFY_SOURCE=2//' \ - -e 's/-Werror//' \ - -e '/-o $@/s/$(LDFLAGS) //' \ - -i Makefile || die - - tc-export CC - default -} - -src_compile() { - emake V=1 -} - -src_install() { - dobin ${PN} - dodoc Documentation/* README - doman trinity.1 - - 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 deleted file mode 100644 index 3910c2f87cdd..000000000000 --- a/dev-util/trinity/trinity-9999.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit toolchain-funcs git-r3 - -EGIT_REPO_URI="https://github.com/kernelslacker/trinity.git" - -DESCRIPTION="A Linux system call fuzz tester" -HOMEPAGE="http://codemonkey.org.uk/projects/trinity/ https://github.com/kernelslacker/trinity/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="examples" - -# We need newer headers to avoid compilation failures in the BPF stuff. -DEPEND=" - >=sys-kernel/linux-headers-4.8 -" - -src_prepare() { - sed -e 's/-g -O2//' \ - -e 's/-D_FORTIFY_SOURCE=2//' \ - -e 's/-Werror//' \ - -e '/-o $@/s/$(LDFLAGS) //' \ - -i Makefile || die - - tc-export CC - default -} - -src_compile() { - emake V=1 -} - -src_install() { - dobin ${PN} - dodoc Documentation/* README - doman trinity.1 - - if use examples ; then - exeinto /usr/share/doc/${PF}/scripts - doexe scripts/* - docompress -x /usr/share/doc/${PF}/scripts - fi -} |