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