public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-wireless/aircrack-ng: aircrack-ng-1.1-r4.ebuild metadata.xml aircrack-ng-9999.ebuild ChangeLog aircrack-ng-1.1.ebuild aircrack-ng-0.9.3.ebuild aircrack-ng-1.0.ebuild aircrack-ng-1.1-r3.ebuild
@ 2013-04-12  3:27 Richard Farina (zerochaos)
  0 siblings, 0 replies; only message in thread
From: Richard Farina (zerochaos) @ 2013-04-12  3:27 UTC (permalink / raw
  To: gentoo-commits

zerochaos    13/04/12 03:27:55

  Modified:             metadata.xml ChangeLog
  Added:                aircrack-ng-1.1-r4.ebuild aircrack-ng-9999.ebuild
  Removed:              aircrack-ng-1.1.ebuild aircrack-ng-0.9.3.ebuild
                        aircrack-ng-1.0.ebuild aircrack-ng-1.1-r3.ebuild
  Log:
  some reasonably major improvements to aircrack-ng as I merge pentoo changeset into gentoo
  
  (Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

Revision  Changes    Path
1.5                  net-wireless/aircrack-ng/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/aircrack-ng/metadata.xml?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/aircrack-ng/metadata.xml?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/aircrack-ng/metadata.xml?r1=1.4&r2=1.5

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/metadata.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- metadata.xml	16 Dec 2012 16:51:54 -0000	1.4
+++ metadata.xml	12 Apr 2013 03:27:55 -0000	1.5
@@ -13,4 +13,10 @@
 	aircrack-ng is the next generation of aircrack with lots of new features.
 	(from http://www.aircrack-ng.org)
 </longdescription>
+<use>
+	<flag name="airdrop-ng">Build airdrop-ng</flag>
+	<flag name="airgraph-ng">Build airgraph-ng</flag>
+	<flag name="netlink">Use netlink for channel control instead of WEXT</flag>
+	<flag name="unstable">Build the "unstable" tools which may randomly fail to run properly</flag>
+</use>
 </pkgmetadata>



1.72                 net-wireless/aircrack-ng/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/aircrack-ng/ChangeLog?rev=1.72&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/aircrack-ng/ChangeLog?rev=1.72&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/aircrack-ng/ChangeLog?r1=1.71&r2=1.72

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- ChangeLog	23 Dec 2012 18:15:03 -0000	1.71
+++ ChangeLog	12 Apr 2013 03:27:55 -0000	1.72
@@ -1,6 +1,20 @@
 # ChangeLog for net-wireless/aircrack-ng
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.71 2012/12/23 18:15:03 maekke Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.72 2013/04/12 03:27:55 zerochaos Exp $
+
+*aircrack-ng-9999 (12 Apr 2013)
+*aircrack-ng-1.1-r4 (12 Apr 2013)
+
+  12 Apr 2013; Rick Farina <zerochaos@gentoo.org> +aircrack-ng-1.1-r4.ebuild,
+  +aircrack-ng-9999.ebuild, +files/airodump-ng-oui-update-path-fix.patch,
+  +files/airodump-ng.ignore-negative-one.v4.patch,
+  +files/changeset_r1921_backport.diff,
+  +files/diff-wpa-migration-mode-aircrack-ng.diff, +files/eapol_fix.patch,
+  +files/ignore-channel-1-error.patch, -aircrack-ng-0.9.3.ebuild,
+  -aircrack-ng-1.0.ebuild, -aircrack-ng-1.1-r3.ebuild, -aircrack-ng-1.1.ebuild,
+  metadata.xml:
+  some reasonably major improvements to aircrack-ng as I merge pentoo changeset
+  into gentoo
 
   23 Dec 2012; Markus Meier <maekke@gentoo.org> aircrack-ng-1.1-r2.ebuild:
   arm stable, bug #311797



1.1                  net-wireless/aircrack-ng/aircrack-ng-1.1-r4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-1.1-r4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-1.1-r4.ebuild?rev=1.1&content-type=text/plain

Index: aircrack-ng-1.1-r4.ebuild
===================================================================
# Copyright 1999-2013 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.1-r4.ebuild,v 1.1 2013/04/12 03:27:55 zerochaos Exp $

EAPI="5"

inherit eutils toolchain-funcs versionator

MY_PV="$(replace_version_separator 2 '-')"

DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys"
HOMEPAGE="http://www.aircrack-ng.org"
SRC_URI="http://download.aircrack-ng.org/${PN}-${MY_PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"

IUSE="kernel_linux kernel_FreeBSD +sqlite +unstable"

DEPEND="dev-libs/openssl
	sqlite? ( >=dev-db/sqlite-3.4 )"
RDEPEND="${DEPEND}
	kernel_linux? ( net-wireless/iw net-wireless/wireless-tools )"

S="${WORKDIR}/${PN}-${MY_PV}"

have_sqlite() {
	use sqlite && echo "true" || echo "false"
}

have_unstable() {
	use unstable && echo "true" || echo "false"
}

src_prepare() {
	epatch "${FILESDIR}/${PN}-1.0_rc4-fix_build.patch"
	epatch "${FILESDIR}/${P}-parallelmake.patch"
	epatch "${FILESDIR}/${P}-sse-pic.patch"
	epatch "${FILESDIR}/${P}-CVE-2010-1159.patch"
	epatch "${FILESDIR}/${P}-respect_LDFLAGS.patch"
	epatch "${FILESDIR}"/diff-wpa-migration-mode-aircrack-ng.diff
	epatch "${FILESDIR}"/ignore-channel-1-error.patch
	epatch "${FILESDIR}"/airodump-ng.ignore-negative-one.v4.patch
	epatch "${FILESDIR}"/changeset_r1921_backport.diff

	#likely to stay after version bump
	epatch "${FILESDIR}"/airodump-ng-oui-update-path-fix.patch
}

src_compile() {
	# UNSTABLE=true enables building of buddy-ng, easside-ng, tkiptun-ng and wesside-ng
	emake \
		CC="$(tc-getCC)" \
		AR="$(tc-getAR)" \
		RANLIB="$(tc-getRANLIB)" \
		sqlite="$(have_sqlite)" \
		UNSTABLE="$(have_unstable)"
}

src_install() {
	emake \
		prefix="${EPREFIX}/usr" \
		mandir="${EPREFIX}/usr/share/man/man1" \
		DESTDIR="${ED}" \
		sqlite="$(have_sqlite)" \
		unstable="$(have_unstable)" \
		install

	dodoc AUTHORS ChangeLog INSTALLING README
	#dodir /etc/aircrack-ng/
	#wget http://standards.ieee.org/regauth/oui/oui.txt -O "${ED}"/etc/aircrack-ng/airodump-ng-oui.txt
}

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
}



1.1                  net-wireless/aircrack-ng/aircrack-ng-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild?rev=1.1&content-type=text/plain

Index: aircrack-ng-9999.ebuild
===================================================================
# Copyright 1999-2013 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.1 2013/04/12 03:27:55 zerochaos Exp $

EAPI="5"

inherit toolchain-funcs versionator subversion

DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys"
HOMEPAGE="http://www.aircrack-ng.org"
ESVN_REPO_URI="http://trac.aircrack-ng.org/svn/trunk/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""

IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD netlink +sqlite +unstable"

DEPEND="dev-libs/openssl
	netlink? ( dev-libs/libnl:3 )
	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 )
	net-misc/ieee-oui
	airdrop-ng? ( net-wireless/lorcon[python] )"

S="${WORKDIR}/${PN}"

subversion_src_prepare() {
	subversion_bootstrap || die "${ESVN}: unknown problem occurred in subversion_bootstrap."
}

src_compile() {
	emake \
	CC="$(tc-getCC)" \
	AR="$(tc-getAR)" \
	LD="$(tc-getLD)" \
	RANLIB="$(tc-getRANLIB)" \
	libnl=$(usex netlink true false) \
	sqlite=$(usex sqlite true false) \
	unstable=$(usex unstable true false) \
	REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}"
}

src_install() {
	emake \
		prefix="${ED}/usr" \
		libnl=$(usex netlink true false) \
		sqlite=$(usex sqlite true false) \
		unstable=$(usex unstable true false) \
		REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" \
		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
}

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
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-12  3:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-12  3:27 [gentoo-commits] gentoo-x86 commit in net-wireless/aircrack-ng: aircrack-ng-1.1-r4.ebuild metadata.xml aircrack-ng-9999.ebuild ChangeLog aircrack-ng-1.1.ebuild aircrack-ng-0.9.3.ebuild aircrack-ng-1.0.ebuild aircrack-ng-1.1-r3.ebuild Richard Farina (zerochaos)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox