From 6dfe4cb9b97dd5a63e1a4be4e5cd218cf7322fb8 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Mon, 3 Jan 2022 17:07:26 +0100 Subject: [PATCH] net-wireless/aircrack-ng: remove kernel_FreeBSD Signed-off-by: David Seifert Signed-off-by: Sam James --- .../aircrack-ng-1.6_p20200722-r1.ebuild | 19 ++----------------- .../aircrack-ng/aircrack-ng-9999.ebuild | 19 ++----------------- 2 files changed, 4 insertions(+), 34 deletions(-) diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.6_p20200722-r1.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.6_p20200722-r1.ebuild index aba4869d9ca47..6fd2c84fb3aef 100644 --- a/net-wireless/aircrack-ng/aircrack-ng-1.6_p20200722-r1.ebuild +++ b/net-wireless/aircrack-ng/aircrack-ng-1.6_p20200722-r1.ebuild @@ -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 -} diff --git a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild index e7aadf29d9b5b..19edd296904fa 100644 --- a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild +++ b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild @@ -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 -}