[gentoo-commits] repo/gentoo:master commit in: net-wireless/portapack-havoc/
commit: 395ca80ff5f03a7a85206aa812e6d59630c756b2 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Thu Dec 28 18:15:08 2023 + Commit: Conrad Kostecki gentoo org> CommitDate: Sun Dec 31 02:48:39 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=395ca80f net-wireless/portapack-havoc: EAPI8 bump, fix LICENSE Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/34523 Signed-off-by: Conrad Kostecki gentoo.org> .../portapack-havoc/portapack-havoc-0.0_p20180612.ebuild | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/net-wireless/portapack-havoc/portapack-havoc-0.0_p20180612.ebuild b/net-wireless/portapack-havoc/portapack-havoc-0.0_p20180612.ebuild index 59b7f30080d1..e668a2dbe80a 100644 --- a/net-wireless/portapack-havoc/portapack-havoc-0.0_p20180612.ebuild +++ b/net-wireless/portapack-havoc/portapack-havoc-0.0_p20180612.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 DESCRIPTION="Custom firmware for the HackRF SDR + PortaPack H1 addon" HOMEPAGE="https://github.com/furrtek/portapack-havoc/wiki; @@ -9,9 +9,8 @@ COMMIT="609235b19f55d0bf278c0e7c4b9f9b6b15136247" SRC_URI="https://github.com/furrtek/portapack-havoc/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" -IUSE="" KEYWORDS="~amd64 ~x86" @@ -29,7 +28,7 @@ src_compile() { src_install() { insinto /usr/share/hackrf newins firmware/portapack-h1-havoc.bin portapack-h1-havoc-${PV}.bin - ln -s portapack-h1-havoc-${PV}.bin "${ED}/usr/share/hackrf/portapack-h1-havoc.bin" + ln -s portapack-h1-havoc-${PV}.bin "${ED}/usr/share/hackrf/portapack-h1-havoc.bin" || die cat << EOF > switch_to_havoc #!/bin/sh
[gentoo-commits] repo/gentoo:master commit in: net-wireless/portapack-havoc/
commit: 3297657be06567733f245e48fed7fccb6164c224 Author: Zero_Chaos gentoo org> AuthorDate: Fri Aug 17 20:17:06 2018 + Commit: Richard Farina gentoo org> CommitDate: Fri Aug 17 20:17:24 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3297657b net-wireless/portapack-havoc: initial commit Package-Manager: Portage-2.3.46, Repoman-2.3.10 net-wireless/portapack-havoc/Manifest | 1 + net-wireless/portapack-havoc/metadata.xml | 11 ++ .../portapack-havoc-0.0_p20180612.ebuild | 46 ++ 3 files changed, 58 insertions(+) diff --git a/net-wireless/portapack-havoc/Manifest b/net-wireless/portapack-havoc/Manifest new file mode 100644 index 000..4e4cc5ad637 --- /dev/null +++ b/net-wireless/portapack-havoc/Manifest @@ -0,0 +1 @@ +DIST portapack-havoc-0.0_p20180612.tar.gz 74244267 BLAKE2B 7a6b632cd3766681e691cb0e8405e9493d4d4b46008c9905192f492715238378713da6a305383855b50935f5ffa943e5134677ab1580275a645b46e0e025c561 SHA512 b8ea6a4aa6682793a69cefb2815fcaf51a5f6f253bea2c34e00d76fba15f9d700f45f1a36c1ac7e1d7c640ac19ee64dc835c76c3d9964d73d18443299a2d6fdd diff --git a/net-wireless/portapack-havoc/metadata.xml b/net-wireless/portapack-havoc/metadata.xml new file mode 100644 index 000..379b11c6216 --- /dev/null +++ b/net-wireless/portapack-havoc/metadata.xml @@ -0,0 +1,11 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + zeroch...@gentoo.org + Rick Farina + + + furrtek/portapack-havoc + + diff --git a/net-wireless/portapack-havoc/portapack-havoc-0.0_p20180612.ebuild b/net-wireless/portapack-havoc/portapack-havoc-0.0_p20180612.ebuild new file mode 100644 index 000..59b7f30080d --- /dev/null +++ b/net-wireless/portapack-havoc/portapack-havoc-0.0_p20180612.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Custom firmware for the HackRF SDR + PortaPack H1 addon" +HOMEPAGE="https://github.com/furrtek/portapack-havoc/wiki; +COMMIT="609235b19f55d0bf278c0e7c4b9f9b6b15136247" +SRC_URI="https://github.com/furrtek/portapack-havoc/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +KEYWORDS="~amd64 ~x86" + +PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1 + >=app-mobilephone/dfu-util-0.7" + +src_configure() { + true +} + +src_compile() { + true +} + +src_install() { + insinto /usr/share/hackrf + newins firmware/portapack-h1-havoc.bin portapack-h1-havoc-${PV}.bin + ln -s portapack-h1-havoc-${PV}.bin "${ED}/usr/share/hackrf/portapack-h1-havoc.bin" + + cat << EOF > switch_to_havoc +#!/bin/sh +printf "Hold down the HackRF's DFU button (the button closest to the antenna jack)\n" +printf "then plug the HackRF into a USB port on your computer.\n" +printf "After the HackRF is plugged in, you may release the DFU button.\n" +printf "Press any key to continue or ^c to abort\n" +read +dfu-util --device 1fc9:000c --download /usr/share/hackrf/hackrf_one_usb_ram.dfu --reset +sleep 2s +hackrf_spiflash -w /usr/share/hackrf/portapack-h1-havoc.bin +EOF + dobin switch_to_havoc +}