2009-05-15 09:59:33 +02:00
|
|
|
# Description: Sudo (superuser do)
|
|
|
|
# URL: http://www.sudo.ws/sudo/
|
2009-05-15 10:14:21 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2019-02-03 07:43:04 +01:00
|
|
|
# Depends on: zlib linux-pam
|
2009-05-15 09:59:33 +02:00
|
|
|
|
|
|
|
name=sudo
|
2020-06-22 12:25:09 +02:00
|
|
|
version=1.9.1
|
2019-10-15 11:51:45 +02:00
|
|
|
release=1
|
2019-02-03 07:43:04 +01:00
|
|
|
source=(https://www.sudo.ws/dist/$name-$version.tar.gz \
|
|
|
|
$name.pam)
|
2009-05-15 09:59:33 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib \
|
2010-06-03 11:35:26 +02:00
|
|
|
--with-logfac=auth \
|
2014-03-13 11:56:33 +01:00
|
|
|
--with-vardir=/var/lib/sudo \
|
|
|
|
--with-rundir=/var/run/sudo \
|
2011-08-24 12:01:54 +02:00
|
|
|
--disable-nls
|
2009-05-15 09:59:33 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2019-02-03 07:43:04 +01:00
|
|
|
# PAM service file
|
|
|
|
install -D -m 0644 $SRC/$name.pam \
|
|
|
|
$PKG/etc/pam.d/$name
|
|
|
|
|
2015-07-25 21:09:34 +02:00
|
|
|
rm -r $PKG/usr/share/doc
|
2009-05-15 09:59:33 +02:00
|
|
|
}
|