1 |
commit: 1cff8ecd98a5595e84966d28faf4d2425f4cba84 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 25 13:20:09 2018 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 25 13:20:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cff8ecd |
7 |
|
8 |
net-wireless/iwd: bump to 0.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
net-wireless/iwd/Manifest | 1 + |
13 |
net-wireless/iwd/iwd-0.4.ebuild | 104 ++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 105 insertions(+) |
15 |
|
16 |
diff --git a/net-wireless/iwd/Manifest b/net-wireless/iwd/Manifest |
17 |
index 04b8e4eb0fb..66d23505530 100644 |
18 |
--- a/net-wireless/iwd/Manifest |
19 |
+++ b/net-wireless/iwd/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST iwd-0.3.tar.xz 642012 BLAKE2B 9bd43a13760cb32c2ead0e54b5e4389159a6a9a9780651435c8fb3d09859606a89aed6f163183a1027c8afefe05ef848c00104bf87cc223d25408f5405dffd33 SHA512 9c34d98ecae18955cc39cb7a58c0724b500902e2070ebbc1967fa4e2ed3633e01052a6bcb592b8bbb806307d8f0db8271a0ac7ad105f8a8f42915b8627e429f6 |
22 |
+DIST iwd-0.4.tar.xz 649484 BLAKE2B 7af09a39a6c19b6ebb466d1fba857a6b7acd00d47feefe7e5053ddcdb0a64e74b7bd96a777e46ebd188af7ff5b3c1ed24ff383d11612dcffcef1aa5f210e78f7 SHA512 55c469b4e675f0c47c91bc46f0a93b704d9f2893393262aca8fd983aee16a7a13a112e9df15a31561fe72a806439a9a93fcbe1721648f3eed9ef277f9339b770 |
23 |
|
24 |
diff --git a/net-wireless/iwd/iwd-0.4.ebuild b/net-wireless/iwd/iwd-0.4.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..fa3d32f34fa |
27 |
--- /dev/null |
28 |
+++ b/net-wireless/iwd/iwd-0.4.ebuild |
29 |
@@ -0,0 +1,104 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit autotools linux-info systemd |
35 |
+ |
36 |
+if [[ ${PV} == 9999 ]]; then |
37 |
+ EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" |
38 |
+ inherit git-r3 |
39 |
+else |
40 |
+ SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" |
41 |
+ KEYWORDS="~amd64 ~x86" |
42 |
+fi |
43 |
+ |
44 |
+DESCRIPTION="Wireless daemon for linux" |
45 |
+HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+IUSE="+client +monitor cpu_flags_x86_aes cpu_flags_x86_ssse3" |
50 |
+ |
51 |
+RDEPEND="sys-apps/dbus |
52 |
+ client? ( sys-libs/readline:0= )" |
53 |
+ |
54 |
+DEPEND="${RDEPEND} |
55 |
+ virtual/pkgconfig" |
56 |
+ |
57 |
+pkg_pretend() { |
58 |
+ CONFIG_CHECK=" |
59 |
+ ~ASYMMETRIC_KEY_TYPE |
60 |
+ ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE |
61 |
+ ~CRYPTO_AES |
62 |
+ ~CRYPTO_ARC4 |
63 |
+ ~CRYPTO_CBC |
64 |
+ ~CRYPTO_CMAC |
65 |
+ ~CRYPTO_DES |
66 |
+ ~CRYPTO_ECB |
67 |
+ ~CRYPTO_HMAC |
68 |
+ ~CRYPTO_MD4 |
69 |
+ ~CRYPTO_MD5 |
70 |
+ ~CRYPTO_RSA |
71 |
+ ~CRYPTO_SHA1 |
72 |
+ ~CRYPTO_SHA256 |
73 |
+ ~CRYPTO_SHA512 |
74 |
+ ~CRYPTO_USER_API_HASH |
75 |
+ ~CRYPTO_USER_API_SKCIPHER |
76 |
+ ~KEY_DH_OPERATIONS |
77 |
+ ~PKCS7_MESSAGE_PARSER |
78 |
+ ~X509_CERTIFICATE_PARSER |
79 |
+ " |
80 |
+ if use amd64;then |
81 |
+ CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64" |
82 |
+ WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance" |
83 |
+ WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance" |
84 |
+ fi |
85 |
+ |
86 |
+ if use cpu_flags_x86_aes;then |
87 |
+ CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL" |
88 |
+ WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance" |
89 |
+ fi |
90 |
+ |
91 |
+ if use cpu_flags_x86_ssse3; then |
92 |
+ CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3" |
93 |
+ WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance" |
94 |
+ WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance" |
95 |
+ WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance" |
96 |
+ fi |
97 |
+ |
98 |
+ check_extra_config |
99 |
+} |
100 |
+ |
101 |
+src_unpack() { |
102 |
+ if [[ ${PV} == "9999" ]] ; then |
103 |
+ git-r3_src_unpack |
104 |
+ git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell |
105 |
+ else |
106 |
+ default |
107 |
+ fi |
108 |
+} |
109 |
+ |
110 |
+src_prepare() { |
111 |
+ default |
112 |
+ eautoreconf |
113 |
+} |
114 |
+ |
115 |
+src_configure() { |
116 |
+ econf --sysconfdir=/etc/iwd --localstatedir=/var \ |
117 |
+ $(use_enable client) \ |
118 |
+ $(use_enable monitor) \ |
119 |
+ --enable-systemd-service \ |
120 |
+ --with-systemd-unitdir="$(systemd_get_systemunitdir)" |
121 |
+} |
122 |
+ |
123 |
+src_install() { |
124 |
+ default |
125 |
+ keepdir /var/lib/${PN} |
126 |
+ |
127 |
+ newinitd "${FILESDIR}/iwd.initd" iwd |
128 |
+ |
129 |
+ if [[ ${PV} == "9999" ]] ; then |
130 |
+ exeinto /usr/share/iwd/scripts/ |
131 |
+ doexe test/* |
132 |
+ fi |
133 |
+} |