2021-07-09 16:28:46 -04:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--bindir=/usr/bin \
|
|
|
|
--sbindir=/usr/bin \
|
|
|
|
--libdir=/usr/lib \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--disable-account-tools-setuid \
|
|
|
|
--without-audit \
|
2022-02-07 12:20:11 -05:00
|
|
|
--disable-nls \
|
2021-07-09 16:28:46 -04:00
|
|
|
--without-selinux \
|
2022-02-07 12:20:11 -05:00
|
|
|
--without-libpam \
|
|
|
|
--enable-shadowgrp \
|
|
|
|
--enable-utmpx \
|
|
|
|
--with-group-name-max-length=32
|
2021-07-09 16:28:46 -04:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|
|
|
|
|
|
|
|
# Fix broken --sbindir.
|
|
|
|
mv -f "$1/usr/sbin/"* "$1/usr/bin"
|
|
|
|
rmdir "$1/usr/sbin"
|