All checks were successful
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m43s
Test / ShareFS (push) Successful in 4m0s
Test / Hpkg (push) Successful in 4m29s
Test / Sandbox (race detector) (push) Successful in 5m6s
Test / Hakurei (race detector) (push) Successful in 5m57s
Test / Hakurei (push) Successful in 2m41s
Test / Flake checks (push) Successful in 1m45s
This migrates artifacts that the helper cannot produce an identical instance of. Signed-off-by: Ophestra <cat@gensokyo.uk>
32 lines
663 B
Go
32 lines
663 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newRsync() pkg.Artifact {
|
|
const (
|
|
version = "3.4.1"
|
|
checksum = "VBlTsBWd9z3r2-ex7GkWeWxkUc5OrlgDzikAC0pK7ufTjAJ0MbmC_N04oSVTGPiv"
|
|
)
|
|
return t.NewViaMake("rsync", version, pkg.NewHTTPGetTar(
|
|
nil, "https://download.samba.org/pub/rsync/src/"+
|
|
"rsync-"+version+".tar.gz",
|
|
mustDecode(checksum),
|
|
pkg.TarGzip,
|
|
), &MakeAttr{
|
|
Configure: [][2]string{
|
|
{"disable-openssl"},
|
|
{"disable-xxhash"},
|
|
{"disable-zstd"},
|
|
{"disable-lz4"},
|
|
},
|
|
|
|
// circular dependency
|
|
SkipCheck: true,
|
|
|
|
Flag: TEarly,
|
|
},
|
|
t.Load(Gawk),
|
|
)
|
|
}
|
|
func init() { artifactsF[Rsync] = Toolchain.newRsync }
|