source: projects/specs/trunk/lib/libm/libmodsecurity/libmodsecurity-vl.spec @ 12328

Revision 12328, 4.2 KB checked in by tomop, 4 years ago (diff)

updated 6 packages

libmodsecurity-3.0.4-1

nginx-1.16.1-5

pcre-8.44-1

pcre2-10.34-1

sysstat-12.2.1-1

xmlsec1-1.2.29-1

Line 
1
2Name:           libmodsecurity
3Version:        3.0.4
4Release:        1%{?_dist_release}
5Summary:        A library that loads/interprets rules written in the ModSecurity SecRules
6Group:          Development/Libraries
7
8Vendor:         Project Vine
9Distribution:   Vine Linux
10
11License:        ASL 2.0
12URL:            https://www.modsecurity.org/
13
14Source0:        https://github.com/SpiderLabs/ModSecurity/releases/download/v%{version}/modsecurity-v%{version}.tar.gz
15
16BuildRequires: gcc-c++
17BuildRequires: make
18BuildRequires: flex
19BuildRequires: bison
20BuildRequires: git-core
21BuildRequires: ssdeep-devel
22BuildRequires: pkgconfig(libxml-2.0)
23BuildRequires: pkgconfig(yajl)
24BuildRequires: curl-devel
25BuildRequires: pkgconfig(geoip)
26BuildRequires: pkgconfig(libpcre)
27BuildRequires: 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
31Provides: bundled(libinjection) = 3.9.2
32
33%description
34Libmodsecurity is one component of the ModSecurity v3 project.
35The library codebase serves as an interface to ModSecurity Connectors
36taking in web traffic and applying traditional ModSecurity processing.
37In general, it provides the capability to load/interpret rules written
38in the ModSecurity SecRules format and apply them to HTTP content provided
39by your application via Connectors.
40
41
42%package devel
43Summary: Development files for %{name}
44Requires: %{name}%{?_isa} = %{version}-%{release}
45
46%description devel
47The %{name}-devel package contains libraries and header files for
48developing applications that use %{name}.
49
50%package static
51Summary: Development files for %{name}
52Requires: %{name}%{?_isa} = %{version}-%{release}
53
54%description static
55The %{name}-static package contains static libraries for developing
56applications 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* Mon Mar 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.0.4-1
98- new upstream release.
99
100* Sun Oct 27 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.0.3-4
101- added sample configurations to %%doc.
102
103* Wed Oct 23 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.0.3-3
104- initial build for Vine Linux.
105
106* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
107- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
108
109* Sun Mar 31 2019 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.3-1
110- Update to 3.0.3 (rhbz #1672678)
111- Remove pkg-config bits since it's included in this release
112
113* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-5
114- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
115
116* Fri Oct 19 2018 Dridi Boukelmoune <dridi@fedoraproject.org> - 3.0.2-4
117- Back-port of modsecurity.pc
118
119* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-3
120- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
121
122* Sun Apr 29 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.2-2
123- Rebuild after PR#1
124
125* Sat Apr 14 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.2-1
126- Update to 3.0.2 (rhbz #1563219)
127
128* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2
129- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
130
131* Sun Jan 21 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.0-1
132- Update to 3.0.0 final release
133- Drop upstreamed patch
134- Add some new BRs
135
136* Sun Oct 22 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.0-0.2.rc1
137- Add a patch to fix the build on non-x86 arch
138
139* Fri Sep 01 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.0-0.1.rc1
140- Fix release tag
141
142* Wed Aug 30 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 3.0.0-0.rc1
143- Update to RC1
144- Fix some spec issues
145
146* Mon Feb 22 2016 Athmane Madjoudj <athmane@fedoraproject.org> 3.0-0.git
147- Initial release
148
Note: See TracBrowser for help on using the repository browser.