# ChangeLog for net-misc/batctl
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/ChangeLog,v 1.2 2011/05/22 23:22:09 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/ChangeLog,v 1.3 2011/11/13 23:36:39 xmw Exp $
+
+*batctl-2011.3.0 (13 Nov 2011)
+
+ 13 Nov 2011; Michael Weber <xmw@gentoo.org> +batctl-2011.3.0.ebuild:
+ Version bump (thanks to Franz Schrober for the report, bug 381665)
22 May 2011; Michael Weber <xmw@gentoo.org> batctl-2011.1.0.ebuild:
Improved sed expression and src_compile, thanks to Emil Langrock (bug 368213)
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/batctl-2011.3.0.ebuild,v 1.1 2011/11/13 23:36:39 xmw Exp $
+
+EAPI=4
+
+inherit linux-info toolchain-funcs
+
+DESCRIPTION="BATMAN advanced control and management tool"
+HOMEPAGE="http://www.open-mesh.org/"
+SRC_URI="http://downloads.open-mesh.org/batman/stable/sources/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+pkg_setup() {
+ if ( linux_config_exists && linux_chkconfig_present BATMAN_ADV ) \
+ || ! has_version net-misc/batman-adv ; then
+ ewarn "You need the batman-adv kernel module,"
+ ewarn "either from the kernel tree or via net-misc/batman-adv"
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" V=1
+}
+
+src_install() {
+ emake INSTALL_PREFIX="${D}" install
+ dodoc README
+ doman man/*
+}
# ChangeLog for net-misc/batman-adv
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/batman-adv/ChangeLog,v 1.2 2011/06/05 08:31:28 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/batman-adv/ChangeLog,v 1.3 2011/11/13 23:39:30 xmw Exp $
+
+*batman-adv-2011.3.0 (13 Nov 2011)
+
+ 13 Nov 2011; Michael Weber <xmw@gentoo.org> +batman-adv-2011.3.0.ebuild:
+ Version bump (thanks to Franz Schrober for the report, bug 381665)
05 Jun 2011; Michael Weber <xmw@gentoo.org> batman-adv-2011.1.0.ebuild:
Use from linux-mod as kernel source instead of uname -r (bug 370023)
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/batman-adv/batman-adv-2011.3.0.ebuild,v 1.1 2011/11/13 23:39:30 xmw Exp $
+
+EAPI=4
+
+CONFIG_CHECK="~!CONFIG_BATMAN_ADV"
+MODULE_NAMES="${PN}(net:${S}:${S})"
+BUILD_TARGETS="all"
+
+inherit linux-mod
+
+DESCRIPTION="Better approach to mobile Ad-Hoc networking on layer 2 kernel module"
+HOMEPAGE="http://www.open-mesh.org/"
+SRC_URI="http://downloads.open-mesh.org/batman/stable/sources/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_compile() {
+ export KERNELPATH="${KERNEL_DIR}"
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+ dodoc README CHANGELOG
+}