Files
nfpm/go.mod
Dj GilcreaseandClaude Opus 5.5 2aa4b1a288 fix(config): isolate macOS overrides, honour empty passphrases, relax schema
- Config.Get deep-copies Info.plist values before merging an override.
  mergo shared the nested dictionaries and arrays, so a dmg override
  changed the base settings and every later app result.
- NFPM_APP_PASSPHRASE and NFPM_PKG_PASSPHRASE set to an empty value now
  select an empty passphrase even when NFPM_PASSPHRASE is set, using the
  presence-aware lookup MSIX uses. A custom mapping still reads nothing
  from the process environment.
- The schema no longer requires app.identifier and pkg.identifier in
  every layer: an override may leave them to the base settings. The
  packagers still require them in the merged settings.
- arch, identifier and min_os_version accept environment expressions in
  the schema; literal values are still checked against the packagers'
  rules, and expanded values are checked when packaging.
- Tests validate real documents against the generated schema with the
  validator the schema:validate task uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:35:50 -08:00

104 lines
4.5 KiB
AMPL

module github.com/goreleaser/nfpm/v2
go 1.27.4
require (
dario.cat/mergo v1.0.2
github.com/AlekSi/pointer v1.2.0
github.com/Masterminds/semver/v3 v3.5.0
github.com/ProtonMail/go-crypto v1.5.2
github.com/ProtonMail/gopenpgp/v2 v2.10.0
github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb
github.com/caarlos0/go-version v0.2.2
github.com/charmbracelet/fang v1.0.0
github.com/goreleaser/chglog v0.7.5
github.com/goreleaser/fileglob v1.4.1
github.com/invopop/jsonschema v0.14.0
github.com/klauspost/compress v1.20.4
github.com/klauspost/pgzip v1.3.0
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2
github.com/sassoftware/go-rpmutils v0.4.0
github.com/spf13/cobra v1.10.2
github.com/stretchr/testify v1.12.1
github.com/ulikunitz/xz v0.5.17
go.digitalxero.dev/go-msi v0.5.5
go.digitalxero.dev/go-msix v1.0.1
go.digitalxero.dev/osx v0.3.0
go.digitalxero.dev/rpm v0.3.4
go.yaml.in/yaml/v3 v3.0.6
golang.org/x/sys v0.50.0
golang.org/x/text v0.44.0
howett.net/plist v1.0.1
software.sslmate.com/src/go-pkcs12 v0.7.4
)
require (
charm.land/lipgloss/v2 v2.0.4 // indirect
github.com/DataDog/zstd v1.5.7 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/sprig/v3 v3.3.0 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f // indirect
github.com/abemedia/go-cfb v0.2.0 // indirect
github.com/anchore/go-logger v0.0.0-20251106021608-a5b0513fa9a9 // indirect
github.com/anchore/go-macholibre v0.0.0-20250826193721-3cd206ca93aa // indirect
github.com/anchore/quill v0.7.1 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/buger/jsonparser v1.2.0 // indirect
github.com/charmbracelet/colorprofile v0.4.3 // indirect
github.com/charmbracelet/ultraviolet v0.0.0-20260622092850-f39628c8a989 // indirect
github.com/charmbracelet/x/ansi v0.11.7 // indirect
github.com/charmbracelet/x/exp/charmtone v0.0.0-20260622092256-25656177ba8e // indirect
github.com/charmbracelet/x/term v0.2.2 // indirect
github.com/charmbracelet/x/termios v0.1.1 // indirect
github.com/charmbracelet/x/windows v0.2.2 // indirect
github.com/clipperhouse/displaywidth v0.11.0 // indirect
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
github.com/cloudflare/circl v1.6.4 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
github.com/cyphar/filepath-securejoin v0.7.0 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/github/smimesign v0.2.0 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.9.2 // indirect
github.com/go-git/go-git/v5 v5.19.3 // indirect
github.com/go-restruct/restruct v1.2.0-alpha // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/huandu/xstrings v1.5.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kevinburke/ssh_config v1.6.0 // indirect
github.com/lucasb-eyer/go-colorful v1.4.0 // indirect
github.com/mattn/go-runewidth v0.0.24 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
github.com/muesli/mango v0.2.0 // indirect
github.com/muesli/mango-cobra v1.3.0 // indirect
github.com/muesli/mango-pflag v0.2.0 // indirect
github.com/muesli/roff v0.1.0 // indirect
github.com/pb33f/ordered-map/v2 v2.3.1 // indirect
github.com/pjbgf/sha1cd v0.7.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/scylladb/go-set v1.0.3-0.20200225121959-cc7b2070d91e // indirect
github.com/sergi/go-diff v1.4.0 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
github.com/skeema/knownhosts v1.3.2 // indirect
github.com/spf13/cast v1.10.0 // indirect
github.com/spf13/pflag v1.0.10 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
gitlab.com/digitalxero/go-conventional-commit v1.0.7 // indirect
go.mozilla.org/pkcs7 v0.9.0 // indirect
go.yaml.in/yaml/v4 v4.0.0-rc.6 // indirect
golang.org/x/crypto v0.59.0 // indirect
golang.org/x/net v0.62.0 // indirect
golang.org/x/sync v0.25.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
)