util-linux: add logger alternative group.
Fixes the conflict with inetutils-syslog.
This commit is contained in:
parent
f11d6a3488
commit
317200f83e
1 changed files with 8 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'util-linux'
|
||||
pkgname=util-linux
|
||||
version=2.28.2
|
||||
revision=2
|
||||
revision=3
|
||||
short_desc="Miscellaneous linux utilities"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="https://www.kernel.org/pub/linux/utils/util-linux/"
|
||||
|
@ -25,6 +25,11 @@ provides="eject-${version}_1"
|
|||
# XXX musl needs this for switch_root(8).
|
||||
CFLAGS="-D_DIRENT_HAVE_D_TYPE"
|
||||
|
||||
alternatives="
|
||||
logger:logger:/usr/bin/${pkgname}-logger
|
||||
logger:logger.1:/usr/share/man/man1/${pkgname}-logger.1
|
||||
"
|
||||
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
@ -49,6 +54,8 @@ do_install() {
|
|||
# Correct perms for newgrp, chfn, chsh, wall and write.
|
||||
chmod u+s $DESTDIR/usr/bin/{newgrp,chsh,chfn}
|
||||
|
||||
mv ${DESTDIR}/usr/bin/{logger,${pkgname}-logger}
|
||||
mv ${DESTDIR}/usr/share/man/man1/{logger,${pkgname}-logger}.1
|
||||
# pam login utils.
|
||||
vinstall $FILESDIR/login.pam 644 etc/pam.d login
|
||||
vinstall $FILESDIR/su.pam 644 etc/pam.d su
|
||||
|
|
Loading…
Reference in a new issue