mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 22:01:11 +02:00
hostapd-mana: pkgcheck fixes
This commit is contained in:
parent
6ec98de125
commit
951c749677
2 changed files with 17 additions and 10 deletions
|
|
@ -1,11 +1,11 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit python-r1 toolchain-funcs savedconfig
|
||||
inherit python-r1 savedconfig
|
||||
|
||||
MY_PN="hostapd"
|
||||
|
||||
|
|
@ -25,21 +25,21 @@ fi
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="crda internal-tls netlink sqlite crackapd"
|
||||
IUSE="internal-tls netlink sqlite crackapd"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="
|
||||
internal-tls? ( dev-libs/libtommath )
|
||||
!internal-tls? ( dev-libs/openssl:0=[-bindist(-)] )
|
||||
kernel_linux? (
|
||||
dev-libs/libnl:3
|
||||
crda? ( net-wireless/crda )
|
||||
)
|
||||
netlink? ( net-libs/libnfnetlink )
|
||||
sqlite? ( >=dev-db/sqlite-3 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
RDEPEND="${DEPEND}
|
||||
${PYTHON_DEPS}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s:/etc/hostapd:/etc/${PN}:g" -i ./hostapd.conf || die
|
||||
|
||||
|
|
@ -52,7 +52,6 @@ src_prepare() {
|
|||
eapply "${FILESDIR}"/update_hostapd.conf.patch
|
||||
# eapply "${FILESDIR}"/48.patch
|
||||
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,15 @@
|
|||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
<email>noone@pentoo.org</email>
|
||||
<name>No one</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="crackapd">Install crackap daemon</flag>
|
||||
<flag name="internal-tls">Use internal tls implementation instead of openssl</flag>
|
||||
<flag name="netlink">Use netlink to talk to wireless devices</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">sensepost/hostapd-mana</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
Loading…
Reference in a new issue