lighttpd: use pcre library

Needed for pattern matching in the configuration file.

Issue genodelabs/genodians.org#37.
This commit is contained in:
Josef Söntgen 2025-02-05 12:38:03 +01:00 committed by Christian Helmuth
parent f0b1c77617
commit f081306eeb
12 changed files with 12 additions and 1 deletions

View File

@ -29,6 +29,7 @@ import_from_depot [depot_user]/src/libc \
[depot_user]/src/libssh \
[depot_user]/src/lighttpd \
[depot_user]/src/openssl \
[depot_user]/src/pcre \
[depot_user]/src/posix \
[depot_user]/src/vfs \
[depot_user]/src/vfs_lwip \

View File

@ -29,6 +29,7 @@ import_from_depot [depot_user]/src/[base_src] \
[depot_user]/src/libssh \
[depot_user]/src/lighttpd \
[depot_user]/src/openssl \
[depot_user]/src/pcre \
[depot_user]/src/posix \
[depot_user]/src/vfs \
[depot_user]/src/vfs_lwip \

View File

@ -25,6 +25,7 @@ import_from_depot [depot_user]/src/libc \
[depot_user]/src/libssh \
[depot_user]/src/lighttpd \
[depot_user]/src/openssl \
[depot_user]/src/pcre \
[depot_user]/src/posix \
[depot_user]/src/vfs \
[depot_user]/src/vfs_lwip \

View File

@ -73,6 +73,7 @@ lappend depot_archives [depot_user]/src/openssl
lappend depot_archives [depot_user]/src/lighttpd
lappend depot_archives [depot_user]/src/nic_router
lappend depot_archives [depot_user]/src/openssl
lappend depot_archives [depot_user]/src/pcre
lappend depot_archives [depot_user]/src/posix
lappend depot_archives [depot_user]/src/report_rom
lappend depot_archives [depot_user]/src/[rtc_binary_name]

View File

@ -1,6 +1,7 @@
_/src/libc
_/src/lighttpd
_/src/openssl
_/src/pcre
_/src/posix
_/src/vfs
_/src/vfs_jitterentropy

View File

@ -50,6 +50,7 @@ dir-listing.activate = "enable"
<rom label="libm.lib.so"/>
<rom label="libssl.lib.so"/>
<rom label="lighttpd"/>
<rom label="pcre.lib.so"/>
<rom label="posix.lib.so"/>
<rom label="vfs.lib.so"/>
<rom label="vfs_jitterentropy.lib.so"/>

View File

@ -1,4 +1,5 @@
libc
pcre
posix
openssl
zlib

View File

@ -18,6 +18,7 @@ import_from_depot [depot_user]/src/[base_src] \
[depot_user]/src/libssh \
[depot_user]/src/lighttpd \
[depot_user]/src/openssl \
[depot_user]/src/pcre \
[depot_user]/src/posix \
[depot_user]/src/vfs \
[depot_user]/src/vfs_lwip \

View File

@ -28,6 +28,7 @@ import_from_depot [depot_user]/src/[base_src] \
[depot_user]/src/libssh \
[depot_user]/src/lighttpd \
[depot_user]/src/openssl \
[depot_user]/src/pcre \
[depot_user]/src/posix \
[depot_user]/src/vfs \
[depot_user]/src/vfs_jitterentropy \

View File

@ -25,6 +25,7 @@ import_from_depot [depot_user]/src/[base_src] \
[depot_user]/src/fetchurl \
[depot_user]/src/curl \
[depot_user]/src/openssl \
[depot_user]/src/pcre \
[depot_user]/src/posix \
[depot_user]/src/vfs \
[depot_user]/src/vfs_[ip_stack] \

View File

@ -58,6 +58,7 @@ CC_OPT += -DHAVE_SYS_WAIT_H -DHAVE_SYS_UN_H -DHAVE_MMAP -DHAVE_SYS_MMAN_H -DHAVE
CC_OPT += -DHAVE_WRITEV -DUSE_WRITEV
CC_OPT += -DHAVE_TIMEGM -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H
CC_OPT += -DHAVE_LIBSSL -DHAVE_OPENSSL_SSL_H
CC_OPT += -DHAVE_PCRE_H
CC_OPT += -DSBIN_DIR="\"/sbin\""
CC_OPT += -DPACKAGE_NAME="\"lighttpd\""
CC_OPT += -DLIGHTTPD_VERSION_ID='($(LIGHTTPD_MAIN) << 16 | $(LIGHTTPD_MAJOR) << 8 | $(LIGHTTPD_MINOR))'

View File

@ -2,6 +2,6 @@ TARGET = lighttpd
include $(REP_DIR)/src/app/lighttpd/target.inc
LIBS += libc libm
LIBS += libc libm pcre
CC_CXX_WARN_STRICT =