util-linux: provide sg(1), fix systemd service, provides eject vpkg.

This commit is contained in:
Juan RP 2012-07-27 11:29:42 +02:00
parent b488c6ccbf
commit b482d8f2e4
1 changed files with 6 additions and 2 deletions

View File

@ -4,10 +4,11 @@ _distver=2.22
_patchver=rc1
wrksrc=${pkgname}-${_distver}-${_patchver}
version=${_distver}${_patchver}
revision=1
revision=2
depends="coreutils shadow>=4.1.5.1_3"
makedepends="pkg-config zlib-devel ncurses-devel pam-devel"
replaces="util-linux-ng>=0 e2fsprogs<=1.41.14_1 eject>=0 shadow<4.1.5_1_3"
provides="eject-${version}"
subpackages="libmount libmount-devel libblkid libblkid-devel libuuid libuuid-devel"
short_desc="Miscellaneous linux utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -20,7 +21,7 @@ long_desc="
them are utilities for handling file systems, consoles, partitions,
and messages."
systemd_services="uuidd.socket"
systemd_services="uuidd.socket on"
conf_files="
/etc/pam.d/chfn
@ -52,4 +53,7 @@ do_install() {
vinstall $FILESDIR/su.pam 644 etc/pam.d su
vinstall $FILESDIR/common.pam 644 etc/pam.d chfn
vinstall $FILESDIR/common.pam 644 etc/pam.d chsh
# Provide sg(1) symlink.
ln -sfr /usr/bin/newgrp ${DESTDIR}/usr/bin/sg
}