1 | |
---|
2 | Name: libmodsecurity |
---|
3 | Version: 3.0.3 |
---|
4 | Release: 4%{?_dist_release} |
---|
5 | Summary: A library that loads/interprets rules written in the ModSecurity SecRules |
---|
6 | Group: Development/Libraries |
---|
7 | |
---|
8 | Vendor: Project Vine |
---|
9 | Distribution: Vine Linux |
---|
10 | |
---|
11 | License: ASL 2.0 |
---|
12 | URL: https://www.modsecurity.org/ |
---|
13 | |
---|
14 | Source0: https://github.com/SpiderLabs/ModSecurity/releases/download/v%{version}/modsecurity-v%{version}.tar.gz |
---|
15 | |
---|
16 | BuildRequires: gcc-c++ |
---|
17 | BuildRequires: make |
---|
18 | BuildRequires: flex |
---|
19 | BuildRequires: bison |
---|
20 | BuildRequires: git-core |
---|
21 | BuildRequires: ssdeep-devel |
---|
22 | BuildRequires: pkgconfig(libxml-2.0) |
---|
23 | BuildRequires: pkgconfig(yajl) |
---|
24 | BuildRequires: curl-devel |
---|
25 | BuildRequires: pkgconfig(geoip) |
---|
26 | BuildRequires: pkgconfig(libpcre) |
---|
27 | BuildRequires: pkgconfig(lmdb) |
---|
28 | |
---|
29 | # libinjection is supposed to be bundled (same as with mod_security 2.x) |
---|
30 | # See: https://github.com/client9/libinjection#embedding |
---|
31 | Provides: bundled(libinjection) = 3.9.2 |
---|
32 | |
---|
33 | %description |
---|
34 | Libmodsecurity is one component of the ModSecurity v3 project. |
---|
35 | The library codebase serves as an interface to ModSecurity Connectors |
---|
36 | taking in web traffic and applying traditional ModSecurity processing. |
---|
37 | In general, it provides the capability to load/interpret rules written |
---|
38 | in the ModSecurity SecRules format and apply them to HTTP content provided |
---|
39 | by your application via Connectors. |
---|
40 | |
---|
41 | |
---|
42 | %package devel |
---|
43 | Summary: Development files for %{name} |
---|
44 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
45 | |
---|
46 | %description devel |
---|
47 | The %{name}-devel package contains libraries and header files for |
---|
48 | developing applications that use %{name}. |
---|
49 | |
---|
50 | %package static |
---|
51 | Summary: Development files for %{name} |
---|
52 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
53 | |
---|
54 | %description static |
---|
55 | The %{name}-static package contains static libraries for developing |
---|
56 | applications that use %{name}. |
---|
57 | |
---|
58 | |
---|
59 | |
---|
60 | %prep |
---|
61 | %autosetup -n modsecurity-v%{version} |
---|
62 | |
---|
63 | |
---|
64 | %build |
---|
65 | %configure --libdir=%{_libdir} --with-lmdb |
---|
66 | %make_build |
---|
67 | |
---|
68 | |
---|
69 | %install |
---|
70 | %make_install |
---|
71 | |
---|
72 | |
---|
73 | %post -p /sbin/ldconfig |
---|
74 | %postun -p /sbin/ldconfig |
---|
75 | |
---|
76 | |
---|
77 | %files |
---|
78 | %license LICENSE |
---|
79 | %doc README.md AUTHORS |
---|
80 | %doc modsecurity.conf-recommended unicode.mapping |
---|
81 | %{_libdir}/*.so.* |
---|
82 | %{_bindir}/* |
---|
83 | |
---|
84 | %files devel |
---|
85 | %license LICENSE |
---|
86 | %doc README.md AUTHORS |
---|
87 | %{_includedir}/* |
---|
88 | %{_libdir}/*.so |
---|
89 | %{_libdir}/pkgconfig/* |
---|
90 | |
---|
91 | %files static |
---|
92 | %{_libdir}/*.a |
---|
93 | %{_libdir}/*.la |
---|
94 | |
---|
95 | |
---|
96 | %changelog |
---|
97 | * Sun Oct 27 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.0.3-4 |
---|
98 | - added sample configurations to %%doc. |
---|
99 | |
---|
100 | * Wed Oct 23 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.0.3-3 |
---|
101 | - initial build for Vine Linux. |
---|
102 | |
---|
103 | * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2 |
---|
104 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
105 | |
---|
106 | * Sun Mar 31 2019 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.3-1 |
---|
107 | - Update to 3.0.3 (rhbz #1672678) |
---|
108 | - Remove pkg-config bits since it's included in this release |
---|
109 | |
---|
110 | * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-5 |
---|
111 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
112 | |
---|
113 | * Fri Oct 19 2018 Dridi Boukelmoune <dridi@fedoraproject.org> - 3.0.2-4 |
---|
114 | - Back-port of modsecurity.pc |
---|
115 | |
---|
116 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-3 |
---|
117 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
118 | |
---|
119 | * Sun Apr 29 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.2-2 |
---|
120 | - Rebuild after PR#1 |
---|
121 | |
---|
122 | * Sat Apr 14 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.2-1 |
---|
123 | - Update to 3.0.2 (rhbz #1563219) |
---|
124 | |
---|
125 | * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2 |
---|
126 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
127 | |
---|
128 | * Sun Jan 21 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.0-1 |
---|
129 | - Update to 3.0.0 final release |
---|
130 | - Drop upstreamed patch |
---|
131 | - Add some new BRs |
---|
132 | |
---|
133 | * Sun Oct 22 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.0-0.2.rc1 |
---|
134 | - Add a patch to fix the build on non-x86 arch |
---|
135 | |
---|
136 | * Fri Sep 01 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.0-0.1.rc1 |
---|
137 | - Fix release tag |
---|
138 | |
---|
139 | * Wed Aug 30 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.0-0.rc1 |
---|
140 | - Update to RC1 |
---|
141 | - Fix some spec issues |
---|
142 | |
---|
143 | * Mon Feb 22 2016 Athmane Madjoudj <athmane@fedoraproject.org> 3.0-0.git |
---|
144 | - Initial release |
---|
145 | |
---|