mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
net-wireless/iwd: bump to 0.9
Signed-off-by: Ben Kohler <bkohler@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST iwd-0.7.tar.xz 662984 BLAKE2B e6e7fa323749c8012c4df5f8f02f97523a37bcbb99d2a2f8c7678d4a1a73a3e24fc4321d53fb95f7fa325748f97b96e1a5f0fe0e956314eeb8534a8bc989a13f SHA512 e6029e33f43fda24f3ddb87b1bb878ad8926066380a0e71415e645bc4f8aa1a6aaa43d2482987b1d473c267fef6d5a2a676af80282ba4c77ab64605c348cabb1
|
||||
DIST iwd-0.8.tar.xz 670572 BLAKE2B aea20d9d68bb121912ed7a044853188317a1de344ceb09dca4fa1372ed35618b8e63656533329141d0e6f9c6a833238ee02ea807fa53fa19ecf90f8114d7fd69 SHA512 a7707f4c2730eeab0bf65d36c796d5f32b5ccfdb10a199dd2a7263d7297dfd336b8de434c90efb32b6151dfd41911511cd97d1c2ae42012653ee0b44ab709490
|
||||
DIST iwd-0.9.tar.xz 673716 BLAKE2B 5a736ff94af72a1251e678954f0c3aca873431baf2bb553481c439dda118ee4e0b80385b1aee14c11d02ced79d89242d994c598b63b6892e1d033d1c91924fef SHA512 6d87ba8cc487a9da0b3dc525f27d4643591d2c14f1dae2a5c5d07d29df30bb77e6184810dbfd6f54fc70ca9f21b6e0f11d75e7ee324f6cb43bdd1a8fb5aeaa42
|
||||
|
||||
106
net-wireless/iwd/iwd-0.9.ebuild
Normal file
106
net-wireless/iwd/iwd-0.9.ebuild
Normal file
@@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# 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 ofono wired 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) \
|
||||
$(use_enable ofono) \
|
||||
$(use_enable wired) \
|
||||
--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