Package Details: airgraph-ng-svn 2112-2

Git Clone URL: https://aur.archlinux.org/airgraph-ng-svn.git (read-only)
Package Base: airgraph-ng-svn
Description: Graphing tool for the aircrack-ng suite
Upstream URL: http://www.aircrack-ng.org
Licenses: GPLv2
Conflicts: aircrack-ng-scripts, airgraph-ng
Provides: airgraph
Submitter: None
Maintainer: jorge_barroso
Last Packager: jorge_barroso
Votes: 5
Popularity: 0.000000
First Submitted: 2010-01-15 18:24
Last Updated: 2015-06-15 19:23

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

oberon2007 commented on 2017-10-31 21:03

Sources have been relocated. Some adjustments are needed in PKGBUILD:

_pkgname=airgraph-ng
pkgname=$_pkgname-svn
pkgdesc="Graphing tool for the aircrack-ng suite"
pkgver=2941
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.aircrack-ng.org"
license=('GPLv2')
depends=('aircrack-ng-svn' 'graphviz' 'python2')
makedepends=('subversion')
provides=(airgraph)
conflicts=('airgraph-ng'
'aircrack-ng-scripts')
source=(svn+http://svn.aircrack-ng.org/trunk/scripts/airgraph-ng/)
sha512sums=('SKIP')

pkgver() {
cd airgraph-ng
local ver="$(svnversion)"
printf "${ver//[[:alpha:]]}"
}

build() {
msg "Starting make..."
if [ -d ${_pkgname}-build/ ]; then
msg "Build exists, cleaning it up... "
rm -rf ${_pkgname}-build
fi

msg "Creating build folder... "
svn export ${_pkgname} ${_pkgname}-build
grep -rl python ${_pkgname}-build | xargs sed -i 's|python|python2|g'
}

package() {
cd ${srcdir}
install -D -m755 ${_pkgname}-build/dump-join ${pkgdir}/usr/bin/dump-join
install -D -m755 ${_pkgname}-build/airgraph-ng ${pkgdir}/usr/bin/airgraph-ng
install -d ${pkgdir}/usr/lib/airgraph-ng
install -m644 ${_pkgname}-build/graphviz/* ${pkgdir}/usr/lib/airgraph-ng/
install -D -m644 ${_pkgname}-build/README ${pkgdir}/usr/share/doc/airgraph-ng/README
install -D -m644 ${_pkgname}-build/setup.py ${pkgdir}/usr/lib/airgraph-ng/setup.py
install -D -m644 ${_pkgname}-build/test/test-1.txt ${pkgdir}/usr/include/airgraph-ng/test-1.txt
#Remove build directory
rm -rf ${_pkgname}-build
}

techlive commented on 2011-04-07 07:08

Here is an updated PKGBUILD,please use it.

PKBUILD: http://pastebin.com/hT76sMqp
airgraph-ng-svn.install: http://pastebin.com/7qGzhKhz

The .install is not yet being modidied,may be some message need to be show after the install.

fnord0 commented on 2010-10-05 06:48

PKGBUILD fix = just need to remove the .py extension in airgraph-ng.py and dump-join.py then everything is good2go