forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinutils.yaml
72 lines (68 loc) · 1.6 KB
/
binutils.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
package:
name: binutils
version: 2.39
epoch: 4
description: "GNU binutils"
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: GPL-3.0-or-later
dependencies:
runtime:
secfixes:
2.39-r1:
- CVE-2022-38126
2.39-r2:
- CVE-2022-38533
2.39-r3:
- CVE-2022-38128
environment:
contents:
repositories:
- https://packages.wolfi.dev/bootstrap/stage3
keyring:
- https://packages.wolfi.dev/bootstrap/stage3/wolfi-signing.rsa.pub
packages:
- wolfi-baselayout
- busybox
- ca-certificates-bundle
- build-base
- isl
- texinfo
pipeline:
- uses: fetch
with:
uri: https://ftp.gnu.org/gnu/binutils/binutils-${{package.version}}.tar.gz
expected-sha256: d12ea6f239f1ffe3533ea11ad6e224ffcb89eb5d01bbea589e9158780fa11f10
- uses: patch
with:
patches: CVE-2022-38128.patch
- uses: patch
with:
patches: CVE-2022-38533.patch
- name: 'Configure binutils'
runs: |
./configure \
--prefix=/usr \
--build=$(./config.guess) \
--host=${{host.triplet.gnu}} \
--target=${{host.triplet.gnu}} \
--disable-nls \
--disable-werror \
--disable-multilib \
--disable-gprofng \
--enable-deterministic-archives
- uses: autoconf/make
- uses: autoconf/make-install
- name: 'Clean up documentation'
runs: |
rm -rf ${{targets.destdir}}/usr/share/info
- uses: strip
subpackages:
- name: "binutils-dev"
description: "binutils development headers"
pipeline:
- uses: split/dev