[arch-commits] Commit in aircrack-ng/repos (8 files)
Jonathan Steel
jsteel at archlinux.org
Mon Mar 27 19:20:26 UTC 2017
Date: Monday, March 27, 2017 @ 19:20:26
Author: jsteel
Revision: 219418
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
aircrack-ng/repos/community-testing-i686/9a1846507ff043c397257206ff21adae90a122f4.patch
(from rev 219417, aircrack-ng/trunk/9a1846507ff043c397257206ff21adae90a122f4.patch)
aircrack-ng/repos/community-testing-i686/PKGBUILD
(from rev 219417, aircrack-ng/trunk/PKGBUILD)
aircrack-ng/repos/community-testing-x86_64/9a1846507ff043c397257206ff21adae90a122f4.patch
(from rev 219417, aircrack-ng/trunk/9a1846507ff043c397257206ff21adae90a122f4.patch)
aircrack-ng/repos/community-testing-x86_64/PKGBUILD
(from rev 219417, aircrack-ng/trunk/PKGBUILD)
Deleted:
aircrack-ng/repos/community-testing-i686/9a1846507ff043c397257206ff21adae90a122f4.patch
aircrack-ng/repos/community-testing-i686/PKGBUILD
aircrack-ng/repos/community-testing-x86_64/9a1846507ff043c397257206ff21adae90a122f4.patch
aircrack-ng/repos/community-testing-x86_64/PKGBUILD
-------------------------------------------------------------------------+
/9a1846507ff043c397257206ff21adae90a122f4.patch | 118 ++++++++++
/PKGBUILD | 86 +++++++
community-testing-i686/9a1846507ff043c397257206ff21adae90a122f4.patch | 59 -----
community-testing-i686/PKGBUILD | 41 ---
community-testing-x86_64/9a1846507ff043c397257206ff21adae90a122f4.patch | 59 -----
community-testing-x86_64/PKGBUILD | 41 ---
6 files changed, 204 insertions(+), 200 deletions(-)
Deleted: community-testing-i686/9a1846507ff043c397257206ff21adae90a122f4.patch
===================================================================
--- community-testing-i686/9a1846507ff043c397257206ff21adae90a122f4.patch 2017-03-27 19:20:08 UTC (rev 219417)
+++ community-testing-i686/9a1846507ff043c397257206ff21adae90a122f4.patch 2017-03-27 19:20:26 UTC (rev 219418)
@@ -1,59 +0,0 @@
-From 9a1846507ff043c397257206ff21adae90a122f4 Mon Sep 17 00:00:00 2001
-From: Thomas d'Otreppe <tdotreppe at aircrack-ng.org>
-Date: Wed, 21 Dec 2016 00:18:46 +0000
-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 < 0x10100000L
-+ #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-testing-i686/9a1846507ff043c397257206ff21adae90a122f4.patch (from rev 219417, aircrack-ng/trunk/9a1846507ff043c397257206ff21adae90a122f4.patch)
===================================================================
--- community-testing-i686/9a1846507ff043c397257206ff21adae90a122f4.patch (rev 0)
+++ community-testing-i686/9a1846507ff043c397257206ff21adae90a122f4.patch 2017-03-27 19:20:26 UTC (rev 219418)
@@ -0,0 +1,59 @@
+From 9a1846507ff043c397257206ff21adae90a122f4 Mon Sep 17 00:00:00 2001
+From: Thomas d'Otreppe <tdotreppe at aircrack-ng.org>
+Date: Wed, 21 Dec 2016 00:18:46 +0000
+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 < 0x10100000L
++ #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 )
+ {
Deleted: community-testing-i686/PKGBUILD
===================================================================
--- community-testing-i686/PKGBUILD 2017-03-27 19:20:08 UTC (rev 219417)
+++ community-testing-i686/PKGBUILD 2017-03-27 19:20:26 UTC (rev 219418)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Brad Fanella <bradfanella at archlinux.us>
-# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
-# Contributor: Corrado Primier <bardo at aur.archlinux.org>
-# Contributor: ice-man <icemanf at gmail.com>
-
-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
- patch -Np1 -i $srcdir/9a1846507ff043c397257206ff21adae90a122f4.patch
-}
-
-build() {
- cd $pkgname-$_pkgver
-
- make sqlite=true experimental=true
-}
-
-package() {
- cd $pkgname-$_pkgver
-
- make DESTDIR="$pkgdir" sqlite=true experimental=true \
- bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1/ \
- smandir=/usr/share/man/man8/ install
-}
Copied: aircrack-ng/repos/community-testing-i686/PKGBUILD (from rev 219417, aircrack-ng/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-03-27 19:20:26 UTC (rev 219418)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+# Contributor: ice-man <icemanf at gmail.com>
+
+pkgname=aircrack-ng
+_pkgver=1.2-rc4
+pkgver=${_pkgver//-/}
+pkgrel=4
+pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
+arch=('i686' 'x86_64')
+url="https://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=(https://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz
+ 9a1846507ff043c397257206ff21adae90a122f4.patch)
+md5sums=('3bbc7d5035a98ec01e78774d05c3fcce'
+ 'efeab8202444d183b2fc02f455c1c294')
+
+prepare() {
+ cd $pkgname-$_pkgver
+
+ patch -Np1 -i "$srcdir"/9a1846507ff043c397257206ff21adae90a122f4.patch
+}
+
+build() {
+ cd $pkgname-$_pkgver
+
+ make sqlite=true experimental=true
+}
+
+package() {
+ cd $pkgname-$_pkgver
+
+ make DESTDIR="$pkgdir" sqlite=true experimental=true \
+ bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1/ \
+ smandir=/usr/share/man/man8/ install
+}
Deleted: community-testing-x86_64/9a1846507ff043c397257206ff21adae90a122f4.patch
===================================================================
--- community-testing-x86_64/9a1846507ff043c397257206ff21adae90a122f4.patch 2017-03-27 19:20:08 UTC (rev 219417)
+++ community-testing-x86_64/9a1846507ff043c397257206ff21adae90a122f4.patch 2017-03-27 19:20:26 UTC (rev 219418)
@@ -1,59 +0,0 @@
-From 9a1846507ff043c397257206ff21adae90a122f4 Mon Sep 17 00:00:00 2001
-From: Thomas d'Otreppe <tdotreppe at aircrack-ng.org>
-Date: Wed, 21 Dec 2016 00:18:46 +0000
-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 < 0x10100000L
-+ #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-testing-x86_64/9a1846507ff043c397257206ff21adae90a122f4.patch (from rev 219417, aircrack-ng/trunk/9a1846507ff043c397257206ff21adae90a122f4.patch)
===================================================================
--- community-testing-x86_64/9a1846507ff043c397257206ff21adae90a122f4.patch (rev 0)
+++ community-testing-x86_64/9a1846507ff043c397257206ff21adae90a122f4.patch 2017-03-27 19:20:26 UTC (rev 219418)
@@ -0,0 +1,59 @@
+From 9a1846507ff043c397257206ff21adae90a122f4 Mon Sep 17 00:00:00 2001
+From: Thomas d'Otreppe <tdotreppe at aircrack-ng.org>
+Date: Wed, 21 Dec 2016 00:18:46 +0000
+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 < 0x10100000L
++ #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 )
+ {
Deleted: community-testing-x86_64/PKGBUILD
===================================================================
--- community-testing-x86_64/PKGBUILD 2017-03-27 19:20:08 UTC (rev 219417)
+++ community-testing-x86_64/PKGBUILD 2017-03-27 19:20:26 UTC (rev 219418)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Brad Fanella <bradfanella at archlinux.us>
-# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
-# Contributor: Corrado Primier <bardo at aur.archlinux.org>
-# Contributor: ice-man <icemanf at gmail.com>
-
-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
- patch -Np1 -i $srcdir/9a1846507ff043c397257206ff21adae90a122f4.patch
-}
-
-build() {
- cd $pkgname-$_pkgver
-
- make sqlite=true experimental=true
-}
-
-package() {
- cd $pkgname-$_pkgver
-
- make DESTDIR="$pkgdir" sqlite=true experimental=true \
- bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1/ \
- smandir=/usr/share/man/man8/ install
-}
Copied: aircrack-ng/repos/community-testing-x86_64/PKGBUILD (from rev 219417, aircrack-ng/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-03-27 19:20:26 UTC (rev 219418)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+# Contributor: ice-man <icemanf at gmail.com>
+
+pkgname=aircrack-ng
+_pkgver=1.2-rc4
+pkgver=${_pkgver//-/}
+pkgrel=4
+pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
+arch=('i686' 'x86_64')
+url="https://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=(https://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz
+ 9a1846507ff043c397257206ff21adae90a122f4.patch)
+md5sums=('3bbc7d5035a98ec01e78774d05c3fcce'
+ 'efeab8202444d183b2fc02f455c1c294')
+
+prepare() {
+ cd $pkgname-$_pkgver
+
+ patch -Np1 -i "$srcdir"/9a1846507ff043c397257206ff21adae90a122f4.patch
+}
+
+build() {
+ cd $pkgname-$_pkgver
+
+ make sqlite=true experimental=true
+}
+
+package() {
+ cd $pkgname-$_pkgver
+
+ make DESTDIR="$pkgdir" sqlite=true experimental=true \
+ bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1/ \
+ smandir=/usr/share/man/man8/ install
+}
More information about the arch-commits
mailing list