diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2003-07-28 15:44:28 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2003-07-28 15:44:28 +0000 |
commit | f66d2a606238ccb58082465657c4b3501ad9ac74 (patch) | |
tree | 7b18188734be786c4b77e3261192d91c46903373 /net-analyzer/sniffit/sniffit-0.3.7-r1.ebuild | |
parent | lu_zero's write access errors fixed (diff) | |
download | historical-f66d2a606238ccb58082465657c4b3501ad9ac74.tar.gz historical-f66d2a606238ccb58082465657c4b3501ad9ac74.tar.bz2 historical-f66d2a606238ccb58082465657c4b3501ad9ac74.zip |
fix gcc-3.3 issues
Diffstat (limited to 'net-analyzer/sniffit/sniffit-0.3.7-r1.ebuild')
-rw-r--r-- | net-analyzer/sniffit/sniffit-0.3.7-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-analyzer/sniffit/sniffit-0.3.7-r1.ebuild b/net-analyzer/sniffit/sniffit-0.3.7-r1.ebuild new file mode 100644 index 000000000000..de5211e24d6a --- /dev/null +++ b/net-analyzer/sniffit/sniffit-0.3.7-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sniffit/sniffit-0.3.7-r1.ebuild,v 1.1 2003/07/28 15:43:51 azarah Exp $ + +IUSE= + +inherit eutils + +MY_P="${P/-/.}.beta" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Interactive Packet Sniffer" +SRC_URI="http://reptile.rug.ac.be/~coder/sniffit/files/${MY_P}.tar.gz + http://www.clan-tva.com/m0rpheus/sniffit_0.3.7.beta-10.diff" +HOMEPAGE="http://reptile.rug.ac.be/~coder/sniffit/sniffit.html" + +DEPEND=">=net-libs/libpcap-0.6.2 + >=sys-libs/ncurses-5.2" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="x86 ppc sparc " + +src_unpack() { + unpack ${MY_P}.tar.gz + + cd ${S} + epatch ${DISTDIR}/sniffit_0.3.7.beta-10.diff + + # Fix issues with gcc-3.3 (bug #25328) + epatch ${FILESDIR}/${P}-gcc33.patch +} + +src_compile() { + econf || die + + emake OBJ_FLAG="-w -c ${CFLAGS}" \ + EXE_FLAG="-w ${CFLAGS} -o sniffit" || die +} + +src_install () { + dobin sniffit + + doman sniffit.5 sniffit.8 + dodoc README* PLUGIN-HOWTO BETA* HISTORY LICENSE changelog +} + |