1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-06-03 11:46:28 +02:00
nfpm/testdata/acceptance/core.overrides.yaml
Weston Schmidt bc5c3bd876
feat: support for ipk packages (#818)
Implements #507.

* Adds ipk support for keywords used by OpenWRT and Yocto.
* MD5sum is explicitly excluded due to insecurity.
* SHA256Sum excluded due packages not being individually signed,
  instead, the feed of packages is checksummed and signed externally.
* Adds code to nfpm package to automatically enumerate the supported
  packaging types where possible.
2024-05-08 16:02:39 -03:00

59 lines
1.3 KiB
YAML

name: "foo"
arch: "${BUILD_ARCH}"
platform: "linux"
version: "v1.2.3-beta"
maintainer: "Foo Bar"
depends:
- bash
provides:
- fake
replaces:
- foo
suggests:
- zsh
description: |
Foo bar
Multiple lines
vendor: "foobar"
homepage: "https://foobar.org"
license: "MIT"
contents:
- src: ./testdata/fake
dst: /usr/bin/fake
- src: ./testdata/acceptance/folder/*
dst: /usr/share/whatever/folder
- src: ./testdata/whatever.conf
dst: /etc/foo/whatever.conf
type: config
overrides:
rpm:
depends:
- (bash >= 4.4 or fish)
scripts:
preinstall: ./testdata/acceptance/scripts/preinstall.sh
postremove: ./testdata/acceptance/scripts/postremove.sh
deb:
depends:
- bash (>= 4.4) | fish
scripts:
postinstall: ./testdata/acceptance/scripts/postinstall.sh
preremove: ./testdata/acceptance/scripts/preremove.sh
apk:
depends:
- bash
- fish
scripts:
postinstall: ./testdata/acceptance/scripts/postinstall.sh
preremove: ./testdata/acceptance/scripts/preremove.sh
archlinux:
scripts:
postinstall: ./testdata/acceptance/scripts/postinstall.sh
preremove: ./testdata/acceptance/scripts/preremove.sh
ipk:
depends:
- bash
- fish
scripts:
postinstall: ./testdata/acceptance/scripts/postinstall.sh
preremove: ./testdata/acceptance/scripts/preremove.sh