1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/sysutils/nfsping/Makefile
Bryan Drewery 09c2bfc693 Add sysutils/nfsping
NFSping is a command line utility for measuring the response time of an NFS
server. It's basically a copy of the fping interface but doesn't share any code
with that project.

On modern NFS servers, the network stack and filesystem are often being run on
separate cores or even hardware components. This means in practise that a fast
ICMP ping response isn't indicative of how quickly the NFS filesystem is
responding. This tool more directly tests the responsiveness of the server's
operating system's NFS component.

WWW: https://github.com/mprovost/NFSping
2013-10-20 00:18:16 +00:00

44 lines
959 B
Makefile

# $FreeBSD$
PORTNAME= nfsping
PORTVERSION= 0.1.20131017
CATEGORIES= sysutils net-mgmt
MASTER_SITES= GH \
LOCAL/bdrewery/${PORTNAME}/
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Command line tool to check NFS server response times
LICENSE= BSD
OPTIONS_DEFINE= DOCS SMOKEPING
OPTIONS_DEFAULT=SMOKEPING
OPTIONS_SUB= yes
SMOKEPING_DESC= Install Smokeping probe
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= mprovost
GH_PROJECT= NFSping
GH_COMMIT= 460c382
GH_TAGNAME= ${GH_COMMIT}
PORTDOCS= README
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MSMOKEPING}
${MKDIR} ${STAGEDIR}${PREFIX}/smokeping/lib/Smokeping/probes
${INSTALL_DATA} ${WRKSRC}/Smokeping/NFSping.pm \
${STAGEDIR}${PREFIX}/smokeping/lib/Smokeping/probes
.endif
.include <bsd.port.mk>