diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2019-10-25 23:43:09 +0300 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2019-10-26 00:13:39 +0300 |
commit | 6afa1cefef26e0b01ea459beddbfd25f17f5a034 (patch) | |
tree | e122a5a0f9229c22d06efd6087d71265482a0f3d /net-wireless | |
parent | app-emulation/vagrant: Add version bump 2.2.6 (diff) | |
download | gentoo-6afa1cefef26e0b01ea459beddbfd25f17f5a034.tar.gz gentoo-6afa1cefef26e0b01ea459beddbfd25f17f5a034.tar.bz2 gentoo-6afa1cefef26e0b01ea459beddbfd25f17f5a034.zip |
net-wireless/reaver: bump to 1.6.5
Thanks to Oleh Kravchenko.
Closes: https://bugs.gentoo.org/696672
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Maxim Koltsov <maksbotan@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/reaver/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/reaver/files/reaver-1.6.5-confdir.patch | 10 | ||||
-rw-r--r-- | net-wireless/reaver/reaver-1.6.5.ebuild | 33 |
3 files changed, 44 insertions, 0 deletions
diff --git a/net-wireless/reaver/Manifest b/net-wireless/reaver/Manifest index 413daae1a1a6..1404ddcf15b4 100644 --- a/net-wireless/reaver/Manifest +++ b/net-wireless/reaver/Manifest @@ -1 +1,2 @@ DIST reaver-1.4.tar.gz 766603 BLAKE2B 4a488364718a17ec29c1d8da4bc7032b65e4597b89c2949e7108d625276e60d0b424f3b87a3d6baa30d5909ac206d6f7793f5e4514c307cc54784386ce5ce422 SHA512 59f2d6f8aa6228988ce5d1c102d9a48b2a23e582ff3d9afe39d7c9717b7e4be059362fdd21a3e5f5d59948df1a7616acdaa6df20f139e9c5aa9bd673f764dfbc +DIST reaver-1.6.5.tar.gz 479441 BLAKE2B 21a1c54da559be4346b0c874947e982ea49ec6f20e612e3699d25524d49681a197a2a8cad0a31dd8dba919d065de48082572a471aa4f736397066edf7f7d8a43 SHA512 3e70d9fffefee3f6d60e72d7d7b1da91032e184c7d27f94b9f26e2260b7274d491f2e41f8056b386a211b9838d21afc6b65a8a826d310b51fc1065fa9e135dc0 diff --git a/net-wireless/reaver/files/reaver-1.6.5-confdir.patch b/net-wireless/reaver/files/reaver-1.6.5-confdir.patch new file mode 100644 index 000000000000..d5673d82452b --- /dev/null +++ b/net-wireless/reaver/files/reaver-1.6.5-confdir.patch @@ -0,0 +1,10 @@ +--- src/config.mak.in 2019-10-25 23:32:43.196353940 +0300 ++++ src/config.mak.in 2019-10-25 23:32:33.935249226 +0300 +@@ -1,6 +1,6 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-CONFDIR=@localstatedir@/lib/@target@ ++CONFDIR=@localstatedir@/@target@ + + CC=@CC@ + CFLAGS_USER=@CFLAGS@ diff --git a/net-wireless/reaver/reaver-1.6.5.ebuild b/net-wireless/reaver/reaver-1.6.5.ebuild new file mode 100644 index 000000000000..dd1c5685b545 --- /dev/null +++ b/net-wireless/reaver/reaver-1.6.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="reaver-wps-fork-t6x" + +DESCRIPTION="Brute force attack against Wifi Protected Setup" +HOMEPAGE="https://github.com/t6x/${MY_PN}" +SRC_URI="https://github.com/t6x/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +DEPEND="net-libs/libpcap" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}/src" + +PATCHES=( + "${FILESDIR}"/${P}-confdir.patch +) + +src_install() { + # Upstream's Makefile does the same but in non-standard way. + dobin wash reaver + + doman ../docs/reaver.1 + dodoc ../docs/README ../docs/README.REAVER ../docs/README.WASH + + keepdir /var/lib/reaver +} |