Merge pull request #3437 from airween/v3/removenonposixvars

fix: eliminate non-posix standard variables
This commit is contained in:
Ervin Hegedus 2025-08-29 10:37:59 +03:00 committed by GitHub
commit 52c1d48085
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 24 additions and 18 deletions

1
.gitignore vendored
View File

@ -32,6 +32,7 @@ src/location.hh
src/position.hh
src/stack.hh
src/stamp-h1
src/headers.mk
/test/rules_optimization
/test/regression_tests
/test/unit_tests

View File

@ -2,6 +2,28 @@
rm -rf autom4te.cache
rm -f aclocal.m4
cd src
rm -f headers.mk
echo "noinst_HEADERS = \\" > headers.mk
ls -1 \
actions/*.h \
actions/ctl/*.h \
actions/data/*.h \
actions/disruptive/*.h \
actions/transformations/*.h \
debug_log/*.h \
audit_log/writer/*.h \
collection/backend/*.h \
operators/*.h \
parser/*.h \
request_body_processor/*.h \
utils/*.h \
variables/*.h \
engine/*.h \
*.h | tr "\012" " " >> headers.mk
cd ../
case `uname` in Darwin*) glibtoolize --force --copy ;;
*) libtoolize --force --copy ;; esac
autoreconf --install

View File

@ -66,24 +66,7 @@ libmodsecurity_includesub_collection_HEADERS = \
libmodsecurity_includesub_actions_HEADERS = \
../headers/modsecurity/actions/action.h
noinst_HEADERS = \
$(wildcard actions/*.h) \
$(wildcard actions/ctl/*.h) \
$(wildcard actions/data/*.h) \
$(wildcard actions/disruptive/*.h) \
$(wildcard actions/transformations/*.h) \
$(wildcard debug_log/*.h) \
$(wildcard audit_log/writer/*.h) \
$(wildcard collection/backend/*.h) \
$(wildcard operators/*.h) \
$(wildcard parser/*.h) \
$(wildcard request_body_processor/*.h) \
$(wildcard utils/*.h) \
$(wildcard variables/*.h) \
$(wildcard engine/*.h) \
$(wildcard *.h)
include headers.mk
ENGINES = \
engine/lua.cc