Merge pull request #265 from fkmclane/create_ap

create_ap: add version 0.4.6
This commit is contained in:
Anton Bolshakov 2018-01-22 07:25:55 +08:00 committed by GitHub
commit 86c57f3e9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST create_ap-0.4.6.tar.gz 18510 SHA256 fc86c8ed8fce6543adf15587f9b987fd12d711ad4e5762250abe6f9801e2bbb1 SHA512 38100296a87eb8f5a29b7e3eff618cd2518859b5a3e24a08058b3839149b159a81a3f12976d1217d5798708bbc5e44dfaceab2f4e636339cdf8a5c0f5c06bd2d WHIRLPOOL 6562f456f7486199d38a6d9c4fbd320a615f1b3f4fa713f527b93e89661e59dca6fc07e98fb7e95def9473b75381990d1b07296a5e2b717d1e44ba123ec6d5f8

View file

@ -0,0 +1,36 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit bash-completion-r1 systemd
DESCRIPTION="A script to create a NATed or bridged WiFi access point"
HOMEPAGE="https://github.com/oblique/create_ap"
SRC_URI="https://github.com/oblique/create_ap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="haveged"
DEPEND=""
RDEPEND="
sys-apps/util-linux
sys-process/procps
net-wireless/hostapd
sys-apps/iproute2
net-wireless/iw
net-misc/bridge-utils
net-dns/dnsmasq
net-firewall/iptables
haveged? (
sys-apps/haveged
)
"
src_install() {
dobin create_ap
systemd_dounit create_ap.service
newbashcomp bash_completion create_ap
}