net-wireless/aircrack-ng: remove kernel_FreeBSD

Signed-off-by: David Seifert <soap@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
David Seifert
2022-01-04 03:28:52 +00:00
committed by Sam James
parent f242a6eae3
commit 6dfe4cb9b9
2 changed files with 4 additions and 34 deletions
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -25,7 +25,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD +netlink +pcre +sqlite +experimental"
IUSE="+airdrop-ng +airgraph-ng kernel_linux +netlink +pcre +sqlite +experimental"
DEPEND="net-libs/libpcap
sys-apps/hwloc:0=
@@ -104,18 +104,3 @@ src_install() {
rm "${ED}"/usr/sbin/airodump-ng-oui-update
find "${D}" -xtype f -name '*.la' -delete || die
}
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,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -23,7 +23,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD +netlink +pcre +sqlite +experimental"
IUSE="+airdrop-ng +airgraph-ng kernel_linux +netlink +pcre +sqlite +experimental"
DEPEND="net-libs/libpcap
sys-apps/hwloc:0=
@@ -99,18 +99,3 @@ src_install() {
rm "${ED}"/usr/sbin/airodump-ng-oui-update
find "${D}" -xtype f -name '*.la' -delete || die
}
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
}