Summary: A library that loads/interprets rules written in the ModSecurity SecRules Name: libmodsecurity Version: 3.0.7 Release: 1%{?_dist_release} Group: security Vendor: Project Vine Distribution: Vine Linux License: ASL 2.0 URL: https://www.modsecurity.org/ Source0: https://github.com/SpiderLabs/ModSecurity/releases/download/v%{version}/modsecurity-v%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: make BuildRequires: flex BuildRequires: bison BuildRequires: git-core BuildRequires: curl-devel BuildRequires: pcre-devel BuildRequires: pcre2-devel BuildRequires: ssdeep-devel BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(yajl) BuildRequires: pkgconfig(libmaxminddb) BuildRequires: pkgconfig(lmdb) # libinjection is supposed to be bundled (same as with mod_security 2.x) # See: https://github.com/client9/libinjection#embedding Provides: bundled(libinjection) = 3.9.2 %description Libmodsecurity is one component of the ModSecurity v3 project. The library codebase serves as an interface to ModSecurity Connectors taking in web traffic and applying traditional ModSecurity processing. In general, it provides the capability to load/interpret rules written in the ModSecurity SecRules format and apply them to HTTP content provided by your application via Connectors. %package devel Summary: Development files for %{name} Group: programming Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package static Summary: Development files for %{name} Group: programming Requires: %{name}%{?_isa} = %{version}-%{release} %description static The %{name}-static package contains static libraries for developing applications that use %{name}. %debug_package %prep %autosetup -p1 -n modsecurity-v%{version} %build %configure \ --libdir=%{_libdir} \ --with-pcre2 \ --with-lmdb \ --with-maxmind \ %{nil} %make_build %install %make_install %files %license LICENSE %doc README.md AUTHORS %doc modsecurity.conf-recommended unicode.mapping %{_libdir}/*.so.* %{_bindir}/* %files devel %license LICENSE %doc README.md AUTHORS %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/* %files static %{_libdir}/*.a %{_libdir}/*.la %changelog * Tue May 31 2022 Tomohiro "Tomo-p" KATO - 3.0.7-1 - new upstream release. * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO - 3.0.6-1 - new upstream release. * Sun Jul 11 2021 Tomohiro "Tomo-p" KATO - 3.0.5-1 - new upstream release. - dropped Patch1000: fixed in upstream. - dropped ldconfig scriptlets. * Wed Oct 14 2020 Tomohiro "Tomo-p" KATO - 3.0.4-2 - imported Patch1000 to fix CVE-2020-15598. * Mon Mar 09 2020 Tomohiro "Tomo-p" KATO - 3.0.4-1 - new upstream release. * Sun Oct 27 2019 Tomohiro "Tomo-p" KATO - 3.0.3-4 - added sample configurations to %%doc. * Wed Oct 23 2019 Tomohiro "Tomo-p" KATO - 3.0.3-3 - initial build for Vine Linux. * Thu Jul 25 2019 Fedora Release Engineering - 3.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Mar 31 2019 Athmane Madjoudj - 3.0.3-1 - Update to 3.0.3 (rhbz #1672678) - Remove pkg-config bits since it's included in this release * Fri Feb 01 2019 Fedora Release Engineering - 3.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 19 2018 Dridi Boukelmoune - 3.0.2-4 - Back-port of modsecurity.pc * Fri Jul 13 2018 Fedora Release Engineering - 3.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Apr 29 2018 Athmane Madjoudj - 3.0.2-2 - Rebuild after PR#1 * Sat Apr 14 2018 Athmane Madjoudj - 3.0.2-1 - Update to 3.0.2 (rhbz #1563219) * Wed Feb 07 2018 Fedora Release Engineering - 3.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Jan 21 2018 Athmane Madjoudj - 3.0.0-1 - Update to 3.0.0 final release - Drop upstreamed patch - Add some new BRs * Sun Oct 22 2017 Athmane Madjoudj - 3.0.0-0.2.rc1 - Add a patch to fix the build on non-x86 arch * Fri Sep 01 2017 Athmane Madjoudj - 3.0.0-0.1.rc1 - Fix release tag * Wed Aug 30 2017 Athmane Madjoudj - 3.0.0-0.rc1 - Update to RC1 - Fix some spec issues * Mon Feb 22 2016 Athmane Madjoudj 3.0-0.git - Initial release