From 5371c544764ae933e382846031563e5e75dedf9e Mon Sep 17 00:00:00 2001 From: cr6git Date: Sat, 16 Dec 2017 22:47:14 +0100 Subject: [PATCH] sudo: fix flags to enable insults, add license --- srcpkgs/sudo/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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