mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
595605c5fe
Several people have produced some patches for fping that adds an option to select the IP source_address for queries and some have said they submitted them to the sourceforge fping maintainer. Since I did not see any official fping distributions that include any of those patches, I recently Cc-ed the sourceforge fping maintainer's address in a question to the smokeping mailing-list asking about that patch but so far I have heard back only from that list with a pointer to a debian patch. Per request from Jason Harris, I include here a copy of the patch that is usable in ports/net/fping/files that adds that option. PR: ports/111549 Submitted by: Philip Kizer <pckizer@nostrum.com> Approved by: maintainer timeout
40 lines
898 B
Makefile
40 lines
898 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
|
|
PORTREVISION= 1
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://keyserver.kjsl.com/~jharris/distfiles/
|
|
#MASTER_SITES= http://www.fping.com/download/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}_to-ipv6
|
|
|
|
MAINTAINER= jharris@widomaker.com
|
|
COMMENT= Quickly ping N hosts w/o flooding the network
|
|
|
|
PLIST_FILES= sbin/fping
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --bindir="${PREFIX}/sbin"
|
|
MAN8= fping.8
|
|
|
|
.if defined(WITH_IPV6)
|
|
# IPv6 not enabled by default, as it does not work together with IPv4.
|
|
CFLAGS+= -DIPV6
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/fping@/${MAINTAINER:S/@/\\@/g} or fping@/g' \
|
|
${WRKSRC}/fping.c
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${PREFIX}/sbin/fping
|
|
@${CHMOD} 4555 ${PREFIX}/sbin/fping
|
|
|
|
.include <bsd.port.mk>
|