internal/rosa: libmd and libbsd artifacts
All checks were successful
Test / Create distribution (push) Successful in 1m12s
Test / Sandbox (push) Successful in 3m5s
Test / Hakurei (push) Successful in 4m13s
Test / ShareFS (push) Successful in 4m18s
Test / Sandbox (race detector) (push) Successful in 5m26s
Test / Hakurei (race detector) (push) Successful in 6m33s
Test / Flake checks (push) Successful in 1m27s
All checks were successful
Test / Create distribution (push) Successful in 1m12s
Test / Sandbox (push) Successful in 3m5s
Test / Hakurei (push) Successful in 4m13s
Test / ShareFS (push) Successful in 4m18s
Test / Sandbox (race detector) (push) Successful in 5m26s
Test / Hakurei (race detector) (push) Successful in 6m33s
Test / Flake checks (push) Successful in 1m27s
These provide headers that are provided by glibc but not musl. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -71,12 +71,14 @@ const (
|
|||||||
HakureiDist
|
HakureiDist
|
||||||
Kmod
|
Kmod
|
||||||
LibXau
|
LibXau
|
||||||
|
Libbsd
|
||||||
Libcap
|
Libcap
|
||||||
Libexpat
|
Libexpat
|
||||||
Libiconv
|
Libiconv
|
||||||
Libpsl
|
Libpsl
|
||||||
Libffi
|
Libffi
|
||||||
Libgd
|
Libgd
|
||||||
|
Libmd
|
||||||
Libtool
|
Libtool
|
||||||
Libseccomp
|
Libseccomp
|
||||||
Libucontext
|
Libucontext
|
||||||
|
|||||||
57
internal/rosa/libbsd.go
Normal file
57
internal/rosa/libbsd.go
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
package rosa
|
||||||
|
|
||||||
|
import "hakurei.app/internal/pkg"
|
||||||
|
|
||||||
|
func (t Toolchain) newLibmd() (pkg.Artifact, string) {
|
||||||
|
const (
|
||||||
|
version = "1.1.0"
|
||||||
|
checksum = "72w7Na04b9ji6nOe2h-Tz5JeQ6iStDZN3FOG1JNZ9M_jMO8K2FceG6DZv7lYThZJ"
|
||||||
|
)
|
||||||
|
return t.NewPackage("libmd", version, pkg.NewHTTPGet(
|
||||||
|
nil, "https://libbsd.freedesktop.org/releases/libmd-"+version+".tar.xz",
|
||||||
|
mustDecode(checksum),
|
||||||
|
), &PackageAttr{
|
||||||
|
SourceKind: SourceKindTarXZ,
|
||||||
|
}, (*MakeHelper)(nil),
|
||||||
|
XZ,
|
||||||
|
), version
|
||||||
|
}
|
||||||
|
func init() {
|
||||||
|
artifactsM[Libmd] = Metadata{
|
||||||
|
f: Toolchain.newLibmd,
|
||||||
|
|
||||||
|
Name: "libmd",
|
||||||
|
Description: "Message Digest functions from BSD systems",
|
||||||
|
Website: "https://www.hadrons.org/software/libmd/",
|
||||||
|
|
||||||
|
ID: 15525,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (t Toolchain) newLibbsd() (pkg.Artifact, string) {
|
||||||
|
const (
|
||||||
|
version = "0.12.2"
|
||||||
|
checksum = "MEJ9MuLai32-gSJUrfmlDgGl7rszjdSxgb3ph9AcI5jv70VwlwwXJy1kxdAixm5Y"
|
||||||
|
)
|
||||||
|
return t.NewPackage("libbsd", version, pkg.NewHTTPGet(
|
||||||
|
nil, "https://libbsd.freedesktop.org/releases/libbsd-"+version+".tar.xz",
|
||||||
|
mustDecode(checksum),
|
||||||
|
), &PackageAttr{
|
||||||
|
SourceKind: SourceKindTarXZ,
|
||||||
|
}, (*MakeHelper)(nil),
|
||||||
|
XZ,
|
||||||
|
|
||||||
|
Libmd,
|
||||||
|
), version
|
||||||
|
}
|
||||||
|
func init() {
|
||||||
|
artifactsM[Libbsd] = Metadata{
|
||||||
|
f: Toolchain.newLibbsd,
|
||||||
|
|
||||||
|
Name: "libbsd",
|
||||||
|
Description: "provides useful functions commonly found on BSD systems",
|
||||||
|
Website: "https://libbsd.freedesktop.org/",
|
||||||
|
|
||||||
|
ID: 1567,
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user