# $Id: Portfile 148498 2016-05-11 01:07:49Z khindenburg@macports.org $ PortSystem 1.0 name calife version 3.0.5 categories security license GPL-2 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 platforms darwin use_xz yes checksums \ rmd160 c5b68045102773c86e65b87c3a99879e4e360188 \ sha256 beda669de952875699ad99b27781eebd9393e6becd41961f87278f6682f3b903 use_configure yes configure.args-append --with-etcdir=${prefix}/etc destroot { 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 \ ${destroot}${prefix}/etc xinstall -m 644 ${worksrcpath}/calife.1 \ ${destroot}${prefix}/share/man/man1 xinstall -m 644 ${worksrcpath}/calife.auth.5 \ ${destroot}${prefix}/share/man/man5 } notes " To use calife, you will have to MANUALLY : - copy ${prefix}/share/calife/pam.d-calife as /etc/pam.d/calife with this command : 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.type regex livecheck.url ${homepage} livecheck.regex Latest version is (\[\\d\.\]+)