Changeset 7554 for trunk/dports
- Timestamp:
- Jun 19, 2004, 2:25:22 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/net/fping/Portfile
r2127 r7554 1 # $Id: Portfile,v 1.4 2003/03/03 07:09:29 mij Exp $ 1 # $Id: Portfile,v 1.5 2004/06/19 02:25:22 rshaw Exp $ 2 PortSystem 1.0 2 3 3 PortSystem 1.0 4 name fping 5 version 2.4b2_to 6 categories net 7 maintainers marius@caos.aamu.edu 8 platforms darwin 9 master_sites http://www.fping.com/download/4 name fping 5 version 2.4b2_to 6 categories net 7 maintainers rshaw@opendarwin.org 8 platforms darwin 9 homepage http://www.fping.com 10 master_sites ${homepage}/download/ 10 11 checksums md5 d5e8be59e307cef76bc479e1684df705 11 description A scriptable ping program to check if multiple hosts are up 12 long_description fping is different from ping in that you can specify any number of \ 13 hosts on the command line, or specify a file containing the lists \ 14 of hosts to ping. Instead of trying one host until it timeouts or \ 15 replies, fping will send out a ping packet and move on to the next \ 16 host in a round-robin fashion. If a host replies, it is noted and \ 17 removed from the list of hosts to check. If a host does not respond \ 18 within a certain time limit and/or retry limit it will be considered \ 19 unreachable. 12 description A scriptable ping program to check if multiple hosts are up 13 long_description fping is different from ping in that you can specify \ 14 any number of hosts on the command line, or specify \ 15 a file containing the lists of hosts to ping. \ 16 Instead of trying one host until it timeouts or \ 17 replies, fping will send out a ping packet and move \ 18 on to the next host in a round-robin fashion. If a \ 19 host replies, it is noted and removed from the list \ 20 of hosts to check. If a host does not respond within \ 21 a certain time limit and/or retry limit it will be \ 22 considered unreachable. 23 24 configure.args --mandir="${prefix}/share/man" 25 26 post-destroot { 27 if {[variant_isset ipv6]} { 28 system "ln -s fping.8 ${destroot}${prefix}/share/man/man8/fping6.8" 29 } 30 # Check if user is running as root 31 if {$env(USER) == "root"} { 32 system "chmod 4511 ${destroot}${prefix}/sbin/fping" 33 if {[variant_isset ipv6]} { 34 system "chmod 4511 ${destroot}${prefix}/sbin/fping6" 35 } 36 } else { 37 ui_msg "-----------------------------------------------------------" 38 ui_msg "Note that you are not running as root, so ${name} cannot" 39 ui_msg "be installed setuid root. Therefore, it will only be able" 40 ui_msg "to be executed by root." 41 ui_msg "-----------------------------------------------------------" 42 system "chmod 0511 ${destroot}${prefix}/sbin/fping" 43 if {[variant_isset ipv6]} { 44 system "chmod 0511 ${destroot}${prefix}/sbin/fping6" 45 } 46 } 47 } 48 49 variant ipv6 { 50 version 2.4b2_to-ipv6 51 checksums md5 b1f10f88afd35b94846bfb0844d7a834 52 master_sites http://unfix.org/projects/ipv6/ 53 } 54
Note: See TracChangeset
for help on using the changeset viewer.