Ticket #51671: Portfile.2

File Portfile.2, 1.8 KB (added by akkornel (A. Karl Kornel), 8 years ago)

Portfile for remctl 3.11

Line 
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
4PortSystem          1.0
5
6name                remctl
7version             3.11
8revision            1
9categories          net
10license             MIT
11maintainers         kornel.us:karl
12description         Kerberos-authenticated remote command execution
13long_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.
16platforms           darwin
17homepage            http://www.eyrie.org/~eagle/software/remctl/
18master_sites        http://archives.eyrie.org/software/kerberos/ \
19                    http://archives.eyrie.org/software/ARCHIVE/remctl/
20
21checksums           rmd160 00565737e6dfe180db5137ed1184d8388eaedfff \
22                    sha256 98dc60c5f54609e8f7fb44aba33b606ef79b2dc82a945462bbeae87a105f6ba8
23
24depends_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.
29use_configure       yes
30configure.args      PKG_CONFIG=${prefix}/bin/pkg-config \
31                    PATH_KRB5_CONFIG=${prefix}/bin/krb5-config \
32                    PCRE_CONFIG=${prefix}/bin/pcre-config
33
34livecheck.type      regex
35livecheck.url       ${homepage}
36livecheck.regex     "${name}-(\[0-9a-z.\]*)${extract.suffix}"
37
38startupitem.create  yes
39startupitem.name    remctld
40startupitem.start   "${prefix}/sbin/remctld -F -m -P ${prefix}/var/run/remctld.pid"
41startupitem.stop    \
42    "if \[ -r ${prefix}/var/run/remctld.pid \]; then
43        kill `cat ${prefix}/var/run/remctld.pid`
44    fi"