1 |
commit: 07d3ccf72f23419dc9ee0a4d6ec2786fc53a9ab3 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 21 17:19:46 2018 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 21 17:19:46 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07d3ccf7 |
7 |
|
8 |
net-wireless/iwd: bump to 0.10 |
9 |
|
10 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
net-wireless/iwd/Manifest | 1 + |
14 |
net-wireless/iwd/iwd-0.10.ebuild | 106 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 107 insertions(+) |
16 |
|
17 |
diff --git a/net-wireless/iwd/Manifest b/net-wireless/iwd/Manifest |
18 |
index 47392e553e3..af95f65e0d2 100644 |
19 |
--- a/net-wireless/iwd/Manifest |
20 |
+++ b/net-wireless/iwd/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
+DIST iwd-0.10.tar.xz 676708 BLAKE2B 2d8eb4bbc3aca0c060965a86d55267de30cc5e0a42e262483e422611fb6a1890426b1b458539db757181226f84db17b2434b45a7b207d45e3009358d3e528e47 SHA512 143dc42bb09a62d80eaf43b6fc8a268ed423a15361f15ef555ee4ddd815319a99322517905b2de473624988da5eeba546b474880a583e9c605946ce22bd980ad |
23 |
DIST iwd-0.7.tar.xz 662984 BLAKE2B e6e7fa323749c8012c4df5f8f02f97523a37bcbb99d2a2f8c7678d4a1a73a3e24fc4321d53fb95f7fa325748f97b96e1a5f0fe0e956314eeb8534a8bc989a13f SHA512 e6029e33f43fda24f3ddb87b1bb878ad8926066380a0e71415e645bc4f8aa1a6aaa43d2482987b1d473c267fef6d5a2a676af80282ba4c77ab64605c348cabb1 |
24 |
DIST iwd-0.8.tar.xz 670572 BLAKE2B aea20d9d68bb121912ed7a044853188317a1de344ceb09dca4fa1372ed35618b8e63656533329141d0e6f9c6a833238ee02ea807fa53fa19ecf90f8114d7fd69 SHA512 a7707f4c2730eeab0bf65d36c796d5f32b5ccfdb10a199dd2a7263d7297dfd336b8de434c90efb32b6151dfd41911511cd97d1c2ae42012653ee0b44ab709490 |
25 |
DIST iwd-0.9.tar.xz 673716 BLAKE2B 5a736ff94af72a1251e678954f0c3aca873431baf2bb553481c439dda118ee4e0b80385b1aee14c11d02ced79d89242d994c598b63b6892e1d033d1c91924fef SHA512 6d87ba8cc487a9da0b3dc525f27d4643591d2c14f1dae2a5c5d07d29df30bb77e6184810dbfd6f54fc70ca9f21b6e0f11d75e7ee324f6cb43bdd1a8fb5aeaa42 |
26 |
|
27 |
diff --git a/net-wireless/iwd/iwd-0.10.ebuild b/net-wireless/iwd/iwd-0.10.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..3296d759985 |
30 |
--- /dev/null |
31 |
+++ b/net-wireless/iwd/iwd-0.10.ebuild |
32 |
@@ -0,0 +1,106 @@ |
33 |
+# Copyright 1999-2018 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="~amd64 ~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 |
+} |