diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/egressor/egressor-1.0-r2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/egressor/egressor-1.0-r2.ebuild')
-rw-r--r-- | net-analyzer/egressor/egressor-1.0-r2.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net-analyzer/egressor/egressor-1.0-r2.ebuild b/net-analyzer/egressor/egressor-1.0-r2.ebuild new file mode 100644 index 000000000000..bac30f82bf2b --- /dev/null +++ b/net-analyzer/egressor/egressor-1.0-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="tool for checking router configuration" +HOMEPAGE="http://packetfactory.openwall.net/projects/egressor/" +SRC_URI="${HOMEPAGE}${PN}_release${PV}.tar.gz" + +LICENSE="egressor" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +DEPEND="<net-libs/libnet-1.1 + >=net-libs/libnet-1.0.2a-r3" +RDEPEND="net-libs/libpcap + dev-perl/Net-RawIP + dev-lang/perl" + +S=${WORKDIR} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PV}-libnet-1.0.patch \ + "${FILESDIR}"/${PV}-flags.patch +} + +src_compile() { + tc-export CC + emake -C client +} + +src_install() { + dobin client/egressor server/egressor_server.pl + dodoc README client/README-CLIENT server/README-SERVER +} |