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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup github 1.0 |
---|
5 | github.setup chaos pdsh 2.33 |
---|
6 | |
---|
7 | categories net |
---|
8 | platforms darwin |
---|
9 | license GPL-2+ |
---|
10 | maintainers gmail.com:james.trammell |
---|
11 | |
---|
12 | description Parallel Distributed Shell |
---|
13 | long_description Pdsh is a high-performance, parallel remote shell utility. It uses a \ |
---|
14 | sliding window of threads to execute remote commands, conserving socket \ |
---|
15 | resources while allowing some connections to timeout if needed. It was \ |
---|
16 | originally written as a replacement for IBM's DSH on clusters at LLNL. |
---|
17 | |
---|
18 | homepage https://github.com/chaos/pdsh |
---|
19 | |
---|
20 | checksums rmd160 6acf5b14f4245aab9324526f60f0d7701100a811 \ |
---|
21 | sha256 7368087429d6269f0a6313c406ef38c6a6a947bc003ca7368fc6481b139d942f |
---|
22 | |
---|
23 | master_sites ${homepage}/releases/download/${github.project}-${github.version} |
---|
24 | |
---|
25 | configure.args --with-ssh \ |
---|
26 | --mandir=${prefix}/share/man |
---|
27 | |
---|
28 | default_variants +dsh +nodeupdown +readline +no_rsh +genders |
---|
29 | |
---|
30 | variant dsh description {with dshgroups} { |
---|
31 | configure.args-append --with-dshgroups |
---|
32 | } |
---|
33 | variant genders description {with genders} { |
---|
34 | depends_lib-append port:genders |
---|
35 | configure.args-append --with-genders |
---|
36 | } |
---|
37 | variant readline description {with readline} { |
---|
38 | depends_lib-append port:readline |
---|
39 | configure.args-append --with-readline |
---|
40 | } |
---|
41 | variant no_rsh description {without rsh} { |
---|
42 | configure.args-append --without-rsh |
---|
43 | } |
---|
44 | variant nodeupdown description {with nodeupdown} { |
---|
45 | configure.args-append --with-nodeupdown |
---|
46 | } |
---|
47 | |
---|
48 | livecheck.type regex |
---|
49 | livecheck.url ${homepage}/releases/latest |
---|
50 | livecheck.regex ".*/releases/tag/pdsh-(.*)\\\">.*" |
---|
51 | |
---|
52 | # https://guide.macports.org/index.html |
---|
53 | # sudo cp ~/Desktop/Portfile.pdsh.txt /opt/local/var/macports/sources/github.com/macports/macports-ports/net/pdsh/Portfile && sudo port -vc sync && sudo rm -v /opt/local/var/macports/distfiles/pdsh/pdsh-2.33.tar.gz |
---|
54 | # sudo port -vc checksum pdsh |
---|
55 | # sudo port -vc distcheck pdsh |
---|
56 | # sudo port -vc livecheck pdsh |
---|
57 | # sudo port -vc build pdsh |
---|
58 | # sudo port -vc install pdsh |
---|
59 | # sudo port -vc uninstall pdsh |
---|
60 | # sudo port -vc clean pdsh |
---|