summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2013-01-19 02:36:11 +0000
committerRick Farina <zerochaos@gentoo.org>2013-01-19 02:36:11 +0000
commit2202bce2e9d37f2b8241febedb33251156692490 (patch)
tree7d1a39a66dada19ac822b52b5f178f0267476a81 /net-wireless/crda
parentfirst bump in a while, very exciting (diff)
downloadgentoo-2-2202bce2e9d37f2b8241febedb33251156692490.tar.gz
gentoo-2-2202bce2e9d37f2b8241febedb33251156692490.tar.bz2
gentoo-2-2202bce2e9d37f2b8241febedb33251156692490.zip
bump
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'net-wireless/crda')
-rw-r--r--net-wireless/crda/ChangeLog7
-rw-r--r--net-wireless/crda/crda-1.1.3.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/net-wireless/crda/ChangeLog b/net-wireless/crda/ChangeLog
index aed779347c48..845c54b614c4 100644
--- a/net-wireless/crda/ChangeLog
+++ b/net-wireless/crda/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/crda
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/crda/ChangeLog,v 1.53 2013/01/06 10:05:54 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/crda/ChangeLog,v 1.54 2013/01/19 02:36:11 zerochaos Exp $
+
+*crda-1.1.3 (19 Jan 2013)
+
+ 19 Jan 2013; Rick Farina <zerochaos@gentoo.org> +crda-1.1.3.ebuild:
+ bump
06 Jan 2013; Agostino Sarubbo <ago@gentoo.org> crda-1.1.2-r4.ebuild:
Add ~sparc, wrt bug #449220
diff --git a/net-wireless/crda/crda-1.1.3.ebuild b/net-wireless/crda/crda-1.1.3.ebuild
new file mode 100644
index 000000000000..d29443c12163
--- /dev/null
+++ b/net-wireless/crda/crda-1.1.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/crda/crda-1.1.3.ebuild,v 1.1 2013/01/19 02:36:11 zerochaos Exp $
+
+EAPI=4
+inherit eutils toolchain-funcs python
+
+DESCRIPTION="Central Regulatory Domain Agent for wireless networks."
+HOMEPAGE="http://wireless.kernel.org/en/developers/Regulatory"
+SRC_URI="http://linuxwireless.org/download/crda/${P}.tar.bz2"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/openssl:0
+ dev-libs/libnl:3
+ net-wireless/wireless-regdb
+ >=virtual/udev-171"
+DEPEND="${RDEPEND}
+ dev-python/m2crypto
+ =dev-lang/python-2*
+ virtual/pkgconfig"
+
+src_prepare() {
+ python_convert_shebangs 2 utils/key2pub.py
+
+ sed -i \
+ -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
+ Makefile || die
+}
+
+src_compile() {
+ emake \
+ UDEV_RULE_DIR="$($(tc-getPKG_CONFIG) --variable=udevdir udev)/rules.d" \
+ REG_BIN=/usr/$(get_libdir)/crda/regulatory.bin \
+ USE_OPENSSL=1 \
+ CC="$(tc-getCC)" \
+ all_noverify V=1
+}
+
+src_test() {
+ emake USE_OPENSSL=1 CC="$(tc-getCC)" verify
+}
+
+src_install() {
+ emake \
+ UDEV_RULE_DIR="$($(tc-getPKG_CONFIG) --variable=udevdir udev)/rules.d" \
+ REG_BIN=/usr/$(get_libdir)/crda/regulatory.bin \
+ USE_OPENSSL=1 \
+ DESTDIR="${D}" \
+ install
+
+ keepdir /etc/wireless-regdb/pubkeys
+}