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