-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathmeta.yaml
206 lines (184 loc) · 12.6 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
{% set version = "2.28" %}
{% set kernel_headers_version = "4.18.0" %}
{% set build_number = "2" %}
{% set rpm_url = "https://repo.almalinux.org/vault/8.7/BaseOS/" ~ centos_machine ~ "/os/Packages" %}
{% set appstream_rpm_url = "https://repo.almalinux.org/vault/8.7/AppStream/" ~ centos_machine ~ "/os/Packages" %}
{% set powertools_rpm_url = "https://repo.almalinux.org/vault/8.7/PowerTools/" ~ centos_machine ~ "/os/Packages" %}
package:
name: linux-sysroot
version: {{ version }}
source:
- folder: binary
url: {{ rpm_url }}/glibc-2.28-211.el8.{{ centos_machine }}.rpm
sha256: a82cc18a623f63f5e3370188543930fbc44cbb668407c3fe2b89fbb717e07279 # [cross_target_platform == "linux-64"]
sha256: 03d09c7c70e78aad0f9d02a1284383635b41f9d7332d1ea1659f1beee9e6b9fc # [cross_target_platform == "linux-aarch64"]
sha256: b31850cbfb942cff564d9c9fac45421f84ce41d69c4dead217a88d55c3171135 # [cross_target_platform == "linux-ppc64le"]
sha256: 54532f82ac9fdce0065305e50c5aafb2a2d6c03cf40e4da883b34a92436bdc18 # [cross_target_platform == "linux-s390x"]
- folder: binary-glibc-common
url: {{ rpm_url }}/glibc-common-2.28-211.el8.{{ centos_machine }}.rpm
sha256: 56df0fb69b892e18b7287b336460218b938b2016cb8081ad2b0713c18338133f # [cross_target_platform == "linux-64"]
sha256: ea4e957ec425a39ed47aca3df3412f1a8166d134ce1a1db0cc4c8a3392ab6d88 # [cross_target_platform == "linux-aarch64"]
sha256: 9b6cc06c9d8ea9690cb3da4d1743b4e1ac1c692d5caba546c7cf564b4b61cd28 # [cross_target_platform == "linux-ppc64le"]
sha256: e6f3c4ed92cabaf9de9facc7b36e428a09b0063f7189ee2b4439b3bb559ce932 # [cross_target_platform == "linux-s390x"]
- folder: binary-glibc-devel
url: {{ rpm_url }}/glibc-devel-2.28-211.el8.{{ centos_machine }}.rpm
sha256: 378f7e422b1ffbaa176cd1af35f062ff567d4ddb081b572e974964c13601ade8 # [cross_target_platform == "linux-64"]
sha256: c49822fa0a2243abe12a4be20d53e58bfca91e6345c90bb0fd42a0714bef2d12 # [cross_target_platform == "linux-aarch64"]
sha256: fd6fa78e04cbe131e8ca30ebd1803d6ec2aa07f6454faf41cbf6b104558f3b50 # [cross_target_platform == "linux-ppc64le"]
sha256: 0d1104ace521a30b1f3a31c84705945a0f39dd014dce183273b967b98203adad # [cross_target_platform == "linux-s390x"]
- folder: binary-glibc-headers
url: {{ rpm_url }}/glibc-headers-2.28-211.el8.{{ centos_machine }}.rpm
sha256: 306ecebfd6b1c9d0ccdab28dc79aa2339564bc60d4546920abdb60a3439ae40a # [cross_target_platform == "linux-64"]
sha256: a8f54231c416e9e688427e7af2bf00b22e619630e679ade9af8b2386451b0eed # [cross_target_platform == "linux-aarch64"]
sha256: d3b1557a21f4f6a4741f2d2b106166226f6a4a2bf526f015c7fe9cf54ad7c215 # [cross_target_platform == "linux-ppc64le"]
sha256: 2a7bd23caa5512491f91d1e4c766945418061c7ce6d7de3feee305c4b76fc900 # [cross_target_platform == "linux-s390x"]
- folder: binary-glibc-static
url: {{ powertools_rpm_url }}/glibc-static-2.28-211.el8.{{ centos_machine }}.rpm
sha256: e177a98714c4415004ad08c4ea68d82e3f83d75dfa007a528abb6ba81287feb1 # [cross_target_platform == "linux-64"]
sha256: 6b1f2a2eaf4679c698c10916a2cd6c644b63549a8ed323ec80fed90aa7bf87cc # [cross_target_platform == "linux-aarch64"]
sha256: 87fe6b94ee4db575d7b6f87fdc2ebfd79c59c934f6052b94d4f01fcd6789c93a # [cross_target_platform == "linux-ppc64le"]
sha256: 6f39800511a7fc9bac6d44f0f44a7bc16e32b5f82981993a57c31083e70de126 # [cross_target_platform == "linux-s390x"]
- folder: binary-kernel-headers
url: {{ rpm_url }}/kernel-headers-{{ kernel_headers_version }}-425.3.1.el8.{{ centos_machine }}.rpm
sha256: f62a0e79aed452e2769dfef2af6b12cd7a139c6c3f7a6070f50a1491e71bdb4a # [cross_target_platform == "linux-64"]
sha256: efe0891438cee72f41782c6f16e30054d5cc012112de7d760e1893e9fed599d9 # [cross_target_platform == "linux-aarch64"]
sha256: 56173d98602390d0734f6af6b4dc96bbd8f83c512f8dfd7dffdc5a264bba9522 # [cross_target_platform == "linux-ppc64le"]
sha256: bf9434718af1dd54dd21774263e6b6a1cf9452f1a4a294b6dd2fa126f72ab568 # [cross_target_platform == "linux-s390x"]
- folder: binary-freebl
url: {{ appstream_rpm_url }}/nss-softokn-freebl-3.79.0-11.el8_7.{{ centos_machine }}.rpm
sha256: a85fddc98b0384289a53aced70e318dfd9d146c731fffa965cf624381b1e3165 # [cross_target_platform == "linux-64"]
sha256: 93e8648ee10a28ca8e553ae220cc55215a400ed958d7ba22f8f84acbcb058a22 # [cross_target_platform == "linux-aarch64"]
sha256: 890ce026fdab076710e1c0ffc6ee808a4c41b75f336529990ead3fa05b5712f3 # [cross_target_platform == "linux-ppc64le"]
sha256: c20ecc30eb7f4b2114bc703186608eb4066c0e27487ef98d67214b80c9674fb6 # [cross_target_platform == "linux-s390x"]
- folder: binary-tzdata
url: https://repo.almalinux.org/vault/8.7/BaseOS/x86_64/os/Packages/tzdata-2023c-1.el8.noarch.rpm
sha256: b33647f0a02d09d96fadf9c18ad421931061aaf608e0e7a86e702c9b3f4e3111
- folder: binary-glibc-langpacks
url: {{ rpm_url }}/glibc-all-langpacks-2.28-211.el8.{{ centos_machine }}.rpm
sha256: c9b9f8b070c8727770848823f88125370e11d3bc97e2d71ee86e46d65b764a5c # [cross_target_platform == "linux-64"]
sha256: 3f96fd3218c8282dc834e5efc48acd2757f447103d44fbbf4363649e0b6fe1db # [cross_target_platform == "linux-aarch64"]
sha256: 664c47375ccbe6ab4e9d63a5a757f3365cd7e925cad87a904f0fed5b30af33c0 # [cross_target_platform == "linux-ppc64le"]
sha256: 0ba9cf6cb842cf5bc769c88069c839fc0d914da2612ef83f6661be66f78c70be # [cross_target_platform == "linux-s390x"]
- folder: binary-glibc-nss-devel
url: {{ powertools_rpm_url }}/glibc-nss-devel-2.28-211.el8.{{ centos_machine }}.rpm
sha256: 8196e6a5e3a8c4b6841de581bc2967cc0034e90ee25bc9a86a12f2d278ce129c # [cross_target_platform == "linux-64"]
sha256: 711978f2952ea5eb9ff1a92cc0941ceb0e0acdfae493a7455d07a6dadf7497cd # [cross_target_platform == "linux-aarch64"]
sha256: 32bf2c1a57bde3f278b629ca20d3a363afc6322b1524eaadf6a85400bda22706 # [cross_target_platform == "linux-ppc64le"]
sha256: 95bc39e60907e8a10850c692a547a0584c1617d1155dd4c73d61f969f0ae3a37 # [cross_target_platform == "linux-s390x"]
- folder: binary-nss_db
url: {{ rpm_url }}/nss_db-2.28-211.el8.{{ centos_machine }}.rpm
sha256: fb04e1baeb2e971fbef45d87a17aa8ce9254f570908c1ec9a0152f287d4b6b60 # [cross_target_platform == "linux-64"]
sha256: 0b71b64074dd0b5ababe7019d01419724785c0cb2e06724cd0318552c86bcb9b # [cross_target_platform == "linux-aarch64"]
sha256: 7f025886dccef10e2b4d3ce1b18178670000b1379ce72aef20c45f37171fdd31 # [cross_target_platform == "linux-ppc64le"]
sha256: 805034fd2bb53de296ba62195537dbf2bea489cd4d39bbe4d9e3300e5d6cf757 # [cross_target_platform == "linux-s390x"]
- folder: binary-nss_nis
url: {{ rpm_url }}/nss_nis-3.0-8.el8.{{ centos_machine }}.rpm
sha256: 092ae0b3db08c0bd8af1187f37abf426af9092495f3276bd186c90679f342e59 # [cross_target_platform == "linux-64"]
sha256: 3c7fe091fcef8971b5de41b9093025405d2064fb05e5c510ec3a92454f49e2be # [cross_target_platform == "linux-aarch64"]
sha256: 360f1582f13e9e86e4812446bbb0b2ae7e5477459e381c0475f04a0afff9fee6 # [cross_target_platform == "linux-ppc64le"]
sha256: 4515b05ba15ce464aaf445516817194b3f95849db5394acd6ccf67f5c2fc515a # [cross_target_platform == "linux-s390x"]
- folder: binary-glibc-gconv-extra
url: {{ rpm_url }}/glibc-gconv-extra-2.28-211.el8.{{ centos_machine }}.rpm
sha256: 674f732211af309d10e2f82c145c809a0db99cc4febe39e08fb33624bf090bcc # [cross_target_platform == "linux-64"]
sha256: 0842aadc21686e9c8060bc8dac9f8136fc4100a015e0c5156fb95982331f7336 # [cross_target_platform == "linux-aarch64"]
sha256: a05b835c89ae9bf922fa0b23c637a372d0e32a37c337065c3ff6f3cb1acd83b3 # [cross_target_platform == "linux-ppc64le"]
sha256: 7c696ad779339aa18a45cf1ce238924e21a9a31c4db7ba810efce01bf2854c23 # [cross_target_platform == "linux-s390x"]
build:
number: {{ build_number }}
noarch: generic
missing_dso_whitelist:
- '*'
outputs:
- name: kernel-headers_{{ cross_target_platform }}
version: {{ kernel_headers_version }}
script: build-kernel-headers.sh
build:
noarch: generic
binary_relocation: False
detect_binary_files_with_prefix: False
requirements:
run:
- _sysroot_{{ cross_target_platform }}_curr_repodata_hack 3.*
run_constrained:
- sysroot_{{ cross_target_platform }} =={{ version }}
test:
commands:
test -f $PREFIX/{{ target_machine }}-{{ ctng_vendor }}-linux-gnu/sysroot/usr/include/linux/version.h
- name: _sysroot_{{ cross_target_platform }}_curr_repodata_hack
version: 3
build:
noarch: generic
test:
commands:
- echo "works!"
- name: sysroot_{{ cross_target_platform }}
script: build-sysroot.sh
build:
noarch: generic
binary_relocation: False
detect_binary_files_with_prefix: False
track_features:
- sysroot_{{ cross_target_platform }}_{{ version }}
- sysroot_{{ cross_target_platform }}_{{ version }}_feature_2
run_exports:
strong:
- __glibc >={{ version }},<3.0.a0
requirements:
run:
- _sysroot_{{ cross_target_platform }}_curr_repodata_hack 3.*
- {{ pin_subpackage('kernel-headers_' ~ cross_target_platform, exact=True) }}
test:
commands:
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/lib/libc.so.6
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/sbin/ldconfig
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/lib/crt1.o
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/include/limits.h
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/include/gnu/stubs-64.h # [cross_target_platform == "linux-64"]
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/include/gnu/stubs.h # [cross_target_platform != "linux-64"]
- test -d $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/share/locale
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/bin/ldd
- test -f $PREFIX/{{ target_machine }}-{{ ctng_vendor }}-linux-gnu/sysroot/lib/libc.so.6
- find "${PREFIX}" \( -name 'libnsl*' -o -path '*/rpcsvc/yp*' \) | { ! grep . ; }
- find "${PREFIX}" \( -name 'libcrypt*' -o -name 'crypt.*' \) | { ! grep . ; }
- name: sysroot-{{ sysroot_cdt_name }}-{{ sysroot_cdt_arch }}
build:
noarch: generic
requirements:
run:
- sysroot_{{ cross_target_platform }} =={{ version }}
test:
commands:
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/lib/libc.so.6
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/sbin/ldconfig
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/lib/crt1.o
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/include/limits.h
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/include/gnu/stubs-64.h # [cross_target_platform == "linux-64"]
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/include/gnu/stubs.h # [cross_target_platform != "linux-64"]
- test -d $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/share/locale
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/bin/ldd
- test -f $PREFIX/{{ target_machine }}-{{ ctng_vendor }}-linux-gnu/sysroot/lib/libc.so.6
- find "${PREFIX}" \( -name 'libnsl*' -o -path '*/rpcsvc/yp*' \) | { ! grep . ; }
- find "${PREFIX}" \( -name 'libcrypt*' -o -name 'crypt.*' \) | { ! grep . ; }
about:
home: http://sources.redhat.com/glibc/
license: LGPL-2.0-or-later AND LGPL-2.0-or-later WITH exceptions AND GPL-2.0-or-later AND MPL-2.0
license_family: GPL
license_file: nss-license
# other license files are packaged with source
summary: "(CDT) The GNU libc libraries and header files for the Linux kernel for use by glibc"
description: |
The glibc package contains standard libraries which are used by multiple
programs on the system. In order to save disk space and memory, as well as to
make upgrading easier, common system code is kept in one place and shared
between programs. This particular package contains the most important sets of
shared libraries: the standard C library and the standard math library.
Without these two libraries, a Linux system will not function.
Kernel-headers includes the C header files that specify the interface between
the Linux kernel and userspace libraries and programs. The header files
define structures and constants that are needed for building most standard
programs and are also needed for rebuilding the glibc package.
extra:
recipe-maintainers:
- isuruf
- scopatz
- beckermr