public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-wireless/reaver/files/, net-wireless/reaver/
@ 2019-10-25 21:14 Maxim Koltsov
  0 siblings, 0 replies; only message in thread
From: Maxim Koltsov @ 2019-10-25 21:14 UTC (permalink / raw
  To: gentoo-commits

commit:     6afa1cefef26e0b01ea459beddbfd25f17f5a034
Author:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 25 20:43:09 2019 +0000
Commit:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
CommitDate: Fri Oct 25 21:13:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6afa1cef

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 <AT> gentoo.org>

 net-wireless/reaver/Manifest                       |  1 +
 .../reaver/files/reaver-1.6.5-confdir.patch        | 10 +++++++
 net-wireless/reaver/reaver-1.6.5.ebuild            | 33 ++++++++++++++++++++++
 3 files changed, 44 insertions(+)

diff --git a/net-wireless/reaver/Manifest b/net-wireless/reaver/Manifest
index 413daae1a1a..1404ddcf15b 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 00000000000..d5673d82452
--- /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 00000000000..dd1c5685b54
--- /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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-25 21:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-25 21:14 [gentoo-commits] repo/gentoo:master commit in: net-wireless/reaver/files/, net-wireless/reaver/ Maxim Koltsov

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