sudo: update to 1.8.6.

This commit is contained in:
Juan RP 2012-09-04 11:21:44 +02:00
parent b2ae6500f2
commit 42067838c4

View file

@ -1,12 +1,11 @@
# Template build file for 'sudo'. # Template build file for 'sudo'.
pkgname=sudo pkgname=sudo
version=1.8.5p3 version=1.8.6
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-ignore-dot -with-all-insults --with-env-editor configure_args="--with-ignore-dot -with-all-insults --with-env-editor
--enable-shell-sets-home --enable-noargs-shell --without-sendmail --enable-shell-sets-home --enable-noargs-shell --without-sendmail
--disable-root-sudo --with-logfac=auth --disable-root-mailer" --disable-root-sudo --with-logfac=auth --disable-root-mailer"
nostrip=yes
makedepends="zlib-devel pam-devel" makedepends="zlib-devel pam-devel"
conf_files="/etc/pam.d/sudo /etc/sudoers" conf_files="/etc/pam.d/sudo /etc/sudoers"
short_desc="Allow others to run commands as root" short_desc="Allow others to run commands as root"
@ -14,18 +13,13 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gratisoft.us/sudo/" homepage="http://www.gratisoft.us/sudo/"
license="ISC, BSD, zlib" license="ISC, BSD, zlib"
distfiles="http://www.courtesan.com/sudo/dist/$pkgname-$version.tar.gz" distfiles="http://www.courtesan.com/sudo/dist/$pkgname-$version.tar.gz"
checksum=00bbf27d53e8a74ef3e76b531c2b8a8d6dccab58e0d040c2a3a08171543bb1a7 checksum=93c4481ae5261ca0e988d069179fef40032729b94a110ceb2a3e92ca7842d2d3
long_desc=" long_desc="
Sudo is a program designed to allow a sysadmin to give limited root Sudo is a program designed to allow a sysadmin to give limited root
privileges to users and log root activity. The basic philosophy is to privileges to users and log root activity. The basic philosophy is to
give as few privileges as possible but still allow people to get their give as few privileges as possible but still allow people to get their
work done." work done."
# Build PIE binaries by default.
CFLAGS="-fPIE"
LDFLAGS="-pie"
CPPFLAGS="-D_FORTIFY_SOURCE=2"
post_install() { post_install() {
vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo
vmove usr/share/doc/sudo/LICENSE usr/share/licenses/sudo vmove usr/share/doc/sudo/LICENSE usr/share/licenses/sudo