diff options
author | Rick Farina <zerochaos@gentoo.org> | 2014-07-18 03:41:02 +0000 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2014-07-18 03:41:02 +0000 |
commit | 6d808e7d54fb4dba231f01872edf9cd046a0e4d9 (patch) | |
tree | fb495bbdff3221cd043244667d7e8c7be83b90e0 /net-wireless/aircrack-ng | |
parent | EAPI bump. Remove short <longdescription>. Install XNetload config. Do not in... (diff) | |
download | gentoo-2-6d808e7d54fb4dba231f01872edf9cd046a0e4d9.tar.gz gentoo-2-6d808e7d54fb4dba231f01872edf9cd046a0e4d9.tar.bz2 gentoo-2-6d808e7d54fb4dba231f01872edf9cd046a0e4d9.zip |
work-around for http://trac.aircrack-ng.org/ticket/1144
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'net-wireless/aircrack-ng')
-rw-r--r-- | net-wireless/aircrack-ng/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/aircrack-ng/aircrack-ng-1.2_beta3-r2.ebuild (renamed from net-wireless/aircrack-ng/aircrack-ng-1.2_beta3-r1.ebuild) | 9 | ||||
-rw-r--r-- | net-wireless/aircrack-ng/aircrack-ng-1.2_beta3.ebuild | 116 | ||||
-rw-r--r-- | net-wireless/aircrack-ng/aircrack-ng-9999.ebuild | 9 |
4 files changed, 22 insertions, 121 deletions
diff --git a/net-wireless/aircrack-ng/ChangeLog b/net-wireless/aircrack-ng/ChangeLog index 1429594bfdcf..ff1286c94ab2 100644 --- a/net-wireless/aircrack-ng/ChangeLog +++ b/net-wireless/aircrack-ng/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/aircrack-ng # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.82 2014/04/18 01:30:53 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.83 2014/07/18 03:41:02 zerochaos Exp $ + +*aircrack-ng-1.2_beta3-r2 (18 Jul 2014) + + 18 Jul 2014; Rick Farina <zerochaos@gentoo.org> + +aircrack-ng-1.2_beta3-r2.ebuild, -aircrack-ng-1.2_beta3-r1.ebuild, + -aircrack-ng-1.2_beta3.ebuild, aircrack-ng-9999.ebuild: + work-around for http://trac.aircrack-ng.org/ticket/1144 *aircrack-ng-1.2_beta3-r1 (18 Apr 2014) diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.2_beta3-r1.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.2_beta3-r2.ebuild index b93a4fa78915..d4a0dc7db1c9 100644 --- a/net-wireless/aircrack-ng/aircrack-ng-1.2_beta3-r1.ebuild +++ b/net-wireless/aircrack-ng/aircrack-ng-1.2_beta3-r2.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2014 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.2_beta3-r1.ebuild,v 1.1 2014/04/18 01:30:53 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-1.2_beta3-r2.ebuild,v 1.1 2014/07/18 03:41:02 zerochaos Exp $ EAPI="5" PYTHON_COMPAT=( python2_7 ) DISTUTILS_OPTIONAL=1 -inherit toolchain-funcs versionator distutils-r1 +inherit toolchain-funcs versionator distutils-r1 flag-o-matic DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" HOMEPAGE="http://www.aircrack-ng.org" @@ -50,10 +50,15 @@ REQUIRED_USE="airdrop-ng? ( ${PYTHON_REQUIRED_USE} ) airgraph-ng? ( ${PYTHON_REQUIRED_USE} )" src_compile() { + if [[ $($(tc-getCC) --version) == clang* ]] ; then + die "Please use gcc, upstream bug http://trac.aircrack-ng.org/ticket/1144" + fi + if [[ ${PV} == "9999" ]] ; then liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" fi + replace-flags -Os -O2 emake \ CC="$(tc-getCC)" \ AR="$(tc-getAR)" \ diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.2_beta3.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.2_beta3.ebuild deleted file mode 100644 index 8c4dbab234a1..000000000000 --- a/net-wireless/aircrack-ng/aircrack-ng-1.2_beta3.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2014 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.2_beta3.ebuild,v 1.1 2014/04/17 19:14:33 zerochaos Exp $ - -EAPI="5" - -inherit toolchain-funcs versionator - -DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" -HOMEPAGE="http://www.aircrack-ng.org" - -if [[ ${PV} == "9999" ]] ; then - inherit subversion - ESVN_REPO_URI="http://svn.aircrack-ng.org/trunk" - KEYWORDS="" - S="${WORKDIR}/${PN}" -else - MY_P=${P/\_/-} - MY_PV="$(replace_version_separator 2 '-')" - SRC_URI="http://download.aircrack-ng.org/${PN}-${MY_PV}.tar.gz" - KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" - S="${WORKDIR}/${MY_P}" -fi - -LICENSE="GPL-2" -SLOT="0" - -IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD +netlink +pcre +sqlite +unstable" - -DEPEND="dev-libs/openssl - netlink? ( dev-libs/libnl:3 ) - pcre? ( dev-libs/libpcre ) - sqlite? ( >=dev-db/sqlite-3.4 )" -RDEPEND="${DEPEND} - kernel_linux? ( - net-wireless/iw - net-wireless/wireless-tools - sys-apps/ethtool - sys-apps/usbutils - sys-apps/pciutils ) - sys-apps/hwids - airdrop-ng? ( net-wireless/lorcon[python] )" - -src_compile() { - if [[ ${PV} == "9999" ]] ; then - liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" - fi - - emake \ - CC="$(tc-getCC)" \ - AR="$(tc-getAR)" \ - LD="$(tc-getLD)" \ - RANLIB="$(tc-getRANLIB)" \ - libnl=$(usex netlink true false) \ - pcre=$(usex pcre true false) \ - sqlite=$(usex sqlite true false) \ - unstable=$(usex unstable true false) \ - ${liveflags} -} - -src_test() { - if [[ ${PV} == "9999" ]] ; then - liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" - fi - - emake check \ - libnl=$(usex netlink true false) \ - pcre=$(usex pcre true false) \ - sqlite=$(usex sqlite true false) \ - unstable=$(usex unstable true false) \ - ${liveflags} -} - -src_install() { - if [[ ${PV} == "9999" ]] ; then - liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" - fi - - emake \ - prefix="${ED}/usr" \ - libnl=$(usex netlink true false) \ - pcre=$(usex pcre true false) \ - sqlite=$(usex sqlite true false) \ - unstable=$(usex unstable true false) \ - ${liveflags} \ - install - - dodoc AUTHORS ChangeLog INSTALLING README - - if use airgraph-ng; then - cd "${S}/scripts/airgraph-ng" - emake prefix="${ED}/usr" install - fi - if use airdrop-ng; then - cd "${S}/scripts/airdrop-ng" - emake prefix="${ED}/usr" install - fi - - #we don't need aircrack-ng's oui updater, we have our own - rm "${ED}"/usr/sbin/airodump-ng-oui-update -} - -pkg_postinst() { - # Message is (c) FreeBSD - # http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-mgmt/aircrack-ng/files/pkg-message.in?rev=1.5 - if use kernel_FreeBSD ; then - einfo "Contrary to Linux, it is not necessary to use airmon-ng to enable the monitor" - einfo "mode of your wireless card. So do not care about what the manpages say about" - einfo "airmon-ng, airodump-ng sets monitor mode automatically." - echo - einfo "To return from monitor mode, issue the following command:" - einfo " ifconfig \${INTERFACE} -mediaopt monitor" - einfo - einfo "For aireplay-ng you need FreeBSD >= 7.0." - fi -} diff --git a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild index 04dde0abb8c9..019385b7bff2 100644 --- a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild +++ b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild,v 1.9 2014/04/18 01:30:53 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild,v 1.10 2014/07/18 03:41:02 zerochaos Exp $ EAPI="5" PYTHON_COMPAT=( python2_7 ) DISTUTILS_OPTIONAL=1 -inherit toolchain-funcs versionator distutils-r1 +inherit toolchain-funcs versionator distutils-r1 flag-o-matic DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" HOMEPAGE="http://www.aircrack-ng.org" @@ -50,10 +50,15 @@ REQUIRED_USE="airdrop-ng? ( ${PYTHON_REQUIRED_USE} ) airgraph-ng? ( ${PYTHON_REQUIRED_USE} )" src_compile() { + if [[ $($(tc-getCC) --version) == clang* ]] ; then + die "Please use gcc, upstream bug http://trac.aircrack-ng.org/ticket/1144" + fi + if [[ ${PV} == "9999" ]] ; then liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" fi + replace-flags -Os -O2 emake \ CC="$(tc-getCC)" \ AR="$(tc-getAR)" \ |