summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-12-10 09:53:06 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-12-10 09:54:12 +0100
commit449306051cfb72a238b59efc4f5c23e9f1e66cde (patch)
tree52d092c093bfb12d5e96fe3217a5085be006c12a /dev-libs
parentdev-python/fonttools: x86 stable wrt bug #702026 (diff)
downloadgentoo-449306051cfb72a238b59efc4f5c23e9f1e66cde.tar.gz
gentoo-449306051cfb72a238b59efc4f5c23e9f1e66cde.tar.bz2
gentoo-449306051cfb72a238b59efc4f5c23e9f1e66cde.zip
dev-libs/libtasn1: Revbump to not install fuzzer tool anymore
Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> Closes: https://bugs.gentoo.org/701928 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libtasn1/files/libtasn1-4.15.0-noinst_fuzzer_tool.patch35
-rw-r--r--dev-libs/libtasn1/libtasn1-4.15.0-r1.ebuild (renamed from dev-libs/libtasn1/libtasn1-4.15.0.ebuild)9
2 files changed, 42 insertions, 2 deletions
diff --git a/dev-libs/libtasn1/files/libtasn1-4.15.0-noinst_fuzzer_tool.patch b/dev-libs/libtasn1/files/libtasn1-4.15.0-noinst_fuzzer_tool.patch
new file mode 100644
index 000000000000..45360ec8f822
--- /dev/null
+++ b/dev-libs/libtasn1/files/libtasn1-4.15.0-noinst_fuzzer_tool.patch
@@ -0,0 +1,35 @@
+From 49d6e3f0a4b5fd4da31228d23ae9efabef20c1ca Mon Sep 17 00:00:00 2001
+From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
+Date: Thu, 21 Nov 2019 16:09:20 +0100
+Subject: [PATCH] fuzz: do not install generated fuzzers and tools
+
+Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
+---
+ fuzz/Makefile.am | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/fuzz/Makefile.am b/fuzz/Makefile.am
+index ae6616b..aa621ce 100644
+--- a/fuzz/Makefile.am
++++ b/fuzz/Makefile.am
+@@ -38,7 +38,7 @@ FUZZERS = \
+
+ if FUZZING
+ # fuzzing mode, enabled with ./configure --enable-fuzzing
+- bin_PROGRAMS = $(FUZZERS)
++ noinst_PROGRAMS = $(FUZZERS)
+ AM_LDFLAGS += -fsanitize=fuzzer
+ MAIN = fuzzer.h
+ else
+@@ -47,7 +47,7 @@ else
+ TESTS = $(FUZZERS)
+ check_PROGRAMS = $(FUZZERS)
+
+- bin_PROGRAMS = corpus2array
++ noinst_PROGRAMS = corpus2array
+ corpus2array_SOURCES = corpus2array.c
+ endif
+
+--
+2.22.2
+
diff --git a/dev-libs/libtasn1/libtasn1-4.15.0.ebuild b/dev-libs/libtasn1/libtasn1-4.15.0-r1.ebuild
index ce8e7f67a174..e3e7c7a51749 100644
--- a/dev-libs/libtasn1/libtasn1-4.15.0.ebuild
+++ b/dev-libs/libtasn1/libtasn1-4.15.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit multilib-minimal libtool
+inherit autotools multilib-minimal libtool
DESCRIPTION="ASN.1 library"
HOMEPAGE="https://www.gnu.org/software/libtasn1/"
@@ -28,6 +28,10 @@ DOCS=(
THANKS
)
+PATCHES=(
+ "${FILESDIR}"/${P}-noinst_fuzzer_tool.patch #701928
+)
+
pkg_setup() {
if use doc; then
DOCS+=( doc/libtasn1.pdf )
@@ -37,7 +41,8 @@ pkg_setup() {
src_prepare() {
default
- elibtoolize # for Solaris shared library
+ #elibtoolize # for Solaris shared library
+ eautoreconf #701928
}
multilib_src_configure() {