Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/batctl/
Date: Tue, 29 Sep 2020 06:37:56
Message-Id: 1601361409.dfef63ceb2aee7ccba92c28b9e8cf6f2fa2e6483.juippis@gentoo
1 commit: dfef63ceb2aee7ccba92c28b9e8cf6f2fa2e6483
2 Author: Harry Smallbones <info <AT> harrysmallbones <DOT> co <DOT> uk>
3 AuthorDate: Mon Aug 31 01:42:01 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 29 06:36:49 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfef63ce
7
8 net-misc/batctl: Version bump to 2020.3
9
10 Closes: https://bugs.gentoo.org/739696
11 Signed-off-by: Harry Smallbones <info <AT> harrysmallbones.co.uk>
12 Package-Manager: Portage-3.0.4, Repoman-2.3.23
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 net-misc/batctl/Manifest | 1 +
16 net-misc/batctl/batctl-2020.3.ebuild | 34 ++++++++++++++++++++++++++++++++++
17 2 files changed, 35 insertions(+)
18
19 diff --git a/net-misc/batctl/Manifest b/net-misc/batctl/Manifest
20 index 7c9bff480ca..283cb6a385b 100644
21 --- a/net-misc/batctl/Manifest
22 +++ b/net-misc/batctl/Manifest
23 @@ -1,2 +1,3 @@
24 DIST batctl-2020.1.tar.gz 112004 BLAKE2B fdf99b97edfb1b65df3b6cfd3b99148e21a6fc201c5a6b2d2bfeedddfa18e22903b33811d8b9adf6d4a2b53ab9ca35602fdb90b48f97fb40e4edf9643264609e SHA512 b6f4b98a3a8450badf7d8dda2c23e0f91a1f3e0c6d9db96d220451ee4f2f5ea703206a888d504cc3b8594c4255a6ccea851e4da6d1c7869842a62ee0bac6ce8b
25 DIST batctl-2020.2.tar.gz 112155 BLAKE2B 9d36baf4f728163b12d63bf2b690b75633119ebc22a734668aaaae97d9c0a37ac1906dec40f62987d7c9db2ca6b0c7867164c989f3f3f5834bbc5c562b842852 SHA512 4990eece371320107cd522f5dc6ff4ecd2867d8b77ddb8a09b8c8fc81c6cf2a88df6635f026b16a2c59fc05532a82ecafae206fb1581ac7e1f863043eb3afa93
26 +DIST batctl-2020.3.tar.gz 112394 BLAKE2B 07774836244120bde930afd6cebc20712e7a59571d19a6ea67a88a17e0779df51d221742cbbbee5c1ee086c7b75e8d5452534c971f0f08f081dd2d7f607764bb SHA512 fc93d4951e2aff91b9a5dd6c7f815bf1faaa08e861ab0116091fa796eaf95ba1b636fb057642b7ae7cef57832841d2a3ab8cdb2675ed372a303f8f5e16430395
27
28 diff --git a/net-misc/batctl/batctl-2020.3.ebuild b/net-misc/batctl/batctl-2020.3.ebuild
29 new file mode 100644
30 index 00000000000..dc9f33ff920
31 --- /dev/null
32 +++ b/net-misc/batctl/batctl-2020.3.ebuild
33 @@ -0,0 +1,34 @@
34 +# Copyright 2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit linux-info toolchain-funcs
40 +
41 +DESCRIPTION="BATMAN advanced control and management tool"
42 +HOMEPAGE="https://www.open-mesh.org/"
43 +SRC_URI="https://downloads.open-mesh.org/batman/releases/batman-adv-${PV}/${P}.tar.gz"
44 +
45 +LICENSE="GPL-2 MIT ISC"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE=""
49 +
50 +BDEPEND="virtual/pkgconfig"
51 +RDEPEND="dev-libs/libnl:3"
52 +DEPEND="${RDEPEND}"
53 +
54 +pkg_setup() {
55 + if ! linux_config_exists || ! linux_chkconfig_present BATMAN_ADV; then
56 + ewarn "batctl requires batman-adv kernel support"
57 + fi
58 +}
59 +
60 +src_compile() {
61 + emake CC="$(tc-getCC)" V=1 REVISION="gentoo-${PVR}"
62 +}
63 +
64 +src_install() {
65 + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
66 + dodoc README.rst
67 +}