diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template index a5715e874d3..5c8df8b65fd 100644 --- a/srcpkgs/sudo/template +++ b/srcpkgs/sudo/template @@ -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