Skip to content

Commit 19e11ca

Browse files
committed
Add ldap,libcares,libsodium,libunistring, lint all configs
1 parent 6ee8dc7 commit 19e11ca

File tree

14 files changed

+182
-26
lines changed

14 files changed

+182
-26
lines changed

config/pkg/lib/ldap.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
ldap:
2+
type: library
3+
artifact:
4+
source:
5+
type: filelist
6+
url: 'https://www.openldap.org/software/download/OpenLDAP/openldap-release/'
7+
regex: '/href="(?<file>openldap-(?<version>[^"]+)\.tgz)"/'
8+
metadata:
9+
license-files: [LICENSE]
10+
depends:
11+
- openssl
12+
- zlib
13+
- gmp
14+
- libsodium
15+
pkg-configs:
16+
- ldap
17+
- lber

config/pkg/lib/libcares.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ libcares:
1717
- ares.h
1818
- ares_dns.h
1919
- ares_nameser.h
20-
static-libs@unix:
21-
- libcares.a
2220
pkg-configs:
2321
- libcares
22+
static-libs@unix:
23+
- libcares.a

config/pkg/lib/libsodium.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
libsodium:
2+
type: library
3+
artifact:
4+
source:
5+
type: ghrel
6+
repo: jedisct1/libsodium
7+
match: 'libsodium-(?!1\.0\.21)\d+(\.\d+)*\.tar\.gz'
8+
prefer-stable: true
9+
binary: hosted
10+
metadata:
11+
license-files: [LICENSE]
12+
pkg-configs:
13+
- libsodium
14+
static-libs@unix:
15+
- libsodium.a

config/pkg/lib/libssh2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ libssh2:
1616
- libssh2.h
1717
- libssh2_publickey.h
1818
- libssh2_sftp.h
19-
static-libs@unix:
20-
- libssh2.a
2119
pkg-configs:
2220
- libssh2
21+
static-libs@unix:
22+
- libssh2.a

config/pkg/lib/libunistring.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
libunistring:
2+
type: library
3+
artifact:
4+
source:
5+
type: filelist
6+
url: 'https://ftp.gnu.org/gnu/libunistring/'
7+
regex: '/href="(?<file>libunistring-(?<version>[^"]+)\.tar\.gz)"/'
8+
binary: hosted
9+
metadata:
10+
license-files: [COPYING.LIB]
11+
license: LGPL-3.0-or-later
12+
headers:
13+
- unistr.h
14+
- unistring/
15+
static-libs@unix:
16+
- libunistring.a

config/pkg/lib/libxml2.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ libxml2:
44
source:
55
type: ghtagtar
66
repo: GNOME/libxml2
7-
match: 'v2\.\d+\.\d+$'
7+
match: v2\.\d+\.\d+$
88
metadata:
99
license-files: [Copyright]
1010
license: MIT
1111
depends@unix:
1212
- libiconv
13-
suggests@unix:
14-
- xz
15-
- zlib
1613
headers:
1714
- libxml2
1815
pkg-configs:
1916
- libxml-2.0
17+
suggests@unix:
18+
- xz
19+
- zlib

config/pkg/lib/nghttp2.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ nghttp2:
1111
depends:
1212
- zlib
1313
- openssl
14+
headers:
15+
- nghttp2
16+
pkg-configs:
17+
- libnghttp2
18+
static-libs@unix:
19+
- libnghttp2.a
1420
suggests:
1521
- libxml2
1622
- nghttp3
1723
- ngtcp2
1824
- brotli
19-
headers:
20-
- nghttp2
21-
static-libs@unix:
22-
- libnghttp2.a
23-
pkg-configs:
24-
- libnghttp2

config/pkg/lib/nghttp3.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nghttp3:
1313
- openssl
1414
headers:
1515
- nghttp3
16-
static-libs@unix:
17-
- libnghttp3.a
1816
pkg-configs:
1917
- libnghttp3
18+
static-libs@unix:
19+
- libnghttp3.a

config/pkg/lib/ngtcp2.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ ngtcp2:
1111
license: MIT
1212
depends:
1313
- openssl
14-
suggests:
15-
- nghttp3
16-
- brotli
1714
headers:
1815
- ngtcp2
19-
static-libs@unix:
20-
- libngtcp2.a
21-
- libngtcp2_crypto_ossl.a
2216
pkg-configs:
2317
- libngtcp2
2418
- libngtcp2_crypto_ossl
19+
static-libs@unix:
20+
- libngtcp2.a
21+
- libngtcp2_crypto_ossl.a
22+
suggests:
23+
- nghttp3
24+
- brotli

config/pkg/lib/xz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ xz:
1414
- libiconv
1515
headers@unix:
1616
- lzma
17-
static-libs@unix:
18-
- liblzma.a
1917
pkg-configs:
2018
- liblzma
19+
static-libs@unix:
20+
- liblzma.a

0 commit comments

Comments
 (0)