util-linux: update to 2.30.

This commit is contained in:
Juan RP 2017-06-03 10:28:57 +02:00
parent 41d65ffd5f
commit b1fe79d022
2 changed files with 5 additions and 23 deletions
srcpkgs/util-linux

View file

@ -1,13 +0,0 @@
Fixes rendering issue with chsh
--- login-utils/chsh.c.orig 2015-08-01 23:56:41.281133707 +0200
+++ login-utils/chsh.c 2015-08-01 23:56:52.116132896 +0200
@@ -179,6 +179,7 @@ static char *ask_new_shell(char *questio
if (!oldshell)
oldshell = "";
printf("%s [%s]: ", question, oldshell);
+ fflush(stdout);
sz = getline(&ans, &dummy, stdin);
if (sz == -1)
return NULL;

View file

@ -1,25 +1,20 @@
# Template file for 'util-linux'
pkgname=util-linux
version=2.29.2
version=2.30
revision=1
short_desc="Miscellaneous linux utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://www.kernel.org/pub/linux/utils/util-linux/"
license="GPL-2"
distfiles="${KERNEL_SITE}/utils/${pkgname}/v${version%.*}/${pkgname}-${version}.tar.xz"
checksum=accea4d678209f97f634f40a93b7e9fcad5915d1f4749f6c47bee6bf110fe8e3
distfiles="${KERNEL_SITE}/utils/${pkgname}/v${version}/${pkgname}-${version}.tar.xz"
checksum=c208a4ff6906cb7f57940aa5bc3a6eed146e50a7cc0a092f52ef2ab65057a08d
hostmakedepends="automake gettext-devel libtool pkg-config"
hostmakedepends="automake gettext-devel libtool pkg-config bison"
makedepends="zlib-devel readline-devel pam-devel libcap-ng-devel"
# Create uuidd system account for uuidd.
system_accounts="uuidd"
uuidd_homedir="/run/uuidd"
conf_files="
/etc/pam.d/chfn
/etc/pam.d/chsh
/etc/pam.d/su
/etc/pam.d/su-l
/etc/pam.d/login"
conf_files="/etc/pam.d/*"
provides="eject-${version}_1"
# XXX musl needs this for switch_root(8).