diff --git a/prelude-lml-0.9.12-pie.patch b/prelude-lml-0.9.12-pie.patch new file mode 100644 index 0000000..360038f --- /dev/null +++ b/prelude-lml-0.9.12-pie.patch @@ -0,0 +1,36 @@ +diff -ur prelude-lml-0.9.12.2.orig/configure prelude-lml-0.9.12.2/configure +--- prelude-lml-0.9.12.2.orig/configure 2008-04-24 14:08:17.000000000 -0400 ++++ prelude-lml-0.9.12.2/configure 2008-04-24 15:25:29.000000000 -0400 +@@ -33196,7 +33196,7 @@ + #AC_LANG_PUSH([C]) + + save_LDFLAGS="$LDFLAGS" +- LDFLAGS="$LDFLAGS -z now" ++ LDFLAGS="$LDFLAGS -z now -pie" + cat >conftest.$ac_ext <<_ACEOF + + /* confdefs.h. */ +diff -ur prelude-lml-0.9.12.2.orig/plugins/pcre/Makefile.in prelude-lml-0.9.12.2/plugins/pcre/Makefile.in +--- prelude-lml-0.9.12.2.orig/plugins/pcre/Makefile.in 2008-04-24 14:08:17.000000000 -0400 ++++ prelude-lml-0.9.12.2/plugins/pcre/Makefile.in 2008-04-24 15:23:24.000000000 -0400 +@@ -155,7 +155,7 @@ + BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ + CC = @CC@ + CCDEPMODE = @CCDEPMODE@ +-CFLAGS = @CFLAGS@ ++CFLAGS = @CFLAGS@ -fPIC + CPP = @CPP@ + CPPFLAGS = @CPPFLAGS@ + CXX = @CXX@ +diff -ur prelude-lml-0.9.12.2.orig/src/Makefile.in prelude-lml-0.9.12.2/src/Makefile.in +--- prelude-lml-0.9.12.2.orig/src/Makefile.in 2008-04-24 14:08:17.000000000 -0400 ++++ prelude-lml-0.9.12.2/src/Makefile.in 2008-04-24 15:24:31.000000000 -0400 +@@ -489,7 +489,7 @@ + target_vendor = @target_vendor@ + SUBDIRS = include + AM_CPPFLAGS = -I$(srcdir)/include/ -I$(top_srcdir)/libmissing @LIBPRELUDE_CFLAGS@ @PCRE_CFLAGS@ @FAM_CFLAGS@ +-AM_CFLAGS = @GLOBAL_CFLAGS@ ++AM_CFLAGS = @GLOBAL_CFLAGS@ -fPIE -DPIE + prelude_lml_LDADD = @LIBPRELUDE_LIBS@ @PCRE_LIBS@ @FAM_LIBS@ $(top_builddir)/libmissing/libmissing.la + prelude_lml_LDFLAGS = @LIBPRELUDE_LDFLAGS@ @FAM_LDFLAGS@ -export-dynamic \ + "-dlopen" $(top_builddir)/plugins/debug/debug.la \ diff --git a/prelude-lml.spec b/prelude-lml.spec index 44b3cc1..a1a0a94 100644 --- a/prelude-lml.spec +++ b/prelude-lml.spec @@ -1,13 +1,14 @@ Name: prelude-lml -Version: 0.9.11 -Release: 2%{?dist} +Version: 0.9.12.2 +Release: 1%{?dist} Summary: The prelude log analyzer Group: System Environment/Libraries -License: GPL +License: GPLv2+ URL: http://prelude-ids.org/ Source0: http://www.prelude-ids.org/download/releases/%{name}-%{version}.tar.gz Patch0: %{name}-initd.patch +Patch1: prelude-lml-0.9.12-pie.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gamin-devel, libprelude-devel, pcre-devel @@ -43,6 +44,7 @@ sensor. %prep %setup -q %patch -p0 +%patch1 -p1 sed -i.debug -e '/nlist/s|\$rm|: $rm|' ltmain.sh @@ -110,6 +112,9 @@ fi %changelog +* Thu Apr 24 2008 Steve Grubb 0.9.12.2-1 +- new upstream release + * Wed Feb 20 2008 Fedora Release Engineering - 0.9.11-2 - Autorebuild for GCC 4.3 diff --git a/sources b/sources index cbc4eb4..1d65e91 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3f9e097b3535041913cc1fa0b8964a73 prelude-lml-0.9.11.tar.gz +f13df3fdee98f6ceb5519d1a71cdf87f prelude-lml-0.9.12.2.tar.gz