All checks were successful
Test / Create distribution (push) Successful in 59s
Test / Sandbox (push) Successful in 2m32s
Test / Hakurei (push) Successful in 3m39s
Test / ShareFS (push) Successful in 3m44s
Test / Sandbox (race detector) (push) Successful in 5m0s
Test / Hakurei (race detector) (push) Successful in 5m56s
Test / Flake checks (push) Successful in 1m29s
This had to be done out-of-band because there was no way to efficiently represent these within Artifact. Signed-off-by: Ophestra <cat@gensokyo.uk>
60 lines
1.2 KiB
Go
60 lines
1.2 KiB
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newFakeroot() (pkg.Artifact, string) {
|
|
const (
|
|
version = "1.37.2"
|
|
checksum = "4ve-eDqVspzQ6VWDhPS0NjW3aSenBJcPAJq_BFT7OOFgUdrQzoTBxZWipDAGWxF8"
|
|
)
|
|
return t.NewPackage("fakeroot", version, pkg.NewHTTPGetTar(
|
|
nil, "https://salsa.debian.org/clint/fakeroot/-/archive/upstream/"+
|
|
version+"/fakeroot-upstream-"+version+".tar.bz2",
|
|
mustDecode(checksum),
|
|
pkg.TarBzip2,
|
|
), &PackageAttr{
|
|
Patches: [][2]string{
|
|
{"remove-broken-docs", `diff --git a/doc/Makefile.am b/doc/Makefile.am
|
|
index f135ad9..85c784c 100644
|
|
--- a/doc/Makefile.am
|
|
+++ b/doc/Makefile.am
|
|
@@ -1,5 +1,4 @@
|
|
AUTOMAKE_OPTIONS=foreign
|
|
-SUBDIRS = de es fr nl pt ro sv
|
|
|
|
man_MANS = faked.1 fakeroot.1
|
|
|
|
`},
|
|
},
|
|
|
|
Env: []string{
|
|
"CONFIG_SHELL=/bin/sh",
|
|
},
|
|
}, &MakeHelper{
|
|
Generate: "./bootstrap",
|
|
|
|
// makes assumptions about /etc/passwd
|
|
SkipCheck: true,
|
|
},
|
|
M4,
|
|
Perl,
|
|
Autoconf,
|
|
Automake,
|
|
Libtool,
|
|
PkgConfig,
|
|
|
|
Attr,
|
|
Libcap,
|
|
KernelHeaders,
|
|
), version
|
|
}
|
|
func init() {
|
|
artifactsM[Fakeroot] = Metadata{
|
|
f: Toolchain.newFakeroot,
|
|
|
|
Name: "fakeroot",
|
|
Description: "tool for simulating superuser privileges",
|
|
Website: "https://salsa.debian.org/clint/fakeroot",
|
|
}
|
|
}
|