diff options
author | Zero_Chaos <zerochaos@gentoo.org> | 2016-08-26 17:38:09 -0400 |
---|---|---|
committer | Zero_Chaos <zerochaos@gentoo.org> | 2016-08-26 17:38:09 -0400 |
commit | a114c8c64a87f431531862404e9d768e2cd92bb2 (patch) | |
tree | 028e32bc838526e2330134c75159884789b81b81 /net-wireless/portapack-firmware | |
parent | dev-ruby/ruby-oembed: cleanup (diff) | |
download | gentoo-a114c8c64a87f431531862404e9d768e2cd92bb2.tar.gz gentoo-a114c8c64a87f431531862404e9d768e2cd92bb2.tar.bz2 gentoo-a114c8c64a87f431531862404e9d768e2cd92bb2.zip |
net-wireless/portapack-firmware: appears compatible with dfu-util 0.9 so updating deps
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-wireless/portapack-firmware')
-rw-r--r-- | net-wireless/portapack-firmware/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/portapack-firmware/portapack-firmware-20160728-r1.ebuild (renamed from net-wireless/portapack-firmware/portapack-firmware-20160222.ebuild) | 2 | ||||
-rw-r--r-- | net-wireless/portapack-firmware/portapack-firmware-20160728.ebuild | 50 |
3 files changed, 1 insertions, 52 deletions
diff --git a/net-wireless/portapack-firmware/Manifest b/net-wireless/portapack-firmware/Manifest index d2b79c4bea9e..d60ad6d75876 100644 --- a/net-wireless/portapack-firmware/Manifest +++ b/net-wireless/portapack-firmware/Manifest @@ -1,2 +1 @@ -DIST portapack-h1-firmware-20160222.tar.bz2 117737 SHA256 43b6e8150a8c0b31e40703a05e1462acf6b365ff1814b0111968b2e5fd9a8148 SHA512 c330561126fe5cec53bd85fde6a76bac0f70d20d1fcc7e0ba578e9332bd8f8e5353673a14a084fe44ecef7f91a2829836c24a090c993a74eb065fb1ae65e65c3 WHIRLPOOL a2acc92ba99c1f27e013332103fe896beb8091608bf248c7effdd6e1b2976d7461b68f8e05ca7dd1a493a776ffd9dc77a28a38bfd7cbe741337b39c147c1c724 DIST portapack-h1-firmware-20160728.tar.bz2 149696 SHA256 47561cf5a97798921cb5587d2a3976c1136617fff4831e9488440abbc449c5a5 SHA512 ab29fe8c06d9fe40d763f12a3a3381b3338e783cfa7345e947ee50662ab938771da9470df25cd1c24c3f55680b35b213026099b11bbb241bec143dbd153536f3 WHIRLPOOL baa2e546f6c68e7c2d0efabc6b203353374c9a83d7da36f740cd53c554c05ec9aa9c05a021aa96b5714b9fd97b74ea392dd5afe909849b5d4daa275942887dc3 diff --git a/net-wireless/portapack-firmware/portapack-firmware-20160222.ebuild b/net-wireless/portapack-firmware/portapack-firmware-20160728-r1.ebuild index 79d0b3af5612..6613fb42d74c 100644 --- a/net-wireless/portapack-firmware/portapack-firmware-20160222.ebuild +++ b/net-wireless/portapack-firmware/portapack-firmware-20160728-r1.ebuild @@ -14,7 +14,7 @@ KEYWORDS="~amd64 ~x86" IUSE="" PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1 - =app-mobilephone/dfu-util-0.7" + >=app-mobilephone/dfu-util-0.7" S="${WORKDIR}" diff --git a/net-wireless/portapack-firmware/portapack-firmware-20160728.ebuild b/net-wireless/portapack-firmware/portapack-firmware-20160728.ebuild deleted file mode 100644 index 79d0b3af5612..000000000000 --- a/net-wireless/portapack-firmware/portapack-firmware-20160728.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2016 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 -} |