Add krb5 and lint configs

This commit is contained in:
crazywhalecc
2026-02-03 10:59:56 +08:00
parent 09ddd2fdd8
commit c536fedff7
7 changed files with 101 additions and 15 deletions

View File

@@ -8,12 +8,12 @@ gettext:
metadata:
license-files: [gettext-runtime/intl/COPYING.LIB]
license: LGPL-2.1-or-later
static-libs@unix:
- libintl.a
depends:
- libiconv
frameworks:
- CoreFoundation
static-libs@unix:
- libintl.a
suggests:
- ncurses
- libxml2
frameworks:
- CoreFoundation

View File

@@ -6,16 +6,16 @@ idn2:
url: 'https://ftp.gnu.org/gnu/libidn/'
regex: '/href="(?<file>libidn2-(?<version>[^"]+)\.tar\.gz)"/'
metadata:
license-files: ['COPYING.LESSERv3']
license-files: [COPYING.LESSERv3]
license: LGPL-3.0-or-later
pkg-configs:
- libidn2
depends@macos:
- libiconv
- gettext
headers:
- idn2.h
pkg-configs:
- libidn2
suggests@unix:
- libiconv
- gettext
- libunistring
depends@macos:
- libiconv
- gettext

23
config/pkg/lib/krb5.yml Normal file
View File

@@ -0,0 +1,23 @@
krb5:
type: library
artifact:
source:
type: ghtagtar
repo: krb5/krb5
match: krb5.+-final
metadata:
license-files: [NOTICE]
license: BSD-3-Clause
source-root: src
depends:
- openssl
frameworks:
- Kerberos
headers:
- krb5.h
- gssapi/gssapi.h
pkg-configs:
- krb5-gssapi
suggests:
- ldap
- libedit

View File

@@ -7,9 +7,9 @@ libedit:
regex: '/href="(?<file>libedit-(?<version>[^"]+)\.tar\.gz)"/'
binary: hosted
metadata:
license-files: ['COPYING']
license-files: [COPYING]
license: BSD-3-Clause
static-libs@unix:
- libedit.a
depends:
- ncurses
static-libs@unix:
- libedit.a

View File

@@ -7,6 +7,6 @@ ncurses:
regex: '/href="(?<file>ncurses-(?<version>[^"]+)\.tar\.gz)"/'
binary: hosted
metadata:
license-files: ['COPYING']
license-files: [COPYING]
static-libs@unix:
- libncurses.a

View File

@@ -7,7 +7,7 @@ zlib:
match: zlib.+\.tar\.gz
binary: hosted
metadata:
license-files: ['{registry_root}/src/globals/licenses/zlib.txt']
license-files: ['@/zlib.txt']
license: Zlib-Custom
headers:
- zlib.h