[81859] trunk/dports/net/fping
ryandesign at macports.org
ryandesign at macports.org
Sat Aug 6 00:11:23 PDT 2011
Revision: 81859
http://trac.macports.org/changeset/81859
Author: ryandesign at macports.org
Date: 2011-08-06 00:11:23 -0700 (Sat, 06 Aug 2011)
Log Message:
-----------
fping:
* use autoreconf to ensure we're UsingTheRightCompiler and using the right architectures
* add Makefile.am patch from Mandriva to re-enable building fping6 (those modifications had been made directly to Makefile.in)
* additionally patch Makefile.am to fix build on Lion (#30095)
* add more checksum types
* update homepage (fping dot com is being squatted)
* disable livecheck (it seems unlikely this software will ever be updated again)
Modified Paths:
--------------
trunk/dports/net/fping/Portfile
Added Paths:
-----------
trunk/dports/net/fping/files/
trunk/dports/net/fping/files/patch-Makefile.am.diff
Modified: trunk/dports/net/fping/Portfile
===================================================================
--- trunk/dports/net/fping/Portfile 2011-08-06 07:01:33 UTC (rev 81858)
+++ trunk/dports/net/fping/Portfile 2011-08-06 07:11:23 UTC (rev 81859)
@@ -5,13 +5,18 @@
name fping
epoch 1
version 2.4b2
+revision 1
categories net
maintainers nomaintainer
platforms darwin
-homepage http://www.fping.com
+homepage http://unfix.org/projects/ipv6/
master_sites http://unfix.org/projects/ipv6/
distname ${name}-${version}_to-ipv6
-checksums md5 b1f10f88afd35b94846bfb0844d7a834
+
+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 \
@@ -24,8 +29,12 @@
a certain time limit and/or retry limit it will be \
considered unreachable.
-configure.args --mandir="${prefix}/share/man"
+patchfiles patch-Makefile.am.diff
+# 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
@@ -42,3 +51,5 @@
system "chmod 0511 ${destroot}${prefix}/sbin/fping6"
}
}
+
+livecheck.type none
Added: trunk/dports/net/fping/files/patch-Makefile.am.diff
===================================================================
--- trunk/dports/net/fping/files/patch-Makefile.am.diff (rev 0)
+++ trunk/dports/net/fping/files/patch-Makefile.am.diff 2011-08-06 07:11:23 UTC (rev 81859)
@@ -0,0 +1,13 @@
+https://qa.mandriva.com/show_bug.cgi?id=63396
+https://trac.macports.org/ticket/30095
+--- Makefile.am.orig 2002-01-15 18:52:18.000000000 -0600
++++ Makefile.am 2011-08-06 01:58:22.000000000 -0500
+@@ -1,5 +1,7 @@
+-sbin_PROGRAMS = fping
++sbin_PROGRAMS = fping fping6
+ fping_SOURCES = fping.c options.h linux.h
++fping6_SOURCES = fping.c options.h linux.h
++fping6_CPPFLAGS = $(AM_CPPFLAGS) -DIPV6 -D__APPLE_USE_RFC_3542
+ man_MANS = fping.8
+ AUTOMAKE_OPTIONS=foreign
+ EXTRA_DIST = $(man_MANS)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110806/fdfc1a4a/attachment.html>
More information about the macports-changes
mailing list