public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-wireless/aircrack-ng: ChangeLog aircrack-ng-1.0_rc2-r1.ebuild aircrack-ng-1.0_rc2.ebuild
@ 2009-03-12 17:59 Robert Buchholz (rbu)
  0 siblings, 0 replies; only message in thread
From: Robert Buchholz (rbu) @ 2009-03-12 17:59 UTC (permalink / raw
  To: gentoo-commits

rbu         09/03/12 17:59:10

  Modified:             ChangeLog
  Added:                aircrack-ng-1.0_rc2-r1.ebuild
  Removed:              aircrack-ng-1.0_rc2.ebuild
  Log:
    Reintroduce iw as a dep on Linux that got dropped in the bump (bug # 260177),
    Improve support for current FreeBSD (bug #253803): applied some patches and
    remove airmon-ng application.
  (Portage version: 2.1.6.7/cvs/Linux x86_64)

Revision  Changes    Path
1.38                 net-wireless/aircrack-ng/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/aircrack-ng/ChangeLog?rev=1.38&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/aircrack-ng/ChangeLog?rev=1.38&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/aircrack-ng/ChangeLog?r1=1.37&r2=1.38

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- ChangeLog	1 Mar 2009 16:57:50 -0000	1.37
+++ ChangeLog	12 Mar 2009 17:59:10 -0000	1.38
@@ -1,6 +1,15 @@
 # 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.37 2009/03/01 16:57:50 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.38 2009/03/12 17:59:10 rbu Exp $
+
+*aircrack-ng-1.0_rc2-r1 (12 Mar 2009)
+
+  12 Mar 2009; Robert Buchholz <rbu@gentoo.org>
+  +files/aircrack-ng-1.0_rc2-freebsd.patch, -aircrack-ng-1.0_rc2.ebuild,
+  +aircrack-ng-1.0_rc2-r1.ebuild:
+  Reintroduce iw as a dep on Linux that got dropped in the bump (bug # 260177),
+  Improve support for current FreeBSD (bug #253803): applied some patches and
+  remove airmon-ng application.
 
 *aircrack-ng-1.0_rc2 (01 Mar 2009)
 



1.1                  net-wireless/aircrack-ng/aircrack-ng-1.0_rc2-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-1.0_rc2-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-1.0_rc2-r1.ebuild?rev=1.1&content-type=text/plain

Index: aircrack-ng-1.0_rc2-r1.ebuild
===================================================================
# 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_rc2-r1.ebuild,v 1.1 2009/03/12 17:59:10 rbu Exp $

EAPI=2
inherit versionator eutils toolchain-funcs

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 ~x86"
IUSE="+sqlite kernel_linux kernel_FreeBSD"

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

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

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

src_prepare() {
	epatch "${FILESDIR}/sha-compile-fix-64bit.patch"
	if use kernel_FreeBSD ; then
		epatch "${FILESDIR}/${P}-freebsd.patch"
		sed -i -e "s:^\(SCRIPTS.*\)airmon-ng:\1:g" Makefile
		sed -i -e "s:airmon-ng.1::g" manpages/Makefile
	fi
}

src_compile() {
	emake CC="$(tc-getCC)" LD="$(tc-getLD)" sqlite=$(have_sqlite) || die "emake failed"
}

src_install() {
	emake \
		prefix="/usr" \
		mandir="/usr/share/man/man1" \
		DESTDIR="${D}" \
		sqlite=$(have_sqlite) \
		install \
		|| die "emake install failed"

	dodoc AUTHORS ChangeLog README
}

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:[~2009-03-12 17:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-12 17:59 [gentoo-commits] gentoo-x86 commit in net-wireless/aircrack-ng: ChangeLog aircrack-ng-1.0_rc2-r1.ebuild aircrack-ng-1.0_rc2.ebuild Robert Buchholz (rbu)

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