forked from rosa/hakurei
internal/rosa/package: migrate remaining trivial packages
The rest are migrated individually. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
59
internal/rosa/package/util-linux.az
Normal file
59
internal/rosa/package/util-linux.az
Normal file
@@ -0,0 +1,59 @@
|
||||
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";
|
||||
source = remoteTar {
|
||||
url = "https://www.kernel.org/pub/linux/utils/util-linux/"+
|
||||
"v"+join {
|
||||
elems = slice {
|
||||
elems = split {
|
||||
s = version;
|
||||
sep = ".";
|
||||
n = 3;
|
||||
};
|
||||
end = 2;
|
||||
};
|
||||
sep = ".";
|
||||
}+"/util-linux-"+version+".tar.gz";
|
||||
checksum = "Uy8Nxg9DsW5YwDoeaZeZTyQJ2YmnaaL_fSsQXsLUiFFUd7wnZeD_3SEaVO7ClJlk";
|
||||
compress = gzip;
|
||||
};
|
||||
|
||||
early = "\nln -s ../system/bin/bash /bin/\n";
|
||||
|
||||
exec = make {
|
||||
configure = {
|
||||
"disable-use-tty-group";
|
||||
"disable-makeinstall-setuid";
|
||||
"disable-makeinstall-chown";
|
||||
|
||||
"enable-fs-paths-default": join {
|
||||
elems = [
|
||||
"/system/sbin",
|
||||
"/system/sbin/fs.d",
|
||||
"/system/sbin/fs",
|
||||
];
|
||||
sep = ":";
|
||||
};
|
||||
|
||||
"disable-su";
|
||||
"disable-liblastlog2";
|
||||
"disable-pam-lastlog2";
|
||||
};
|
||||
|
||||
// check script claims:
|
||||
// For development purpose only.
|
||||
// Don't execute on production system!
|
||||
skipCheck = true;
|
||||
};
|
||||
|
||||
inputs = [
|
||||
bash,
|
||||
|
||||
kernel-headers,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user