File tree Expand file tree Collapse file tree 6 files changed +66
-2
lines changed Expand file tree Collapse file tree 6 files changed +66
-2
lines changed Original file line number Diff line number Diff line change 107107 " ldap" ,
108108 " krb5" ,
109109 " idn2" ,
110- " psl"
110+ " psl" ,
111+ " gsasl"
111112 ],
112113 "lib-suggests-macos" : [
113114 " libssh2" ,
904905 " idn2"
905906 ]
906907 },
908+ "gsasl" : {
909+ "source" : " gsasl" ,
910+ "pkg-configs" : [
911+ " libgsasl"
912+ ],
913+ "headers" : [
914+ " gsasl.h"
915+ ],
916+ "lib-depends" : [
917+ " idn2"
918+ ],
919+ "lib-suggests" : [
920+ " krb5"
921+ ]
922+ },
907923 "pthreads4w" : {
908924 "source" : " pthreads4w" ,
909925 "static-libs-windows" : [
Original file line number Diff line number Diff line change 12001200 "path" : " LICENSE"
12011201 }
12021202 },
1203+ "gsasl" : {
1204+ "type" : " filelist" ,
1205+ "url" : " https://ftp.gnu.org/gnu/gsasl/" ,
1206+ "regex" : " /href=\\\" (?<file>gsasl-(?<version>[^\\\" ]+)\\ .tar\\ .gz)\\\" /" ,
1207+ "prefer-stable" : true ,
1208+ "license" : {
1209+ "type" : " file" ,
1210+ "path" : " COPYING.LESSER"
1211+ }
1212+ },
12031213 "yaml" : {
12041214 "type" : " git" ,
12051215 "path" : " php-src/ext/yaml" ,
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace SPC \builder \linux \library ;
6+
7+ class gsasl extends LinuxLibraryBase
8+ {
9+ use \SPC \builder \unix \library \gsasl;
10+
11+ public const NAME = 'gsasl ' ;
12+ }
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ protected function build(): void
2424 ->optionalLib ('idn2 ' , ...cmake_boolean_args ('USE_LIBIDN2 ' ))
2525 ->optionalLib ('psl ' , ...cmake_boolean_args ('CURL_USE_LIBPSL ' ))
2626 ->optionalLib ('krb5 ' , ...cmake_boolean_args ('CURL_USE_GSSAPI ' ))
27+ ->optionalLib ('gsasl ' , ...cmake_boolean_args ('USE_GSASL ' ))
2728 ->optionalLib ('idn2 ' , ...cmake_boolean_args ('CURL_USE_IDN2 ' ))
2829 ->optionalLib ('libcares ' , '-DENABLE_ARES=ON ' )
2930 ->addConfigureArgs (
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace SPC \builder \unix \library ;
6+
7+ use SPC \util \executor \UnixAutoconfExecutor ;
8+
9+ trait gsasl
10+ {
11+ protected function build (): void
12+ {
13+ UnixAutoconfExecutor::create ($ this )
14+ ->optionalLib ('idn2 ' , ...ac_with_args ('libidn2 ' , true ))
15+ ->optionalLib ('krb5 ' , ...ac_with_args ('gssapi ' , true ))
16+ ->configure (
17+ '--disable-nls ' ,
18+ '--disable-rpath ' ,
19+ '--disable-doc ' ,
20+ )
21+ ->make ();
22+ $ this ->patchPkgconfPrefix (['libgsasl.pc ' ]);
23+ $ this ->patchLaDependencyPrefix ();
24+ }
25+ }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ protected function build(): void
2222 'LDFLAGS ' => '-Wl,--allow-multiple-definition ' ,
2323 ])
2424 ->optionalLib ('ldap ' , '--with-ldap ' , '--without-ldap ' )
25- ->optionalLib ('libedit ' , '--with-readline ' , '--without-readline ' )
25+ ->optionalLib ('libedit ' , '--with-libedit ' , '--without-libedit ' )
2626 ->configure (
2727 '--disable-nls ' ,
2828 '--disable-rpath ' ,
You can’t perform that action at this time.
0 commit comments