commit 840d5dac308c827df6be86b645d1746eee954eb9 parent 012ba1d266d4625095fe35cb46fe87d203b2149f Author: parazyd <parazyd@dyne.org> Date: Fri, 20 Apr 2018 17:39:49 +0200 net-wireless/pixiewps: Add 9999 Diffstat:
A | net-wireless/pixiewps/metadata.xml | | | 7 | +++++++ |
A | net-wireless/pixiewps/pixiewps-9999.ebuild | | | 34 | ++++++++++++++++++++++++++++++++++ |
2 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/net-wireless/pixiewps/metadata.xml b/net-wireless/pixiewps/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>parazyd@dyne.org</email> +</maintainer> +</pkgmetadata> diff --git a/net-wireless/pixiewps/pixiewps-9999.ebuild b/net-wireless/pixiewps/pixiewps-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit git-r3 + +DESCRIPTION="An offline Wi-Fi Protected Setup (WPS) brute-force utility" +HOMEPAGE="https://github.com/wiire-a/pixiewps" +EGIT_REPO_URI="https://github.com/wiire-a/pixiewps" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="libressl" + +DEPEND=" + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl:0 ) +" +RDEPEND=" + ${DEPEND} + net-wireless/aircrack-ng +" + +src_compile() { + emake OPENSSL=1 +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + dodoc README.md + dodoc CHANGELOG.md +}