diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2013-10-16 17:36:22 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2013-10-16 17:36:22 +0000 |
commit | 18a68852d3ed6195589b5adbb044db5e261195fa (patch) | |
tree | e3b70c924c7ab3c9ec63834b82e59dbe12b9fb1a /net-wireless | |
parent | Version bump to 0.2.0, LICENSE recently switched from GPL-3 to GPL-2; proxied... (diff) | |
download | gentoo-2-18a68852d3ed6195589b5adbb044db5e261195fa.tar.gz gentoo-2-18a68852d3ed6195589b5adbb044db5e261195fa.tar.bz2 gentoo-2-18a68852d3ed6195589b5adbb044db5e261195fa.zip |
Store database in /var/db instead of /etc, bug #424840. Thanks to Oleg Kravchenko.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/reaver/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/reaver/files/reaver-1.4_var_db.patch | 12 | ||||
-rw-r--r-- | net-wireless/reaver/reaver-1.4-r1.ebuild | 36 |
3 files changed, 56 insertions, 1 deletions
diff --git a/net-wireless/reaver/ChangeLog b/net-wireless/reaver/ChangeLog index 1f0a45d0a596..4d8f4df7b1a7 100644 --- a/net-wireless/reaver/ChangeLog +++ b/net-wireless/reaver/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/reaver # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/reaver/ChangeLog,v 1.2 2013/03/17 17:11:49 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/reaver/ChangeLog,v 1.3 2013/10/16 17:36:22 maksbotan Exp $ + +*reaver-1.4-r1 (16 Oct 2013) + + 16 Oct 2013; Maxim Koltsov <maksbotan@gentoo.org> + +files/reaver-1.4_var_db.patch, +reaver-1.4-r1.ebuild: + Store database in /var/db instead of /etc, bug #424840. Thanks to Oleg + Kravchenko. 17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml: Add proxy-maintainers to metadata.xml and add missing attribute diff --git a/net-wireless/reaver/files/reaver-1.4_var_db.patch b/net-wireless/reaver/files/reaver-1.4_var_db.patch new file mode 100644 index 000000000000..805766b26601 --- /dev/null +++ b/net-wireless/reaver/files/reaver-1.4_var_db.patch @@ -0,0 +1,12 @@ +diff -rupN a/src/Makefile.in b/src/Makefile.in +--- a/src/Makefile.in 2012-01-18 11:02:40.000000000 +0200 ++++ b/src/Makefile.in 2013-10-13 19:21:19.248837817 +0300 +@@ -3,7 +3,7 @@ LIBWPS_DIR=libwps + INC=-I$(LIBWPS_DIR) + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-CONFDIR=@sysconfdir@/@target@ ++CONFDIR=/var/db/reaver + CFLAGS=-DCONF_DIR='"$(CONFDIR)"' -DREAVER_DATABASE='"$(CONFDIR)/reaver.db"' @CFLAGS@ + LDFLAGS=$(LIBWPS_DIR)/*.o wps/*.o tls/bignum.o tls/libtls.a utils/libutils.a crypto/libcrypto.a lwe/libiw.a @LDFLAGS@ + diff --git a/net-wireless/reaver/reaver-1.4-r1.ebuild b/net-wireless/reaver/reaver-1.4-r1.ebuild new file mode 100644 index 000000000000..45364030a2df --- /dev/null +++ b/net-wireless/reaver/reaver-1.4-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/reaver/reaver-1.4-r1.ebuild,v 1.1 2013/10/16 17:36:22 maksbotan Exp $ + +EAPI=4 + +AUTOTOOLS_IN_SOURCE_BUILD="1" + +inherit autotools-utils + +DESCRIPTION="Brute force attack against Wifi Protected Setup" +HOMEPAGE="http://code.google.com/p/reaver-wps/" +SRC_URI="http://reaver-wps.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="net-libs/libpcap + dev-db/sqlite:3" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}/src" + +PATCHES=( "${FILESDIR}/${P}_var_db.patch" ) + +src_install() { + dobin wash reaver + + insinto "/var/db/reaver" + doins reaver.db + + doman ../docs/reaver.1.gz + dodoc ../docs/README ../docs/README.REAVER ../docs/README.WASH +} |