freebsd-ports/net/fping+ipv6/Makefile
Edwin Groothuis 52761a44f8 [NEW PORT] net/fping+ipv6: Quickly ping N hosts w/o flooding the
network - IPv6 version

	This is an IPv6 only version of fping. The fping with IPv6 patch cannot handle
	IPv4 ping, therefore I think it is better to have two distinct port:
	fping - IPv4 only
	fping+ipv6 - IPv6 only

	Maintainer of fping also copied. He can maintain both port if he agrees.
	-------------------------------------------------

	A tool to quickly ping N number of hosts to determine their reachability
	without flooding the network.

	fping is different from ping in that you can specify any number of
	hosts on the command line, or specify a file containing the lists
	of hosts to ping. Instead of trying one host until it timeouts or
	replies, fping will send out a ping packet and move on to the next
	host in a round-robin fashion. If a host replies, it is noted and
	removed from the list of hosts to check. If a host does not respond
	within a certain time limit and/or retry limit it will be considered
	unreachable.

	Unlike ping, fping is meant to be used in scripts and its
	output is easy to parse.
	This is an IPv6 only version.

	WWW: http://www.fping.com/

	Generated with FreeBSD Port Tools 0.77

PR:		ports/112185
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu>
2007-09-28 12:26:52 +00:00

39 lines
961 B
Makefile

# ex:ts=8
# Ports collection makefile for: fping
# Date created: Tue Mar 25, 1997
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME= fping
PORTVERSION= 2.4b2
CATEGORIES= net ipv6
MASTER_SITES= http://keyserver.kjsl.com/~jharris/distfiles/
#MASTER_SITES= http://www.fping.com/download/
PKGNAMESUFFIX= +ipv6
DISTNAME= ${PORTNAME}-${PORTVERSION}_to-ipv6
MAINTAINER= jharris@widomaker.com
COMMENT= Quickly ping N hosts w/o flooding the network - IPv6 version
PLIST_FILES= sbin/fping6
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir="${PREFIX}/sbin"
MAN8= fping.8
USE_DOS2UNIX= fping.8
# IPv6 enabled since it is a IPv6 only version
CFLAGS+= -DIPV6
post-patch:
@${REINPLACE_CMD} -e 's/fping@/${MAINTAINER:S/@/\\@/g} or fping@/g' \
${WRKSRC}/fping.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fping ${PREFIX}/sbin/fping6
@${CHMOD} 4555 ${PREFIX}/sbin/fping6
${INSTALL_MAN} ${WRKSRC}/fping.8 ${PREFIX}/man/man8
.include <bsd.port.mk>