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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 629A2158041 for ; Tue, 20 Feb 2024 05:06:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D65542BC014; Tue, 20 Feb 2024 05:06:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B6E252BC014 for ; Tue, 20 Feb 2024 05:06:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DDEEF343181 for ; Tue, 20 Feb 2024 05:06:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D4F4EE95 for ; Tue, 20 Feb 2024 05:06:09 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1708405137.69bfc9dbf66cf5b21f0c1a9d0b5de9b24cda5d87.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/macchanger/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r3.ebuild X-VCS-Directories: net-analyzer/macchanger/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 69bfc9dbf66cf5b21f0c1a9d0b5de9b24cda5d87 X-VCS-Branch: master Date: Tue, 20 Feb 2024 05:06:09 +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: fe3c469d-5760-4f80-83b5-b9a8c1698fd8 X-Archives-Hash: 6ee52656e319d5565076a2b61e940a05 commit: 69bfc9dbf66cf5b21f0c1a9d0b5de9b24cda5d87 Author: Sam James gentoo org> AuthorDate: Tue Feb 20 04:58:57 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Feb 20 04:58:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69bfc9db net-analyzer/macchanger: drop USE=split-usr Fixed netifrc has been stable for a while. Bug: https://bugs.gentoo.org/889922 Signed-off-by: Sam James gentoo.org> .../macchanger/macchanger-1.7.0_p5_p4-r3.ebuild | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r3.ebuild b/net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r3.ebuild new file mode 100644 index 000000000000..3797d8ce8d40 --- /dev/null +++ b/net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Utility for viewing/manipulating the MAC address of network interfaces" +OUI_DATE="20091029" # Generated with tools/IEEE_OUI.py in the source +OUI_FILE="OUI.list-${OUI_DATE}" +HOMEPAGE="https://github.com/alobbs/macchanger" +SRC_URI=" + https://github.com/alobbs/macchanger/releases/download/${PV/_p*}/${P/_p*}.tar.gz + mirror://debian/pool/main/m/${PN}/${PN}_${PV/_p*}-$(ver_cut 5).$(ver_cut 7).debian.tar.xz +" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +SLOT="0" + +PATCHES=( + "${FILESDIR}"/${PN}-1.7.0-fix-caddr_t.patch + "${WORKDIR}"/debian/patches/02-fix_usage_message.patch + "${WORKDIR}"/debian/patches/06-update_OUI_list.patch + "${WORKDIR}"/debian/patches/08-fix_random_MAC_choice.patch + "${WORKDIR}"/debian/patches/check-random-device-read-errors.patch + "${WORKDIR}"/debian/patches/verify-changed-MAC.patch + +) +S=${WORKDIR}/${P/_p*} + +src_configure() { + # Shared data is installed below /lib, see Bug #57046 + econf \ + --bindir="${EPREFIX}/sbin" \ + --datadir="${EPREFIX}/lib" +} + +src_install() { + default + + newdoc "${WORKDIR}"/debian/changelog debian.changelog + + dosym ../../lib/macchanger /usr/share/macchanger +}