File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
.github/scripts/deb/ubuntu Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ cd $GITHUB_WORKSPACE/nginx_mods && tar xf zlib.tar.gz; rm -Rf zlib.tar.gz; mv zl
5555# ====================================================================================
5656# SYSTEM_MODSECURITY
5757git clone --depth 1 -b v3/master --single-branch https://github.com/SpiderLabs/ModSecurity.git
58- cd ModSecurity; git submodule init; git submodule update; ./build.sh; ./configure > /dev/null 2>&1 ; make -j$CORES > /dev/null 2>&1 ; make install > /dev/null 2>&1
58+ cd ModSecurity; git submodule init; git submodule update; ./build.sh > /dev/null 2>&1 ; ./configure > /dev/null 2>&1 ; make -j$CORES > /dev/null 2>&1 ; make install > /dev/null 2>&1
5959# ====================================================================================
6060# SYSTEM_PCRE
6161cd $GITHUB_WORKSPACE /nginx_mods && wget https://github.com/PCRE2Project/pcre2/archive/refs/tags/pcre2-${SYSTEM_PCRE} .tar.gz > /dev/null 2>&1
@@ -157,6 +157,12 @@ cp /usr/sbin/raweb-webserver "$DEB_ROOT/raweb/apps/webserver/"
157157cp /raweb/apps/webserver/raweb.conf " $DEB_ROOT /raweb/apps/webserver/"
158158chmod +x " $DEB_ROOT /raweb/apps/webserver/raweb-webserver"
159159
160+ # Ensure required shared libraries are included
161+ mkdir -p " $DEB_ROOT /usr/lib/"
162+ for lib in $( ldd /usr/sbin/raweb-webserver | grep " => /" | awk ' {print $3}' ) ; do
163+ cp " $lib " " $DEB_ROOT /usr/lib/"
164+ done
165+
160166cat > " $DEB_ROOT /etc/systemd/system/raweb-webserver.service" << EOF
161167[Unit]
162168Description=Raweb Webserver
You can’t perform that action at this time.
0 commit comments