summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/wireless-regdb/wireless-regdb-20131127.ebuild')
-rw-r--r--net-wireless/wireless-regdb/wireless-regdb-20131127.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-wireless/wireless-regdb/wireless-regdb-20131127.ebuild b/net-wireless/wireless-regdb/wireless-regdb-20131127.ebuild
new file mode 100644
index 000000000000..ae81d323a5fb
--- /dev/null
+++ b/net-wireless/wireless-regdb/wireless-regdb-20131127.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 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.ebuild,v 1.1 2013/11/27 21:59:13 zerochaos Exp $
+
+EAPI=5
+
+inherit multilib
+
+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 untouched binary version."
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/crda/
+ doins regulatory.bin
+
+ insinto /etc/wireless-regdb/pubkeys
+ doins linville.key.pub.pem
+
+ doman regulatory.bin.5
+ dodoc README db.txt
+}