add ext-ldap (openldap) support

This commit is contained in:
DubbleClick
2023-09-18 13:43:58 +02:00
committed by Jerry Ma
parent e3a4cd6e1d
commit 059c32e59c
10 changed files with 101 additions and 9 deletions

View File

@@ -153,9 +153,15 @@
},
"ldap": {
"type": "builtin",
"arg-type": "with",
"arg-type": "with-prefix",
"lib-depends": [
"ldap"
],
"lib-suggests": [
"openssl"
],
"ext-suggests": [
"openssl"
]
},
"mbregex": {

View File

@@ -139,6 +139,13 @@
"libxml2"
]
},
"ldap": {
"source": "ldap",
"static-libs-unix": [
"liblber.a",
"libldap.a"
]
},
"libavif": {
"source": "libavif",
"static-libs-unix": [

View File

@@ -42,6 +42,16 @@
"path": "COPYING"
}
},
"ldap": {
"type": "filelist",
"url": "https://www.openldap.org/software/download/OpenLDAP/openldap-release/",
"regex": "/href=\"(?<file>openldap-(?<version>[^\"]+)\\.tgz)\"/",
"path": "php-src/ext/ldap",
"license": {
"type": "file",
"path": "LICENSE"
}
},
"ext-event": {
"type": "url",
"url": "https://bitbucket.org/osmanov/pecl-event/get/3.0.8.tar.gz",