util-linux
- Depends on
bison; notbyacc? - Depends on
gettext; notgettext-tiny? - Does it depend on
python? - Depends on
libcap-ngto buildsetpriv; glaucus already providess6-setuidgid: https://forum.artixlinux.org/index.php/topic,3360.0.html - Use
autoreconf -vfisas./autogen.shrequires GNUgettext,gtkdocizeandbison tools/all_syscallshardcodesgawk- Explicitly specify
--bindir - Use
killfromutil-linuxinstead ofprocps-ng(mainstream) /etc/adjtimeshould be/var/lib/hwclock/adjtimeaccording to FHS (both Alpine and Arch are using an old directory version) https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s08.html#varlibhwclockStateDirectoryForHwclo- If the
adjtimefile does not exist, the default isutc muslprovides its ownsys/ttydefaults.h, while Alpine provides a separate version- Disable
rawas it requiresraw.hwhich is only available onglibc, alsolinux/raw.hhas been removed since 5.14 colrequiresglibc(disabled by default onmusl)- glaucus disables
moreand usesless moredepends onlibmagicfromfile- Using
LIBSinstead ofLDFLAGSdoes not ensurensssandutmpsare being linked - Uses
ncurseswoverncursesso do not pass--with-curses - Provides
killbut notkillallwhich is provided bytoybox - Use
sufromtoyboxorutil-linuxas recommended byshadow runuserandsufromutil-linuxboth requirepam- Disable
pgas it usesvidputs()which is not provided bynetbsd-curses - Alpine and Arch use
loginandsufromutil-linux --enable-sulogin-emergency-mount: check if it requirespamand ifshadowprovides it--disable-year2038: check if it requireslogindandpam--without-libmagic: check if it requiresfile--with-cryptsetup: check if it requiressystemd; only works withsystemd