From ddc1da9dc8ce8d0701989782e004345d81d7398c Mon Sep 17 00:00:00 2001 From: Till Maas Date: Apr 12 2007 20:10:37 +0000 Subject: * Thu Apr 12 2007 Till Maas - 0.8-0.1.20070413svn - update to 0.8 (svn) - fixes http://archives.neohapsis.com/archives/fulldisclosure/2007-04/0408.html (remote code execution) - fix race condition in %%install --- diff --git a/.cvsignore b/.cvsignore index 584f928..bc207bd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -aircrack-ng-0.7.tar.gz +aircrack-ng-20070413.tar.gz diff --git a/aircrack-ng-0.7-includes.patch b/aircrack-ng-0.7-includes.patch deleted file mode 100644 index 6066c7f..0000000 --- a/aircrack-ng-0.7-includes.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -ru aircrack-ng-0.7.orig/src/airtun-ng.c aircrack-ng-0.7/src/airtun-ng.c ---- aircrack-ng-0.7.orig/src/airtun-ng.c 2007-02-21 16:40:27.000000000 +0100 -+++ aircrack-ng-0.7/src/airtun-ng.c 2007-02-21 16:40:53.000000000 +0100 -@@ -32,6 +32,7 @@ - - #include - #include -+#include - #include - #include - #include -@@ -48,7 +49,6 @@ - #include - #include - --#include - #include - - #include "version.h" diff --git a/aircrack-ng-tarball b/aircrack-ng-tarball new file mode 100755 index 0000000..61e4817 --- /dev/null +++ b/aircrack-ng-tarball @@ -0,0 +1,27 @@ +#!/bin/sh +REPOS="http://trac.aircrack-ng.org/svn/trunk/" + +# Revison ist ${1} when given +ARG=${1} +BASENAME=${0} +REVISION=${ARG:=$(date +%Y%m%d)} +NAME="${BASENAME%-tarball}-${REVISION}" + +echo USAGE: "${0} [DATE]" +echo "Creates a tarball with the sources from DATE" +echo "Format of DATE: YYYY-MM-DD" +echo "Default is today" +echo + +echo Using revision ${REVISION} + +if [[ ! -e ${NAME} && ! -e ${NAME}.tar.gz ]] +then + svn export -r "{${REVISION}}" ${REPOS} ${NAME} || \ + (echo "svn export did not work, maybe wrong date format?" && exit 1) + + tar czvf ${NAME}.tar.gz ${NAME} + rm -rf ${NAME} +else + echo "${NAME}(.tar.gz) does already exist" +fi diff --git a/aircrack-ng.spec b/aircrack-ng.spec index 99c4920..36e49c4 100644 --- a/aircrack-ng.spec +++ b/aircrack-ng.spec @@ -1,14 +1,18 @@ Name: aircrack-ng -Version: 0.7 -Release: 1%{?dist} +Version: 0.8 +Release: 0.1.20070413svn%{?dist} Summary: 802.11 (wireless) sniffer and WEP/WPA-PSK key cracker Group: Applications/System License: GPL URL: http://www.aircrack-ng.org/ -Source0: http://download.aircrack-ng.org/aircrack-ng-%{version}.tar.gz -Patch0: aircrack-ng-0.7-includes.patch +# aircrack-ng 0.8 will be released soon mostly changes to some windows code +# are missing +# Tarball can be generated with ./aircrack-tarball 20070413 +#Source0: http://download.aircrack-ng.org/aircrack-ng-%{version}.tar.gz +Source0: aircrack-ng-20070413.tar.gz +Source1: %{name}-tarball BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -21,8 +25,7 @@ capture files), and some tools to handle capture files (merge, convert, etc.). %prep -%setup -q -%patch0 -p1 +%setup -q -n aircrack-ng-20070413 %build @@ -32,6 +35,7 @@ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT +mkdir $RPM_BUILD_ROOT make install destdir=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir}/man1 @@ -48,5 +52,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Apr 12 2007 Till Maas - 0.8-0.1.20070413svn +- update to 0.8 +- fixes http://archives.neohapsis.com/archives/fulldisclosure/2007-04/0408.html + (remote code execution) +- fix race condition in %%install + * Wed Feb 21 2007 Till Maas - 0.7-1 - initial spec for fedora diff --git a/sources b/sources index 6015c51..ddc80a3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -34c0447951d438d76fa32d08eab5da01 aircrack-ng-0.7.tar.gz +265f3fac11b27160b2a35d7b9b24702a aircrack-ng-20070413.tar.gz