Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-forensics/yara/
Date: Mon, 07 Feb 2022 20:40:40
Message-Id: 1644266188.022725c4b6f988cfc25ab321bf47d4da2e87de6f.arthurzam@gentoo
1 commit: 022725c4b6f988cfc25ab321bf47d4da2e87de6f
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 7 20:36:28 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 20:36:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=022725c4
7
8 app-forensics/yara: treeclean (moved to ::gentoo)
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 app-forensics/yara/Manifest | 1 -
13 app-forensics/yara/metadata.xml | 24 -----------
14 app-forensics/yara/yara-4.1.1.ebuild | 78 ------------------------------------
15 3 files changed, 103 deletions(-)
16
17 diff --git a/app-forensics/yara/Manifest b/app-forensics/yara/Manifest
18 deleted file mode 100644
19 index 7bdea3d1b..000000000
20 --- a/app-forensics/yara/Manifest
21 +++ /dev/null
22 @@ -1 +0,0 @@
23 -DIST yara-4.1.1.tar.gz 936115 BLAKE2B 6edf277702fb40513097195c730002875eef75502e92d672597ca09fefc054c14a082076877e8bea3daaeb05148a9116e2c302ea90a6ce6270e460fce31db658 SHA512 e4474254249d5b3fbb7231fdec5f4e080be042098e1b2bc953aa93513ce0b4742e34acac2911687e75055ecd589d942f71b79c58ca47eee243626ab3ec8add71
24
25 diff --git a/app-forensics/yara/metadata.xml b/app-forensics/yara/metadata.xml
26 deleted file mode 100644
27 index 875695e98..000000000
28 --- a/app-forensics/yara/metadata.xml
29 +++ /dev/null
30 @@ -1,24 +0,0 @@
31 -<?xml version="1.0" encoding="UTF-8"?>
32 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 -<pkgmetadata>
34 - <maintainer type="person">
35 - <description>co-maintainers welcome</description>
36 - <email>lssndrbarbieri@×××××.com</email>
37 - <name>Alessandro Barbieri</name>
38 - </maintainer>
39 - <upstream>
40 - <bugs-to>https://github.com/VirusTotal/yara/issues</bugs-to>
41 - </upstream>
42 - <use>
43 - <flag name="cpu-profiler">compile with CPU profiling support</flag>
44 - <flag name="cuckoo">enable cuckoo module</flag>
45 - <flag name="debug-dex">enable dex module debugging</flag>
46 - <flag name="dex">enable dex module</flag>
47 - <flag name="dotnet">enable dotnet module</flag>
48 - <flag name="jemalloc">use jemalloc to debug heap-related issues</flag>
49 - <flag name="macho">enable macho module</flag>
50 - <flag name="magic">enable magic module</flag>
51 - <flag name="profile">enable rules profiling support</flag>
52 - <flag name="tcmalloc">use tcmalloc as the default heap allocator</flag>
53 - </use>
54 -</pkgmetadata>
55
56 diff --git a/app-forensics/yara/yara-4.1.1.ebuild b/app-forensics/yara/yara-4.1.1.ebuild
57 deleted file mode 100644
58 index ddc420d6c..000000000
59 --- a/app-forensics/yara/yara-4.1.1.ebuild
60 +++ /dev/null
61 @@ -1,78 +0,0 @@
62 -# Copyright 1999-2021 Gentoo Authors
63 -# Distributed under the terms of the GNU General Public License v2
64 -
65 -EAPI=7
66 -
67 -DOCS_AUTODOC=0
68 -DOCS_BUILDER="sphinx"
69 -DOCS_DIR="docs"
70 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
71 -
72 -inherit autotools python-any-r1 docs
73 -
74 -DESCRIPTION="A malware identification and classification tool"
75 -HOMEPAGE="
76 - http://virustotal.github.io/yara
77 - https://github.com/virustotal/yara
78 -"
79 -SRC_URI="https://github.com/virustotal/yara/archive/v${PV}.tar.gz -> ${P}.tar.gz"
80 -
81 -LICENSE="BSD"
82 -SLOT="0"
83 -KEYWORDS="~amd64"
84 -IUSE="cpu-profiler cuckoo +dex debug-dex dotnet jemalloc macho magic profile tcmalloc"
85 -#TODO: test https://github.com/VirusTotal/yara/issues/1524
86 -
87 -REQUIRED_USE="?? ( jemalloc tcmalloc )"
88 -DEPEND="
89 - dev-libs/openssl:0=
90 -
91 - cpu-profiler? ( dev-util/google-perftools )
92 - cuckoo? ( dev-libs/jansson )
93 - jemalloc? ( dev-libs/jemalloc )
94 - magic? ( sys-apps/file )
95 - tcmalloc? ( dev-util/google-perftools )
96 -"
97 -RDEPEND="${DEPEND}"
98 -
99 -DOCS=( CONTRIBUTORS sample.{file,rules} )
100 -
101 -src_prepare() {
102 - default
103 - eautoreconf
104 -}
105 -
106 -src_configure() {
107 - local myconf=(
108 - --disable-address-sanitizer
109 - --disable-debug
110 - --disable-gcov
111 - --disable-pb-tests
112 - --enable-optimization
113 - --with-crypto
114 -
115 - $(use_enable cuckoo)
116 - $(use_enable debug-dex)
117 - $(use_enable dex)
118 - $(use_enable dotnet)
119 - $(use_enable macho)
120 - $(use_enable magic)
121 - $(use_enable profile profiling)
122 -
123 - $(use_with cpu-profiler)
124 - $(use_with jemalloc)
125 - $(use_with tcmalloc)
126 - )
127 - econf "${myconf[@]}"
128 -}
129 -
130 -src_compile() {
131 - default
132 - docs_compile
133 -}
134 -
135 -src_install() {
136 - default
137 - einstalldocs
138 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
139 -}