1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name remctl |
---|
7 | version 3.11 |
---|
8 | revision 1 |
---|
9 | categories net |
---|
10 | license MIT |
---|
11 | maintainers kornel.us:karl |
---|
12 | description Kerberos-authenticated remote command execution |
---|
13 | long_description remctl implements a client/server protocol for running \ |
---|
14 | single commands on a remote host using Kerberos v5 \ |
---|
15 | authentication and returning the output. |
---|
16 | platforms darwin |
---|
17 | homepage http://www.eyrie.org/~eagle/software/remctl/ |
---|
18 | master_sites http://archives.eyrie.org/software/kerberos/ \ |
---|
19 | http://archives.eyrie.org/software/ARCHIVE/remctl/ |
---|
20 | |
---|
21 | checksums rmd160 00565737e6dfe180db5137ed1184d8388eaedfff \ |
---|
22 | sha256 98dc60c5f54609e8f7fb44aba33b606ef79b2dc82a945462bbeae87a105f6ba8 |
---|
23 | |
---|
24 | depends_lib port:libevent port:pcre port:kerberos5 |
---|
25 | |
---|
26 | # NOTE: --enable-reduced-depends MUST BE LEFT OUT of the configure line. |
---|
27 | # Passing that option causes the build to use the system Kerberos/GSSAPI |
---|
28 | # libraries, regardless of us setting PATH_KRB5_CONFIG. |
---|
29 | use_configure yes |
---|
30 | configure.args PKG_CONFIG=${prefix}/bin/pkg-config \ |
---|
31 | PATH_KRB5_CONFIG=${prefix}/bin/krb5-config \ |
---|
32 | PCRE_CONFIG=${prefix}/bin/pcre-config |
---|
33 | |
---|
34 | livecheck.type regex |
---|
35 | livecheck.url ${homepage} |
---|
36 | livecheck.regex "${name}-(\[0-9a-z.\]*)${extract.suffix}" |
---|
37 | |
---|
38 | startupitem.create yes |
---|
39 | startupitem.name remctld |
---|
40 | startupitem.start "${prefix}/sbin/remctld -F -m -P ${prefix}/var/run/remctld.pid" |
---|
41 | startupitem.stop \ |
---|
42 | "if \[ -r ${prefix}/var/run/remctld.pid \]; then |
---|
43 | kill `cat ${prefix}/var/run/remctld.pid` |
---|
44 | fi" |
---|