From 7224c1253228e5c29c78cb3f0f26ce34770f2356 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 15 Feb 2014 23:24:26 +0200 Subject: Added ebuilds for kogaion desktop --- net-wireless/aircrackgui-m4/Manifest | 2 + .../aircrackgui-m4/aircrackgui-m4-0.7.0.ebuild | 48 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 net-wireless/aircrackgui-m4/Manifest create mode 100644 net-wireless/aircrackgui-m4/aircrackgui-m4-0.7.0.ebuild (limited to 'net-wireless/aircrackgui-m4') diff --git a/net-wireless/aircrackgui-m4/Manifest b/net-wireless/aircrackgui-m4/Manifest new file mode 100644 index 00000000..2477f3ef --- /dev/null +++ b/net-wireless/aircrackgui-m4/Manifest @@ -0,0 +1,2 @@ +DIST aircrackgui-m4-0.7.0.tar.bz2 4515172 RMD160 5fd6c93f7f46b08e0ba8f0557926c4608972fca5 SHA1 fd4d608b0bc9762ce1eda9a481aee316da4ddbde SHA256 b424831f9e45fc16c7c42122f7b7ea56cd1dfb328552080e6d911dee96e562d5 +EBUILD aircrackgui-m4-0.7.0.ebuild 1349 RMD160 3554c7e5b657997d2f1e7ad8627b5eb15b05385d SHA1 3b46faf25f0d60cab4f2dab82dadc4b1c746f615 SHA256 b6ccf67f81fb9cbd217ae3e2df0d4d9cd510cae970bbdaa29a2d579d4bd67edb diff --git a/net-wireless/aircrackgui-m4/aircrackgui-m4-0.7.0.ebuild b/net-wireless/aircrackgui-m4/aircrackgui-m4-0.7.0.ebuild new file mode 100644 index 00000000..da65e31f --- /dev/null +++ b/net-wireless/aircrackgui-m4/aircrackgui-m4-0.7.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit qt4-r2 + +DESCRIPTION="" +HOMEPAGE="" +SRC_URI="http://aircrackgui-m4.googlecode.com/files/aircrack-GUI-M4%200.7.0%20Final-Source.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND=">=x11-libs/qt-gui-4.7.3 + >=x11-libs/qt-core-4.7.3" +RDEPEND="${DEPEND} + net-analyzer/macchanger + net-wireless/aircrack-ng" + +S="${WORKDIR}/aircrack-GUI-M4 0.7.0 Final-Source" + +src_prepare() { + sed -i 's#aircrack-ng-1.1-M4/src/airodump-ng#/usr/sbin/airodump-ng#g' DEFINES.h + sed -i 's#aircrack-ng-1.1-M4/src/aireplay-ng#/usr/sbin/aireplay-ng#g' DEFINES.h + sed -i 's#aircrack-ng-1.1-M4/src/aircrack-ng#/usr/bin/aircrack-ng#g' DEFINES.h + sed -i 's#binutils/macchanger#/usr/bin/macchanger#g' DEFINES.h + #sed -i 's#airmon-ng#airmon-zc#g' DEFINES.h + + #I'm not 100% certain on if this will work but... + sed -i 's#captures#/tmp/captures#g' DEFINES.h + sed -i 's#arp_replays#/tmp/arp_replays#g' DEFINES.h + sed -i 's#frag_caps#/tmp/frag_caps#g' DEFINES.h + sed -i 's#chop_caps#/tmp/chop_caps#g' DEFINES.h + sed -i 's#forged_arps#/tmp/forged_arps#g' DEFINES.h + sed -i 's#broadcast_caps#/tmp/broadcast_caps#g' DEFINES.h +} + +src_compile() { + eqmake4 -config release + emake +} + +src_install() { + dosbin aircrack-GUI +} -- cgit v1.2.3