maintainers keltia.net:roberto openmaintainer
description Provides super user privileges to specific users
long_description Calife is a small utility close to sudo(8) but \
lightweight and it preserves the caller's environment \
(shell aliases, PATH and so on).
homepage https://www.keltia.net/programs/calife
master_sites https://assets.keltia.net/calife
rmd160 c5b68045102773c86e65b87c3a99879e4e360188 \
sha256 beda669de952875699ad99b27781eebd9393e6becd41961f87278f6682f3b903
configure.args-append --with-etcdir=${prefix}/etc
xinstall -m 755 -d ${destroot}${prefix}/bin
xinstall -m 755 -d ${destroot}${prefix}/share/calife
xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
xinstall -m 755 -d ${destroot}${prefix}/share/man/man5
xinstall -m 4755 ${worksrcpath}/calife \
${destroot}${prefix}/bin/calife
xinstall -m 444 ${worksrcpath}/pam/macosx \
${destroot}${prefix}/share/calife/pam.d-calife
xinstall -m 600 ${worksrcpath}/calife.auth-dist \
xinstall -m 644 ${worksrcpath}/calife.1 \
${destroot}${prefix}/share/man/man1
xinstall -m 644 ${worksrcpath}/calife.auth.5 \
${destroot}${prefix}/share/man/man5
To use calife, you will have to MANUALLY :
- copy ${prefix}/share/calife/pam.d-calife as /etc/pam.d/calife
sudo cp ${prefix}/share/calife/pam.d-calife /etc/pam.d/calife
- edit ${prefix}/etc/calife-auth and give adequate permissions
(see man calife.auth or ${prefix}/etc/calife-auth-dist for syntax
livecheck.url ${homepage}
livecheck.regex Latest version is (\[\\d\.\]+)