summaryrefslogtreecommitdiff
path: root/net-analyzer/macchanger
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-20 11:40:01 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-20 11:40:01 +0000
commitd6ecedbb65041ed35010095376e87dd7de4270c5 (patch)
treef00964f121a5ec52d2f3d1fd00a8f3eb52f9c756 /net-analyzer/macchanger
parent89a009d7439343e207e8c7e4df1a28adecafeffe (diff)
gentoo auto-resync : 20:02:2024 - 11:40:01
Diffstat (limited to 'net-analyzer/macchanger')
-rw-r--r--net-analyzer/macchanger/Manifest1
-rw-r--r--net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r3.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/net-analyzer/macchanger/Manifest b/net-analyzer/macchanger/Manifest
index afa7bf958eb0..97865b38d41a 100644
--- a/net-analyzer/macchanger/Manifest
+++ b/net-analyzer/macchanger/Manifest
@@ -2,4 +2,5 @@ AUX macchanger-1.7.0-fix-caddr_t.patch 352 BLAKE2B 915bfe65108678b61c75fcf46338b
DIST macchanger-1.7.0.tar.gz 396848 BLAKE2B 7a6e5cbf302568884363ab4023033b53b1adc16896d7f88b1717f72b1b2a4d6d2dbfa2259a5c4aaa38d72201c5624a648077730cbc25f869f5f50a343bb93d0c SHA512 69f2008ace6ff8223ecf25805c08ddf42add9ed16c65f3bb57f74b8b0d080d584381ce79592d2ef581a9ba73f12624dae8db63dbb12e4875dfd29d828a4a5da3
DIST macchanger_1.7.0-5.4.debian.tar.xz 25084 BLAKE2B 65d39333e07a4c89da7e622aaccc0f2cab45af8d84721c3d39c457dfaf3063df872812d07860cbe78634159b0a2944e75aa54c11f46eadc37b9d4a23fc81b629 SHA512 b50b52532fc987f443088f2a4d0f2327dac972e69bc4c0bc0a94de4583df76c7d32c40a143d24b7fa6e066fc36b89c4b160c02b26860c484aab5054a4032f0cc
EBUILD macchanger-1.7.0_p5_p4-r2.ebuild 1425 BLAKE2B ff346fe9e2e49c620d5b8fdce39c48b8fb74d430da7d696689ff6fcd449cc1425fd3a5e3459658fbc5889ec8a97ef2fd4a619dd5906e7f8757a5b48c2adac80a SHA512 339ba73d59b98cd45c17e6f57f65d0373e37307e045aa2944915c9868165db97b96c1839a23e94e0efe91aaf42192ed8bc8eb1f23d418443380d99a4b8ba93b0
+EBUILD macchanger-1.7.0_p5_p4-r3.ebuild 1270 BLAKE2B e463bdeb419b76472dd204782d99b9189fbb8e1101f5656c09040ffbee13acd8d7684fb3de010ded1e97a328f740616777d9bd733ea38ec6f6e52a4a2fa72c11 SHA512 76f3f308e830b5860c4e908526f5a2418c2c05142802a5721eb6b35b95465538354002e3c269451c29639dc9bc5d708f92a96c795604cdc84d78e877eb1a86f9
MISC metadata.xml 474 BLAKE2B bf5ebf9af4669a711eab0193a1cbe1b337fd741d4390e150ee2e2755fb668c12d867e5912b357deef123f86a7602ce19380c0247e9fe60d0a55fc4443a466714 SHA512 9f13d45129605873c87b98c577a2afe9d172d7fd2c808b6363702e05ddb3bc1f5ef488a2d8adf1da00c913e07c6e25a1e1315e458b96d4f760658c585c3cedcc
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
+}