github.com/wolfi-dev/wolfictl@v0.16.11/pkg/dag/testdata/basic/busybox.yaml (about) 1 package: 2 name: busybox 3 version: 1.36.0 4 epoch: 0 5 description: "swiss-army knife for embedded systems" 6 copyright: 7 - license: GPL-2.0-only 8 scriptlets: 9 trigger: 10 paths: 11 - /bin 12 - /sbin 13 - /usr/bin 14 - /usr/sbin 15 script: | 16 #!/bin/busybox sh 17 /bin/busybox --install -s 18 environment: 19 contents: 20 packages: 21 - ca-certificates-bundle 22 - build-base 23 pipeline: 24 - uses: fetch 25 with: 26 uri: https://distfiles.alpinelinux.org/distfiles/edge/busybox-1.36.0.tar.bz2 27 expected-sha256: 542750c8af7cb2630e201780b4f99f3dcceeb06f505b479ec68241c1e6af61a5 28 - uses: patch 29 with: 30 patches: CVE-2022-28391-1.patch 31 - uses: patch 32 with: 33 patches: CVE-2022-28391-2.patch 34 - name: Configure 35 runs: | 36 cp busyboxconfig .config 37 - runs: | 38 make CC="${{host.triplet.gnu}}-gcc" V=1 -j$(nproc) 39 - name: Install 40 runs: | 41 mkdir -p "${{targets.destdir}}"/usr/sbin 42 mkdir -p "${{targets.destdir}}"/usr/bin 43 mkdir -p "${{targets.destdir}}"/tmp 44 mkdir -p "${{targets.destdir}}"/var/cache/misc 45 mkdir -p "${{targets.destdir}}"/bin 46 mkdir -p "${{targets.destdir}}"/sbin 47 mkdir -p "${{targets.destdir}}"/etc 48 mkdir -p "${{targets.destdir}}"/usr/share/man/man1 49 chmod 1777 "${{targets.destdir}}"/tmp 50 install -m755 busybox "${{targets.destdir}}"/bin/busybox 51 install -m644 securetty "${{targets.destdir}}"/etc/securetty 52 - uses: strip 53 update: 54 enabled: false 55 release-monitor: 56 identifier: 230