diff options
Diffstat (limited to 'net-analyzer/fe3d/fe3d-0.11.2.ebuild')
-rw-r--r-- | net-analyzer/fe3d/fe3d-0.11.2.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net-analyzer/fe3d/fe3d-0.11.2.ebuild b/net-analyzer/fe3d/fe3d-0.11.2.ebuild new file mode 100644 index 000000000000..90d0b0e906b3 --- /dev/null +++ b/net-analyzer/fe3d/fe3d-0.11.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +WX_GTK_VER="2.8" +inherit autotools eutils wxwidgets + +if [[ "${PV}" =~ (_p)([0-9]+) ]] ; then + inherit subversion + SRC_URI="" + FE3D_REV=${BASH_REMATCH[2]} + ESVN_REPO_URI="http://svn.icapsid.net/fe3d/fe3d/branches/fe3d_0.11/@${FE3D_REV}" +else + SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}-src.tar.bz2" +fi + +DESCRIPTION="A 3D visualization tool for network security information" +HOMEPAGE="http://projects.icapsid.net/fe3d/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 x86" + +DOCS=( AUTHORS doc/{ChangeLog,README}.txt ) + +RDEPEND=" + >=dev-libs/xerces-c-2.7 + net-analyzer/nmap + x11-libs/wxGTK:2.8[opengl] +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN}_${PV} + +src_prepare() { + need-wxwidgets unicode + + epatch \ + "${FILESDIR}"/${P}-asneeded.patch \ + "${FILESDIR}"/${P}-coreutils.patch + + eautoreconf +} + +pkg_postinst() { + ewarn "This package has known issues:" + ewarn "1. The radius of the geometry nodes is wrong, causing overlap" + ewarn "2. Earth (and other) textures are upside down" + ewarn "3. This package contains some minor memory leaks" + echo + elog "Example using a nmap log:" + elog "/usr/bin/nmap -oX test.xml -O --osscan_limit 192.168.0.0/24" + elog "/usr/bin/fe3d test.xml" +} |