summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-02-12 19:31:44 +0000
committerMike Frysinger <vapier@gentoo.org>2014-02-12 19:31:44 +0000
commitc8241b6c85a0eec527d348d6285c69646231f667 (patch)
tree3f9ca69554389bc9f7403f7eed2d6859230862cd /net-wireless
parentConvert to python-single-r1 eclass, fix shebangs. (diff)
downloadgentoo-2-c8241b6c85a0eec527d348d6285c69646231f667.tar.gz
gentoo-2-c8241b6c85a0eec527d348d6285c69646231f667.tar.bz2
gentoo-2-c8241b6c85a0eec527d348d6285c69646231f667.zip
Install regulatory.bin into /usr/lib/crda/ all the time.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/wireless-regdb/ChangeLog10
-rw-r--r--net-wireless/wireless-regdb/wireless-regdb-20131127-r1.ebuild34
2 files changed, 42 insertions, 2 deletions
diff --git a/net-wireless/wireless-regdb/ChangeLog b/net-wireless/wireless-regdb/ChangeLog
index 2627fea43250..20521c3f1d3b 100644
--- a/net-wireless/wireless-regdb/ChangeLog
+++ b/net-wireless/wireless-regdb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/wireless-regdb
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-regdb/ChangeLog,v 1.44 2013/11/27 21:59:13 zerochaos Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-regdb/ChangeLog,v 1.45 2014/02/12 19:31:44 vapier Exp $
+
+*wireless-regdb-20131127-r1 (12 Feb 2014)
+
+ 12 Feb 2014; Mike Frysinger <vapier@gentoo.org>
+ +wireless-regdb-20131127-r1.ebuild:
+ Install regulatory.bin into /usr/lib/crda/ all the time.
*wireless-regdb-20131127 (27 Nov 2013)
diff --git a/net-wireless/wireless-regdb/wireless-regdb-20131127-r1.ebuild b/net-wireless/wireless-regdb/wireless-regdb-20131127-r1.ebuild
new file mode 100644
index 000000000000..3c52d6e77452
--- /dev/null
+++ b/net-wireless/wireless-regdb/wireless-regdb-20131127-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-regdb/wireless-regdb-20131127-r1.ebuild,v 1.1 2014/02/12 19:31:44 vapier Exp $
+
+EAPI=5
+
+MY_P="wireless-regdb-${PV:0:4}.${PV:4:2}.${PV:6:2}"
+DESCRIPTION="Binary regulatory database for CRDA"
+HOMEPAGE="http://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 ~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 linville.key.pub.pem
+
+ doman regulatory.bin.5
+ dodoc README db.txt
+}