php: Enable LDAP support
This commit is contained in:
parent
69b6a706ac
commit
ee828210af
@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="PHP-3.01"
|
||||
TERMUX_PKG_LICENSE_FILE=LICENSE
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=8.1.0
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_SRCURL=https://github.com/php/php-src/archive/php-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=b5aecb953f8938fb7435709d620cd9946df7cd53459a4abc27ef4e64a1fa7eb9
|
||||
# Build native php for phar to build (see pear-Makefile.frag.patch):
|
||||
@ -29,6 +29,8 @@ ac_cv_func_res_nsearch=no
|
||||
--mandir=$TERMUX_PREFIX/share/man
|
||||
--with-bz2=$TERMUX_PREFIX
|
||||
--with-curl=$TERMUX_PREFIX
|
||||
--with-ldap=shared,$TERMUX_PREFIX
|
||||
--with-ldap-sasl
|
||||
--with-openssl=$TERMUX_PREFIX
|
||||
--with-readline=$TERMUX_PREFIX
|
||||
--with-sodium=shared,$TERMUX_PREFIX
|
||||
|
3
packages/php/php-ldap.subpackage.sh
Normal file
3
packages/php/php-ldap.subpackage.sh
Normal file
@ -0,0 +1,3 @@
|
||||
TERMUX_SUBPKG_INCLUDE="lib/php/ldap.so"
|
||||
TERMUX_SUBPKG_DEPENDS="openldap"
|
||||
TERMUX_SUBPKG_DESCRIPTION="LDAP module for PHP"
|
@ -1,3 +1,3 @@
|
||||
MUX_SUBPKG_INCLUDE="lib/php/sodium.so"
|
||||
TERMUX_SUBPKG_INCLUDE="lib/php/sodium.so"
|
||||
TERMUX_SUBPKG_DEPENDS="libsodium"
|
||||
TERMUX_SUBPKG_DESCRIPTION="Sodium module for PHP"
|
||||
|
Loading…
Reference in New Issue
Block a user