1 |
commit: f2aa3a5fa21a059c91bf3e75bd9c5aeaa2705c77 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 26 15:23:32 2022 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 26 15:23:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2aa3a5f |
7 |
|
8 |
net-wireless/iwd: drop 1.26 |
9 |
|
10 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
11 |
|
12 |
net-wireless/iwd/Manifest | 1 - |
13 |
net-wireless/iwd/iwd-1.26.ebuild | 182 --------------------------------------- |
14 |
2 files changed, 183 deletions(-) |
15 |
|
16 |
diff --git a/net-wireless/iwd/Manifest b/net-wireless/iwd/Manifest |
17 |
index 028d93f6e9f2..5c67003f4408 100644 |
18 |
--- a/net-wireless/iwd/Manifest |
19 |
+++ b/net-wireless/iwd/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST iwd-1.26.tar.xz 1005532 BLAKE2B 8e12ecdf77e6d6a99477605aa727609f55a652af2d1f3a028812d352ea8aef5465c6c6063a6f9ef92ce940a34c44ce7bf77dcd6895173422d984eb3e61636d72 SHA512 b3fc002ca1da4edaeaec88142226b978991fa93dc65b7a79057514a4eb88e620e08a9ea22b49f8efe6707dcd94dd556fbaafcee46de2de19ee9163bd9e95d197 |
22 |
DIST iwd-1.27.tar.xz 1007432 BLAKE2B 0df0e5a8cec660521c44ae37102465bcc45e76805e65c76e48d6325b40484cd30d436db8c656d2f9bbd937c3f614de59d3a066642aa83f48002124bf334dbd62 SHA512 9027b20e22ae89a188b428eb84c5266ae242d8cfda452ad93db0cced8713d4f861dd1daf761632d4d2e9732d754db3a708d403a57f10c9ba3d76e23b7585f0c6 |
23 |
|
24 |
diff --git a/net-wireless/iwd/iwd-1.26.ebuild b/net-wireless/iwd/iwd-1.26.ebuild |
25 |
deleted file mode 100644 |
26 |
index e1cea9837ac4..000000000000 |
27 |
--- a/net-wireless/iwd/iwd-1.26.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,182 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
-inherit flag-o-matic linux-info systemd |
35 |
- |
36 |
-#Set this variable to the required external ell version |
37 |
-ELL_REQ="0.49" |
38 |
- |
39 |
-if [[ ${PV} == *9999* ]]; then |
40 |
- inherit autotools git-r3 |
41 |
- IWD_EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" |
42 |
- ELL_EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git" |
43 |
-else |
44 |
- SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" |
45 |
- KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86" |
46 |
- MYRST2MAN="RST2MAN=:" |
47 |
-fi |
48 |
- |
49 |
-DESCRIPTION="Wireless daemon for linux" |
50 |
-HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" |
51 |
- |
52 |
-LICENSE="GPL-2" |
53 |
-SLOT="0" |
54 |
-IUSE="+client cpu_flags_x86_aes cpu_flags_x86_ssse3 +crda +monitor ofono standalone systemd wired" |
55 |
- |
56 |
-DEPEND=" |
57 |
- sys-apps/dbus |
58 |
- client? ( sys-libs/readline:0= ) |
59 |
-" |
60 |
- |
61 |
-[[ -z "${ELL_REQ}" ]] || DEPEND+=" ~dev-libs/ell-${ELL_REQ}" |
62 |
- |
63 |
-RDEPEND=" |
64 |
- ${DEPEND} |
65 |
- net-wireless/wireless-regdb |
66 |
- crda? ( net-wireless/crda ) |
67 |
- standalone? ( |
68 |
- systemd? ( sys-apps/systemd ) |
69 |
- !systemd? ( virtual/resolvconf ) |
70 |
- ) |
71 |
-" |
72 |
- |
73 |
-BDEPEND=" |
74 |
- virtual/pkgconfig |
75 |
-" |
76 |
- |
77 |
-[[ ${PV} == *9999* ]] && BDEPEND+=" dev-python/docutils" |
78 |
- |
79 |
-pkg_setup() { |
80 |
- CONFIG_CHECK=" |
81 |
- ~ASYMMETRIC_KEY_TYPE |
82 |
- ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE |
83 |
- ~CFG80211 |
84 |
- ~CRYPTO_AES |
85 |
- ~CRYPTO_CBC |
86 |
- ~CRYPTO_CMAC |
87 |
- ~CRYPTO_DES |
88 |
- ~CRYPTO_ECB |
89 |
- ~CRYPTO_HMAC |
90 |
- ~CRYPTO_MD4 |
91 |
- ~CRYPTO_MD5 |
92 |
- ~CRYPTO_RSA |
93 |
- ~CRYPTO_SHA1 |
94 |
- ~CRYPTO_SHA256 |
95 |
- ~CRYPTO_SHA512 |
96 |
- ~CRYPTO_USER_API_HASH |
97 |
- ~CRYPTO_USER_API_SKCIPHER |
98 |
- ~KEY_DH_OPERATIONS |
99 |
- ~PKCS7_MESSAGE_PARSER |
100 |
- ~RFKILL |
101 |
- ~X509_CERTIFICATE_PARSER |
102 |
- " |
103 |
- if use crda;then |
104 |
- CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT" |
105 |
- WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support" |
106 |
- fi |
107 |
- |
108 |
- if use amd64;then |
109 |
- CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_DES3_EDE_X86_64" |
110 |
- WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance" |
111 |
- fi |
112 |
- |
113 |
- if use cpu_flags_x86_aes;then |
114 |
- CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL" |
115 |
- WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance" |
116 |
- fi |
117 |
- |
118 |
- if use cpu_flags_x86_ssse3 && use amd64; then |
119 |
- CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3" |
120 |
- WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance" |
121 |
- WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance" |
122 |
- WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance" |
123 |
- fi |
124 |
- |
125 |
- if use kernel_linux && kernel_is -ge 4 20; then |
126 |
- CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER" |
127 |
- fi |
128 |
- |
129 |
- check_extra_config |
130 |
- |
131 |
- if ! use crda; then |
132 |
- if use kernel_linux && kernel_is -lt 4 15; then |
133 |
- ewarn "POSSIBLE REGULATORY DOMAIN PROBLEM:" |
134 |
- ewarn "Regulatory domain support for kernels older than 4.15 requires crda." |
135 |
- fi |
136 |
- if linux_config_exists && linux_chkconfig_builtin CFG80211 && |
137 |
- [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]] |
138 |
- then |
139 |
- ewarn "" |
140 |
- ewarn "REGULATORY DOMAIN PROBLEM:" |
141 |
- ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from" |
142 |
- ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m" |
143 |
- ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE." |
144 |
- ewarn "" |
145 |
- fi |
146 |
- fi |
147 |
-} |
148 |
- |
149 |
-src_unpack() { |
150 |
- if [[ ${PV} == *9999* ]] ; then |
151 |
- EGIT_REPO_URI=${IWD_EGIT_REPO_URI} git-r3_src_unpack |
152 |
- EGIT_REPO_URI=${ELL_EGIT_REPO_URI} EGIT_CHECKOUT_DIR=${WORKDIR}/ell git-r3_src_unpack |
153 |
- else |
154 |
- default |
155 |
- fi |
156 |
-} |
157 |
- |
158 |
-src_prepare() { |
159 |
- default |
160 |
- if [[ ${PV} == *9999* ]] ; then |
161 |
- eautoreconf |
162 |
- fi |
163 |
-} |
164 |
- |
165 |
-src_configure() { |
166 |
- append-cflags "-fsigned-char" |
167 |
- local myeconfargs=( |
168 |
- --sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var |
169 |
- $(use_enable client) |
170 |
- $(use_enable monitor) |
171 |
- $(use_enable ofono) |
172 |
- $(use_enable wired) |
173 |
- --enable-systemd-service |
174 |
- --with-systemd-unitdir="$(systemd_get_systemunitdir)" |
175 |
- --with-systemd-modloaddir="${EPREFIX}/usr/lib/modules-load.d" |
176 |
- --with-systemd-networkdir="$(systemd_get_utildir)/network" |
177 |
- ) |
178 |
- [[ ${PV} == *9999* ]] || myeconfargs+=(--enable-external-ell) |
179 |
- econf "${myeconfargs[@]}" |
180 |
-} |
181 |
- |
182 |
-src_compile() { |
183 |
- emake ${MYRST2MAN} |
184 |
-} |
185 |
- |
186 |
-src_install() { |
187 |
- emake DESTDIR="${D}" ${MYRST2MAN} install |
188 |
- keepdir /var/lib/${PN} |
189 |
- |
190 |
- newinitd "${FILESDIR}/iwd.initd-r1" iwd |
191 |
- |
192 |
- if use wired;then |
193 |
- newinitd "${FILESDIR}/ead.initd" ead |
194 |
- fi |
195 |
- |
196 |
- if [[ ${PV} == *9999* ]] ; then |
197 |
- exeinto /usr/share/iwd/scripts/ |
198 |
- doexe test/* |
199 |
- fi |
200 |
- |
201 |
- if use standalone ; then |
202 |
- local iwdconf="${ED}/etc/iwd/main.conf" |
203 |
- dodir /etc/iwd |
204 |
- echo "[General]" > "${iwdconf}" |
205 |
- echo "EnableNetworkConfiguration=true" >> "${iwdconf}" |
206 |
- echo "[Network]" >> "${iwdconf}" |
207 |
- echo "NameResolvingService=$(usex systemd systemd resolvconf)" >> "${iwdconf}" |
208 |
- dodir /etc/conf.d |
209 |
- echo "rc_provide=\"net\"" > ${ED}/etc/conf.d/iwd |
210 |
- fi |
211 |
-} |