From dc89aad722fefe28c088c9eac07d7d1eca42c003 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sat, 30 Nov 2024 15:41:43 +0100 Subject: [PATCH] build dragonflybsd binaries --- changelog/unreleased/issue-5131 | 6 ++++++ helpers/build-release-binaries/main.go | 17 +++++++++-------- 2 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 changelog/unreleased/issue-5131 diff --git a/changelog/unreleased/issue-5131 b/changelog/unreleased/issue-5131 new file mode 100644 index 000000000..fd38a216d --- /dev/null +++ b/changelog/unreleased/issue-5131 @@ -0,0 +1,6 @@ +Enhancement: Add DragonflyBSD support + +Restic can now be compiled on DragonflyBSD. + +https://github.com/restic/restic/issues/5131 +https://github.com/restic/restic/pull/5138 diff --git a/helpers/build-release-binaries/main.go b/helpers/build-release-binaries/main.go index 81d126b00..8fe8c24fb 100644 --- a/helpers/build-release-binaries/main.go +++ b/helpers/build-release-binaries/main.go @@ -243,14 +243,15 @@ func buildTargets(sourceDir, outputDir string, targets map[string][]string) { } var defaultBuildTargets = map[string][]string{ - "aix": {"ppc64"}, - "darwin": {"amd64", "arm64"}, - "freebsd": {"386", "amd64", "arm"}, - "linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le", "riscv64", "s390x"}, - "netbsd": {"386", "amd64"}, - "openbsd": {"386", "amd64"}, - "windows": {"386", "amd64"}, - "solaris": {"amd64"}, + "aix": {"ppc64"}, + "darwin": {"amd64", "arm64"}, + "dragonfly": {"amd64"}, + "freebsd": {"386", "amd64", "arm"}, + "linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le", "riscv64", "s390x"}, + "netbsd": {"386", "amd64"}, + "openbsd": {"386", "amd64"}, + "windows": {"386", "amd64"}, + "solaris": {"amd64"}, } func downloadModules(sourceDir string) {