Browse Source

libmodsecurity-3.0.7-1

Tomohiro "Tomo-p" KATO 1 year ago
parent
commit
32ece5fbd5
1 changed files with 13 additions and 4 deletions
  1. 13 4
      lib/libm/libmodsecurity/libmodsecurity-vl.spec

+ 13 - 4
lib/libm/libmodsecurity/libmodsecurity-vl.spec

@@ -1,6 +1,6 @@
 Summary:        A library that loads/interprets rules written in the ModSecurity SecRules
 Name:           libmodsecurity
-Version:        3.0.6
+Version:        3.0.7
 Release:        1%{?_dist_release}
 Group:          security
 Vendor:         Project Vine
@@ -15,12 +15,13 @@ 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: curl-devel
 BuildRequires: pkgconfig(libmaxminddb)
-BuildRequires: pkgconfig(libpcre)
 BuildRequires: pkgconfig(lmdb)
 
 # libinjection is supposed to be bundled (same as with mod_security 2.x)
@@ -64,7 +65,12 @@ applications that use %{name}.
 
 
 %build
-%configure --libdir=%{_libdir} --with-lmdb --with-maxmind
+%configure \
+	--libdir=%{_libdir} \
+	--with-pcre2 \
+	--with-lmdb \
+	--with-maxmind \
+	%{nil}
 %make_build
 
 
@@ -92,6 +98,9 @@ applications that use %{name}.
 
 
 %changelog
+* Tue May 31 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.0.7-1
+- new upstream release.
+
 * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.0.6-1
 - new upstream release.