mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-wireless/iwd: bump to 0.4
Package-Manager: Portage-2.3.43, Repoman-2.3.10
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST iwd-0.3.tar.xz 642012 BLAKE2B 9bd43a13760cb32c2ead0e54b5e4389159a6a9a9780651435c8fb3d09859606a89aed6f163183a1027c8afefe05ef848c00104bf87cc223d25408f5405dffd33 SHA512 9c34d98ecae18955cc39cb7a58c0724b500902e2070ebbc1967fa4e2ed3633e01052a6bcb592b8bbb806307d8f0db8271a0ac7ad105f8a8f42915b8627e429f6
|
||||
DIST iwd-0.4.tar.xz 649484 BLAKE2B 7af09a39a6c19b6ebb466d1fba857a6b7acd00d47feefe7e5053ddcdb0a64e74b7bd96a777e46ebd188af7ff5b3c1ed24ff383d11612dcffcef1aa5f210e78f7 SHA512 55c469b4e675f0c47c91bc46f0a93b704d9f2893393262aca8fd983aee16a7a13a112e9df15a31561fe72a806439a9a93fcbe1721648f3eed9ef277f9339b770
|
||||
|
||||
104
net-wireless/iwd/iwd-0.4.ebuild
Normal file
104
net-wireless/iwd/iwd-0.4.ebuild
Normal file
@@ -0,0 +1,104 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools linux-info systemd
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Wireless daemon for linux"
|
||||
HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+client +monitor cpu_flags_x86_aes cpu_flags_x86_ssse3"
|
||||
|
||||
RDEPEND="sys-apps/dbus
|
||||
client? ( sys-libs/readline:0= )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_pretend() {
|
||||
CONFIG_CHECK="
|
||||
~ASYMMETRIC_KEY_TYPE
|
||||
~ASYMMETRIC_PUBLIC_KEY_SUBTYPE
|
||||
~CRYPTO_AES
|
||||
~CRYPTO_ARC4
|
||||
~CRYPTO_CBC
|
||||
~CRYPTO_CMAC
|
||||
~CRYPTO_DES
|
||||
~CRYPTO_ECB
|
||||
~CRYPTO_HMAC
|
||||
~CRYPTO_MD4
|
||||
~CRYPTO_MD5
|
||||
~CRYPTO_RSA
|
||||
~CRYPTO_SHA1
|
||||
~CRYPTO_SHA256
|
||||
~CRYPTO_SHA512
|
||||
~CRYPTO_USER_API_HASH
|
||||
~CRYPTO_USER_API_SKCIPHER
|
||||
~KEY_DH_OPERATIONS
|
||||
~PKCS7_MESSAGE_PARSER
|
||||
~X509_CERTIFICATE_PARSER
|
||||
"
|
||||
if use amd64;then
|
||||
CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64"
|
||||
WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance"
|
||||
WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance"
|
||||
fi
|
||||
|
||||
if use cpu_flags_x86_aes;then
|
||||
CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL"
|
||||
WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
|
||||
fi
|
||||
|
||||
if use cpu_flags_x86_ssse3; then
|
||||
CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
|
||||
WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
|
||||
WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"
|
||||
WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
|
||||
fi
|
||||
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-r3_src_unpack
|
||||
git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --sysconfdir=/etc/iwd --localstatedir=/var \
|
||||
$(use_enable client) \
|
||||
$(use_enable monitor) \
|
||||
--enable-systemd-service \
|
||||
--with-systemd-unitdir="$(systemd_get_systemunitdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
keepdir /var/lib/${PN}
|
||||
|
||||
newinitd "${FILESDIR}/iwd.initd" iwd
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
exeinto /usr/share/iwd/scripts/
|
||||
doexe test/*
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user