sudo: fix flags to enable insults, add license

This commit is contained in:
cr6git 2017-12-16 22:47:14 +01:00 committed by Toyam Cox
parent 4fdddc3094
commit 5371c54476
1 changed files with 3 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# Template build file for 'sudo'.
pkgname=sudo
version=1.8.21p2
revision=1
revision=2
lib32disabled=yes
build_style=gnu-configure
configure_args="--with-ignore-dot -with-all-insults --with-env-editor
configure_args="--with-ignore-dot --with-insults --with-all-insults --with-env-editor
--enable-shell-sets-home --enable-noargs-shell --without-sendmail
--with-logfac=auth --disable-root-mailer --enable-pie --with-mdoc
--sbindir=/usr/bin"
@ -35,8 +35,7 @@ pre_check() {
}
post_install() {
vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo
vmkdir usr/share/licenses/sudo
mv ${DESTDIR}/usr/share/doc/sudo/LICENSE ${DESTDIR}/usr/share/licenses/sudo
vlicense doc/LICENSE
# remove unused stuff.
rm -rf ${DESTDIR}/usr/share/doc
rm -rf ${DESTDIR}/usr/include