public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tony Vroon" <chainsaw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/wireless-regdb/
Date: Mon, 29 Jan 2018 09:55:43 +0000 (UTC)	[thread overview]
Message-ID: <1517219712.a2dfb50194b70d205c86c8c4809a1e45a46b0f7a.chainsaw@gentoo> (raw)

commit:     a2dfb50194b70d205c86c8c4809a1e45a46b0f7a
Author:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 29 09:55:12 2018 +0000
Commit:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Mon Jan 29 09:55:12 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2dfb501

net-wireless/wireless-regdb: regulatory.db support

As reported by Mike Lothian in bug #643520 and implemented
by "Cyrillic", 4.15 kernels require both regulatory.db and
the corresponding PKCS#7 signature.
Straight to stable as per the precedent set by previous
commits from Richard "Zero-Chaos" Farina.

Closes: https://bugs.gentoo.org/643520
Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --force

 .../wireless-regdb-20171223-r1.ebuild              | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/net-wireless/wireless-regdb/wireless-regdb-20171223-r1.ebuild b/net-wireless/wireless-regdb/wireless-regdb-20171223-r1.ebuild
new file mode 100644
index 00000000000..23973a6371c
--- /dev/null
+++ b/net-wireless/wireless-regdb/wireless-regdb-20171223-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="wireless-regdb-${PV:0:4}.${PV:4:2}.${PV:6:2}"
+DESCRIPTION="Binary regulatory database for CRDA"
+HOMEPAGE="https://wireless.kernel.org/en/developers/Regulatory"
+SRC_URI="https://www.kernel.org/pub/software/network/${PN}/${MY_P}.tar.xz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+	einfo "Recompiling regulatory.bin from db.txt would break CRDA verify. Installing unmodified binary version."
+}
+
+src_install() {
+	# This file is not ABI-specific, and crda itself always hardcodes
+	# this path.  So install into a common location for all ABIs to use.
+	insinto /usr/lib/crda
+	doins regulatory.bin
+
+	insinto /etc/wireless-regdb/pubkeys
+	doins sforshee.key.pub.pem
+
+	# Linux 4.15 now complains if the firmware loader
+	# can't find these files #643520
+	insinto /lib/firmware
+	doins regulatory.db
+	doins regulatory.db.p7s
+
+	doman regulatory.bin.5
+	dodoc README db.txt
+}


             reply	other threads:[~2018-01-29  9:55 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-29  9:55 Tony Vroon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-01 12:42 [gentoo-commits] repo/gentoo:master commit in: net-wireless/wireless-regdb/ Sam James
2024-12-01 11:51 Sam James
2024-10-02 20:52 Sam James
2024-05-09  0:38 Rick Farina
2024-01-21  9:42 David Seifert
2023-08-23 20:27 Rick Farina
2023-08-19 20:58 Rick Farina
2023-08-19 16:52 Rick Farina
2023-08-19 16:52 Rick Farina
2023-08-19 16:52 Rick Farina
2023-08-19 16:52 Rick Farina
2023-06-17 15:13 Sam James
2023-03-19 23:10 Sam James
2022-06-06 16:56 Rick Farina
2022-06-06 16:56 Rick Farina
2022-05-05 23:48 WANG Xuerui
2022-04-08 16:48 Rick Farina
2022-04-04 14:56 Rick Farina
2022-04-04 14:56 Rick Farina
2021-10-04 20:40 Sam James
2021-05-18 15:52 Rick Farina
2021-05-18 15:52 Rick Farina
2021-05-18 15:52 Rick Farina
2021-02-27  3:56 Sam James
2021-02-26 15:56 Rick Farina
2021-02-12 10:33 Sam James
2021-02-03  9:56 Tony Vroon
2020-08-14 18:19 Rick Farina
2019-06-04  2:14 Rick Farina
2019-05-23  6:39 Aaron Bauman
2019-03-01 22:07 Rick Farina
2018-10-25  3:39 Richard Farina
2018-09-07 19:20 Richard Farina
2018-05-31 15:19 Richard Farina
2018-05-10 16:42 Richard Farina
2018-01-26 18:05 Richard Farina
2017-03-08 22:46 Richard Farina
2016-06-10 15:46 Richard Farina
2016-05-02 22:18 Richard Farina
2016-02-08 22:47 Richard Farina
2015-10-22 17:00 Richard Farina
2015-09-30 17:30 Richard Farina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1517219712.a2dfb50194b70d205c86c8c4809a1e45a46b0f7a.chainsaw@gentoo \
    --to=chainsaw@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox