# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name calife version 3.0.6 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 checksums rmd160 92fe1a21d3df98120ce66b696503cffe90472d52 \ sha256 f09b5c73439bab14a7ff1438b8f22a8da6216a5caf0ef8467f85467b2217357e \ size 98768 use_xz yes configure.args-append --with-etcdir=${prefix}/etc destroot { xinstall -m 755 -d ${destroot}${prefix}/share/calife 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\.\]+)