source: trunk/dports/security/calife/Portfile

Last change on this file was 148498, checked in by khindenburg@…, 19 months ago

calife: update to 3.0.5 new maintainer #51351

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 148498 2016-05-11 01:07:49Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    calife
6version                 3.0.5
7categories              security
8license         GPL-2
9maintainers             keltia.net:roberto openmaintainer
10description             Provides super user privileges to specific users
11long_description        Calife is a small utility close to sudo(8) but \
12                        lightweight and it preserves the caller's environment \
13                        (shell aliases, PATH and so on).
14homepage                https://www.keltia.net/programs/calife
15master_sites    https://assets.keltia.net/calife
16platforms               darwin
17
18use_xz          yes
19checksums \
20        rmd160 c5b68045102773c86e65b87c3a99879e4e360188 \
21        sha256 beda669de952875699ad99b27781eebd9393e6becd41961f87278f6682f3b903
22use_configure           yes
23
24configure.args-append   --with-etcdir=${prefix}/etc
25
26destroot {
27  xinstall -m 755 -d ${destroot}${prefix}/bin
28  xinstall -m 755 -d ${destroot}${prefix}/share/calife
29  xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
30  xinstall -m 755 -d ${destroot}${prefix}/share/man/man5
31
32  xinstall -m 4755 ${worksrcpath}/calife \
33                        ${destroot}${prefix}/bin/calife
34  xinstall -m 444 ${worksrcpath}/pam/macosx \
35                        ${destroot}${prefix}/share/calife/pam.d-calife
36  xinstall -m 600 ${worksrcpath}/calife.auth-dist \
37                        ${destroot}${prefix}/etc
38  xinstall -m 644 ${worksrcpath}/calife.1 \
39                        ${destroot}${prefix}/share/man/man1
40  xinstall -m 644 ${worksrcpath}/calife.auth.5 \
41                        ${destroot}${prefix}/share/man/man5
42}
43
44notes "
45To use calife, you will have to MANUALLY :
46 - copy ${prefix}/share/calife/pam.d-calife as /etc/pam.d/calife
47   with this command :
48     sudo cp ${prefix}/share/calife/pam.d-calife /etc/pam.d/calife
49 - edit ${prefix}/etc/calife-auth and give adequate permissions
50   (see man calife.auth or ${prefix}/etc/calife-auth-dist for syntax
51"
52
53livecheck.type      regex
54livecheck.url       ${homepage}
55livecheck.regex     Latest version is (\[\\d\.\]+)
Note: See TracBrowser for help on using the repository browser.