summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2007-07-23 11:02:48 +0000
committerMike Auty <ikelos@gentoo.org>2007-07-23 11:02:48 +0000
commitbc394e9759db3ecdd4f63333d25624976c1cd89e (patch)
tree8b04f6d571f24c75c5053da687b58eea4d913c13 /net-wireless/wepdecrypt
parentVersion bump: added doc/examples use-flags. Dropped old versions. (diff)
downloadgentoo-2-bc394e9759db3ecdd4f63333d25624976c1cd89e.tar.gz
gentoo-2-bc394e9759db3ecdd4f63333d25624976c1cd89e.tar.bz2
gentoo-2-bc394e9759db3ecdd4f63333d25624976c1cd89e.zip
Add in as-needed patch, fixes bug 186304.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'net-wireless/wepdecrypt')
-rw-r--r--net-wireless/wepdecrypt/ChangeLog8
-rw-r--r--net-wireless/wepdecrypt/files/wepdecrypt-0.8-as-needed.patch12
-rw-r--r--net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild4
-rw-r--r--net-wireless/wepdecrypt/wepdecrypt-0.8.ebuild12
4 files changed, 29 insertions, 7 deletions
diff --git a/net-wireless/wepdecrypt/ChangeLog b/net-wireless/wepdecrypt/ChangeLog
index fd74f0b8f129..03a0c8730204 100644
--- a/net-wireless/wepdecrypt/ChangeLog
+++ b/net-wireless/wepdecrypt/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/wepdecrypt
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepdecrypt/ChangeLog,v 1.9 2006/10/22 15:16:48 peper Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepdecrypt/ChangeLog,v 1.10 2007/07/23 11:02:48 ikelos Exp $
+
+ 23 Jul 2007; Mike Auty <ikelos@gentoo.org>
+ +files/wepdecrypt-0.8-as-needed.patch, wepdecrypt-0.8.ebuild:
+ Add in as-needed patch, fixes bug 186304.
22 Oct 2006; Piotr Jaroszyński <peper@gentoo.org> wepdecrypt-0.8.ebuild:
Add ~amd64 keyword. Bug #148308.
diff --git a/net-wireless/wepdecrypt/files/wepdecrypt-0.8-as-needed.patch b/net-wireless/wepdecrypt/files/wepdecrypt-0.8-as-needed.patch
new file mode 100644
index 000000000000..ea6a574b2683
--- /dev/null
+++ b/net-wireless/wepdecrypt/files/wepdecrypt-0.8-as-needed.patch
@@ -0,0 +1,12 @@
+diff -uNr wepdecrypt-0.8.orig/src/Makefile wepdecrypt-0.8/src/Makefile
+--- wepdecrypt-0.8.orig/src/Makefile 2007-07-23 08:34:27.000000000 +0100
++++ wepdecrypt-0.8/src/Makefile 2007-07-23 08:34:46.000000000 +0100
+@@ -13,7 +13,7 @@
+ @if [ -f gwepdecrypt.exe ]; then strip.exe gwepdecrypt.exe; echo "strip.exe gwepdecrypt.exe"; else strip gwepdecrypt; echo "strip gwepdecrypt"; fi
+
+ wkeygen: wkeygen.c
+- $(LD) $(LDFLAGS) $(CFLAGS) $(LIBS) -o $@ wkeygen.c
++ $(LD) $(LDFLAGS) $(CFLAGS) -o $@ wkeygen.c $(LIBS)
+ @if [ -f wkeygen.exe ]; then strip wkeygen.exe; echo "strip wkeygen.exe"; else strip wkeygen; echo "strip wkeygen"; fi
+
+ wepdecrypt.o: wepdecrypt.c wepdecrypt.h
diff --git a/net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild b/net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild
index def279c3ff92..911aebd612da 100644
--- a/net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild
+++ b/net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild,v 1.5 2007/07/15 03:28:52 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepdecrypt/wepdecrypt-0.7.ebuild,v 1.6 2007/07/23 11:02:48 ikelos Exp $
inherit eutils
diff --git a/net-wireless/wepdecrypt/wepdecrypt-0.8.ebuild b/net-wireless/wepdecrypt/wepdecrypt-0.8.ebuild
index ee215dc07987..ab0e8f33671d 100644
--- a/net-wireless/wepdecrypt/wepdecrypt-0.8.ebuild
+++ b/net-wireless/wepdecrypt/wepdecrypt-0.8.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepdecrypt/wepdecrypt-0.8.ebuild,v 1.3 2007/07/15 03:28:52 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wepdecrypt/wepdecrypt-0.8.ebuild,v 1.4 2007/07/23 11:02:48 ikelos Exp $
inherit eutils
-MY_P="${PN}-${PV}"
+MY_P="${P}"
DESCRIPTION="Enhanced version of WepAttack a tool for breaking 802.11 WEP keys"
HOMEPAGE="http://wepdecrypt.sourceforge.net/"
SRC_URI="mirror://sourceforge/wepdecrypt/${MY_P}.tar.gz"
@@ -21,6 +21,12 @@ RDEPEND="X? ( >=x11-libs/fltk-1.1.6 )
DEPEND="${RDEPEND}"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-as-needed.patch
+}
+
src_compile() {
local conf
if ! use X