You are not logged in.

#1 2010-01-16 16:30:15

Xemertix
Member
Registered: 2009-04-09
Posts: 66

Xplico - Internet Traffic Decoder. Network Forensic Analysis Tool

http://wiki.xplico.org/doku.php?id=building
I tried to create this pkgbuild but the symlinking doesn't work..

# Contributor:Xemertix <arch88(at)katamail(dot)com>
 
pkgname=xplico
pkgver=0.5.4
pkgrel=1
pkgdesc="Internet Traffic Decoder. Network Forensic Analysis Tool (NFAT)"
arch=('i686' 'x86_64')
url="http://www.xplico.org/"
license=('GPL')
depends=('sqlite2' 'sqlite3' 'libmysqlclient')
optdepends=('ghostscript')
source=(http://downloads.sourceforge.net/project/xplico/Xplico%20versions/version%200.5.4/${pkgname}-${pkgver}.tgz)
md5sums=('602d44840d9e48c3b08b902cdf8a6be0')

 
build() {
  cd ${srcdir}/${pkgname}-${pkgver}

  #to produce the geographical map of the reconstruction
  wget http://www.maxmind.com/download/geoip/api/c/GeoIP-1.4.6.tar.gz
  tar  xvfz GeoIP-1.4.6.tar.gz
  cd GeoIP-1.4.6 && ./configure && make

  #download GeoLite City database
  cd ${srcdir}/${pkgname}-${pkgver}
  wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
  gunzip GeoLiteCity.dat.gz

  make || return 1
  make DESTDIR=${startdir}/pkg install

  mkdir $pkgdir/usr/bin/
  ln -s $pkgdir/opt/xplico/bin/{dema,mfbc,xplico} $pkgdir/usr/bin/
}

Offline

Board footer

Powered by FluxBB