# util-linux/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This version of "util-linux" omits "switch_root". Reason: The pro- gram is too dangerous; specifically, if it's executed under a normal copy of a distro, it deletes all files or symbolic links located in "/". #--------------------------------------------------------------------- 2. As of 2011, upstream versions of "e2fsprogs" conflict with "util- linux". Specifically, there are overlapping programs, libraries, and "pkgconfig" (.pc) files. However, this distro modifies "e2fsprogs" to address the conflicts. #--------------------------------------------------------------------- [buildtimes] 00.05 hours (or 002.73 minutes) - HP EliteBook 8560w 32GB RAM 00.05 hours (or 003.25 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.06 hours (or 003.52 minutes) - ThinkPad W530 i7 4x2 32GB RAM 00.06 hours (or 003.53 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.10 hours (or 005.80 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.13 hours (or 007.53 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] build = default exepack = no fortran = disabled license = See "license*.txt" in installed tree licfile = COPYING linemax = yes master = yes mstatic = yes nls = disabled purge = no setpaths = eudev, util-linux #--------------------------------------------------------------------- # Plus a forward reference to: bash-completion:strict [depends] actools eudev gawk grep ncurses pkgconf sed sysvinit:strict # Replaces some sysvinit programs termcap #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE # Note: "setpriv" needs "cap-ng.h". # From Alpine Linux: cp -p $PKGDIR_SPECIAL/ttydefaults.h include/ touch autopoint gtkdocize chmod 755 autopoint gtkdocize PATH=`pwd`:$PATH autoreconf -fi bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ \ --disable-dependency-tracking \ --disable-nls \ --disable-setpriv \ --disable-switch_root \ --disable-tls \ --enable-last \ --enable-mesg \ --enable-shared=yes \ --enable-static=no \ --enable-write \ --mandir=$MANBASE \ --with-ncursesw \ --without-pam \ --disable-pylibmount \ --without-python \ --without-systemd \ --without-systemdsystemunitdir sed -e 's/-ltinfo/-lncurses/' -i configure #--------------------------------------------------------------------- [postbuild] rm -f $PKGDIR_PROD/man/man*/switch_root.* rm -f $PKGDIR_PROD/*bin/switch_root cd $PKGDIR_PROD/sbin mv cfdisk cfdisk.bin sed -e "s@__META_PREFIX__@$PKGDIR_PROD@" \ < $PKGDIR_SPECIAL/cfdisk.wrapper.in \ > cfdisk chmod 755 cfdisk #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = Not checked yet url_home = Ditto url_lfs = Ditto url_tarball = https://www.kernel.org/pub/linux/utils/util-linux/\ v2.38/util-linux-2.38.1.tar.xz #--------------------------------------------------------------------- [history] 180408 Updated from 2.27.1 to 2.32 180616 Added "cfdisk" wrapper to work around a "screen" problem 181109 Updated to 2.33 190411 Updated to 2.33.2 190716 Updated to 2.34 230414 Updated to 2.38.1