Add ldap,libcares,libsodium,libunistring, lint all configs

This commit is contained in:
crazywhalecc
2026-02-02 16:53:04 +08:00
parent 6ee8dc7994
commit 19e11caa83
14 changed files with 182 additions and 26 deletions

17
config/pkg/lib/ldap.yml Normal file
View File

@@ -0,0 +1,17 @@
ldap:
type: library
artifact:
source:
type: filelist
url: 'https://www.openldap.org/software/download/OpenLDAP/openldap-release/'
regex: '/href="(?<file>openldap-(?<version>[^"]+)\.tgz)"/'
metadata:
license-files: [LICENSE]
depends:
- openssl
- zlib
- gmp
- libsodium
pkg-configs:
- ldap
- lber

View File

@@ -17,7 +17,7 @@ libcares:
- ares.h
- ares_dns.h
- ares_nameser.h
static-libs@unix:
- libcares.a
pkg-configs:
- libcares
static-libs@unix:
- libcares.a

View File

@@ -0,0 +1,15 @@
libsodium:
type: library
artifact:
source:
type: ghrel
repo: jedisct1/libsodium
match: 'libsodium-(?!1\.0\.21)\d+(\.\d+)*\.tar\.gz'
prefer-stable: true
binary: hosted
metadata:
license-files: [LICENSE]
pkg-configs:
- libsodium
static-libs@unix:
- libsodium.a

View File

@@ -16,7 +16,7 @@ libssh2:
- libssh2.h
- libssh2_publickey.h
- libssh2_sftp.h
static-libs@unix:
- libssh2.a
pkg-configs:
- libssh2
static-libs@unix:
- libssh2.a

View File

@@ -0,0 +1,16 @@
libunistring:
type: library
artifact:
source:
type: filelist
url: 'https://ftp.gnu.org/gnu/libunistring/'
regex: '/href="(?<file>libunistring-(?<version>[^"]+)\.tar\.gz)"/'
binary: hosted
metadata:
license-files: [COPYING.LIB]
license: LGPL-3.0-or-later
headers:
- unistr.h
- unistring/
static-libs@unix:
- libunistring.a

View File

@@ -4,16 +4,16 @@ libxml2:
source:
type: ghtagtar
repo: GNOME/libxml2
match: 'v2\.\d+\.\d+$'
match: v2\.\d+\.\d+$
metadata:
license-files: [Copyright]
license: MIT
depends@unix:
- libiconv
suggests@unix:
- xz
- zlib
headers:
- libxml2
pkg-configs:
- libxml-2.0
suggests@unix:
- xz
- zlib

View File

@@ -11,14 +11,14 @@ nghttp2:
depends:
- zlib
- openssl
headers:
- nghttp2
pkg-configs:
- libnghttp2
static-libs@unix:
- libnghttp2.a
suggests:
- libxml2
- nghttp3
- ngtcp2
- brotli
headers:
- nghttp2
static-libs@unix:
- libnghttp2.a
pkg-configs:
- libnghttp2

View File

@@ -13,7 +13,7 @@ nghttp3:
- openssl
headers:
- nghttp3
static-libs@unix:
- libnghttp3.a
pkg-configs:
- libnghttp3
static-libs@unix:
- libnghttp3.a

View File

@@ -11,14 +11,14 @@ ngtcp2:
license: MIT
depends:
- openssl
suggests:
- nghttp3
- brotli
headers:
- ngtcp2
static-libs@unix:
- libngtcp2.a
- libngtcp2_crypto_ossl.a
pkg-configs:
- libngtcp2
- libngtcp2_crypto_ossl
static-libs@unix:
- libngtcp2.a
- libngtcp2_crypto_ossl.a
suggests:
- nghttp3
- brotli

View File

@@ -14,7 +14,7 @@ xz:
- libiconv
headers@unix:
- lzma
static-libs@unix:
- liblzma.a
pkg-configs:
- liblzma
static-libs@unix:
- liblzma.a

View File

@@ -13,7 +13,7 @@ zstd:
- zdict.h
- zstd.h
- zstd_errors.h
static-libs@unix:
- libzstd.a
pkg-configs:
- libzstd
static-libs@unix:
- libzstd.a