diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-23 18:08:50 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-23 18:08:50 +0000 |
commit | 99be10654c6755185e2eb0715db95428d5448851 (patch) | |
tree | 92223d89f8d1948bfe8c11c876cbe01abb628ad4 /net-wireless | |
parent | x11-themes/light-themes: 0.1.8.26 (diff) | |
download | gentoo-2-99be10654c6755185e2eb0715db95428d5448851.tar.gz gentoo-2-99be10654c6755185e2eb0715db95428d5448851.tar.bz2 gentoo-2-99be10654c6755185e2eb0715db95428d5448851.zip |
Install udev rules to correct directory wrt #389895
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/crda/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/crda/crda-1.1.2-r3.ebuild | 47 |
2 files changed, 54 insertions, 2 deletions
diff --git a/net-wireless/crda/ChangeLog b/net-wireless/crda/ChangeLog index b0677c03681e..9891d09e0f2b 100644 --- a/net-wireless/crda/ChangeLog +++ b/net-wireless/crda/ChangeLog @@ -1,6 +1,11 @@ # 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.33 2011/12/15 22:17:59 gurligebis Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/crda/ChangeLog,v 1.34 2012/01/23 18:08:50 ssuominen Exp $ + +*crda-1.1.2-r3 (23 Jan 2012) + + 23 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> +crda-1.1.2-r3.ebuild: + Install udev rules to correct directory wrt #389895 15 Dec 2011; <gurligebis@gentoo.org> crda-1.1.2-r2.ebuild: Changing dependency from libgcrypt to openssl, and fixing test phase, fixing diff --git a/net-wireless/crda/crda-1.1.2-r3.ebuild b/net-wireless/crda/crda-1.1.2-r3.ebuild new file mode 100644 index 000000000000..99a653be549e --- /dev/null +++ b/net-wireless/crda/crda-1.1.2-r3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 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-r3.ebuild,v 1.1 2012/01/23 18:08:50 ssuominen 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="as-is" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND="dev-libs/openssl + dev-libs/libnl:1.1 + net-wireless/wireless-regdb" +DEPEND="${RDEPEND} + dev-python/m2crypto + =dev-lang/python-2*" +RDEPEND="${RDEPEND} + >=sys-fs/udev-152" + +src_prepare() { + epatch "${FILESDIR}"/libnl31-support.diff + + python_convert_shebangs 2 utils/key2pub.py + + sed -i \ + -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \ + Makefile || die +} + +src_compile() { + emake UDEV_RULE_DIR=/lib/udev/rules.d/ REG_BIN=/usr/$(get_libdir)/crda/regulatory.bin USE_OPENSSL=1 CC="$(tc-getCC)" all_noverify +} + +src_test() { + emake USE_OPENSSL=1 CC="$(tc-getCC)" verify +} + +src_install() { + emake UDEV_RULE_DIR=/lib/udev/rules.d/ REG_BIN=/usr/$(get_libdir)/crda/regulatory.bin USE_OPENSSL=1 DESTDIR="${D}" install + keepdir /etc/wireless-regdb/pubkeys +} |