diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template index 15fbefb3b4d..e062795f21e 100644 --- a/srcpkgs/sudo/template +++ b/srcpkgs/sudo/template @@ -1,6 +1,6 @@ # Template build file for 'sudo'. pkgname=sudo -version=1.8.1p1 +version=1.8.1p2 distfiles="http://www.courtesan.com/sudo/dist/$pkgname-$version.tar.gz" build_style=gnu_configure configure_args="--with-ignore-dot -with-all-insults --with-env-editor @@ -8,7 +8,9 @@ configure_args="--with-ignore-dot -with-all-insults --with-env-editor --disable-root-sudo --with-logfac=auth --disable-root-mailer" short_desc="Allow others to run commands as root" maintainer="Juan RP " -checksum=c6bd76bda54aab022b758e0f321f008403cdaf73621a7f316c22c44e28133e13 +homepage="http://www.gratisoft.us/sudo/" +license="ISC, BSD, zlib" +checksum=281f90c80547cf22132e351e7f61c25ba4ba9cf393438468f318f9a7884026fb long_desc=" 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 @@ -27,5 +29,6 @@ Add_dependency build pam-devel post_install() { - install -D -m644 ${FILESDIR}/sudo.pam ${DESTDIR}/etc/pam.d/sudo + install -Dm644 ${FILESDIR}/sudo.pam ${DESTDIR}/etc/pam.d/sudo + install -Dm644 doc/LICENSE ${DESTDIR}/usr/share/licenses/sudo/LICENSE }