Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ jobs:
run: |
sudo apt-get update -y -qq
sudo apt-get install -y apache2-dev libxml2-dev liblua5.1-0-dev libcurl4-gnutls-dev libpcre2-dev libpcre3-dev libpcre3 pkg-config libyajl-dev apache2 apache2-bin apache2-data
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: autogen.sh
run: ./autogen.sh
- name: configure ${{ matrix.configure.label }}
Expand Down Expand Up @@ -98,7 +101,10 @@ jobs:
run: |
sudo apt-get update -y -qq
sudo apt-get install -y --no-install-recommends apache2-dev libxml2-dev liblua5.1-0-dev libcurl4-gnutls-dev libpcre2-dev libpcre3-dev libpcre3 pkg-config libyajl-dev apache2 apache2-bin apache2-data
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: autogen.sh
run: ./autogen.sh
- name: configure ${{ matrix.configure.label }}
Expand All @@ -125,7 +131,10 @@ jobs:
run: |
sudo apt-get update -y -qq
sudo apt-get install -y --no-install-recommends apache2-dev libxml2-dev liblua5.1-0-dev libcurl4-gnutls-dev libpcre2-dev libpcre3-dev libpcre3 pkg-config libyajl-dev apache2 apache2-bin apache2-data perl libwww-perl ssdeep libfuzzy-dev libfuzzy2
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: autogen.sh
run: ./autogen.sh
- name: configure ${{ matrix.configure.label }}
Expand Down Expand Up @@ -162,10 +171,11 @@ jobs:
libfuzzy-dev \
ssdeep \
curl \
ca-certificates
ca-certificates \
git
- uses: actions/checkout@v4
with:
submodules: false
submodules: recursive
fetch-depth: 0
- name: configure
run: |
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/test-ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v5

with:
submodules: recursive
fetch-depth: 0
- name: Install Apache for x86
if: matrix.arch == 'x86'
shell: pwsh
Expand Down Expand Up @@ -122,6 +124,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
submodules: recursive
fetch-depth: 0

- name: Download x64 artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -159,6 +164,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
submodules: recursive
fetch-depth: 0

- name: Download MSI files
uses: actions/download-artifact@v4
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "apache2/others/libinjection"]
path = apache2/others/libinjection
url = https://github.com/libinjection/libinjection.git
6 changes: 3 additions & 3 deletions apache2/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ mod_security2_la_SOURCES = acmp.c \
apache2_config.c \
apache2_io.c \
apache2_util.c \
libinjection/libinjection_html5.c \
libinjection/libinjection_sqli.c \
libinjection/libinjection_xss.c \
others/libinjection/src/libinjection_html5.c \
others/libinjection/src/libinjection_sqli.c \
others/libinjection/src/libinjection_xss.c \
mod_security2.c \
modsecurity.c \
msc_status_engine.c \
Expand Down
6 changes: 3 additions & 3 deletions apache2/Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ OBJS = mod_security2.obj apache2_config.obj apache2_io.obj apache2_util.obj \
msc_status_engine.obj \
msc_remote_rules.obj \
msc_json.obj \
libinjection/libinjection_html5.obj \
libinjection/libinjection_sqli.obj \
libinjection/libinjection_xss.obj
others/libinjection/src/libinjection_html5.obj \
others/libinjection/src/libinjection_sqli.obj \
others/libinjection/src/libinjection_xss.obj

all: $(DLL)

Expand Down
37 changes: 0 additions & 37 deletions apache2/libinjection/COPYING.txt

This file was deleted.

65 changes: 0 additions & 65 deletions apache2/libinjection/libinjection.h

This file was deleted.

Loading
Loading