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.3"; 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 = "VQ3NCM4kt0-TTrdJElBfckXNCGBv6UfXGTRm1poQ0XP0WBND4eG-O7n5Ly_a-Iw_"; compress = gzip; }; patches = [ "a323dddbcd1ed05a10e7e870b3e1a48b4ed44a43.patch" ]; bin = [ "bash" ]; 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! check = nil; }; inputs = [ bash, ncurses, kernel-headers, ]; runtime = [ ncurses ]; }