forked from security/hakurei
internal/rosa: rdfind artifact
Required by linux firmware. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -113,6 +113,7 @@ const (
|
|||||||
PythonPyTest
|
PythonPyTest
|
||||||
PythonPygments
|
PythonPygments
|
||||||
QEMU
|
QEMU
|
||||||
|
Rdfind
|
||||||
Rsync
|
Rsync
|
||||||
Sed
|
Sed
|
||||||
Setuptools
|
Setuptools
|
||||||
|
|||||||
33
internal/rosa/rdfind.go
Normal file
33
internal/rosa/rdfind.go
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
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,
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user