diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index eff82888efa..4d6e6c93bf8 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -117,6 +117,10 @@ jobs: with: package-name: make + - uses: chainguard-dev/actions/inky-build-pkg@main + with: + package-name: sed + - name: 'Upload the repository to a bucket' run: | cp /etc/apk/keys/wolfi-signing.rsa.pub ${{ github.workspace }}/packages/wolfi-signing.rsa.pub diff --git a/Makefile b/Makefile index 7dc15080de7..766727a27bc 100644 --- a/Makefile +++ b/Makefile @@ -60,5 +60,6 @@ $(eval $(call build-empty-package,texinfo,6.8-r0)) $(eval $(call build-empty-package,gzip,1.12-r1)) $(eval $(call build-package,busybox,1.35.0-r2)) $(eval $(call build-empty-package,make,4.3-r1)) +$(eval $(call build-empty-package,sed,4.8-r1)) .build-packages: ${PACKAGES} diff --git a/sed.yaml b/sed.yaml new file mode 100644 index 00000000000..827c553c134 --- /dev/null +++ b/sed.yaml @@ -0,0 +1,41 @@ +package: + name: sed + version: 4.8 + epoch: 1 + description: "GNU stream editor" + target-architecture: + - all + copyright: + - paths: + - "*" + attestation: TODO + license: GPL-3.0-or-later + dependencies: + runtime: + +environment: + contents: + repositories: + - https://packages.wolfi.dev/bootstrap/stage3 + keyring: + - https://packages.wolfi.dev/bootstrap/stage3/wolfi-signing.rsa.pub + packages: + - busybox + - ca-certificates-bundle + - build-base + +pipeline: + - uses: fetch + with: + uri: https://ftp.gnu.org/gnu/sed/sed-${{package.version}}.tar.gz + expected-sha256: 53cf3e14c71f3a149f29d13a0da64120b3c1d3334fba39c4af3e520be053982a + - name: Configure + runs: | + ./configure \ + --host=$(uname -m)-pc-linux-gnu \ + --target=$(uname -m)-pc-linux-gnu \ + --prefix=/usr \ + --datadir=/usr/share + - uses: autoconf/make + - uses: autoconf/make-install + - uses: strip \ No newline at end of file