Ticket #51671: Portfile.diff
File Portfile.diff, 2.0 KB (added by akkornel (A. Karl Kornel), 8 years ago) |
---|
-
Portfile
a b 4 4 PortSystem 1.0 5 5 6 6 name remctl 7 version 3.1 7 version 3.11 8 8 revision 1 9 9 categories net 10 10 license MIT 11 maintainers mit.edu:quentin11 maintainers kornel.us:karl 12 12 description Kerberos-authenticated remote command execution 13 13 long_description remctl implements a client/server protocol for running \ 14 14 single commands on a remote host using Kerberos v5 \ … … 18 18 master_sites http://archives.eyrie.org/software/kerberos/ \ 19 19 http://archives.eyrie.org/software/ARCHIVE/remctl/ 20 20 21 checksums rmd160 0 880f2172b25845262574b45099a556e428a4558\22 sha256 5bce856ce34b8c6a803eb52e4c2623941250099696f06b65c6f63c6133f9a63621 checksums rmd160 00565737e6dfe180db5137ed1184d8388eaedfff \ 22 sha256 98dc60c5f54609e8f7fb44aba33b606ef79b2dc82a945462bbeae87a105f6ba8 23 23 24 depends_lib port: pcre port:kerberos524 depends_lib port:libevent port:pcre port:kerberos5 25 25 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. 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 27 33 28 34 livecheck.type regex 29 35 livecheck.url ${homepage} 30 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"