forked from security/hakurei
34 lines
749 B
Go
34 lines
749 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newRdfind() (pkg.Artifact, string) {
|
|
const (
|
|
version = "1.8.0"
|
|
checksum = "PoaeJ2WIG6yyfe5VAYZlOdAQiR3mb3WhAUMj2ziTCx_IIEal4640HMJUb4SzU9U3"
|
|
)
|
|
return t.NewPackage("rdfind", version, pkg.NewHTTPGetTar(
|
|
nil, "https://rdfind.pauldreik.se/rdfind-"+version+".tar.gz",
|
|
mustDecode(checksum),
|
|
pkg.TarGzip,
|
|
), nil, &MakeHelper{
|
|
// test suite hard codes /bin/echo
|
|
ScriptCheckEarly: `
|
|
ln -s ../system/bin/toybox /bin/echo
|
|
`,
|
|
},
|
|
Nettle,
|
|
), version
|
|
}
|
|
func init() {
|
|
artifactsM[Rdfind] = Metadata{
|
|
f: Toolchain.newRdfind,
|
|
|
|
Name: "rdfind",
|
|
Description: "a program that finds duplicate files",
|
|
Website: "https://rdfind.pauldreik.se/",
|
|
|
|
ID: 231641,
|
|
}
|
|
}
|