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 1770015800F for ; Fri, 6 Jan 2023 08:00:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46483E077A; Fri, 6 Jan 2023 08:00:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 2B214E077A for ; Fri, 6 Jan 2023 08:00:29 +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 0EAF7340CC9 for ; Fri, 6 Jan 2023 08:00:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50AB076D for ; Fri, 6 Jan 2023 08:00:26 +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: <1672992001.492cbcf30217641a3625cbf8c53e00c27ae0c369.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-r1.ebuild net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r2.ebuild X-VCS-Directories: net-analyzer/macchanger/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 492cbcf30217641a3625cbf8c53e00c27ae0c369 X-VCS-Branch: master Date: Fri, 6 Jan 2023 08:00: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: 1701e4a8-861b-42fe-b6a6-29cd0b3fb05d X-Archives-Hash: 523e9b6dc6b236ec0c1f60540ffca1e1 commit: 492cbcf30217641a3625cbf8c53e00c27ae0c369 Author: Sam James gentoo org> AuthorDate: Fri Jan 6 07:59:36 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jan 6 08:00:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=492cbcf3 net-analyzer/macchanger: add USE=split-usr for netifrc Fixes: 955b84bad9b4a6003e132afd18b557215534eb73 Bug: https://bugs.gentoo.org/889922 Bug: https://bugs.gentoo.org/886121 Signed-off-by: Sam James gentoo.org> ...7.0_p5_p4-r1.ebuild => macchanger-1.7.0_p5_p4-r2.ebuild} | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r1.ebuild b/net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r2.ebuild similarity index 83% rename from net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r1.ebuild rename to net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r2.ebuild index 2bce7cea0e43..5ec79a35f5a7 100644 --- a/net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r1.ebuild +++ b/net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +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 @@ -14,6 +14,7 @@ SRC_URI=" LICENSE="GPL-2" KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86" SLOT="0" +IUSE="split-usr" PATCHES=( "${FILESDIR}"/${PN}-1.7.0-fix-caddr_t.patch @@ -29,7 +30,7 @@ S=${WORKDIR}/${P/_p*} src_configure() { # Shared data is installed below /lib, see Bug #57046 econf \ - --bindir="${EPREFIX}/usr/bin" \ + --bindir="${EPREFIX}/sbin" \ --datadir="${EPREFIX}/lib" } @@ -38,5 +39,11 @@ src_install() { newdoc "${WORKDIR}"/debian/changelog debian.changelog + # Can cleanup a while after bug #889922 is fixed + if use split-usr ; then + dodir /usr/bin + dosym -r /sbin/macchanger /usr/bin/macchanger + fi + dosym ../../lib/macchanger /usr/share/macchanger }