mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
Added xplico internet traffic decoder
This commit is contained in:
parent
59cbdbeea8
commit
fd85be0a50
2 changed files with 40 additions and 0 deletions
2
net-analyzer/xplico/Manifest
Normal file
2
net-analyzer/xplico/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST xplico-0.5.3.tgz 1153513 RMD160 d92787d710d01115f1bcb6c8eff289d2516b96c9 SHA1 5453bdee5d0ba731474248022ded74c1b095e6a8 SHA256 ad5b353bc93af6e5928e3d9859b0bc76fa27be3f6faeaff5e9c2884af8aaa99a
|
||||
EBUILD xplico-0.5.3.ebuild 909 RMD160 422af72b4774cfabd458bddad54eb6c44722d493 SHA1 4d846172793d0ef9421e2ef649e4406e723b12c6 SHA256 ce8e6e1ae0cd04daf68715433ba0eb582b4eb504ce22c2b38a25d7f59a58d1bd
|
||||
38
net-analyzer/xplico/xplico-0.5.3.ebuild
Normal file
38
net-analyzer/xplico/xplico-0.5.3.ebuild
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Extract data from TCP/IP traffic"
|
||||
HOMEPAGE="http://www.xplico.org"
|
||||
SRC_URI="mirror://sourceforge/$PN/$P.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
|
||||
IUSE="+geoip mysql"
|
||||
DEPEND="net-libs/libpcap
|
||||
geoip? ( dev-libs/geoip )
|
||||
dev-db/sqlite:0"
|
||||
RDEPEND="mysql? ( dev-db/mysql )"
|
||||
src_prepare() {
|
||||
# fix CFLAGS
|
||||
sed -i "s|-g -ggdb -O0|$CFLAGS|g" Makefile
|
||||
sed -i "s|-g -ggdb|$CFLAGS|g" system/dema/Makefile
|
||||
if use geoip; then
|
||||
sed -i -e "s|GEOIP_LIB =.*|GEOIP_LIB = /usr/$(get_libdir)/libGeoIP.a|g" Makefile
|
||||
sed -i "s|GeoLiteCity.dat|/usr/share/GeoIP/GeoIP.dat|" common/geoiploc.c
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" emake -j1 install || die "install failed"
|
||||
#FIXME: Setup webroot for use with Webserver
|
||||
}
|
||||
Loading…
Reference in a new issue