From 504c03a37caba327ced2043dcd8f33183f14e15d Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Wed, 7 Sep 2016 13:04:07 +0200 Subject: [PATCH] specfile: re-enable building with libsigsegv library In very old versions of Fedora, it was enabled to build gawk with this library. More about this library can be found here: https://www.gnu.org/software/libsigsegv/ However, because of the BZ #524795 it was eventually disabled as a kind of workaround. It was then forgotten and was never re-enabled again. Even emacs developers noticed that in their's mailing list: https://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00238.html They used this mistake as an argument, which was incorrect, but mainly was not right (nor cool :)). And because vanilla build of gawk, as well as Debian-like distributions, uses this feature, it was enabled again. AFAIK, there are no security implications that should prevent use of this library. --- gawk.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gawk.spec b/gawk.spec index b29ce8f..39c6b9b 100644 --- a/gawk.spec +++ b/gawk.spec @@ -12,6 +12,8 @@ Source0: http://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.xz # taken from random.c, 2014-07-12 Source1: BSD.txt Source2: https://www.gnu.org/licenses/lgpl-2.1.txt +Requires: libsigsegv +BuildRequires: libsigsegv-devel Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Conflicts: filesystem < 3 @@ -34,7 +36,7 @@ considered to be a standard Linux tool for processing text. cp -a %{SOURCE1} %{SOURCE2} . %build -%configure --with-libsigsegv-prefix=no +%configure make %{?_smp_mflags} %check