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