summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f494333c67d4ec2e6ee4a6ce308a520350715280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Maintainer: M0Rf30
pkgname=xplico
pkgver=v1.2.0.r5.g1ed30f3
pkgrel=1
arch=(i686 x86_64)
pkgdesc="Internet Traffic Decoder. Network Forensic Analysis Tool (NFAT)"
url="http://www.xplico.org/"
license=('GPL')
depends=(
	apache
	json-c
	lame
	libmysqlclient
	libnet
	libpcap
	ndpi
	net-tools
	perl
	perl
	php
	php-apache
	php-pear
	php-sqlite
	python-httplib2
	python-psycopg2
	recode
	sox
	sqlite3
	tcpdump
) 
optdepends=('geoip-database-extra: City database for geoip IP location lookups'
	    'ghostpdl: reconstruct document printed with network printer'
	    'videosnarf: decode VoIP based on RTP')
source=('xplico::git+https://github.com/xplico/xplico.git')
install=xplico.install

build() {
  cd xplico
  make -j1
}

package() {
  cd xplico
  make DESTDIR=$pkgdir install    
  ln -sr /usr/share/GeoIP/GeoIPCity.dat $pkgdir/opt/xplico/GeoLiteCity.dat
}

pkgver() {
  cd xplico
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

md5sums=('SKIP')