libmodsecurity-vl.spec 5.2 KB

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