From f58874cc6cd0678e79b6499a97ac8b3d2aaf8d02 Mon Sep 17 00:00:00 2001 From: Steve Date: Mar 10 2013 17:31:48 +0000 Subject: Add libtool-ltdl-devel BuildRequires --- diff --git a/prelude-lml-1.0.0-libmissing.patch b/prelude-lml-1.0.0-libmissing.patch new file mode 100644 index 0000000..4cc4e53 --- /dev/null +++ b/prelude-lml-1.0.0-libmissing.patch @@ -0,0 +1,25 @@ +diff -urp prelude-lml-1.0.0.orig/libmissing/stdio.in.h prelude-lml-1.0.0/libmissing/stdio.in.h +--- prelude-lml-1.0.0.orig/libmissing/stdio.in.h 2010-02-08 11:46:03.000000000 -0500 ++++ prelude-lml-1.0.0/libmissing/stdio.in.h 2013-03-10 13:24:27.088000000 -0400 +@@ -116,8 +116,10 @@ _GL_WARN_ON_USE (fflush, "fflush is not + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ ++#ifdef gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ +diff -urp prelude-lml-1.0.0.orig/src/prelude-lml.c prelude-lml-1.0.0/src/prelude-lml.c +--- prelude-lml-1.0.0.orig/src/prelude-lml.c 2010-02-05 12:45:25.000000000 -0500 ++++ prelude-lml-1.0.0/src/prelude-lml.c 2013-03-10 13:23:56.313000000 -0400 +@@ -35,6 +35,7 @@ + #include + #include + #include ++#include + + #if TIME_WITH_SYS_TIME + # include diff --git a/prelude-lml.spec b/prelude-lml.spec index db0f1d4..ab59eb0 100644 --- a/prelude-lml.spec +++ b/prelude-lml.spec @@ -1,7 +1,7 @@ Name: prelude-lml Epoch: 1 Version: 1.0.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: The prelude log analyzer Group: System Environment/Libraries @@ -11,9 +11,10 @@ Source0: http://www.prelude-ids.org/download/releases/%{name}/%{name}-%{version} Source1: prelude-lml.service # Make the daemon have PIE flags Patch1: prelude-lml-1.0.0rc1-pie.patch +Patch2: prelude-lml-1.0.0-libmissing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: gamin-devel, pcre-devel +BuildRequires: gamin-devel, pcre-devel, libtool-ltdl-devel BuildRequires: libprelude-devel >= 0.9.21.3 BuildRequires: systemd-units Requires(post): systemd-units @@ -43,6 +44,7 @@ Prelude LML plugins. %prep %setup -q %patch1 -p1 +%patch2 -p1 %build @@ -99,6 +101,9 @@ rm -rf %{buildroot} %changelog +* Sun Mar 10 2013 Steve Grubb - 1:1.0.0-10 +- Add libtool-ltdl-devel BuildRequires + * Thu Feb 14 2013 Fedora Release Engineering - 1:1.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild @@ -163,7 +168,7 @@ rm -rf %{buildroot} * Mon Jan 14 2008 Steve Grubb 0.9.11-1 - new upstream version 0.9.11 -* Thu Jan 09 2007 Thorsten Scherf 0.9.8.1-5 +* Tue Jan 09 2007 Thorsten Scherf 0.9.8.1-5 - changed init-script description * Mon Jan 08 2007 Thorsten Scherf 0.9.8.1-4 @@ -184,5 +189,5 @@ rm -rf %{buildroot} * Mon Nov 20 2006 Thorsten Scherf 0.9.7-2 - Some minor fixes in requirements -* Tue Oct 23 2006 Thorsten Scherf 0.9.7-1 +* Mon Oct 23 2006 Thorsten Scherf 0.9.7-1 - New Fedora build based on release 0.9.7