Ticket #51671: Portfile.diff

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

Diff from existing Portfile

  • Portfile

    a b  
    44PortSystem          1.0
    55
    66name                remctl
    7 version             3.1
     7version             3.11
    88revision            1
    99categories          net
    1010license             MIT
    11 maintainers         mit.edu:quentin
     11maintainers         kornel.us:karl
    1212description         Kerberos-authenticated remote command execution
    1313long_description    remctl implements a client/server protocol for running \
    1414                    single commands on a remote host using Kerberos v5 \
     
    1818master_sites        http://archives.eyrie.org/software/kerberos/ \
    1919                    http://archives.eyrie.org/software/ARCHIVE/remctl/
    2020
    21 checksums           rmd160 0880f2172b25845262574b45099a556e428a4558 \
    22                     sha256 5bce856ce34b8c6a803eb52e4c2623941250099696f06b65c6f63c6133f9a636
     21checksums           rmd160 00565737e6dfe180db5137ed1184d8388eaedfff \
     22                    sha256 98dc60c5f54609e8f7fb44aba33b606ef79b2dc82a945462bbeae87a105f6ba8
    2323
    24 depends_lib         port:pcre port:kerberos5
     24depends_lib         port:libevent port:pcre port:kerberos5
    2525
    26 configure.args      --enable-reduced-depends
     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
    2733
    2834livecheck.type      regex
    2935livecheck.url       ${homepage}
    3036livecheck.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"