diff options
author | Jon Portnoy <avenj@gentoo.org> | 2003-12-03 21:30:31 +0000 |
---|---|---|
committer | Jon Portnoy <avenj@gentoo.org> | 2003-12-03 21:30:31 +0000 |
commit | 630870c54b9e475c5a7eb6cef7f6dffe2698be87 (patch) | |
tree | f811e88515d389f12da9db0deb44145883bbebd0 /net-analyzer/hping/hping-2.0.0_rc2-r1.ebuild | |
parent | Added a patch from GMsoft for WLAN devices (diff) | |
download | historical-630870c54b9e475c5a7eb6cef7f6dffe2698be87.tar.gz historical-630870c54b9e475c5a7eb6cef7f6dffe2698be87.tar.bz2 historical-630870c54b9e475c5a7eb6cef7f6dffe2698be87.zip |
Added a patch from GMsoft for WLAN devices
Diffstat (limited to 'net-analyzer/hping/hping-2.0.0_rc2-r1.ebuild')
-rw-r--r-- | net-analyzer/hping/hping-2.0.0_rc2-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-analyzer/hping/hping-2.0.0_rc2-r1.ebuild b/net-analyzer/hping/hping-2.0.0_rc2-r1.ebuild new file mode 100644 index 000000000000..0f9f1ede275a --- /dev/null +++ b/net-analyzer/hping/hping-2.0.0_rc2-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-2.0.0_rc2-r1.ebuild,v 1.1 2003/12/03 21:30:28 avenj Exp $ + +S=${WORKDIR}/hping2-rc2 +DESCRIPTION="A ping-like TCP/IP packet assembler/analyzer." +SRC_URI="http://www.hping.org/hping2.0.0-rc2.tar.gz" +HOMEPAGE="http://www.hping.org" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc ~hppa ~ia64 ~amd64 ~alpha" + +DEPEND="net-libs/libpcap" + +src_compile() { + epatch ${FILESDIR}/wlan-header-fix.patch + + ./configure || die + + if [ `use debug` ] + then + make CCOPT="${CFLAGS}" || die + else + make CCOPT="${CFLAGS}" || die + fi +} + +src_install () { + cd ${S} + + dodir /usr/sbin + dosbin hping2 + dosym /usr/sbin/hping2 /usr/sbin/hping + + doman docs/hping2.8 + dodoc INSTALL KNOWN-BUGS NEWS README TODO AUTHORS BUGS CHANGES COPYING +} |