From b6cce25f1a0bdf6ab93cb6f32cb83ed0b6a15a71 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 1 May 2018 07:48:56 -0300 Subject: [PATCH] sudo: update to 1.8.23. Closes #14007. Signed-off-by: Enno Boland --- srcpkgs/sudo/template | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template index 907258f104d..a1c454d1f31 100644 --- a/srcpkgs/sudo/template +++ b/srcpkgs/sudo/template @@ -1,8 +1,7 @@ # Template build file for 'sudo'. pkgname=sudo -version=1.8.22 +version=1.8.23 revision=1 -lib32disabled=yes build_style=gnu-configure configure_args="--with-ignore-dot --with-insults=disabled --with-all-insults --with-env-editor --enable-shell-sets-home --enable-noargs-shell --without-sendmail @@ -10,13 +9,14 @@ configure_args="--with-ignore-dot --with-insults=disabled --with-all-insults --w --sbindir=/usr/bin" hostmakedepends="groff" makedepends="zlib-devel pam-devel" -conf_files="/etc/pam.d/sudo /etc/sudoers" short_desc="Allow others to run commands as root" maintainer="Juan RP " homepage="https://www.sudo.ws/" -license="ISC, BSD, zlib" +license="ISC" distfiles="https://www.sudo.ws/dist/sudo-${version}.tar.gz" -checksum=7256cb27c20883b14360eddbd17f98922073d104b214cf65aeacf1d9c9b9fd02 +checksum=d863d29b6fc87bc784a3223350e2b28a2ff2c4738f0fb8f1c92bb38c3017e679 +conf_files="/etc/pam.d/sudo /etc/sudoers" +lib32disabled=yes post_configure() { case "$XBPS_TARGET_MACHINE" in @@ -29,10 +29,12 @@ post_configure() { pre_install() { find ${wrksrc} -type f -name Makefile -exec sed -i 's,$(INSTALL_OWNER),,g' {} \; } + pre_check() { # Failing test rm plugins/sudoers/regress/sudoers/test19* } + post_install() { vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo vlicense doc/LICENSE