[arch-commits] Commit in aircrack-ng/repos (6 files)

2017-03-04 Thread Jelle van der Waa
Date: Saturday, March 4, 2017 @ 21:26:51
  Author: jelle
Revision: 214929

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  aircrack-ng/repos/community-staging-i686/
  
aircrack-ng/repos/community-staging-i686/9a1846507ff043c397257206ff21adae90a122f4.patch
(from rev 214928, 
aircrack-ng/trunk/9a1846507ff043c397257206ff21adae90a122f4.patch)
  aircrack-ng/repos/community-staging-i686/PKGBUILD
(from rev 214928, aircrack-ng/trunk/PKGBUILD)
  aircrack-ng/repos/community-staging-x86_64/
  
aircrack-ng/repos/community-staging-x86_64/9a1846507ff043c397257206ff21adae90a122f4.patch
(from rev 214928, 
aircrack-ng/trunk/9a1846507ff043c397257206ff21adae90a122f4.patch)
  aircrack-ng/repos/community-staging-x86_64/PKGBUILD
(from rev 214928, aircrack-ng/trunk/PKGBUILD)

-+
 community-staging-i686/9a1846507ff043c397257206ff21adae90a122f4.patch   |   59 
++
 community-staging-i686/PKGBUILD |   41 
++
 community-staging-x86_64/9a1846507ff043c397257206ff21adae90a122f4.patch |   59 
++
 community-staging-x86_64/PKGBUILD   |   41 
++
 4 files changed, 200 insertions(+)

