From d352cb133c6793578d1bea31669c9b44a98626f2 Mon Sep 17 00:00:00 2001 From: Travis Bickmann Date: Fri, 3 May 2024 10:29:53 -0300 Subject: [PATCH 1/2] util-linux --- base/src/util-linux.ecmp | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 base/src/util-linux.ecmp diff --git a/base/src/util-linux.ecmp b/base/src/util-linux.ecmp new file mode 100644 index 0000000..8fce5ec --- /dev/null +++ b/base/src/util-linux.ecmp @@ -0,0 +1,34 @@ +[info] +name = util-linux +version = 2.40 +type = src +license = GPLv3 +url = https://www.kernel.org/pub/linux/utils/$NAME/v$VERSION/$NAME-$VERSION.tar.xz +sha256 = d57a626081f9ead02fa44c63a6af162ec19c58f53e993f206ab7c3a6641c2cd7 + +[description] +The Util-linux package contains miscellaneous utility programs. Among them are utilities for handling file systems, consoles, partitions, and messages. + +[download] +curl -L $URL --output $NAME-$VERSION.tar.xz +tar xf $NAME-$VERSION.tar.xz + +[install] +./configure --bindir=/usr/bin \ + --libdir=/usr/lib \ + --runstatedir=/run \ + --sbindir=/usr/sbin \ + --disable-chfn-chsh \ + --disable-login \ + --disable-nologin \ + --disable-su \ + --disable-setpriv \ + --disable-runuser \ + --disable-pylibmount \ + --disable-liblastlog2 \ + --disable-static \ + --without-python \ + ADJTIME_PATH=/var/lib/hwclock/adjtime \ + --docdir=/usr/share/doc/util-linux-2.4 +make $MAKE_FLAGS +make DESTDIR=$BUILD_ROOT install From ce9e52fc0130c227f84b5dcb298c8716a6c12053 Mon Sep 17 00:00:00 2001 From: Travis Bickmann Date: Fri, 3 May 2024 12:14:52 -0300 Subject: [PATCH 2/2] util-linux - add variable into install instructions --- base/src/util-linux.ecmp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/util-linux.ecmp b/base/src/util-linux.ecmp index 8fce5ec..66c3c50 100644 --- a/base/src/util-linux.ecmp +++ b/base/src/util-linux.ecmp @@ -29,6 +29,6 @@ tar xf $NAME-$VERSION.tar.xz --disable-static \ --without-python \ ADJTIME_PATH=/var/lib/hwclock/adjtime \ - --docdir=/usr/share/doc/util-linux-2.4 + --docdir=/usr/share/doc/util-linux-$VERSION make $MAKE_FLAGS make DESTDIR=$BUILD_ROOT install