openbsd-ports/net/iperf/Makefile
sthen bfc6ee6ff9 - fix an off-by-one in iperf triggering a segfault with (insanely) high
bandwidths, seen when investigating some bug where a too-high bandwidth
was reported.

- patch configure to not remove the -g flag from CFLAGS

ok lteo@
2013-03-03 12:29:44 +00:00

35 lines
850 B
Makefile

# $OpenBSD: Makefile,v 1.21 2013/03/03 12:29:44 sthen Exp $
COMMENT= tool for measuring maximum TCP and UDP bandwidth
DISTNAME= iperf-2.0.5
REVISION= 2
CATEGORIES= net
HOMEPAGE= http://sourceforge.net/projects/iperf/
MAINTAINER= Lawrence Teo <lteo@devio.us>
# MIT'ish
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m pthread stdc++
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iperf/}
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.65
SEPARATE_BUILD= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/src/iperf ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/iperf.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/iperf
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/iperf
${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${PREFIX}/share/doc/iperf
.include <bsd.port.mk>