Copied: 
aircrack-ng/repos/community-staging-i686/9a1846507ff043c397257206ff21adae90a122f4.patch
 (from rev 214928, 
aircrack-ng/trunk/9a1846507ff043c397257206ff21adae90a122f4.patch)
===
--- community-staging-i686/9a1846507ff043c397257206ff21adae90a122f4.patch   
(rev 0)
+++ community-staging-i686/9a1846507ff043c397257206ff21adae90a122f4.patch   
2017-03-04 21:26:51 UTC (rev 214929)
@@ -0,0 +1,59 @@
+From 9a1846507ff043c397257206ff21adae90a122f4 Mon Sep 17 00:00:00 2001
+From: Thomas d'Otreppe 
+Date: Wed, 21 Dec 2016 00:18:46 +
+Subject: [PATCH] Fixed compilation with OpenSSL 1.1.0 (Closes: #1711).
+
+git-svn-id: http://svn.aircrack-ng.org/trunk@2882 
28c6078b-6c39-48e3-add9-af49d547ecab
+---
+ src/crypto.c | 23 +++
+ 1 file changed, 23 insertions(+)
+
+diff --git a/src/crypto.c b/src/crypto.c
+index c331875..46fa9c5 100644
+--- a/src/crypto.c
 b/src/crypto.c
+@@ -288,7 +288,15 @@ void calc_pmk( char *key, char *essid_pre, unsigned char 
pmk[40] )
+ void calc_mic (struct AP_info *ap, unsigned char pmk[32], unsigned char 
ptk[80], unsigned char mic[20]) {
+   int i;
+   unsigned char pke[100];
++  #if defined(USE_GCRYPT) || OPENSSL_VERSION_NUMBER < 0x1010L
++  #define HMAC_USE_NO_PTR
++  #endif
++
++  #ifdef HMAC_USE_NO_PTR
+   HMAC_CTX ctx;
++  #else
++  HMAC_CTX * ctx;
++  #endif
+ 
+   memcpy( pke, "Pairwise key expansion", 23 );
+ 
+@@ -314,6 +322,7 @@ void calc_mic (struct AP_info *ap, unsigned char pmk[32], 
unsigned char ptk[80],
+   memcpy( pke + 67, ap->wpa.snonce, 32 );
+   }
+ 
++  #ifdef HMAC_USE_NO_PTR
+   HMAC_CTX_init(&ctx);
+   HMAC_Init_ex(&ctx, pmk, 32, EVP_sha1(), NULL);
+   for(i = 0; i < 4; i++ )
+@@ -325,6 +334,20 @@ void calc_mic (struct AP_info *ap, unsigned char pmk[32], 
unsigned char ptk[80],
+   HMAC_Final(&ctx, ptk + i*20, NULL);
+   }
+   HMAC_CTX_cleanup(&ctx);
++  #else
++  ctx = HMAC_CTX_new();
++  HMAC_Init_ex(ctx, pmk, 32, EVP_sha1(), NULL);
++  for(i = 0; i < 4; i++ )
++  {
++  pke[99] = i;
++  //HMAC(EVP_sha1(), values[0], 32, pke, 100, ptk + i * 20, NULL);
++  HMAC_Init_ex(ctx, 0, 0, 0, 0);
++  HMAC_Update(ctx, pke, 100);
++  HMAC_Final(ctx, ptk + i*20, NULL);
++  }
++  HMAC_CTX_free(ctx);
++  #endif
++  #undef HMAC_USE_NO_PTR
+ 
+   if( ap->wpa.keyver == 1 )
+   {

Copied: aircrack-ng/repos/community-staging-i686/PKGBUILD (from rev 214928, 
aircrack-ng/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-03-04 21:26:51 UTC (rev 214929)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jonathan Steel 
+# Contributor: Brad Fanella 
+# Contributor: Daenyth 
+# Contributor: Corrado Primier 
+# Contributor: ice-man 
+
+pkgname=aircrack-ng
+_pkgver=1.2-rc4
+pkgver=${_pkgver//-/}
+pkgrel=3
+pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
+arch=('i686' 'x86_64')
+url="http://www.aircrack-ng.org";
+license=('GPL2')
+depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools' 'ethtool')
+conflicts=('aircrack-ng-scripts')
+replaces=('aircrack-ng-scripts')
+provides=('aircrack-ng-scripts')
+source=(http://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz 
9a1846507ff043c397257206ff21adae90a122f4.patch)
+md5sums=('3bbc7d5035a98ec01e78774d05c3fcce'
+ 'efeab8202444d183b2fc02f455c1c294')
+
+prepare() {
+  cd $pkgname-$_pkgver

[arch-commits] Commit in aircrack-ng/repos (6 files)

2014-06-14 Thread Jonathan Steel
Date: Sunday, June 15, 2014 @ 00:00:12
  Author: jsteel
Revision: 113174

archrelease: copy trunk to community-i686, community-x86_64

Added:
  aircrack-ng/repos/community-i686/PKGBUILD
(from rev 113173, aircrack-ng/trunk/PKGBUILD)
  aircrack-ng/repos/community-x86_64/PKGBUILD
(from rev 113173, aircrack-ng/trunk/PKGBUILD)
Deleted:
  aircrack-ng/repos/community-i686/ChangeLog
  aircrack-ng/repos/community-i686/PKGBUILD
  aircrack-ng/repos/community-x86_64/ChangeLog
  aircrack-ng/repos/community-x86_64/PKGBUILD

+
 /PKGBUILD  |   70 +++
 community-i686/ChangeLog   |   66 
 community-i686/PKGBUILD|   30 --
 community-x86_64/ChangeLog |   66 
 community-x86_64/PKGBUILD  |   30 --
 5 files changed, 70 insertions(+), 192 deletions(-)

Deleted: community-i686/ChangeLog
===
--- community-i686/ChangeLog2014-06-14 21:59:42 UTC (rev 113173)
+++ community-i686/ChangeLog2014-06-14 22:00:12 UTC (rev 113174)
@@ -1,66 +0,0 @@
-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 
-
-   * Version bump: 1.0-rc4
-
-2009-04.14  Corrado Primier  
-
-   * Version bump: 1.0-rc3
-
-   * PKGBUILD: removed old compilation patch
-
-2009-02-08  Corrado Primier  
-
-   * Version bump: 1.0-rc2
-
-   * sha-compile-fix-64bit.patch: added, fixes compilation on 64bit hosts
-
-2008-06-15  Corrado Primier  
-
-   * 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  
-
-   * Version bump: 1.0-beta2
-
-   * PKGBUILD: adapted make command to the new Makefile, added zlib and
-   openssl dependencies
-
-2008-02-25  Corrado Primier  
-
-   * Version bump: 0.9.3
-
-2008-02-08  Corrado Primier  
-
-   * PKGBUILD: fixed man page location (thanks Snowman)
-
-2008-02-07  Corrado Primier  
-
-   * Version bump: 0.9.2
-
-   * PKGBUILD: moved man pages to /usr/share/man
-
-2007-12-15  Corrado Primier  
-
-   * ChangeLog: added
-
-   * PKGBUILD: adopted, cleaned up, uploaded to [community]

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-06-14 21:59:42 UTC (rev 113173)
+++ community-i686/PKGBUILD 2014-06-14 22:00:12 UTC (rev 113174)
@@ -1,30 +0,0 @@
-# $Id$
-# Contributor: Brad Fanella 
-# Contributor:  Daenyth 
-# Contributor: Corrado Primier 
-# Contributor: ice-man 
-
-pkgname=aircrack-ng
-pkgver=1.1
-pkgrel=10
-pkgdesc="A key cracker for the 802.11 WEP and WPA-PSK protocols"
-arch=('i686' 'x86_64')
-url="http://www.aircrack-ng.org";
-license=('GPL2')
-depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools')
-conflicts=('aircrack-ng-scripts')
-replaces=('aircrack-ng-scripts')
-provides=('aircrack-ng-scripts')
-source=("http://download.aircrack-ng.org/$pkgname-$pkgver.tar.gz";)
-md5sums=('f7a24ed8fad122c4187d06bfd6f998b4')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make SQLITE=true UNSTABLE=true
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" SQLITE=true UNSTABLE=true \
-bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1 install
-}

Copied: aircrack-ng/repos/community-i686/PKGBUILD (from rev 113173, 
aircrack-ng/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-06-14 22:00:12 UTC (rev 113174)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jonathan Steel 
+# Contributor: Brad Fanella 
+# Contributor: Daenyth 
+# Contributor: Corrado Primier 
+# Contributor: ice-man 
+
+pkgname=aircrack-ng
+_pkgver=1.2-beta3
+pkgver=${_pkgver//-/}
+pkgrel=1
+pkgdesc="A key cracker for the 802.11 WEP and WPA-PSK protocols"
+arch=('i686' 'x86_64')
+url="http://www.aircrack-ng.org";
+license=('GPL2')
+depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools')
+conflicts=('aircrack-ng-scripts')
+replaces=('aircrack-ng-scripts')
+provides=('aircrack-ng-scripts')
+source=(http://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz)
+md5sums=('ec5492e65ce7e98c6812e84b1d18d811')
+
+build() {
+  cd "$srcdir"/$pkgname-$_pkgver
+
+  make sqlite=true unstable=true
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$_pkgver
+
+  make DESTDIR="$pkgdir" sqlite=true unstable=true \
+bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1/ \
+smandir=/usr/share/man/man8/ install
+}

Deleted: community-x

[arch-commits] Commit in aircrack-ng/repos (6 files)

2013-05-30 Thread Sébastien Luttringer
Date: Friday, May 31, 2013 @ 00:03:56
  Author: seblu
Revision: 92003

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  aircrack-ng/repos/community-staging-i686/
  aircrack-ng/repos/community-staging-i686/ChangeLog
(from rev 92002, aircrack-ng/trunk/ChangeLog)
  aircrack-ng/repos/community-staging-i686/PKGBUILD
(from rev 92002, aircrack-ng/trunk/PKGBUILD)
  aircrack-ng/repos/community-staging-x86_64/
  aircrack-ng/repos/community-staging-x86_64/ChangeLog
(from rev 92002, aircrack-ng/trunk/ChangeLog)
  aircrack-ng/repos/community-staging-x86_64/PKGBUILD
(from rev 92002, aircrack-ng/trunk/PKGBUILD)

+
 community-staging-i686/ChangeLog   |   66 +
 community-staging-i686/PKGBUILD|   91 +++
 community-staging-x86_64/ChangeLog |   66 +
 community-staging-x86_64/PKGBUILD  |   91 +++
 4 files changed, 314 insertions(+)

Copied: aircrack-ng/repos/community-staging-i686/ChangeLog (from rev 92002, 
aircrack-ng/trunk/ChangeLog)
===
--- community-staging-i686/ChangeLog(rev 0)
+++ community-staging-i686/ChangeLog2013-05-30 22:03:56 UTC (rev 92003)
@@ -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 
+
+   * Version bump: 1.0-rc4
+
+2009-04.14  Corrado Primier  
+
+   * Version bump: 1.0-rc3
+
+   * PKGBUILD: removed old compilation patch
+
+2009-02-08  Corrado Primier  
+
+   * Version bump: 1.0-rc2
+
+   * sha-compile-fix-64bit.patch: added, fixes compilation on 64bit hosts
+
+2008-06-15  Corrado Primier  
+
+   * 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  
+
+   * Version bump: 1.0-beta2
+
+   * PKGBUILD: adapted make command to the new Makefile, added zlib and
+   openssl dependencies
+
+2008-02-25  Corrado Primier  
+
+   * Version bump: 0.9.3
+
+2008-02-08  Corrado Primier  
+
+   * PKGBUILD: fixed man page location (thanks Snowman)
+
+2008-02-07  Corrado Primier  
+
+   * Version bump: 0.9.2
+
+   * PKGBUILD: moved man pages to /usr/share/man
+
+2007-12-15  Corrado Primier  
+
+   * ChangeLog: added
+
+   * PKGBUILD: adopted, cleaned up, uploaded to [community]

Copied: aircrack-ng/repos/community-staging-i686/PKGBUILD (from rev 92002, 
aircrack-ng/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-05-30 22:03:56 UTC (rev 92003)
@@ -0,0 +1,91 @@
+# $Id$
+# Maintainer: Brad Fanella 
+# Contributor:  Daenyth 
+# Contributor: Corrado Primier 
+# Contributor: ice-man 
+
+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/
+
+   ### AI