mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
shadow: provide a working sg(1) cmd.
This commit is contained in:
parent
bea1fe5f05
commit
49535ccad4
1 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'shadow'
|
# Template file for 'shadow'
|
||||||
pkgname=shadow
|
pkgname=shadow
|
||||||
version=4.2.1
|
version=4.2.1
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--bindir=/usr/bin --sbindir=/usr/sbin
|
configure_args="--bindir=/usr/bin --sbindir=/usr/sbin
|
||||||
--libdir=/usr/lib --enable-shared --disable-static
|
--libdir=/usr/lib --enable-shared --disable-static
|
||||||
|
@ -32,6 +32,9 @@ homepage="http://pkg-shadow.alioth.debian.org"
|
||||||
distfiles="http://pkg-shadow.alioth.debian.org/releases/$pkgname-$version.tar.xz"
|
distfiles="http://pkg-shadow.alioth.debian.org/releases/$pkgname-$version.tar.xz"
|
||||||
checksum=3b0893d1476766868cd88920f4f1231c4795652aa407569faff802bcda0f3d41
|
checksum=3b0893d1476766868cd88920f4f1231c4795652aa407569faff802bcda0f3d41
|
||||||
|
|
||||||
|
# sg now provided by shadow
|
||||||
|
replaces="util-linux<2.26_2"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
||||||
|
@ -76,9 +79,10 @@ post_install() {
|
||||||
rm -f ${DESTDIR}/usr/share/man/man1/groups.1
|
rm -f ${DESTDIR}/usr/share/man/man1/groups.1
|
||||||
|
|
||||||
# Remove utilities provided by util-linux and logoutd.
|
# Remove utilities provided by util-linux and logoutd.
|
||||||
|
mv ${DESTDIR}/usr/bin/{newgrp,sg}
|
||||||
|
|
||||||
rm \
|
rm \
|
||||||
$DESTDIR/usr/bin/{chsh,chfn,sg} \
|
$DESTDIR/usr/bin/{login,su,chsh,chfn} \
|
||||||
$DESTDIR/usr/bin/{newgrp,login,su} \
|
|
||||||
$DESTDIR/usr/sbin/{nologin,logoutd,vipw,vigr}
|
$DESTDIR/usr/sbin/{nologin,logoutd,vipw,vigr}
|
||||||
|
|
||||||
# ...and their many man pages
|
# ...and their many man pages
|
||||||
|
|
Loading…
Add table
Reference in a new issue