diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-wireless/reaver | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-wireless/reaver')
-rw-r--r-- | net-wireless/reaver/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/reaver/files/reaver-1.4_cflags.patch | 47 | ||||
-rw-r--r-- | net-wireless/reaver/files/reaver-1.4_memset.patch | 11 | ||||
-rw-r--r-- | net-wireless/reaver/files/reaver-1.4_parallel-make.patch | 50 | ||||
-rw-r--r-- | net-wireless/reaver/files/reaver-1.4_var_db.patch | 11 | ||||
-rw-r--r-- | net-wireless/reaver/files/reaver-1.4_wps_registrar.patch | 11 | ||||
-rw-r--r-- | net-wireless/reaver/metadata.xml | 13 | ||||
-rw-r--r-- | net-wireless/reaver/reaver-1.4-r1.ebuild | 36 | ||||
-rw-r--r-- | net-wireless/reaver/reaver-1.4-r3.ebuild | 47 | ||||
-rw-r--r-- | net-wireless/reaver/reaver-1.4.ebuild | 34 |
10 files changed, 261 insertions, 0 deletions
diff --git a/net-wireless/reaver/Manifest b/net-wireless/reaver/Manifest new file mode 100644 index 00000000000..68b64f2ea50 --- /dev/null +++ b/net-wireless/reaver/Manifest @@ -0,0 +1 @@ +DIST reaver-1.4.tar.gz 766603 SHA256 add3050a4a05fe0ab6bfb291ee2de8e9b8a85f1e64ced93ee27a75744954b22d SHA512 59f2d6f8aa6228988ce5d1c102d9a48b2a23e582ff3d9afe39d7c9717b7e4be059362fdd21a3e5f5d59948df1a7616acdaa6df20f139e9c5aa9bd673f764dfbc WHIRLPOOL 5b8a91fe97bf08d6dc544b41dd04baedb9488d574e9a0695d8babeb34a9fa5acc81cfc86899c600b12b445cb83887dfbb18517f2ebbd5d34ab27e8c9ce428e38 diff --git a/net-wireless/reaver/files/reaver-1.4_cflags.patch b/net-wireless/reaver/files/reaver-1.4_cflags.patch new file mode 100644 index 00000000000..e4e1da718d6 --- /dev/null +++ b/net-wireless/reaver/files/reaver-1.4_cflags.patch @@ -0,0 +1,47 @@ +--- a/src/wps/Makefile ++++ b/src/wps/Makefile +@@ -1,34 +1,34 @@ +-CC=gcc ++CC?=gcc + INC=-I../utils -I ../ + + all: wps_attr_build.o wps_attr_parse.o wps_attr_process.o wps.o wps_common.o wps_dev_attr.o wps_enrollee.o wps_registrar.o wps_ufd.o + + wps_attr_build.o: +- $(CC) $(INC) wps_attr_build.c -c ++ $(CC) $(CFLAGS) $(INC) wps_attr_build.c -c + + wps_attr_parse.o: +- $(CC) $(INC) wps_attr_parse.c -c ++ $(CC) $(CFLAGS) $(INC) wps_attr_parse.c -c + + wps_attr_process.o: +- $(CC) $(INC) wps_attr_process.c -c ++ $(CC) $(CFLAGS) $(INC) wps_attr_process.c -c + + wps.o: +- $(CC) $(INC) wps.c -c ++ $(CC) $(CFLAGS) $(INC) wps.c -c + + wps_common.o: +- $(CC) $(INC) wps_common.c -c ++ $(CC) $(CFLAGS) $(INC) wps_common.c -c + + wps_dev_attr.o: +- $(CC) $(INC) wps_dev_attr.c -c ++ $(CC) $(CFLAGS) $(INC) wps_dev_attr.c -c + + wps_enrollee.o: +- $(CC) $(INC) wps_enrollee.c -c ++ $(CC) $(CFLAGS) $(INC) wps_enrollee.c -c + + wps_registrar.o: +- $(CC) $(INC) wps_registrar.c -c ++ $(CC) $(CFLAGS) $(INC) wps_registrar.c -c + + wps_ufd.o: +- $(CC) $(INC) wps_ufd.c -c ++ $(CC) $(CFLAGS) $(INC) wps_ufd.c -c + + clean: + rm -f *.o diff --git a/net-wireless/reaver/files/reaver-1.4_memset.patch b/net-wireless/reaver/files/reaver-1.4_memset.patch new file mode 100644 index 00000000000..782910a3f0f --- /dev/null +++ b/net-wireless/reaver/files/reaver-1.4_memset.patch @@ -0,0 +1,11 @@ +--- a/src/crypto/md5-internal.c ++++ b/src/crypto/md5-internal.c +@@ -188,7 +188,7 @@ + MD5Transform(ctx->buf, (u32 *) ctx->in); + byteReverse((unsigned char *) ctx->buf, 4); + os_memcpy(digest, ctx->buf, 16); +- os_memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ++ os_memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */ + } + + /* The four core functions - F1 is optimized somewhat */ diff --git a/net-wireless/reaver/files/reaver-1.4_parallel-make.patch b/net-wireless/reaver/files/reaver-1.4_parallel-make.patch new file mode 100644 index 00000000000..f880cd7562b --- /dev/null +++ b/net-wireless/reaver/files/reaver-1.4_parallel-make.patch @@ -0,0 +1,50 @@ +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -16,22 +16,22 @@ + $(CC) $(CFLAGS) $(INC) wpscrack.c *.o $(LDFLAGS) -o reaver + + libwps.o: +- (cd $(LIBWPS_DIR) && make) ++ (cd $(LIBWPS_DIR) && $(MAKE)) + + wps: libutils libcrypto +- (cd wps && make) ++ (cd wps && $(MAKE)) + + libutils: +- (cd utils && make) ++ (cd utils && $(MAKE)) + + libcrypto: libtls +- (cd crypto && make) ++ (cd crypto && $(MAKE)) + + libtls: +- (cd tls && make) ++ (cd tls && $(MAKE)) + + libiw: +- (cd lwe && make BUILD_STATIC=y libiw.a) ++ (cd lwe && $(MAKE) BUILD_STATIC=y libiw.a) + + init.o: + $(CC) $(CFLAGS) init.c -c +@@ -93,12 +93,12 @@ + clean: + rm -f *~ *.o reaver wash + rm -rf *.cache config.status config.log +- (cd utils && make clean) +- (cd tls && make clean) +- (cd crypto && make clean) +- (cd wps && make clean) +- (cd lwe && make realclean) +- (cd $(LIBWPS_DIR) && make clean) ++ (cd utils && $(MAKE) clean) ++ (cd tls && $(MAKE) clean) ++ (cd crypto && $(MAKE) clean) ++ (cd wps && $(MAKE) clean) ++ (cd lwe && $(MAKE) realclean) ++ (cd $(LIBWPS_DIR) && $(MAKE) clean) + rm -f Makefile config.h + + cleanbin: 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 00000000000..de4317b59ff --- /dev/null +++ b/net-wireless/reaver/files/reaver-1.4_var_db.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -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/files/reaver-1.4_wps_registrar.patch b/net-wireless/reaver/files/reaver-1.4_wps_registrar.patch new file mode 100644 index 00000000000..cc9fe6b774e --- /dev/null +++ b/net-wireless/reaver/files/reaver-1.4_wps_registrar.patch @@ -0,0 +1,11 @@ +--- a/wps/wps_registrar.c ++++ b/wps/wps_registrar.c +@@ -1469,7 +1469,7 @@ + + wpa_printf(MSG_DEBUG, "WPS: Building Message M4"); + +- wpa_printf(MSG_DEBUG, "WPS: Dev Password Len: %d", wps->dev_password_len); ++ wpa_printf(MSG_DEBUG, "WPS: Dev Password Len: %zd", wps->dev_password_len); + wpa_printf(MSG_DEBUG, "WPS: Dev Password: %s", wps->dev_password); + + wps_derive_psk(wps, wps->dev_password, wps->dev_password_len); diff --git a/net-wireless/reaver/metadata.xml b/net-wireless/reaver/metadata.xml new file mode 100644 index 00000000000..81f3a278efc --- /dev/null +++ b/net-wireless/reaver/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proxy-maintainers</herd> +<maintainer> + <email>oleg@kaa.org.ua</email> + <name>Oleg Kravchenko</name> +</maintainer> +<maintainer> + <email>maksbotan@gentoo.org</email> + <name>Maxim Koltsov</name> +</maintainer> +</pkgmetadata> 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 00000000000..43765d5fafd --- /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 +# $Id$ + +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 +} diff --git a/net-wireless/reaver/reaver-1.4-r3.ebuild b/net-wireless/reaver/reaver-1.4-r3.ebuild new file mode 100644 index 00000000000..0a19482117b --- /dev/null +++ b/net-wireless/reaver/reaver-1.4-r3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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" + +DEPEND=" + net-libs/libpcap + dev-db/sqlite:3 +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}/src" + +PATCHES=( + "${FILESDIR}"/${P}_cflags.patch + "${FILESDIR}"/${P}_memset.patch + "${FILESDIR}"/${P}_parallel-make.patch + "${FILESDIR}"/${P}_var_db.patch + "${FILESDIR}"/${P}_wps_registrar.patch +) + +src_compile() { + emake V=1 +} + +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 +} diff --git a/net-wireless/reaver/reaver-1.4.ebuild b/net-wireless/reaver/reaver-1.4.ebuild new file mode 100644 index 00000000000..c161d8cb89f --- /dev/null +++ b/net-wireless/reaver/reaver-1.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" + +src_install() { + dobin wash reaver + + insinto "/etc/reaver" + doins reaver.db + + doman ../docs/reaver.1.gz + dodoc ../docs/README ../docs/README.REAVER ../docs/README.WASH +} |