[113001] trunk/dports/net/fping/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Nov 6 10:44:50 PST 2013


Revision: 113001
          https://trac.macports.org/changeset/113001
Author:   ryandesign at macports.org
Date:     2013-11-06 10:44:50 -0800 (Wed, 06 Nov 2013)
Log Message:
-----------
fping: update to 3.7 (#41233)

Modified Paths:
--------------
    trunk/dports/net/fping/Portfile

Modified: trunk/dports/net/fping/Portfile
===================================================================
--- trunk/dports/net/fping/Portfile	2013-11-06 17:57:16 UTC (rev 113000)
+++ trunk/dports/net/fping/Portfile	2013-11-06 18:44:50 UTC (rev 113001)
@@ -4,20 +4,14 @@
 
 name			fping
 epoch			1
-version			2.4b2
-revision		1
+version             3.7
 categories		net
 license			X11
 maintainers		nomaintainer
 platforms		darwin
-homepage		http://unfix.org/projects/ipv6/
-master_sites	http://unfix.org/projects/ipv6/
-distname	${name}-${version}_to-ipv6
+homepage            http://fping.org/
+master_sites        ${homepage}dist/
 
-checksums  		md5     b1f10f88afd35b94846bfb0844d7a834 \
-				sha1    9b540b5fe81feffa5096f10f011d56f0c4dc0c09 \
-				rmd160  f838382136977e74fe610e06437a2ee0185f66f8
-
 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 \
@@ -30,27 +24,8 @@
 					a certain time limit and/or retry limit it will be \
 					considered unreachable. 
 
-patchfiles		patch-Makefile.am.diff
+checksums           rmd160  d6d433ef455580a17b36c9113d964d02a5feff29 \
+                    sha256  3c59b216b8609b5fd5dddcb87bf5f476ee21a9d548de49b6145f4dfcd9ad7821
 
-# Ensure UsingTheRightCompiler, fix universal variant, use build_arch, fix mandir
-use_autoreconf	yes
-autoreconf.args	-fvi
-
-post-destroot {
-	system "ln -s fping.8 ${destroot}${prefix}/share/man/man8/fping6.8"
-	# Check if user is running as root
-	if {[geteuid] == 0} {
-		system "chmod 4511 ${destroot}${prefix}/sbin/fping"
-		system "chmod 4511 ${destroot}${prefix}/sbin/fping6"
-	} else {
-		ui_msg "-----------------------------------------------------------"
-		ui_msg "Note that you are not running as root, so ${name} cannot"
-		ui_msg "be installed setuid root. Therefore, it will only be able"
-		ui_msg "to be executed by root."
-		ui_msg "-----------------------------------------------------------"
-		system "chmod 0511 ${destroot}${prefix}/sbin/fping"
-		system "chmod 0511 ${destroot}${prefix}/sbin/fping6"
-	}
-}
-
-livecheck.type	none
+livecheck.type      regex
+livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131106/0170a271/attachment.html>


More information about the macports-changes mailing list