Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-forensics/zzuf/
Date: Mon, 01 Jun 2020 07:50:02
Message-Id: 1590997786.e5106ec904f219a27123b3ea54a40ce0fab249b6.slyfox@gentoo
1 commit: e5106ec904f219a27123b3ea54a40ce0fab249b6
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 1 07:49:46 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 1 07:49:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5106ec9
7
8 app-forensics/zzuf: make static-libs optional
9
10 Reported-by: Agostino Sarubbo
11 Closes: https://bugs.gentoo.org/726578
12 Package-Manager: Portage-2.3.100, Repoman-2.3.22
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 app-forensics/zzuf/zzuf-0.15-r1.ebuild | 29 +++++++++++++++++++++++++++++
16 1 file changed, 29 insertions(+)
17
18 diff --git a/app-forensics/zzuf/zzuf-0.15-r1.ebuild b/app-forensics/zzuf/zzuf-0.15-r1.ebuild
19 new file mode 100644
20 index 00000000000..1675ba16366
21 --- /dev/null
22 +++ b/app-forensics/zzuf/zzuf-0.15-r1.ebuild
23 @@ -0,0 +1,29 @@
24 +# Copyright 1999-2020 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +
29 +DESCRIPTION="Transparent application input fuzzer"
30 +HOMEPAGE="http://caca.zoy.org/wiki/zzuf"
31 +SRC_URI="https://github.com/samhocevar/zzuf/releases/download/v${PV}/${P}.tar.bz2"
32 +
33 +LICENSE="WTFPL-2"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~sparc ~x86"
36 +IUSE="static-libs"
37 +
38 +# Uses dlopen hack to hijack many libc functions.
39 +# Fails 2 tests with sandbox enabled: check-zzuf-A-autoinc check-utils
40 +RESTRICT="test"
41 +
42 +DOCS=( AUTHORS COPYING TODO )
43 +
44 +src_configure() {
45 + econf $(use_enable static-libs static)
46 +}
47 +
48 +src_install() {
49 + default
50 +
51 + find "${D}" -name '*.la' -delete || die
52 +}