From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D0E8C138359 for ; Wed, 5 Aug 2020 12:19:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1B4EE0871; Wed, 5 Aug 2020 12:19:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9164E0871 for ; Wed, 5 Aug 2020 12:19:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 80F9634F0C1 for ; Wed, 5 Aug 2020 12:19:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10CE0308 for ; Wed, 5 Aug 2020 12:19:02 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1596629918.6593a0088107f4c5e6995b052a12b64b80c2bdac.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/batctl/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/batctl/Manifest net-misc/batctl/batctl-2020.1.ebuild X-VCS-Directories: net-misc/batctl/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 6593a0088107f4c5e6995b052a12b64b80c2bdac X-VCS-Branch: master Date: Wed, 5 Aug 2020 12:19:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 34bae587-1b9a-4e02-8def-49690c743ba3 X-Archives-Hash: 09c369f4b5e513094b255e3ad2004bb3 commit: 6593a0088107f4c5e6995b052a12b64b80c2bdac Author: Harry Smallbones harrysmallbones co uk> AuthorDate: Thu Jul 16 00:51:11 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Aug 5 12:18:38 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6593a008 net-misc/batctl: Version bump to 2020.1 Signed-off-by: Harry Smallbones harrysmallbones.co.uk> Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Joonas Niilola gentoo.org> net-misc/batctl/Manifest | 1 + net-misc/batctl/batctl-2020.1.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/net-misc/batctl/Manifest b/net-misc/batctl/Manifest index 1c2d81fc68c..0b786a6d967 100644 --- a/net-misc/batctl/Manifest +++ b/net-misc/batctl/Manifest @@ -1 +1,2 @@ DIST batctl-2017.4.tar.gz 85865 BLAKE2B 9d8786956b69407d46d1b024a40c3db2a80bbcce7c02e8e7d98234d06aaa3cd4fe86dd9331806699a7310ac41b7a758c324bcb6c3daf378da0db0a8858f814df SHA512 a3ce3f32ed1eaa65aee4a9ac56d8e235b861b3844a13fe050cfc0e707bbdf382fd2e6e4ecb35b7777f79020cb241e063f473d28f1b2e312f865e6dce304b4b9f +DIST batctl-2020.1.tar.gz 112004 BLAKE2B fdf99b97edfb1b65df3b6cfd3b99148e21a6fc201c5a6b2d2bfeedddfa18e22903b33811d8b9adf6d4a2b53ab9ca35602fdb90b48f97fb40e4edf9643264609e SHA512 b6f4b98a3a8450badf7d8dda2c23e0f91a1f3e0c6d9db96d220451ee4f2f5ea703206a888d504cc3b8594c4255a6ccea851e4da6d1c7869842a62ee0bac6ce8b diff --git a/net-misc/batctl/batctl-2020.1.ebuild b/net-misc/batctl/batctl-2020.1.ebuild new file mode 100644 index 00000000000..dc9f33ff920 --- /dev/null +++ b/net-misc/batctl/batctl-2020.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info toolchain-funcs + +DESCRIPTION="BATMAN advanced control and management tool" +HOMEPAGE="https://www.open-mesh.org/" +SRC_URI="https://downloads.open-mesh.org/batman/releases/batman-adv-${PV}/${P}.tar.gz" + +LICENSE="GPL-2 MIT ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +BDEPEND="virtual/pkgconfig" +RDEPEND="dev-libs/libnl:3" +DEPEND="${RDEPEND}" + +pkg_setup() { + if ! linux_config_exists || ! linux_chkconfig_present BATMAN_ADV; then + ewarn "batctl requires batman-adv kernel support" + fi +} + +src_compile() { + emake CC="$(tc-getCC)" V=1 REVISION="gentoo-${PVR}" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + dodoc README.rst +}