From c4d222b7f794bbc6cc4648f7a6380bccc6dae4dc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 27 Sep 2014 07:38:04 +0200 Subject: [PATCH] sudo: update to 1.8.11. --- srcpkgs/sudo/template | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template index 76ec5debef..7dc87513ad 100644 --- a/srcpkgs/sudo/template +++ b/srcpkgs/sudo/template @@ -1,12 +1,12 @@ # Template build file for 'sudo'. pkgname=sudo -version=1.8.10p3 -revision=2 +version=1.8.11 +revision=1 lib32disabled=yes build_style=gnu-configure configure_args="--with-ignore-dot -with-all-insults --with-env-editor --enable-shell-sets-home --enable-noargs-shell --without-sendmail - --with-logfac=auth --disable-root-mailer --enable-pie" + --with-logfac=auth --disable-root-mailer --enable-pie --with-mdoc" hostmakedepends="groff" makedepends="zlib-devel pam-devel" conf_files="/etc/pam.d/sudo /etc/sudoers" @@ -15,8 +15,11 @@ maintainer="Juan RP " homepage="http://www.gratisoft.us/sudo/" license="ISC, BSD, zlib" distfiles="http://www.courtesan.com/sudo/dist/$pkgname-$version.tar.gz" -checksum=6eda135fa68163108f1c24de6975de5ddb09d75730bb62d6390bda7b04345400 +checksum=a3177de7b5fbebfb43b32fc30aecaaf434762bf23e313de4c4a39e5ff715c845 +pre_install() { + find ${wrksrc} -type f -name Makefile -exec sed -i 's,$(INSTALL_OWNER),,g' {} \; +} post_install() { vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo vmkdir usr/share/licenses/sudo