d40dc2d13e
patch provided by Quentin Garnier in PR 22320 rc2 changes * Major code rewrite (me) * Fix for a problem about port number printing in TCP mode (thanks to Yann Berthier) * MTU value sanity check in option parsing (Nicolas Jombart) * Fix the use of -W option (Nicolas Jombart) * strlcpy() when needed (Brieuc Jeunhomme) * source routing and random bugfixes (Brieuc Jeunhomme) * Fix a bug when using BSD and a PPP link as a default route, and more (Nicolas Jombart) * --rand-source for random source addresses (me) * --rand-dest for random destination addresses + manpage update (me) * all the atoi() call was replaced with strto[u]l() (me) * seq/ack setting using strtoul() instead of atoi() (Shachar Shemesh) * DF added to the icmp and udp output (me) * --port ++ fixed with UDP and enanched for TCP/UDP. Now the packets matches only with a sport that is in the range base_dest_port - current_dest_port (me) (Thanks to David Bar <dbar@Checkpoint.com> for the original report).
27 lines
732 B
Makefile
27 lines
732 B
Makefile
# $NetBSD: Makefile,v 1.3 2003/09/25 22:12:15 recht Exp $
|
|
#
|
|
|
|
DISTNAME= hping2.0.0-rc2
|
|
PKGNAME= hping-2.0.0.2
|
|
WRKSRC= ${WRKDIR}/hping2-rc2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.hping.org/
|
|
|
|
MAINTAINER= atatat@NetBSD.org
|
|
HOMEPAGE= http://www.hping.org/
|
|
COMMENT= Traceroute and ping using TCP and UDP as well as ICMP
|
|
|
|
HAS_CONFIGURE= YES
|
|
MANPATH= ${PREFIX}/man
|
|
CONFIGURE_ENV+= MANPATH="${MANPATH}"
|
|
NOT_FOR_PLATFORM= NetBSD-0.* NetBSD-1.[0-4]*
|
|
|
|
BINMODE= 4755
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin
|
|
${LN} -s ../sbin/hping2 ${PREFIX}/sbin/hping
|
|
${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/man/man8
|
|
${LN} -s ../../man/man8/hping2.8 ${PREFIX}/man/man8/hping.8
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|