37 lines
785 B
Text
Executable file
37 lines
785 B
Text
Executable file
app=sudo
|
|
version=1.9.12p1
|
|
build=1sml
|
|
homepage="https://www.sudo.ws/"
|
|
download="https://www.sudo.ws/dist/sudo-$version.tar.gz"
|
|
desc="give limited root privileges to certain users"
|
|
requires="zlib"
|
|
noautoconfsite=1
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--sysconfdir=/etc \
|
|
--sbindir=/bin \
|
|
--with-env-editor \
|
|
--disable-pam-session \
|
|
--without-pam \
|
|
--disable-nls
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
mv $pkg/etc/sudoers $pkg/etc/sudoers.new
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
737c088f0269c4f4dc998c4bfb84db778b77ed0517d6712ad131ec9005c64a6f55532469ad3f6e36dce410a5dd15343af56e98d0db5b929363ee6ad83157ef7c sudo-1.9.12p1.tar.lz
|
|
"
|