package/libmodsecurity: bump to version 3.0.13
PATCH 1/1 package/libmodsecurity: bump to version 3.0.13
- Drop 0001-configure.ac-drop-usage-of-git-at-configure-time.patch The package originally had to be reconfigured to patch in uclinux support. The fix has been merged upstream [1]. We no longer need to reconfigure the package so we can drop this patch.
[1] https://github.com/owasp-modsecurity/ModSecurity/pull/2235
---
...-drop-usage-of-git-at-configure-time.patch | 80 -------------------
...=> 0001-modsecurity.pc.in-add-lstdc.patch} | 0
package/libmodsecurity/libmodsecurity.hash | 4 +-
package/libmodsecurity/libmodsecurity.mk | 4 +-
4 files changed, 3 insertions(+), 85 deletions(-)
delete mode 100644 package/libmodsecurity/0001-configure.ac-drop-usage-of-git-at-configure-time.patch
rename package/libmodsecurity/{0002-modsecurity.pc.in-add-lstdc.patch => 0001-modsecurity.pc.in-add-lstdc.patch} (100%)package/libmodsecurity/0001-configure.ac-drop-usage-of-git-at-configure-time.patch deleted +0 -80
@@ -1,80 +0,0 @@ -From d242b011a8f0d84781bbf7667a44a12646903ca4 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Sun, 1 Aug 2021 23:21:35 +0200 -Subject: [PATCH] configure.ac: drop usage of git at configure time - -The usage of git is only to print some messages at configure time, -which is not very useful, and causes a significant number of warning -when regenerating the configure script. - -Signed-off-by: Thomas Petazzoni <[email protected]> -Signed-off-by: Frank Vanbever <[email protected]> ---- - configure.ac | 23 ----------------------- - 1 file changed, 23 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 66d6f4f2..746b1fb4 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3,7 +3,6 @@ - - # Get the hash of the last commit, to be used if it is not an - # official release. --AC_DEFUN([MSC_GIT_HASH], m4_esyscmd_s(git log -1 --format="%h" --abbrev-commit)) - AC_DEFUN([MSC_MAJOR], m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MAJOR " | awk {'print $3'} | sed 's/\"//g')) - AC_DEFUN([MSC_MINOR], m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MINOR " | awk {'print $3'} | sed 's/\"//g')) - AC_DEFUN([MSC_PATCHLEVEL], m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_PATCHLEVEL " | awk {'print $3'} | sed 's/\"//g')) -@@ -25,9 +24,6 @@ m4_define([msc_version], - m4_define([msc_version_with_patchlevel], - [msc_version_major.msc_version_minor.msc_version_patchlevel]) - --m4_define([msc_version_git], -- [m4_esyscmd_s(git describe)]) -- - m4_define([msc_version_info], - [msc_version_c_plus_a:msc_version_patchlevel:msc_version_minor]) - -@@ -73,11 +69,6 @@ AC_MSG_ERROR([\ - - ]) - fi --# Libinjection version --AC_DEFUN([LIBINJECTION_VERSION], m4_esyscmd_s(cd "others/libinjection" && git describe && cd ../..)) -- --# SecLang test version --AC_DEFUN([SECLANG_TEST_VERSION], m4_esyscmd_s(cd "test/test-cases/secrules-language-tests" && git log -1 --format="%h" --abbrev-commit && cd ../../..)) - - - # Check for yajl -@@ -224,10 +215,6 @@ AC_SUBST([MSC_VERSION_WITH_PATCHLEVEL]) - MSC_VERSION=msc_version - AC_SUBST([MSC_VERSION]) - --MSC_GIT_VERSION=msc_version_git --AC_SUBST([MSC_GIT_VERSION]) -- -- - AC_ARG_ENABLE(debug-logs, - [AS_HELP_STRING([--disable-debug-logs],[Turn off the SecDebugLog feature])], - -@@ -419,16 +406,6 @@ AC_OUTPUT - - - # Print a fancy summary --echo " " --echo " " --echo "ModSecurity - ${MSC_GIT_VERSION} for $PLATFORM" --echo " " --echo " Mandatory dependencies" --AS_ECHO_N(" + libInjection ....") --echo LIBINJECTION_VERSION --AS_ECHO_N(" + SecLang tests ....") --echo SECLANG_TEST_VERSION -- - echo " " - echo " Optional dependencies" - --- -2.39.2 -
package/libmodsecurity/0001-modsecurity.pc.in-add-lstdc.patch renamed from package/libmodsecurity/0002-modsecurity.pc.in-add-lstdc.patch +0 -0
package/libmodsecurity/libmodsecurity.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://github.com/owasp-modsecurity/ModSecurity/releases/download/v3.0.12/modsecurity-v3.0.12.tar.gz.sha256 -sha256 a36118401641feef376bb469bf468abf94b7948844976a188a6fccb53390b11f modsecurity-v3.0.12.tar.gz +# From https://github.com/owasp-modsecurity/ModSecurity/releases/download/v3.0.13/modsecurity-v3.0.13.tar.gz.sha256 +sha256 86b4881164a161b822a49df3501e83b254323206906134bdc34a6f3338f4d3f2 modsecurity-v3.0.13.tar.gz # Locally calculated sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
package/libmodsecurity/libmodsecurity.mk +1 -3
@@ -4,7 +4,7 @@ # ################################################################################ -LIBMODSECURITY_VERSION = 3.0.12 +LIBMODSECURITY_VERSION = 3.0.13 LIBMODSECURITY_SOURCE = modsecurity-v$(LIBMODSECURITY_VERSION).tar.gz LIBMODSECURITY_SITE = https://github.com/owasp-modsecurity/ModSecurity/releases/download/v$(LIBMODSECURITY_VERSION) LIBMODSECURITY_INSTALL_STAGING = YES
@@ -12,8 +12,6 @@ LIBMODSECURITY_LICENSE = Apache-2.0 LIBMODSECURITY_LICENSE_FILES = LICENSE LIBMODSECURITY_CPE_ID_VENDOR = trustwave LIBMODSECURITY_CPE_ID_PRODUCT = modsecurity -# We're patching configure.ac -LIBMODSECURITY_AUTORECONF = YES LIBMODSECURITY_DEPENDENCIES = pcre2 LIBMODSECURITY_CONF_OPTS = \
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Julien Olivain
AppliedQuoted 8 lines · Frank Vanbever via buildroot
- Drop 0001-configure.ac-drop-usage-of-git-at-configure-time.patch The package originally had to be reconfigured to patch in uclinux support. The fix has been merged upstream [1]. We no longer need to reconfigure the package so we can drop this patch.
[1] https://github.com/owasp-modsecurity/ModSecurity/pull/2235
Signed-off-by Frank Vanbever <[email protected]>
Applied to master, thanks. For info, I added a link to the release note and fixed a check-package error. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/0748e761e2962e085ecc266bd79bb7991ff71462
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 8 lines · Frank Vanbever via buildroot
- Drop 0001-configure.ac-drop-usage-of-git-at-configure-time.patch The package originally had to be reconfigured to patch in uclinux support. The fix has been merged upstream [1]. We no longer need to reconfigure the package so we can drop this patch.
[1] https://github.com/owasp-modsecurity/ModSecurity/pull/2235
Signed-off-by Frank Vanbever <[email protected]>
Applied to 2024.02.x and 2024.11.x, thanks.
Regards,
Arnout
Quoted 125 lines
--- ...-drop-usage-of-git-at-configure-time.patch | 80 ------------------- ...=> 0001-modsecurity.pc.in-add-lstdc.patch} | 0 package/libmodsecurity/libmodsecurity.hash | 4 +- package/libmodsecurity/libmodsecurity.mk | 4 +- 4 files changed, 3 insertions(+), 85 deletions(-)delete mode 100644
package/libmodsecurity/0001-configure.ac-drop-usage-of-git-at-configure-time.patchrenamepackage/libmodsecurity/{0002-modsecurity.pc.in-add-lstdc.patch=> 0001-modsecurity.pc.in-add-lstdc.patch} (100%)package/libmodsecurity/0001-configure.ac-drop-usage-of-git-at-configure-time.patch deleted +0
-80@@ -1,80 +0,0 @@ -From d242b011a8f0d84781bbf7667a44a12646903ca4 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Sun, 1 Aug 2021 23:21:35 +0200 -Subject: [PATCH] configure.ac: drop usage of git at configure time - -The usage of git is only to print some messages at configure time, -which is not very useful, and causes a significant number of warning -when regenerating the configure script. - -Signed-off-by: Thomas Petazzoni <[email protected]> -Signed-off-by: Frank Vanbever <[email protected]> ---- - configure.ac | 23 ----------------------- - 1 file changed, 23 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 66d6f4f2..746b1fb4 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3,7 +3,6 @@ - - # Get the hash of the last commit, to be used if it is not an - # official release. --AC_DEFUN([MSC_GIT_HASH], m4_esyscmd_s(git log -1 --format="%h" --abbrev-commit)) - AC_DEFUN([MSC_MAJOR], m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MAJOR " | awk {'print $3'} | sed 's/\"//g')) - AC_DEFUN([MSC_MINOR], m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MINOR " | awk {'print $3'} | sed 's/\"//g')) - AC_DEFUN([MSC_PATCHLEVEL], m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_PATCHLEVEL " | awk {'print $3'} | sed 's/\"//g')) -@@ -25,9 +24,6 @@ m4_define([msc_version], - m4_define([msc_version_with_patchlevel], - [msc_version_major.msc_version_minor.msc_version_patchlevel]) - --m4_define([msc_version_git], -- [m4_esyscmd_s(git describe)]) -- - m4_define([msc_version_info], - [msc_version_c_plus_a:msc_version_patchlevel:msc_version_minor]) - -@@ -73,11 +69,6 @@ AC_MSG_ERROR([\ - - ]) - fi --# Libinjection version --AC_DEFUN([LIBINJECTION_VERSION], m4_esyscmd_s(cd "others/libinjection" && git describe && cd ../..)) -- --# SecLang test version --AC_DEFUN([SECLANG_TEST_VERSION], m4_esyscmd_s(cd "test/test-cases/secrules-language-tests" && git log -1 --format="%h" --abbrev-commit && cd ../../..)) - - - # Check for yajl -@@ -224,10 +215,6 @@ AC_SUBST([MSC_VERSION_WITH_PATCHLEVEL]) - MSC_VERSION=msc_version - AC_SUBST([MSC_VERSION]) - --MSC_GIT_VERSION=msc_version_git --AC_SUBST([MSC_GIT_VERSION]) -- -- - AC_ARG_ENABLE(debug-logs, - [AS_HELP_STRING([--disable-debug-logs],[Turn off the SecDebugLog feature])], - -@@ -419,16 +406,6 @@ AC_OUTPUT - - - # Print a fancy summary --echo " " --echo " " --echo "ModSecurity - ${MSC_GIT_VERSION} for $PLATFORM" --echo " " --echo " Mandatory dependencies" --AS_ECHO_N(" + libInjection ....") --echo LIBINJECTION_VERSION --AS_ECHO_N(" + SecLang tests ....") --echo SECLANG_TEST_VERSION -- - echo " " - echo " Optional dependencies" - --- -2.39.2 -package/libmodsecurity/0001-modsecurity.pc.in-add-lstdc.patch renamed from package/libmodsecurity/0002-modsecurity.pc.in-add-lstdc.patch +0
-0package/libmodsecurity/libmodsecurity.hash +2
-2@@ -1,5 +1,5 @@ -# From https://github.com/owasp-modsecurity/ModSecurity/releases/download/v3.0.12/modsecurity-v3.0.12.tar.gz.sha256 -sha256 a36118401641feef376bb469bf468abf94b7948844976a188a6fccb53390b11f modsecurity-v3.0.12.tar.gz +# From https://github.com/owasp-modsecurity/ModSecurity/releases/download/v3.0.13/modsecurity-v3.0.13.tar.gz.sha256 +sha256 86b4881164a161b822a49df3501e83b254323206906134bdc34a6f3338f4d3f2 modsecurity-v3.0.13.tar.gz # Locally calculated sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSEpackage/libmodsecurity/libmodsecurity.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -LIBMODSECURITY_VERSION = 3.0.12 +LIBMODSECURITY_VERSION = 3.0.13 LIBMODSECURITY_SOURCE = modsecurity-v$(LIBMODSECURITY_VERSION).tar.gz LIBMODSECURITY_SITE = https://github.com/owasp-modsecurity/ModSecurity/releases/download/v$(LIBMODSECURITY_VERSION) LIBMODSECURITY_INSTALL_STAGING = YES
package/libmodsecurity/libmodsecurity.mk LIBMODSECURITY_LICENSE = Apache-2.0 · line 17
Quoted 8 lines
package/libmodsecurity/libmodsecurity.mk +0
-2@@ -12,8 +12,6 @@ LIBMODSECURITY_LICENSE = Apache-2.0 LIBMODSECURITY_LICENSE_FILES = LICENSE LIBMODSECURITY_CPE_ID_VENDOR = trustwave LIBMODSECURITY_CPE_ID_PRODUCT = modsecurity -# We're patching configure.ac -LIBMODSECURITY_AUTORECONF = YES LIBMODSECURITY_DEPENDENCIES = pcre2 LIBMODSECURITY_CONF_OPTS = \
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot