updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / xplico / PKGBUILD
blobdf7594c295dc94e17ecd5d2ade27e162302122fa
1 # Contributor: M0Rf30
2 pkgname=xplico
3 pkgver=0.7.0
4 pkgrel=2
5 arch=(i686 x86_64)
6 pkgdesc="Internet Traffic Decoder. Network Forensic Analysis Tool (NFAT)"
7 url="http://www.xplico.org/"
8 license=('GPL')
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
14 xplico.conf)
15 install=xplico.install
17 build() {
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
24     make -j1
25     make DESTDIR=$pkgdir install    
26     install -Dp $srcdir/$pkgname.conf $pkgdir/etc/httpd/conf/extra/httpd-$pkgname.conf
29 md5sums=('0d27690e2fd8516be2441393831f4026'
30          '87f36288b4b0f455727fb7bf62077e67')