[49450] trunk/dports/net/fping/Portfile
blb at macports.org
blb at macports.org
Thu Apr 9 19:01:54 PDT 2009
Revision: 49450
http://trac.macports.org/changeset/49450
Author: blb at macports.org
Date: 2009-04-09 19:01:54 -0700 (Thu, 09 Apr 2009)
Log Message:
-----------
net/fping - integrate ipv6 variant into port to simplify and avoid checksum issues; ticket #19258
Modified Paths:
--------------
trunk/dports/net/fping/Portfile
Modified: trunk/dports/net/fping/Portfile
===================================================================
--- trunk/dports/net/fping/Portfile 2009-04-10 01:24:38 UTC (rev 49449)
+++ trunk/dports/net/fping/Portfile 2009-04-10 02:01:54 UTC (rev 49450)
@@ -3,14 +3,14 @@
name fping
version 2.4b2
+epoch 1
categories net
maintainers nomaintainer
platforms darwin
homepage http://www.fping.com
-master_sites http://fping.sourceforge.net/download/
-distname ${name}
-checksums md5 d5e8be59e307cef76bc479e1684df705
-worksrcdir ${name}-${version}_to
+master_sites http://unfix.org/projects/ipv6/
+distname ${name}-${version}_to-ipv6
+checksums md5 b1f10f88afd35b94846bfb0844d7a834
description A scriptable ping program to check if multiple hosts are up
long_description fping is different from ping in that you can specify \
any number of hosts on the command line, or specify \
@@ -26,15 +26,11 @@
configure.args --mandir="${prefix}/share/man"
post-destroot {
- if {[variant_isset ipv6]} {
- system "ln -s fping.8 ${destroot}${prefix}/share/man/man8/fping6.8"
- }
+ system "ln -s fping.8 ${destroot}${prefix}/share/man/man8/fping6.8"
# Check if user is running as root
if {$env(USER) == "root"} {
system "chmod 4511 ${destroot}${prefix}/sbin/fping"
- if {[variant_isset ipv6]} {
- system "chmod 4511 ${destroot}${prefix}/sbin/fping6"
- }
+ system "chmod 4511 ${destroot}${prefix}/sbin/fping6"
} else {
ui_msg "-----------------------------------------------------------"
ui_msg "Note that you are not running as root, so ${name} cannot"
@@ -42,15 +38,7 @@
ui_msg "to be executed by root."
ui_msg "-----------------------------------------------------------"
system "chmod 0511 ${destroot}${prefix}/sbin/fping"
- if {[variant_isset ipv6]} {
- system "chmod 0511 ${destroot}${prefix}/sbin/fping6"
- }
+ system "chmod 0511 ${destroot}${prefix}/sbin/fping6"
}
}
-variant ipv6 {
- version 2.4b2_to-ipv6
- checksums md5 b1f10f88afd35b94846bfb0844d7a834
- master_sites http://unfix.org/projects/ipv6/
-}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090409/d1233634/attachment.html>
More information about the macports-changes
mailing list