6 pkgdesc="Internet Traffic Decoder. Network Forensic Analysis Tool (NFAT)"
7 url="http://www.xplico.org/"
9 depends=('libpcap' 'sqlite3' 'sox' 'lame' 'perl' 'apache' 'php' 'php-sqlite' 'php-apache' 'php-pear' 'perl' 'libnet' 'recode'
10 'videosnarf' 'python-httplib2' 'libmysqlclient')
11 optdepends=('ghostpdl: reconstruct document printed with network printer'
12 'videosnarf: decode VoIP based on RTP')
13 source=(http://downloads.sourceforge.net/xplico/$pkgname-$pkgver.tgz
15 install=xplico.install
19 cd $srcdir/$pkgname-$pkgver
21 msg "Updating the GeoLite City database..."
22 wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
23 if [ -f GeoLiteCity.dat.gz ]; then gunzip GeoLiteCity.dat.gz; fi
25 make DESTDIR=$pkgdir install
26 install -Dp $srcdir/$pkgname.conf $pkgdir/etc/httpd/conf/extra/httpd-$pkgname.conf
29 md5sums=('0d27690e2fd8516be2441393831f4026'
30 '87f36288b4b0f455727fb7bf62077e67')