diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
commit | f516638b7fe9592837389826a6152a7e1b251c54 (patch) | |
tree | 8bfecb640b7b6403d7a3d662d923eed630033da7 /net-wireless/aircrack-ng | |
parent | 1a61119f9f7b057830e2ce0563f913ec86f282ad (diff) |
gentoo resync : 30.05.2020
Diffstat (limited to 'net-wireless/aircrack-ng')
-rw-r--r-- | net-wireless/aircrack-ng/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/aircrack-ng/aircrack-ng-1.6-r1.ebuild | 2 | ||||
-rw-r--r-- | net-wireless/aircrack-ng/aircrack-ng-1.6_p20200519.ebuild | 119 |
3 files changed, 123 insertions, 2 deletions
diff --git a/net-wireless/aircrack-ng/Manifest b/net-wireless/aircrack-ng/Manifest index 445b361c2879..bb64db5a2426 100644 --- a/net-wireless/aircrack-ng/Manifest +++ b/net-wireless/aircrack-ng/Manifest @@ -1,6 +1,8 @@ DIST aircrack-ng-1.5.2.tar.gz 7138360 BLAKE2B cfc178d76273bb1cf6c34b1656a710d046a094f9c772a562f19ae783c30810cf7b6aa8668566ef6998af79090266771aeea8037b446eb0b9755b602ddcebc0d2 SHA512 72c249782dda3a875fbec98e4fe0e6044a6f123ebd36341a5f42733dfe6c26d96b5c74f67c0547b81c5dd5e2f52a6f475b424885f8e6fa21279ac539228038f5 DIST aircrack-ng-1.6.tar.gz 7933308 BLAKE2B c4cacdc9b767789a7b2426857831c1f8166d3f2e11a71cffc1466f2d4006552dfe420a50e0085f3c74fbdc23770309bb81d49e0c5372b0e4a8fa5e294c16d942 SHA512 df65ec3032ff20dc4aae4921e6a9c330a51b5df89af02d4c6fbf691fcfade21658b1a2d5de286a7e729dc6fb740f6fd4e6b6f53649486ef64bc3d00d81a95bd5 +DIST aircrack-ng-1.6_p20200519.tar.gz 7598576 BLAKE2B b34f5fca831d253503dcd28f84a9386b9fae68469e7965ca54af2b85daf6dee5ebd5973fc1d08428c52ac936544e48bf422b50ca8873637ac6f20d47037b5498 SHA512 5c0059869e2ee8927f0faa9e8194563f76297ba9e3de46e68acfa433cdfe97977d084277713ab17504295f7038880535a34f295e9d3fe70fd55505ee82801ac2 EBUILD aircrack-ng-1.5.2.ebuild 2893 BLAKE2B a93ce214ad665bbf50e7d08bb1250731e2993437592fa6db39b1a207090ec4264e6f8b8b51d6a4f6f97b972250d0abb2afd5b23394899ae3075464939ef4a5ce SHA512 7797d00f2128120e5755a023903f6677c83face85d31053b71e9a11f73fcb2f64069464727aae58c6a234ad1fe673a987afe49c9271a191dd5cf0420b6f43572 -EBUILD aircrack-ng-1.6-r1.ebuild 2951 BLAKE2B 7196765247884f2206191517dea0b801b0a240c491ed652f50aa3fbb604549c9810b74c8e1cbc54eaa36ec82fb256f6f49eb47110be2705eaf44c26fd1d0ecf2 SHA512 6ba1953e3af47afa061691b42ec238a19bda98080f99adf0a67aa9ffd95fd7bd82cd9f96680e68db10ee839e6f35d8ce4469da2ad84e2ffda8699b63ca86d7cb +EBUILD aircrack-ng-1.6-r1.ebuild 2952 BLAKE2B fc5540b4faa82f0b88f279c32650d7eabc506e150960028d59786afcc2b9a0dda5198f12d9858bb029e6850f9a9e45f813269eb810d660dcf416ddce244b7496 SHA512 1554f875c73f68a25352437bbd11021c713e9174572cf8c6f88d3959cbbfeccf91920644054b6f207acd7903a0d06c37456273eca23de4114ae1ac7da2b26c56 +EBUILD aircrack-ng-1.6_p20200519.ebuild 3113 BLAKE2B 3897c60a9d2b5bf1160847948dc25fd1da03d98cf81588063549c2304c0ce1bf791302d56804c060d4c7a7f51623bda3381f7e28b7834d710e9f94516f855a4c SHA512 e12c84d8e35189df7fa9b00b9c47b1f6484d4bda034744a2abfeb384f832df24f1552a8499581728d752f364db7fc45c7141899a4e3b9dd0ccfb86791e6d5f07 EBUILD aircrack-ng-9999.ebuild 2952 BLAKE2B fc5540b4faa82f0b88f279c32650d7eabc506e150960028d59786afcc2b9a0dda5198f12d9858bb029e6850f9a9e45f813269eb810d660dcf416ddce244b7496 SHA512 1554f875c73f68a25352437bbd11021c713e9174572cf8c6f88d3959cbbfeccf91920644054b6f207acd7903a0d06c37456273eca23de4114ae1ac7da2b26c56 MISC metadata.xml 936 BLAKE2B 1e62943b6dbb382d972c07ec810b332be4e9e949b025450bdcc6380f129c463c5dc370a476bb3db64172e8ac319b93361ce0cc1cd71d2072acb5a0891413ebf7 SHA512 6fc72c61abbddf6019c5a3610e422d24cd0d915e98789b411c978b54c61b4d6c50224a5d0905b25520f27067245327dd10ad3cada1d0a316d66b18ed9fc3016e diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.6-r1.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.6-r1.ebuild index 2b60f7a33838..e6f82c3506c9 100644 --- a/net-wireless/aircrack-ng/aircrack-ng-1.6-r1.ebuild +++ b/net-wireless/aircrack-ng/aircrack-ng-1.6-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8}) +PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_OPTIONAL=1 inherit toolchain-funcs distutils-r1 flag-o-matic autotools diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.6_p20200519.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.6_p20200519.ebuild new file mode 100644 index 000000000000..dfd72571efe0 --- /dev/null +++ b/net-wireless/aircrack-ng/aircrack-ng-1.6_p20200519.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_OPTIONAL=1 + +inherit toolchain-funcs distutils-r1 flag-o-matic autotools + +DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" +HOMEPAGE="http://www.aircrack-ng.org" + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/aircrack-ng/aircrack-ng.git" +else + #SRC_URI="https://download.aircrack-ng.org/${P}.tar.gz" + COMMIT="225993949cd1c8228227ab4e6d315538a908c101" + SRC_URI="https://github.com/aircrack-ng/aircrack-ng/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="GPL-2" +SLOT="0" + +IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD libressl +netlink +pcre +sqlite +experimental" + +DEPEND="net-libs/libpcap + sys-apps/hwloc:0= + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + netlink? ( dev-libs/libnl:3 ) + pcre? ( dev-libs/libpcre ) + airdrop-ng? ( ${PYTHON_DEPS} ) + airgraph-ng? ( ${PYTHON_DEPS} ) + experimental? ( sys-libs/zlib ) + sqlite? ( >=dev-db/sqlite-3.4 )" +RDEPEND="${DEPEND}" +PDEPEND="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,${PYTHON_USEDEP}] )" + +REQUIRED_USE=" + airdrop-ng? ( ${PYTHON_REQUIRED_USE} ) + airgraph-ng? ( ${PYTHON_REQUIRED_USE} )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + STATIC_LIBDIR_NAME="$(get_libdir)" \ + --disable-asan \ + --enable-shared \ + --disable-static \ + --without-opt \ + $(use_enable netlink libnl) \ + $(use_with experimental) \ + $(use_with sqlite sqlite3) +} + +src_compile() { + if [[ $($(tc-getCC) --version) == clang* ]] ; then + #https://bugs.gentoo.org/show_bug.cgi?id=472890 + filter-flags -frecord-gcc-switches + fi + + default + + if use airgraph-ng; then + cd "${S}/scripts/airgraph-ng" + distutils-r1_src_compile + fi + if use airdrop-ng; then + cd "${S}/scripts/airdrop-ng" + distutils-r1_src_compile + fi +} + +src_install() { + default + + if use airgraph-ng; then + cd "${S}/scripts/airgraph-ng" + distutils-r1_src_install + fi + if use airdrop-ng; then + cd "${S}/scripts/airdrop-ng" + distutils-r1_src_install + fi + + # we don't need aircrack-ng's oui updater, we have our own + 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 +} |