parent
b579578985
commit
3529772073
|
@ -449,6 +449,7 @@ Here's the list of all the supported environment variables:
|
||||||
| newrelic | `IPE_NEWRELIC_DAEMON=1` | Install the NewRelic daemon |
|
| newrelic | `IPE_NEWRELIC_DAEMON=1` | Install the NewRelic daemon |
|
||||||
| newrelic | `IPE_NEWRELIC_KEEPLOG=1` | Keep the log files of NewRelic setup (`/tmp/nrinstall-….tar`) |
|
| newrelic | `IPE_NEWRELIC_KEEPLOG=1` | Keep the log files of NewRelic setup (`/tmp/nrinstall-….tar`) |
|
||||||
| newrelic | `NR_INSTALL_KEY` | Your New Relic license key |
|
| newrelic | `NR_INSTALL_KEY` | Your New Relic license key |
|
||||||
|
| swoole | `IPE_SWOOLE_WITHOUT_IOURING=1` | The io_uring kernel functionality is considered unsafe by security experts (see [here](https://security.googleblog.com/2023/06/learnings-from-kctf-vrps-42-linux.html) and [here](https://i.blackhat.com/BH-US-23/Presentations/US-23-Lin-bad_io_uring.pdf)). By default Swoole 6 and later is configured with io_uring support, use this environment variable to skip configuring io_uring |
|
||||||
|
|
||||||
## Special requirements
|
## Special requirements
|
||||||
|
|
||||||
|
|
|
@ -1435,12 +1435,17 @@ buildRequiredPackageLists() {
|
||||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile sqlite-dev zstd-dev"
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile sqlite-dev zstd-dev"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# iouring support in swoole 6 requires liburing 2.5+: available since Alpine 3.19
|
case "${IPE_SWOOLE_WITHOUT_IOURING:-}" in
|
||||||
# but with Alpine 3.19 we have a "invalid use of incomplete type 'const struct statx'" error
|
1 | y* | Y*) ;;
|
||||||
if test $DISTRO_MAJMIN_VERSION -ge 320; then
|
*)
|
||||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent liburing"
|
# iouring support in swoole 6 requires liburing 2.5+: available since Alpine 3.19
|
||||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile liburing-dev"
|
# but with Alpine 3.19 we have a "invalid use of incomplete type 'const struct statx'" error
|
||||||
fi
|
if test $DISTRO_MAJMIN_VERSION -ge 320; then
|
||||||
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent liburing"
|
||||||
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile liburing-dev"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
swoole@debian)
|
swoole@debian)
|
||||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libcurl3-gnutls libpq5"
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libcurl3-gnutls libpq5"
|
||||||
|
@ -4099,21 +4104,31 @@ installRemoteModule() {
|
||||||
# we need sqlite3 >= 3.7.7
|
# we need sqlite3 >= 3.7.7
|
||||||
installRemoteModule_sqlite=no
|
installRemoteModule_sqlite=no
|
||||||
fi
|
fi
|
||||||
# iouring support in swoole 6 requires liburing 2.5+: available since Alpine 3.19
|
case "${IPE_SWOOLE_WITHOUT_IOURING:-}" in
|
||||||
# but with Alpine 3.19 we have a "invalid use of incomplete type 'const struct statx'" error
|
1 | y* | Y*) ;;
|
||||||
if test $DISTRO_MAJMIN_VERSION -ge 320; then
|
*)
|
||||||
installRemoteModule_iouring=yes
|
# iouring support in swoole 6 requires liburing 2.5+: available since Alpine 3.19
|
||||||
fi
|
# but with Alpine 3.19 we have a "invalid use of incomplete type 'const struct statx'" error
|
||||||
|
if test $DISTRO_MAJMIN_VERSION -ge 320; then
|
||||||
|
installRemoteModule_iouring=yes
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
debian)
|
debian)
|
||||||
if test $DISTRO_MAJMIN_VERSION -lt 1200; then
|
if test $DISTRO_MAJMIN_VERSION -lt 1200; then
|
||||||
# we need sqlite3 >= 3.7.7
|
# we need sqlite3 >= 3.7.7
|
||||||
installRemoteModule_sqlite=no
|
installRemoteModule_sqlite=no
|
||||||
fi
|
fi
|
||||||
if test $DISTRO_VERSION_NUMBER -ge 13; then
|
case "${IPE_SWOOLE_WITHOUT_IOURING:-}" in
|
||||||
# iouring support in swoole 6 requires liburing 2.5+: available since Debian Trixie (13)
|
1 | y* | Y*) ;;
|
||||||
installRemoteModule_iouring=yes
|
*)
|
||||||
fi
|
if test $DISTRO_VERSION_NUMBER -ge 13; then
|
||||||
|
# iouring support in swoole 6 requires liburing 2.5+: available since Debian Trixie (13)
|
||||||
|
installRemoteModule_iouring=yes
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
installRemoteModule_zstd=yes
|
installRemoteModule_zstd=yes
|
||||||
|
|
Loading…
Reference in New Issue