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 80D8C138346 for ; Wed, 8 Jan 2020 09:16:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FC45E088D; Wed, 8 Jan 2020 09:16:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 57529E088D for ; Wed, 8 Jan 2020 09:16:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 D55ED34DE7E for ; Wed, 8 Jan 2020 09:16:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F66F37 for ; Wed, 8 Jan 2020 09:16:26 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1578474984.78a9c81c87e92d48d247da5210c9cc1dc29ede96.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ipv6toolkit/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/ipv6toolkit/ipv6toolkit-99999999.ebuild X-VCS-Directories: net-analyzer/ipv6toolkit/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 78a9c81c87e92d48d247da5210c9cc1dc29ede96 X-VCS-Branch: master Date: Wed, 8 Jan 2020 09:16:26 +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: 70bf0920-a71b-4a5a-bd99-19e6b151f7e2 X-Archives-Hash: e9c6343f075d5b4ff64cbcc06425c2d5 commit: 78a9c81c87e92d48d247da5210c9cc1dc29ede96 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jan 8 09:05:13 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jan 8 09:16:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78a9c81c net-analyzer/ipv6toolkit: Add live ebuild Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> .../ipv6toolkit/ipv6toolkit-99999999.ebuild | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/net-analyzer/ipv6toolkit/ipv6toolkit-99999999.ebuild b/net-analyzer/ipv6toolkit/ipv6toolkit-99999999.ebuild new file mode 100644 index 00000000000..8a862e67718 --- /dev/null +++ b/net-analyzer/ipv6toolkit/ipv6toolkit-99999999.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit git-r3 toolchain-funcs + +DESCRIPTION="Set of IPv6 security/trouble-shooting tools to send arbitrary IPv6-based packets" +HOMEPAGE="https://www.si6networks.com/tools/ipv6toolkit/" +EGIT_REPO_URI="https://github.com/fgont/ipv6toolkit" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" + +DEPEND=" + net-libs/libpcap[ipv6(+)] +" +RDEPEND=" + ${DEPEND} + sys-apps/hwids +" + +HWIDS_OUI_PATH=/usr/share/misc/oui.txt + +src_prepare() { + default + sed -i "s#/usr/share/ipv6toolkit/oui.txt#${HWIDS_OUI_PATH}#" \ + manuals/ipv6toolkit.conf.5 +} +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" PREFIX=/usr +} + +src_install() { + dodir /etc + emake install DESTDIR="${ED}" PREFIX=/usr + #remove the included oui file + rm -f "${D}"/usr/share/ipv6toolkit/oui.txt + #fix the conf file to use the one from sys-apps/hwids + sed -i "s#/usr/share/ipv6toolkit/oui.txt#${HWIDS_OUI_PATH}#" \ + "${ED}"/etc/ipv6toolkit.conf + dodoc CHANGES.TXT README.TXT +}