summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-04-09 22:02:44 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-04-09 22:02:44 +0000
commit231a01bcd2372333884c37fdff46600a73d0d439 (patch)
treed843c0cab46154c8ed5e3bec308cfddc0891b481 /net-wireless/aircrack-ng
parentUpdate elog message about nspluginwrapper, reflecting its move to www-plugins... (diff)
downloadhistorical-231a01bcd2372333884c37fdff46600a73d0d439.tar.gz
historical-231a01bcd2372333884c37fdff46600a73d0d439.tar.bz2
historical-231a01bcd2372333884c37fdff46600a73d0d439.zip
Respect LDFLAGS (bug #262959).
Package-Manager: portage-13308-svn/cvs/Linux x86_64
Diffstat (limited to 'net-wireless/aircrack-ng')
-rw-r--r--net-wireless/aircrack-ng/ChangeLog7
-rw-r--r--net-wireless/aircrack-ng/Manifest5
-rw-r--r--net-wireless/aircrack-ng/aircrack-ng-1.0_rc3.ebuild4
-rw-r--r--net-wireless/aircrack-ng/files/aircrack-ng-1.0_rc3-respect_LDFLAGS.patch91
4 files changed, 103 insertions, 4 deletions
diff --git a/net-wireless/aircrack-ng/ChangeLog b/net-wireless/aircrack-ng/ChangeLog
index 296deab0fae3..6a4f76ac8dea 100644
--- a/net-wireless/aircrack-ng/ChangeLog
+++ b/net-wireless/aircrack-ng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/aircrack-ng
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.41 2009/03/29 12:15:36 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.42 2009/04/09 22:02:44 arfrever Exp $
+
+ 09 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +files/aircrack-ng-1.0_rc3-respect_LDFLAGS.patch,
+ aircrack-ng-1.0_rc3.ebuild:
+ Respect LDFLAGS (bug #262959).
*aircrack-ng-1.0_rc3 (29 Mar 2009)
diff --git a/net-wireless/aircrack-ng/Manifest b/net-wireless/aircrack-ng/Manifest
index 36978e206f52..419c34992da5 100644
--- a/net-wireless/aircrack-ng/Manifest
+++ b/net-wireless/aircrack-ng/Manifest
@@ -1,4 +1,5 @@
AUX aircrack-ng-1.0_rc2-freebsd.patch 3062 RMD160 4aa58a0f661f308444fc59a9c36fc32fe6e5514e SHA1 9fb261f4db2418b21c3327d1eca28e557c83887f SHA256 1376eff217f6577865d1425c85f50fd7eb054a2749ebefb8e11bed1065507a7a
+AUX aircrack-ng-1.0_rc3-respect_LDFLAGS.patch 3124 RMD160 7fdc53adcc92067fe275d8cf178c7ee70e960fff SHA1 9a389fe635dca311a707ce5fc516185645eff81a SHA256 cfcf81b63bd31983ade18a350ceda2ad10b8ad4362a1f9380798a94ab4191d75
AUX process-group-leader.c 373 RMD160 2ce7341f5a58d2223590f1edfbcd1230a909024b SHA1 4653e2329b901dbb96f1380b478ea1de63d2a08b SHA256 153666625e942384648dafedbc8f37577fdf6a24060b04237913fd7f693f7bf7
AUX sha-compile-fix-64bit.patch 568 RMD160 e6e018219508cc283ce448888cff9f408c950ecf SHA1 7ede579ab752ed657a049513be2050b1aaac2f5b SHA256 c4e6287c3cd62ed573b37b2471756f3226497b8bdd59847f716db193cc01cf9d
DIST aircrack-ng-0.9.3.tar.gz 1031441 RMD160 29c7d454da26167fb24e5a0f2b6eeeddc98e697d SHA1 b2f671324d056408b83d32eb1ab6061b7fa87ac5 SHA256 71bca53eae0261d5bdd72e4363f43f5a6e40b2375dc4852a4029a061c789da58
@@ -8,6 +9,6 @@ DIST aircrack-ng-1.0-rc3.tar.gz 1512442 RMD160 3ac2dc27f2a1511b42bfa285691faa2c4
EBUILD aircrack-ng-0.9.3.ebuild 1331 RMD160 c4ee2d1098341aa83a51756279aa7633be1827af SHA1 0366fdddc409b013078a43d3861391aecc1404e9 SHA256 7c02727963d713fbdc18c8181bfc06a161488909e4777e653882a49ccb6c9958
EBUILD aircrack-ng-1.0_rc1.ebuild 1036 RMD160 5f50e4151154b47f107f0c3111b0f1a4713fa8d5 SHA1 2b4eafbe3b9088d52f4db28f75f696ba869c5332 SHA256 70cc2c288e79159f53cddcdaabb4cd2a79e60a35e11263831682eefc0e8dd42f
EBUILD aircrack-ng-1.0_rc2-r1.ebuild 1961 RMD160 dfdacdc53e6d3d26a6c9b7b35a5d5006533195d8 SHA1 6ea8744a21c01132f01c1ab8beaeec5f620b59b8 SHA256 40d2096f5b738c9396c0b7f10567f16a1877e7bceb7f2fa4a44fbf46e1790e17
-EBUILD aircrack-ng-1.0_rc3.ebuild 1909 RMD160 753956249edc4beca2281e156d8f7ffbe4fb2929 SHA1 12b80427cc5a0b02340a0f00f0a0f5155044ebdd SHA256 911ab26cdcff0feab5ad4fa776d7604c22799cce2458cd09bedbe2b3c9ec3918
-MISC ChangeLog 6457 RMD160 48b8afd2dd5c1de3b03c5084046db1aa65825e62 SHA1 d2b8713f8cfe664c79746a2f229770b004bb19b5 SHA256 398c1e9d179bdf71ffce3150d51acb19390072e74a6ba9f464946f479cff6905
+EBUILD aircrack-ng-1.0_rc3.ebuild 1960 RMD160 2bef03bc5445a54e60735fe1d9cf3dbc95229597 SHA1 2236db7b80379547fb7f1480c14d078e3976a9ea SHA256 f0d127804589396012f6904342b6b178f810c16ec7fd0bb0538b5508b61afaf2
+MISC ChangeLog 6647 RMD160 0474615109e67b3b28b5d078962c7a6213fcbbca SHA1 f75f4cccdabfe97f4cab7d0e87d394ea070ee221 SHA256 02ccebff1e9c7155d9f91904141f3bb8bdbeb61d83e888231cbd97f8714a6f71
MISC metadata.xml 545 RMD160 74b28f94434b9af081b71806679b128b42cb8068 SHA1 b9b41decbf07297e72c3f682be1c13415df1f402 SHA256 af8903a9f2e95968febae6760b251c2145e3a26569f71ff64266ae2b4fcbbb2a
diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.0_rc3.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.0_rc3.ebuild
index 1d48913a2675..02ad3f6306b3 100644
--- a/net-wireless/aircrack-ng/aircrack-ng-1.0_rc3.ebuild
+++ b/net-wireless/aircrack-ng/aircrack-ng-1.0_rc3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-1.0_rc3.ebuild,v 1.1 2009/03/29 12:15:36 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-1.0_rc3.ebuild,v 1.2 2009/04/09 22:02:44 arfrever Exp $
EAPI=2
inherit versionator eutils toolchain-funcs
@@ -33,6 +33,8 @@ src_prepare() {
sed -i -e "s:^\(SCRIPTS.*\)airmon-ng:\1:g" Makefile
sed -i -e "s:airmon-ng.1::g" manpages/Makefile
fi
+
+ epatch "${FILESDIR}/${P}-respect_LDFLAGS.patch"
}
src_compile() {
diff --git a/net-wireless/aircrack-ng/files/aircrack-ng-1.0_rc3-respect_LDFLAGS.patch b/net-wireless/aircrack-ng/files/aircrack-ng-1.0_rc3-respect_LDFLAGS.patch
new file mode 100644
index 000000000000..2e5e4d0abab0
--- /dev/null
+++ b/net-wireless/aircrack-ng/files/aircrack-ng-1.0_rc3-respect_LDFLAGS.patch
@@ -0,0 +1,91 @@
+--- src/Makefile
++++ src/Makefile
+@@ -93,13 +93,13 @@
+
+
+ OSD = osdep
+-LIBS = -L$(OSD) -l$(OSD) $(LIBPCAP) $(LDFLAGS)
++LIBS = -L$(OSD) -l$(OSD) $(LIBPCAP)
+ ifeq ($(OSNAME), cygwin)
+ LIBS += -liphlpapi -lsetupapi -luuid
+ endif
+ LIBOSD = $(OSD)/lib$(OSD).a
+
+-LIBSSL = -lssl -lcrypto $(LDFLAGS)
++LIBSSL = -lssl -lcrypto
+ LIBSQL =
+ ifeq ($(SQLITE), true)
+ LIBSQL = -L/usr/local/lib -lsqlite3
+@@ -143,55 +143,55 @@
+ aircrack-ng-opt-prof -lpthread $(LIBSQL)
+
+ aircrack-ng$(EXE): $(OBJS_AC)
+- $(CC) $(CFLAGS) $(OBJS_AC) $(ASM_AC) -o $(@) -lpthread $(LIBSSL) $(LIBSQL)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_AC) $(ASM_AC) -o $(@) -lpthread $(LIBSSL) $(LIBSQL)
+
+ airdecap-ng$(EXE): $(OBJS_AD)
+- $(CC) $(CFLAGS) $(OBJS_AD) -o $(@) $(LIBSSL)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_AD) -o $(@) $(LIBSSL)
+
+ packetforge-ng$(EXE): $(OBJS_PF)
+- $(CC) $(CFLAGS) $(OBJS_PF) -o $(@) $(LIBSSL)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_PF) -o $(@) $(LIBSSL)
+
+ aireplay-ng$(EXE): $(OBJS_AR) $(LIBOSD)
+- $(CC) $(CFLAGS) $(OBJS_AR) -o $(@) $(LIBS) $(LIBSSL)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_AR) -o $(@) $(LIBS) $(LIBSSL)
+
+ airodump-ng$(EXE): $(OBJS_ADU) $(LIBOSD)
+- $(CC) $(CFLAGS) $(OBJS_ADU) -o $(@) $(LIBS) $(LIBSSL)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_ADU) -o $(@) $(LIBS) $(LIBSSL)
+
+ airserv-ng$(EXE): $(OBJS_AS) $(LIBOSD)
+- $(CC) $(CFLAGS) $(OBJS_AS) -o $(@) $(LIBS) $(LIBPCAP)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_AS) -o $(@) $(LIBS) $(LIBPCAP)
+
+ airtun-ng$(EXE): $(OBJS_AT) $(LIBOSD)
+- $(CC) $(CFLAGS) $(OBJS_AT) -o $(@) $(LIBS) $(LIBSSL)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_AT) -o $(@) $(LIBS) $(LIBSSL)
+
+ ivstools$(EXE): $(OBJS_IV)
+- $(CC) $(CFLAGS) $(OBJS_IV) -o $(@) $(LIBSSL)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_IV) -o $(@) $(LIBSSL)
+
+ kstats$(EXE): kstats.o
+- $(CC) $(CFLAGS) kstats.o -o $(@)
++ $(CC) $(CFLAGS) $(LDFLAGS) kstats.o -o $(@)
+
+ wesside-ng$(EXE): $(OBJS_WS) $(LIBOSD)
+- $(CC) $(CFLAGS) $(OBJS_WS) -o $(@) $(LIBS) $(LIBSSL) -lz
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_WS) -o $(@) $(LIBS) $(LIBSSL) -lz
+
+ easside-ng$(EXE): $(OBJS_ES) $(LIBOSD)
+- $(CC) $(CFLAGS) $(OBJS_ES) -o $(@) $(LIBS) -lz
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_ES) -o $(@) $(LIBS) -lz
+
+ buddy-ng$(EXE): $(OBJS_BUDDY)
+- $(CC) $(CFLAGS) $(OBJS_BUDDY) -o $(@)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_BUDDY) -o $(@)
+
+ makeivs-ng$(EXE): $(OBJS_MI)
+- $(CC) $(CFLAGS) $(OBJS_MI) -o $(@)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_MI) -o $(@)
+
+ airolib-ng$(EXE): $(OBJS_AL)
+- $(CC) $(CFLAGS) $(OBJS_AL) -o $(@) $(LIBSSL) -DHAVE_REGEXP $(LIBSQL)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_AL) -o $(@) $(LIBSSL) -DHAVE_REGEXP $(LIBSQL)
+
+ airbase-ng$(EXE): $(OBJS_AB) $(LIBOSD)
+- $(CC) $(CFLAGS) $(OBJS_AB) -o $(@) $(LIBS) $(LIBSSL) -lpthread
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_AB) -o $(@) $(LIBS) $(LIBSSL) -lpthread
+
+ airdecloak-ng$(EXE): $(OBJS_AU)
+- $(CC) $(CFLAGS) $(OBJS_AU) -o $(@)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_AU) -o $(@)
+
+ tkiptun-ng$(EXE): $(OBJS_TT) $(LIBOSD)
+- $(CC) $(CFLAGS) $(OBJS_TT) -o $(@) $(LIBS) $(LIBSSL)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS_TT) -o $(@) $(LIBS) $(LIBSSL)
+
+ strip: $(BINFILES) $(SBINFILES)
+ strip $(BINFILES) $(SBINFILES)