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