summaryrefslogtreecommitdiff
path: root/community/aircrack-ng
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/aircrack-ng
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/aircrack-ng')
-rw-r--r--community/aircrack-ng/ChangeLog66
-rw-r--r--community/aircrack-ng/PKGBUILD91
2 files changed, 157 insertions, 0 deletions
diff --git a/community/aircrack-ng/ChangeLog b/community/aircrack-ng/ChangeLog
new file mode 100644
index 000000000..a8feddaab
--- /dev/null
+++ b/community/aircrack-ng/ChangeLog
@@ -0,0 +1,66 @@
+2011-06-28 Brad Fanella
+
+ * Fix FS#24880
+
+2011-06-15 Brad Fanella
+
+ * Fix FS#24633
+
+2011-03-16 Brad Fanella
+
+ * Fix FS#23295
+
+2011-01-17 Brad Fanella
+
+ * Fix #FS20303
+ * Split into aircrack-ng and aircrack-ng-scripts
+
+2009-09-18 Biru Ionut <ionut@archlinux.ro>
+
+ * Version bump: 1.0-rc4
+
+2009-04.14 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 1.0-rc3
+
+ * PKGBUILD: removed old compilation patch
+
+2009-02-08 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 1.0-rc2
+
+ * sha-compile-fix-64bit.patch: added, fixes compilation on 64bit hosts
+
+2008-06-15 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 1.0-rc1
+
+ * PKGBUILD: moved from $startdir to $srcdir/$pkgdir, added vim tags,
+ added sqlite3 dependency for airolib-ng support
+
+2008-05-03 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 1.0-beta2
+
+ * PKGBUILD: adapted make command to the new Makefile, added zlib and
+ openssl dependencies
+
+2008-02-25 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 0.9.3
+
+2008-02-08 Corrado Primier <bardo@aur.archlinux.org>
+
+ * PKGBUILD: fixed man page location (thanks Snowman)
+
+2008-02-07 Corrado Primier <bardo@aur.archlinux.org>
+
+ * Version bump: 0.9.2
+
+ * PKGBUILD: moved man pages to /usr/share/man
+
+2007-12-15 Corrado Primier <bardo@aur.archlinux.org>
+
+ * ChangeLog: added
+
+ * PKGBUILD: adopted, cleaned up, uploaded to [community]
diff --git a/community/aircrack-ng/PKGBUILD b/community/aircrack-ng/PKGBUILD
new file mode 100644
index 000000000..6e2021027
--- /dev/null
+++ b/community/aircrack-ng/PKGBUILD
@@ -0,0 +1,91 @@
+# $Id: PKGBUILD 92023 2013-05-30 23:34:33Z seblu $
+# Maintainer: Brad Fanella <bradfanella@archlinux.us>
+# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor: Corrado Primier <bardo@aur.archlinux.org>
+# Contributor: ice-man <icemanf@gmail.com>
+
+pkgbase=aircrack-ng
+pkgname=(aircrack-ng aircrack-ng-scripts)
+pkgver=1.1
+pkgrel=9
+arch=('i686' 'x86_64')
+url="http://www.aircrack-ng.org"
+license=('GPL2')
+source=("http://download.aircrack-ng.org/${pkgname}-${pkgver}.tar.gz")
+md5sums=('f7a24ed8fad122c4187d06bfd6f998b4')
+depends=('openssl' 'sqlite' 'iw' 'net-tools')
+
+build() {
+ cd ${srcdir}/${pkgbase}-${pkgver}
+ make SQLITE=true unstable=true
+}
+
+package_aircrack-ng() {
+ pkgdesc="A key cracker for the 802.11 WEP and WPA-PSK protocols"
+
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} SQLITE=true unstable=true bindir=/usr/bin \
+ mandir=/usr/share/man/man1 sbindir=/usr/bin install
+
+ ### Remove installed scripts/corresponding man pages (installed in aircrack-ng-scripts) ###
+ # Scripts
+ rm ${pkgdir}/usr/bin/airdriver-ng
+ rm ${pkgdir}/usr/bin/airodump-ng-oui-update
+ # Man pages
+ mkdir -p ${srcdir}/tmp/
+ mv ${pkgdir}/usr/share/man/man1/airdriver-ng.1 ${srcdir}/tmp/
+}
+
+package_aircrack-ng-scripts() {
+ pkgdesc="Included scripts for a key cracker for the 802.11 WEP and WPA-PSK protocols"
+ depends=('python2' 'graphviz' 'python2-pylorcon')
+
+ cd ${srcdir}/aircrack-ng-${pkgver}/scripts
+ mkdir -p ${pkgdir}/usr/share/man/man1/ \
+ ${pkgdir}/usr/bin
+
+ ### AIRDRIVER-NG ###
+ # Script
+ install -Dm644 airdriver-ng ${pkgdir}/usr/bin/
+ # Libs
+ mkdir -p ${pkgdir}/usr/lib/airdrop-ng/
+ install -Dm644 airdrop-ng/lib/{colorize.py,libDumpParse.py,libOuiParse.py} \
+ ${pkgdir}/usr/lib/airdrop-ng/
+ # Man page
+ mv ${srcdir}/tmp/airdriver-ng.1 ${pkgdir}/usr/share/man/man1/
+
+ ### AIRDROP-NG ###
+ # Man page
+ install -Dm644 airdrop-ng/docs/airdrop-ng.1 ${pkgdir}/usr/share/man/man1/
+ # Script
+ sed s/python/python2/ -i airdrop-ng/airdrop-ng.py
+ install -Dm644 airdrop-ng/airdrop-ng.py ${pkgdir}/usr/bin/airdrop-ng
+ chmod +x ${pkgdir}/usr/bin/airdrop-ng
+
+ ### AIRGRAPH-NG ###
+ # Libs
+ mkdir -p ${pkgdir}/usr/lib/airgraph-ng/
+ install -Dm644 airgraph-ng/lib/lib_Airgraphviz.py \
+ ${pkgdir}/usr/lib/airgraph-ng/
+ # Man page
+ install -Dm644 airgraph-ng/man/airgraph-ng.1 ${pkgdir}/usr/share/man/man1/
+ # Script
+ sed s/python/python2/ -i airgraph-ng/airgraph-ng.py
+ sed s_/usr/local/bin/lib_/usr/lib_ -i airgraph-ng/airgraph-ng.py
+ install -Dm644 airgraph-ng/airgraph-ng.py ${pkgdir}/usr/bin/airgraph-ng
+ chmod +x ${pkgdir}/usr/bin/airgraph-ng
+
+ ### DUMP-JOIN.PY ###
+ # Man page
+ install -Dm644 airgraph-ng/man/dump-join.1 ${pkgdir}/usr/share/man/man1/
+ # Script
+ sed s/python/python2/ -i airgraph-ng/dump-join.py
+ install -Dm644 airgraph-ng/dump-join.py ${pkgdir}/usr/bin/dump-join.py
+ chmod +x ${pkgdir}/usr/bin/dump-join.py
+
+ ### AIRODUMP-NG-OUI-UPDATE ###
+ # Script
+ install -Dm644 airodump-ng-oui-update ${pkgdir}/usr/bin/
+ chmod +x ${pkgdir}/usr/bin/airodump-ng-oui-update
+
+}