diff --git a/.cvsignore b/.cvsignore index e69de29..f6c3c8e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +prelude-lml-0.9.8.1.tar.gz diff --git a/prelude-lml.spec b/prelude-lml.spec new file mode 100644 index 0000000..6ca819e --- /dev/null +++ b/prelude-lml.spec @@ -0,0 +1,97 @@ +Name: prelude-lml +Version: 0.9.8.1 +Release: 2%{?dist} +Summary: The prelude log analyzer + +Group: System Environment/Libraries +License: GPL +URL: http://prelude-ids.org/ +Source0: http://www.prelude-ids.org/download/releases/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gamin-devel, libprelude-devel, pcre-devel + +%description +Prelude-LML’s primary function is log analysis. Logs on a local system or +logs monitored over the network (if configured to accept syslog messages +from other hosts) can be processed and analyzed in order to discover +security anomalies. + +%package devel +Summary: Header files and libraries for libprelude development +Group: Development/Libraries +Requires: libprelude-devel, prelude-lml = %{version}-%{release} + +%description devel +Libraries, include files, etc you can use to develop Prelude IDS +sensors using the Prelude Library. The Prelude Library is a +collection of generic functions providing communication between +the Prelude Hybrid IDS suite componentst It provides a convenient +interface for sending alerts to Prelude Manager with transparent +SSL, failover and replication support, asynchronous events and +timer interfaces, an abstracted configuration API (hooking at the +commandline, the configuration line, or wide configuration, +available from the Manager), and a generic plugin API. It allows +you to easily turn your favorite security program into a Prelude +sensor. + +%prep +%setup -q +sed -i.debug -e '/nlist/s|\$rm|: $rm|' ltmain.sh + + +%build +%configure +make %{?_smp_mflags} +iconv -f ISO8859-15 -t UTF-8 NEWS > NEWS.utf8 && \ +%{__mv} NEWS.utf8 NEWS +iconv -f ISO8859-15 -t UTF-8 ChangeLog > ChangeLog.utf8 && \ +%{__mv} ChangeLog.utf8 ChangeLog + + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version} +make install DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" +cp -p AUTHORS README ChangeLog NEWS COPYING HACKING.README \ +%{buildroot}%{_defaultdocdir}/%{name}-%{version} +rm -f %{buildroot}/%{_libdir}/%{name}/debug.la +rm -f %{buildroot}/%{_libdir}/%{name}/pcre.la + +%clean +rm -rf %{buildroot} + +%files +%defattr(755,root,root,-) +%config %dir %{_sysconfdir}/%{name}/ +%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/%{name}/*.conf +%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/%{name}/*.rules +%config %dir %{_sysconfdir}/%{name}/ruleset/ +%config(noreplace) %attr(0644,root,root)%{_sysconfdir}/%{name}/ruleset/* +%{_bindir}/prelude-lml +%dir %{_libdir}/%{name}/ +%{_libdir}/%{name}/debug.so +%{_libdir}/%{name}/pcre.so +%dir %{_defaultdocdir}/%{name}-%{version}/ +%doc %attr(0644,root,root) %{_defaultdocdir}/%{name}-%{version}/* + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/%{name}/ +%{_includedir}/%{name}/prelude-lml.h + + +%changelog +* Tue Jan 02 2007 Thorsten Scherf 0.9.8.1-2 +- fixed debug problems +- fixed encoding problems + +* Fri Dec 29 2006 Thorsten Scherf 0.9.8.1-1 +- moved to new upstream version 0.9.8.1 +- changed dirowner of /etc/prelude-lml + +* 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 +- New Fedora build based on release 0.9.7 diff --git a/sources b/sources index e69de29..6a9172d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9304593d58d2aa1268760c93150ab8db prelude-lml-0.9.8.1.tar.gz