Revert "add gsasl"

This reverts commit a1b8d201aee74cfeb57d7b78fc7440e1c9a89a48.
This commit is contained in:
Marc Henderkes 2025-11-18 17:49:10 +01:00
parent a1b8d201ae
commit 9382161b6f
6 changed files with 2 additions and 66 deletions

View File

@ -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": [

View File

@ -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",

View File

@ -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';
}

View File

@ -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(

View File

@ -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();
}
}

View File

@ -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',