forked from rosa/hakurei
46 lines
1008 B
Go
46 lines
1008 B
Go
package util-linux {
|
|
description = "a random collection of Linux utilities"
|
|
website = "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
|
|
anitya = 8179
|
|
// release candidates confuse Anitya
|
|
latest = anityaFallback
|
|
|
|
version# = "2.42.1"
|
|
source = remoteTar {
|
|
url = "https://www.kernel.org/pub/linux/utils/util-linux/v"+trimPatch(version)+"/util-linux-${version}.tar.gz"
|
|
checksum = "f1c006mnFL9jTEsqnJn08hHqwcL8TpjCJNIToZNuGEPsLmEdNL87r8RzBT-nl9QB"
|
|
compress = gzip
|
|
};
|
|
|
|
early = "ln -s ../system/bin/bash /bin/"
|
|
|
|
exec = make {
|
|
configure = [
|
|
"disable-use-tty-group"
|
|
"disable-makeinstall-setuid"
|
|
"disable-makeinstall-chown"
|
|
|
|
"enable-fs-paths-default": join ([
|
|
"/system/sbin"
|
|
"/system/sbin/fs.d"
|
|
"/system/sbin/fs"
|
|
], ":")
|
|
|
|
"disable-su"
|
|
"disable-liblastlog2"
|
|
"disable-pam-lastlog2"
|
|
]
|
|
|
|
// check script claims:
|
|
// For development purpose only.
|
|
// Don't execute on production system!
|
|
skipCheck
|
|
};
|
|
|
|
inputs = [
|
|
bash
|
|
|
|
kernel-headers
|
|
]
|
|
}
|