Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=9a94525e027491d7fc33945b97169b0b548f353c

commit 9a94525e027491d7fc33945b97169b0b548f353c
Author: crazy <[email protected]>
Date:   Sat Mar 19 01:26:22 2016 +0100

sudo-1.8.16-2-x86_64
* fix man stuff, missing makedepends=()
* added --with-insults ..
* added --with-passprompt it looks like :
[sudo] password for [$USER@$HOST]:

diff --git a/source/apps/sudo/FrugalBuild b/source/apps/sudo/FrugalBuild
index 8d32437..4dfa261 100644
--- a/source/apps/sudo/FrugalBuild
+++ b/source/apps/sudo/FrugalBuild
@@ -4,10 +4,11 @@
pkgname=sudo
pkgver=1.8.16
pkgextraver=
-pkgrel=1
+pkgrel=2
pkgdesc="Give limited root privileges to certain users"
url="http://www.sudo.ws/";
depends=('glibc>=2.22-10')
+makedepends=('man-db')
groups=('apps' 'chroot-core')
archs=('i686' 'x86_64' 'arm')
backup=('etc/sudoers')
@@ -18,11 +19,13 @@ sha1sums=('8c309358ceda79901b96af5ad428c1032bf6b05f' \

build()
{
-       Fbuild --without-pam --with-env-editor
+       Fbuild \
+               --without-pam \
+               --with-env-editor \
+               --with-insults \
+               --with-passprompt="[sudo] password for [%p@%h]: "
Fexe /etc/profile.d/sudo.sh
Fdirschmod var 755
-       Fmv usr/share/man/cat8 usr/share/man/man8
-       Fmv usr/share/man/cat5 usr/share/man/man5
echo "# You need this file so pacman-g2 will not remove /etc/sudoers.d 
accidentally." > $Fdestdir/etc/sudoers.d/.sudo || Fdie
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to