diff options
author | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2011-11-07 21:07:54 +0000 |
---|---|---|
committer | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2011-11-07 21:07:54 +0000 |
commit | 64f18cbb4fb2386351cbe3ea658eea4b6e85c1cf (patch) | |
tree | 6ca8c0c4d87a9ce929113db3df0fa99174fbee36 /net-wireless | |
parent | Version bump. (diff) | |
download | gentoo-2-64f18cbb4fb2386351cbe3ea658eea4b6e85c1cf.tar.gz gentoo-2-64f18cbb4fb2386351cbe3ea658eea4b6e85c1cf.tar.bz2 gentoo-2-64f18cbb4fb2386351cbe3ea658eea4b6e85c1cf.zip |
Hopefully fixing udev rules problem
(Portage version: 2.2.0_alpha72/cvs/Linux i686)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/crda/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/crda/crda-1.1.2-r1.ebuild | 44 |
2 files changed, 51 insertions, 1 deletions
diff --git a/net-wireless/crda/ChangeLog b/net-wireless/crda/ChangeLog index 14ee0bb48e9e..67703f0ba124 100644 --- a/net-wireless/crda/ChangeLog +++ b/net-wireless/crda/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/crda # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/crda/ChangeLog,v 1.28 2011/11/07 19:59:53 gurligebis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/crda/ChangeLog,v 1.29 2011/11/07 21:07:54 gurligebis Exp $ + +*crda-1.1.2-r1 (07 Nov 2011) + + 07 Nov 2011; <gurligebis@gentoo.org> +crda-1.1.2-r1.ebuild: + Bumping to -r1, hopefully fixing problems with udev rules and external + keys loading. 07 Nov 2011; <gurligebis@gentoo.org> files/libnl31-support.diff: Updated patch with patch from bug #388991 diff --git a/net-wireless/crda/crda-1.1.2-r1.ebuild b/net-wireless/crda/crda-1.1.2-r1.ebuild new file mode 100644 index 000000000000..c1a1a5eab1bf --- /dev/null +++ b/net-wireless/crda/crda-1.1.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/crda/crda-1.1.2-r1.ebuild,v 1.1 2011/11/07 21:07:54 gurligebis Exp $ + +EAPI=4 +inherit eutils toolchain-funcs + +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="as-is" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND="dev-libs/libgcrypt + dev-libs/libnl:1.1 + net-wireless/wireless-regdb" +DEPEND="${RDEPEND} + dev-python/m2crypto" +RDEPEND="${RDEPEND} + >=sys-fs/udev-152" + +src_prepare() { + epatch "${FILESDIR}"/libnl31-support.diff + + sed -i \ + -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \ + Makefile || die +} + +src_compile() { + emake UDEV_RULE_DIR=/etc/udev/rules.d/ USE_OPENSSL=1 CC="$(tc-getCC)" all_noverify +} + +src_test() { + emake CC="$(tc-getCC)" verify +} + +src_install() { + emake UDEV_RULE_DIR=/etc/udev/rules.d/ USE_OPENSSL=1 DESTDIR="${D}" install + keepdir /etc/wireless-regdb/pubkeys +} |