mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
Revert "add gsasl"
This reverts commit a1b8d201aee74cfeb57d7b78fc7440e1c9a89a48.
This commit is contained in:
parent
a1b8d201ae
commit
9382161b6f
@ -107,8 +107,7 @@
|
|||||||
"ldap",
|
"ldap",
|
||||||
"krb5",
|
"krb5",
|
||||||
"idn2",
|
"idn2",
|
||||||
"psl",
|
"psl"
|
||||||
"gsasl"
|
|
||||||
],
|
],
|
||||||
"lib-suggests-macos": [
|
"lib-suggests-macos": [
|
||||||
"libssh2",
|
"libssh2",
|
||||||
@ -905,21 +904,6 @@
|
|||||||
"idn2"
|
"idn2"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"gsasl": {
|
|
||||||
"source": "gsasl",
|
|
||||||
"pkg-configs": [
|
|
||||||
"libgsasl"
|
|
||||||
],
|
|
||||||
"headers": [
|
|
||||||
"gsasl.h"
|
|
||||||
],
|
|
||||||
"lib-depends": [
|
|
||||||
"idn2"
|
|
||||||
],
|
|
||||||
"lib-suggests": [
|
|
||||||
"krb5"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"pthreads4w": {
|
"pthreads4w": {
|
||||||
"source": "pthreads4w",
|
"source": "pthreads4w",
|
||||||
"static-libs-windows": [
|
"static-libs-windows": [
|
||||||
|
|||||||
@ -1200,16 +1200,6 @@
|
|||||||
"path": "LICENSE"
|
"path": "LICENSE"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gsasl": {
|
|
||||||
"type": "filelist",
|
|
||||||
"url": "https://ftp.gnu.org/gnu/gsasl/",
|
|
||||||
"regex": "/href=\\\"(?<file>gsasl-(?<version>[^\\\"]+)\\.tar\\.gz)\\\"/",
|
|
||||||
"prefer-stable": true,
|
|
||||||
"license": {
|
|
||||||
"type": "file",
|
|
||||||
"path": "COPYING.LESSER"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"yaml": {
|
"yaml": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "php-src/ext/yaml",
|
"path": "php-src/ext/yaml",
|
||||||
|
|||||||
@ -1,12 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace SPC\builder\linux\library;
|
|
||||||
|
|
||||||
class gsasl extends LinuxLibraryBase
|
|
||||||
{
|
|
||||||
use \SPC\builder\unix\library\gsasl;
|
|
||||||
|
|
||||||
public const NAME = 'gsasl';
|
|
||||||
}
|
|
||||||
@ -24,7 +24,6 @@ trait curl
|
|||||||
->optionalLib('idn2', ...cmake_boolean_args('USE_LIBIDN2'))
|
->optionalLib('idn2', ...cmake_boolean_args('USE_LIBIDN2'))
|
||||||
->optionalLib('psl', ...cmake_boolean_args('CURL_USE_LIBPSL'))
|
->optionalLib('psl', ...cmake_boolean_args('CURL_USE_LIBPSL'))
|
||||||
->optionalLib('krb5', ...cmake_boolean_args('CURL_USE_GSSAPI'))
|
->optionalLib('krb5', ...cmake_boolean_args('CURL_USE_GSSAPI'))
|
||||||
->optionalLib('gsasl', ...cmake_boolean_args('USE_GSASL'))
|
|
||||||
->optionalLib('idn2', ...cmake_boolean_args('CURL_USE_IDN2'))
|
->optionalLib('idn2', ...cmake_boolean_args('CURL_USE_IDN2'))
|
||||||
->optionalLib('libcares', '-DENABLE_ARES=ON')
|
->optionalLib('libcares', '-DENABLE_ARES=ON')
|
||||||
->addConfigureArgs(
|
->addConfigureArgs(
|
||||||
|
|||||||
@ -1,25 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace SPC\builder\unix\library;
|
|
||||||
|
|
||||||
use SPC\util\executor\UnixAutoconfExecutor;
|
|
||||||
|
|
||||||
trait gsasl
|
|
||||||
{
|
|
||||||
protected function build(): void
|
|
||||||
{
|
|
||||||
UnixAutoconfExecutor::create($this)
|
|
||||||
->optionalLib('idn2', ...ac_with_args('libidn2', true))
|
|
||||||
->optionalLib('krb5', ...ac_with_args('gssapi', true))
|
|
||||||
->configure(
|
|
||||||
'--disable-nls',
|
|
||||||
'--disable-rpath',
|
|
||||||
'--disable-doc',
|
|
||||||
)
|
|
||||||
->make();
|
|
||||||
$this->patchPkgconfPrefix(['libgsasl.pc']);
|
|
||||||
$this->patchLaDependencyPrefix();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -22,7 +22,7 @@ trait krb5
|
|||||||
'LDFLAGS' => '-Wl,--allow-multiple-definition',
|
'LDFLAGS' => '-Wl,--allow-multiple-definition',
|
||||||
])
|
])
|
||||||
->optionalLib('ldap', '--with-ldap', '--without-ldap')
|
->optionalLib('ldap', '--with-ldap', '--without-ldap')
|
||||||
->optionalLib('libedit', '--with-libedit', '--without-libedit')
|
->optionalLib('libedit', '--with-readline', '--without-readline')
|
||||||
->configure(
|
->configure(
|
||||||
'--disable-nls',
|
'--disable-nls',
|
||||||
'--disable-rpath',
|
'--disable-rpath',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user