Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
prelude-lml
prelude-lml.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File prelude-lml.spec of Package prelude-lml
# # spec file for package prelude-lml # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: prelude-lml Version: 4.0.0 Release: 0 Summary: The prelude log analyzer License: GPL-2.0+ and LGPL-2.1 and GPL-3.0+ Group: System/Daemons # Prelude is GPL-2.0+ # libmissing is LGPL-2.1+ # libmissing/test is GPL-3.0+ Url: https://www.prelude-siem.org Source0: https://www.prelude-siem.org/pkg/src/%{version}/%{name}-%{version}.tar.gz Source1: %{name}.service Source2: %{name}-tmpfiles.conf # Add default syslog format to work out of the box Patch0: %{name}-conf_rsyslog.patch # Fix make check Patch1: %{name}-fix_check.patch # Fix etc files permissions Patch2: %{name}-fix_etc_perms.patch BuildRequires: gamin-devel BuildRequires: libprelude-devel BuildRequires: pcre-devel BuildRequires: systemd %{?systemd_requires} %description Prelude-LML is a log analyser that allows Prelude to collect and analyze information from all kind of applications emitting logs or syslog messages in order to detect suspicious activities and transform them into Prelude-IDMEF alerts. Prelude-LML handles events generated by a large set of applications %package devel Summary: Header files and libraries for prelude-lml development Group: Development/Libraries/C and C++ Requires: %{name} = %{version}-%{release} Requires: libprelude-devel %description devel Libraries, include files, etc you can use to develop custom Prelude LML plugins. %prep %setup -q %patch0 %patch1 %patch2 %build %configure make %{?_smp_mflags} %install mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/ruleset/ mkdir -p %{buildroot}/%{_sbindir} %make_install rm -f %{buildroot}/%{_libdir}/%{name}/debug.la rm -f %{buildroot}/%{_libdir}/%{name}/pcre.la install -d -m 0755 %{buildroot}/%{_tmpfilesdir} install -m 0644 %{SOURCE2} %{buildroot}/%{_tmpfilesdir}/%{name}.conf mkdir -p %{buildroot}/%{_var}/lib/%{name} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} rm -rf %{buildroot}/%{_localstatedir}/run/%{name} install -D -m 444 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service %pre %service_add_pre %{name}.service %post /sbin/ldconfig %{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf %service_add_post %{name}.service %preun %service_del_preun %{name}.service %postun /sbin/ldconfig %service_del_postun %{name}.service %files %defattr(-,root,root,-) %doc COPYING NEWS HACKING.README README %attr(0770,-,-) %dir %{_sysconfdir}/%{name}/ %config(noreplace) %attr(0640,-,-) %{_sysconfdir}/%{name}/plugins.rules %config(noreplace) %attr(0640,-,-) %{_sysconfdir}/%{name}/%{name}.conf %attr(0770,-,-) %dir %{_sysconfdir}/%{name}/ruleset/ %{_bindir}/%{name} %dir %{_libdir}/%{name}/ %{_libdir}/%{name}/debug.so %{_libdir}/%{name}/pcre.so %{_sbindir}/rc%{name} %dir %{_tmpfilesdir} %{_tmpfilesdir}/%{name}.conf %{_unitdir}/%{name}.service %dir %{_var}/lib/%{name} %ghost /run/%{name} %files devel %defattr(-,root,root,-) %dir %{_includedir}/%{name}/ %{_includedir}/%{name}/%{name}.h %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor