Commit 821cb458 authored by Alain Takoudjou's avatar Alain Takoudjou

component/apache-php: enable libsodium

parent 7865ba89
......@@ -27,6 +27,7 @@ extends =
../gmp/buildout.cfg
../sqlite3/buildout.cfg
../oniguruma/buildout.cfg
../libsodium/buildout.cfg
[php-redis]
recipe = slapos.recipe.cmmi
......@@ -41,8 +42,6 @@ environment =
recipe = slapos.recipe.cmmi
url = https://github.com/Imagick/imagick/archive/refs/tags/3.7.0.tar.gz
md5sum = 4dbe07a2ef15d3c9e4c54d5685bdfbc9
#url = https://github.com/Imagick/imagick/archive/3.4.4.tar.gz
#md5sum = ef6cbadd834eb306bd91874a8f5dea03
configure-command =
phpize && ./configure
configure-options =
......@@ -92,6 +91,7 @@ configure-options =
--with-password-argon2=${argon2:location}
--with-gmp=${gmp:location}
--with-zlib=${zlib:location}
--with-sodium=${libsodium:location}
--with-zip
--enable-apcu-bc
--enable-bcmath
......@@ -111,7 +111,7 @@ configure-options =
# XXX we could mkdir tmp there
environment =
PKG_CONFIG_PATH=${zlib:location}/lib/pkgconfig:${oniguruma:location}/lib/pkgconfig:${icu:location}/lib/pkgconfig:${curl:location}/lib/pkgconfig:${sqlite3:location}/lib/pkgconfig:${libxml2:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig:${libzip:location}/lib/pkgconfig:${libpng:location}/lib/pkgconfig:${libjpeg:location}/lib/pkgconfig:${freetype:location}/lib/pkgconfig:${argon2:location}/lib/x86_64-linux-gnu/pkgconfig
PKG_CONFIG_PATH=${zlib:location}/lib/pkgconfig:${oniguruma:location}/lib/pkgconfig:${icu:location}/lib/pkgconfig:${curl:location}/lib/pkgconfig:${sqlite3:location}/lib/pkgconfig:${libxml2:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig:${libzip:location}/lib/pkgconfig:${libpng:location}/lib/pkgconfig:${libjpeg:location}/lib/pkgconfig:${freetype:location}/lib/pkgconfig:${argon2:location}/lib/x86_64-linux-gnu/pkgconfig:${libsodium:location}/lib/pkgconfig
PATH=${pkgconfig:location}/bin:${bzip2:location}/bin:${libxml2:location}/bin:%(PATH)s
CPPFLAGS=-I${libzip:location}/include
LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath -Wl,${bzip2:location}/lib -Wl,-rpath -Wl,${curl:location}/lib -L${libtool:location}/lib -Wl,-rpath -Wl,${libtool:location}/lib -L${mariadb:location}/lib -Wl,-rpath -Wl,${mariadb:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -L${libzip:location}/lib -Wl,-rpath -Wl,${libzip:location}/lib -L${argon2:location}/lib/x86_64-linux-gnu -Wl,-rpath -Wl,${argon2:location}/lib/x86_64-linux-gnu -Wl,-rpath -Wl,${zstd:location}/lib -L${libnsl:location}/lib -Wl,-rpath -Wl,${libnsl:location}/lib -L${libpng:location}/lib -Wl,-rpath -Wl,${libpng:location}/lib
......@@ -129,6 +129,10 @@ md5sum = 59a644c636c6d98267d0c99b406ae9e8
url = https://www.php.net/distributions/php-8.2.2.tar.bz2
md5sum = 2a45250d2f073aa7698db5c3bc4d6d29
[apache-php8.1]
<= apache-php7
url = https://www.php.net/distributions/php-8.1.18.tar.xz
md5sum = b6a290905d0851cb999a1d9d5e2a24c1
[apache-php]
<= apache-php8
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment