Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3caedfe667d4ed1feae8d11907394e8a18e4ce66

commit 3caedfe667d4ed1feae8d11907394e8a18e4ce66
Author: DeX77 <[email protected]>
Date:   Sun Oct 19 18:48:25 2014 +0200

wepdecrypt-0.8-2-x86_64

* rebuild with openssl>=1.0.1
+ added patch for fltk version check

diff --git a/source/network-extra/wepdecrypt/FrugalBuild 
b/source/network-extra/wepdecrypt/FrugalBuild
index adcaaba..4479beb 100644
--- a/source/network-extra/wepdecrypt/FrugalBuild
+++ b/source/network-extra/wepdecrypt/FrugalBuild
@@ -4,17 +4,15 @@

pkgname=wepdecrypt
pkgver=0.8
-pkgrel=1
+pkgrel=2
pkgdesc="Enhanced version of WepAttack a tool for breaking 802.11 WEP keys"
-depends=('fltk' 'openssl' 'libpcap')
+depends=('fltk' 'openssl>=1.0.1' 'libpcap')
backup=('etc/wepdecrypt.conf')
groups=('network-extra')
archs=('i686' 'x86_64')
Finclude sourceforge
-up2date="lynx -dump wepdecrypt.sf.net|grep latest|sed 's/.*n \(.*\))/\1/;q'"
-
-
-
-sha1sums=('8f75e70ee27d7486a90e9ae631020c2f622ee48e')
+source=("${source[@]}" fltkVersionCheck.patch)
+sha1sums=('8f75e70ee27d7486a90e9ae631020c2f622ee48e' \
+          '85bdf5eca0464c1fca5ca8cf87d67d45df4e6ba8')

# optimization OK
diff --git a/source/network-extra/wepdecrypt/fltkVersionCheck.patch 
b/source/network-extra/wepdecrypt/fltkVersionCheck.patch
new file mode 100644
index 0000000..149c3ea
--- /dev/null
+++ b/source/network-extra/wepdecrypt/fltkVersionCheck.patch
@@ -0,0 +1,16 @@
+ configure |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure b/configure
+index 12fa395..258b157 100755
+--- a/configure
++++ b/configure
+@@ -2915,7 +2915,7 @@ fi
+               FIELD2=`$FLTK_CONFIG --version | awk -F . '{print $2}'`;
+               FIELD3=`$FLTK_CONFIG --version | awk -F . '{print $3}'`;
+
+-              if test $FIELD1 -le 1 -a $FIELD3 -lt 6; then
++              if test $FIELD1 -le 1 -a $FIELD2 -lt 1; then
+                       echo -e "\nconfigure: error: fltk-version must be 1.1.6 
or greater!\n"; exit -1;
+               fi
+               if test $FIELD1 -lt 1; then
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to