rpms/aircrack-ng/devel aircrack-ng-1.0-20081031-check.patch, NONE, 1.1 .cvsignore, 1.11, 1.12 aircrack-ng.spec, 1.15, 1.16 sources, 1.11, 1.12

Till Maas till at fedoraproject.org
Fri Oct 31 18:40:06 UTC 2008


Author: till

Update of /cvs/pkgs/rpms/aircrack-ng/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23089

Modified Files:
	.cvsignore aircrack-ng.spec sources 
Added Files:
	aircrack-ng-1.0-20081031-check.patch 
Log Message:
* Fri Oct 31 2008 Till Maas <opensource at till.name> - 1.0-0.1.20081031svn
- Update to current svn snapshot
- add sqlite-devel BR and add airolib-ng
- Add patch to do some testing of aircrack-ng


aircrack-ng-1.0-20081031-check.patch:

--- NEW FILE aircrack-ng-1.0-20081031-check.patch ---
diff -up aircrack-ng-1.0-20081031/Makefile.check aircrack-ng-1.0-20081031/Makefile
--- aircrack-ng-1.0-20081031/Makefile.check	2008-08-19 06:50:03.000000000 +0200
+++ aircrack-ng-1.0-20081031/Makefile	2008-10-31 19:20:05.000000000 +0100
@@ -65,3 +65,9 @@ clean:
 
 distclean: clean
 
+check:
+	src/aircrack-ng -w test/password.lst -a 2 -e Harkonen -q test/wpa2.eapol.cap | grep 'KEY FOUND! \[ 12345678 \]' 
+	src/aircrack-ng -w test/password.lst -a 2 -e test -q test/wpa.cap | grep 'KEY FOUND! \[ biscotte \]'
+	if test -f test/test.ivs; then  src/aircrack-ng -K -b 00:11:95:91:78:8C -q test/test.ivs | grep 'KEY FOUND! \[ AE:5B:7F:3A:03:D0:AF:9B:F6:8D:A5:E2:C7 \]'; else echo "SKIPPED test: test/test.ivs not found"; fi
+	if test -f test/ptw.cap; then src/aircrack-ng -q -e Appart -z test/ptw.cap | grep 'KEY FOUND! \[ 1F:1F:1F:1F:1F \]'; else echo "SKIPPED test: test/ptw.cap not found"; fi
+


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/aircrack-ng/devel/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- .cvsignore	31 Oct 2008 17:17:10 -0000	1.11
+++ .cvsignore	31 Oct 2008 18:39:35 -0000	1.12
@@ -1 +1,3 @@
 aircrack-ng-1.0-20081031.tar.gz
+aircrack-ng-ptw.cap
+aircrack-ng-test.ivs


Index: aircrack-ng.spec
===================================================================
RCS file: /cvs/pkgs/rpms/aircrack-ng/devel/aircrack-ng.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- aircrack-ng.spec	31 Oct 2008 17:40:30 -0000	1.15
+++ aircrack-ng.spec	31 Oct 2008 18:39:35 -0000	1.16
@@ -13,6 +13,12 @@
 #Source0:        http://download.aircrack-ng.org/aircrack-ng-%{version}.tar.gz
 Source0:        http://download.aircrack-ng.org/aircrack-ng-%{version}-%{alphatag}.tar.gz
 Source1:        %{name}-tarball
+Source2:        aircrack-ng-ptw.cap
+#Source2:        http://dl.aircrack-ng.org/ptw.cap
+Source3:        aircrack-ng-test.ivs
+#Source3:       http://download.aircrack-ng.org/wiki-files/other/test.ivs
+# http://trac.aircrack-ng.org/ticket/533
+Patch0:         aircrack-ng-1.0-20081031-check.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  sqlite-devel
 
@@ -28,6 +34,7 @@
 %prep
 %setup -q -n aircrack-ng-%{version}-%{alphatag}
 #%setup -q -n aircrack-ng-%{version}
+%patch0 -p1 -b .check
 
 
 %build
@@ -41,6 +48,12 @@
 make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir}/man1 sqlite=true
 
 
+%check
+cp %{SOURCE2} test/ptw.cap
+cp %{SOURCE3} test/test.ivs
+make check
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -88,6 +101,7 @@
 * Fri Oct 31 2008 Till Maas <opensource at till.name> - 1.0-0.1.20081031svn
 - Update to current svn snapshot
 - add sqlite-devel BR and add airolib-ng
+- Add patch to do some testing of aircrack-ng
 
 * Sat Mar 01 2008 Till Maas <opensource till name> - 0.9.3-1
 - update to latest version


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/aircrack-ng/devel/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- sources	31 Oct 2008 17:17:10 -0000	1.11
+++ sources	31 Oct 2008 18:39:35 -0000	1.12
@@ -1 +1,3 @@
 27860ba96ec4deba79262cd11cf44754  aircrack-ng-1.0-20081031.tar.gz
+cad87df60f251eb73d2dbc9216cef4e3  aircrack-ng-ptw.cap
+f9f430b935e82c69ffecf0be95d7348b  aircrack-ng-test.ivs




More information about the scm-commits mailing list