chroot-util-linux: update to 2.40.1.

This commit is contained in:
classabbyamp 2024-06-09 09:50:56 -04:00 committed by classabbyamp
parent 3344d11429
commit 9df6e85f7d
1 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'chroot-util-linux'
pkgname=chroot-util-linux
version=2.38.1
version=2.40.1
revision=1
bootstrap=yes
build_style=gnu-configure
@ -10,14 +10,14 @@ configure_args="--without-ncurses --without-ncursesw --without-udev
--disable-mountpoint --disable-fallocate --disable-unshare --disable-nls
--disable-wall --disable-chfn-chsh-password --disable-su --disable-sulogin
--disable-login --disable-runuser --disable-setpriv --disable-libsmartcols
--without-readline scanf_cv_alloc_modifier=as"
--disable-liblastlog2 --without-readline scanf_cv_alloc_modifier=as"
makedepends="zlib-devel"
short_desc="Miscellaneous linux utilities -- for xbps-src use"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://userweb.kernel.org/~kzak/util-linux-ng"
distfiles="${KERNEL_SITE}/utils/util-linux/v${version%.*}/util-linux-${version}.tar.xz"
checksum=60492a19b44e6cf9a3ddff68325b333b8b52b6c59ce3ebd6a0ecaa4c5117e84f
checksum=59e676aa53ccb44b6c39f0ffe01a8fa274891c91bef1474752fad92461def24f
conflicts="util-linux>=0"
provides="util-linux-${version}_${revision}"
repository=bootstrap
@ -27,6 +27,10 @@ if [ -z "$CHROOT_READY" ]; then
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ] && [ "$XBPS_TARGET_WORDSIZE" -eq 32 ]; then
configure_args+=" --disable-year2038"
fi
post_install() {
# Remove unused stuff.
rm -rf ${DESTDIR}/bin