From f0cc21a4d97ea3e02658c28cf007ac250596ff2d Mon Sep 17 00:00:00 2001 From: Zero_Chaos Date: Fri, 4 Sep 2015 15:15:53 -0400 Subject: net-wireless/portapack-firmware: version bump Package-Manager: portage-2.2.20.1 --- net-wireless/portapack-firmware/Manifest | 2 +- .../portapack-firmware-20150722.ebuild | 50 ---------------------- .../portapack-firmware-20150904.ebuild | 50 ++++++++++++++++++++++ 3 files changed, 51 insertions(+), 51 deletions(-) delete mode 100644 net-wireless/portapack-firmware/portapack-firmware-20150722.ebuild create mode 100644 net-wireless/portapack-firmware/portapack-firmware-20150904.ebuild (limited to 'net-wireless') diff --git a/net-wireless/portapack-firmware/Manifest b/net-wireless/portapack-firmware/Manifest index 8413aa9a22dc..e8d121008cfe 100644 --- a/net-wireless/portapack-firmware/Manifest +++ b/net-wireless/portapack-firmware/Manifest @@ -1 +1 @@ -DIST portapack-h1-firmware-20150722.tar.bz2 86962 SHA256 9692b9a4b3cc1fa1ed5192b594c21ef1fd14e0b7a3d9a61086e4660b14dd4698 SHA512 b5647f8ad5d954d91e087ce281585b0e9d5c0ba459fb16068ac93adfa130a50df0b3ac7111c742ac33bb9df5ab4fb30da55a265504e0c55e9b80726fd51da6c8 WHIRLPOOL 2c9c77b65678f06b083ca5f815b335f101facc64c96dd3d9cad2629f5969881a4ba6964b00696033621ae76a6b8c2db62198f1c8f0c9d23de90c45cf3e6aa82d +DIST portapack-h1-firmware-20150904.tar.bz2 96233 SHA256 25d6f44e6afcf4284316cb04702ea24ab528b33e4c780f9a57f067365f391df2 SHA512 0b7633a422b4311f5c7b66d88498b8f33a8f3bd1e0f23d18b5ba59fc901798b8d3c65b039c98bdaa428692b5ed00b5275de34a30ea72825a766cbb8fe84c2a7b WHIRLPOOL 1a816707cbe3d91d8dff8a51b1838999b2de485c425555183a3caea8f760a059e813ce0d734e7c6e41a599b974ec1702766ca10d5a78caeab11ff90791c1e101 diff --git a/net-wireless/portapack-firmware/portapack-firmware-20150722.ebuild b/net-wireless/portapack-firmware/portapack-firmware-20150722.ebuild deleted file mode 100644 index 1f9450476754..000000000000 --- a/net-wireless/portapack-firmware/portapack-firmware-20150722.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -DESCRIPTION="Firmware and scripts for controlling the Portapack from Sharebrained" -HOMEPAGE="https://github.com/sharebrained/portapack-hackrf/releases" -SRC_URI="https://github.com/sharebrained/portapack-hackrf/releases/download/20150722/portapack-h1-firmware-${PV}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1 - =app-mobilephone/dfu-util-0.7" - -S="${WORKDIR}" - -src_install() { - insinto /usr/share/hackrf - newins portapack-h1-firmware.bin portapack-h1-firmware-${PV}.bin - ln -s portapack-h1-firmware-${PV}.bin "${ED}/usr/share/hackrf/portapack-h1-firmware.bin" - - cat << EOF > switch_to_portapack -#!/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-firmware.bin -EOF - dobin switch_to_portapack - cat << EOF > switch_to_hackrf -#!/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/hackrf_one_usb_rom_to_ram.bin -EOF - dobin switch_to_hackrf -} diff --git a/net-wireless/portapack-firmware/portapack-firmware-20150904.ebuild b/net-wireless/portapack-firmware/portapack-firmware-20150904.ebuild new file mode 100644 index 000000000000..c27cf8634a30 --- /dev/null +++ b/net-wireless/portapack-firmware/portapack-firmware-20150904.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Firmware and scripts for controlling the Portapack from Sharebrained" +HOMEPAGE="https://github.com/sharebrained/portapack-hackrf/releases" +SRC_URI="https://github.com/sharebrained/portapack-hackrf/releases/download/${PV}/portapack-h1-firmware-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1 + =app-mobilephone/dfu-util-0.7" + +S="${WORKDIR}" + +src_install() { + insinto /usr/share/hackrf + newins portapack-h1-firmware.bin portapack-h1-firmware-${PV}.bin + ln -s portapack-h1-firmware-${PV}.bin "${ED}/usr/share/hackrf/portapack-h1-firmware.bin" + + cat << EOF > switch_to_portapack +#!/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-firmware.bin +EOF + dobin switch_to_portapack + cat << EOF > switch_to_hackrf +#!/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/hackrf_one_usb_rom_to_ram.bin +EOF + dobin switch_to_hackrf +} -- cgit v1.2.3-65-gdbad