forked from security/hakurei
XSLT is untamable and extremely unpleasant to work with. This patches out the broken docs for now in the interest of getting some work done. Signed-off-by: Ophestra <cat@gensokyo.uk>
54 lines
1.2 KiB
Go
54 lines
1.2 KiB
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newFakeroot() pkg.Artifact {
|
|
const (
|
|
version = "1.37.2"
|
|
checksum = "4ve-eDqVspzQ6VWDhPS0NjW3aSenBJcPAJq_BFT7OOFgUdrQzoTBxZWipDAGWxF8"
|
|
)
|
|
return t.NewViaMake("fakeroot", version, t.NewPatchedSource(
|
|
"fakeroot", version, pkg.NewHTTPGetTar(
|
|
nil, "https://salsa.debian.org/clint/fakeroot/-/archive/upstream/"+
|
|
version+"/fakeroot-upstream-"+version+".tar.bz2",
|
|
mustDecode(checksum),
|
|
pkg.TarBzip2,
|
|
), false, [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
|
|
|
|
`},
|
|
), &MakeAttr{
|
|
Writable: true,
|
|
|
|
Env: []string{
|
|
"CONFIG_SHELL=/bin/sh",
|
|
},
|
|
ScriptEarly: `
|
|
cd /usr/src/fakeroot
|
|
./bootstrap
|
|
`,
|
|
|
|
// makes assumptions about /etc/passwd
|
|
SkipCheck: true,
|
|
},
|
|
t.Load(M4),
|
|
t.Load(Perl),
|
|
t.Load(Autoconf),
|
|
t.Load(Automake),
|
|
t.Load(Libtool),
|
|
t.Load(PkgConfig),
|
|
|
|
t.Load(Attr),
|
|
t.Load(Libcap),
|
|
t.Load(KernelHeaders),
|
|
)
|
|
}
|
|
func init() { artifactsF[Fakeroot] = Toolchain.newFakeroot }
|