1 |
commit: a114c8c64a87f431531862404e9d768e2cd92bb2 |
2 |
Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 26 21:38:09 2016 +0000 |
4 |
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 26 21:38:09 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a114c8c6 |
7 |
|
8 |
net-wireless/portapack-firmware: appears compatible with dfu-util 0.9 so updating deps |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
net-wireless/portapack-firmware/Manifest | 1 - |
13 |
...build => portapack-firmware-20160728-r1.ebuild} | 2 +- |
14 |
.../portapack-firmware-20160728.ebuild | 50 ---------------------- |
15 |
3 files changed, 1 insertion(+), 52 deletions(-) |
16 |
|
17 |
diff --git a/net-wireless/portapack-firmware/Manifest b/net-wireless/portapack-firmware/Manifest |
18 |
index d2b79c4..d60ad6d 100644 |
19 |
--- a/net-wireless/portapack-firmware/Manifest |
20 |
+++ b/net-wireless/portapack-firmware/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST portapack-h1-firmware-20160222.tar.bz2 117737 SHA256 43b6e8150a8c0b31e40703a05e1462acf6b365ff1814b0111968b2e5fd9a8148 SHA512 c330561126fe5cec53bd85fde6a76bac0f70d20d1fcc7e0ba578e9332bd8f8e5353673a14a084fe44ecef7f91a2829836c24a090c993a74eb065fb1ae65e65c3 WHIRLPOOL a2acc92ba99c1f27e013332103fe896beb8091608bf248c7effdd6e1b2976d7461b68f8e05ca7dd1a493a776ffd9dc77a28a38bfd7cbe741337b39c147c1c724 |
23 |
DIST portapack-h1-firmware-20160728.tar.bz2 149696 SHA256 47561cf5a97798921cb5587d2a3976c1136617fff4831e9488440abbc449c5a5 SHA512 ab29fe8c06d9fe40d763f12a3a3381b3338e783cfa7345e947ee50662ab938771da9470df25cd1c24c3f55680b35b213026099b11bbb241bec143dbd153536f3 WHIRLPOOL baa2e546f6c68e7c2d0efabc6b203353374c9a83d7da36f740cd53c554c05ec9aa9c05a021aa96b5714b9fd97b74ea392dd5afe909849b5d4daa275942887dc3 |
24 |
|
25 |
diff --git a/net-wireless/portapack-firmware/portapack-firmware-20160222.ebuild b/net-wireless/portapack-firmware/portapack-firmware-20160728-r1.ebuild |
26 |
similarity index 98% |
27 |
rename from net-wireless/portapack-firmware/portapack-firmware-20160222.ebuild |
28 |
rename to net-wireless/portapack-firmware/portapack-firmware-20160728-r1.ebuild |
29 |
index 79d0b3a..6613fb4 100644 |
30 |
--- a/net-wireless/portapack-firmware/portapack-firmware-20160222.ebuild |
31 |
+++ b/net-wireless/portapack-firmware/portapack-firmware-20160728-r1.ebuild |
32 |
@@ -14,7 +14,7 @@ KEYWORDS="~amd64 ~x86" |
33 |
IUSE="" |
34 |
|
35 |
PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1 |
36 |
- =app-mobilephone/dfu-util-0.7" |
37 |
+ >=app-mobilephone/dfu-util-0.7" |
38 |
|
39 |
S="${WORKDIR}" |
40 |
|
41 |
|
42 |
diff --git a/net-wireless/portapack-firmware/portapack-firmware-20160728.ebuild b/net-wireless/portapack-firmware/portapack-firmware-20160728.ebuild |
43 |
deleted file mode 100644 |
44 |
index 79d0b3a..00000000 |
45 |
--- a/net-wireless/portapack-firmware/portapack-firmware-20160728.ebuild |
46 |
+++ /dev/null |
47 |
@@ -1,50 +0,0 @@ |
48 |
-# Copyright 1999-2016 Gentoo Foundation |
49 |
-# Distributed under the terms of the GNU General Public License v2 |
50 |
-# $Id$ |
51 |
- |
52 |
-EAPI=5 |
53 |
- |
54 |
-DESCRIPTION="Firmware and scripts for controlling the Portapack from Sharebrained" |
55 |
-HOMEPAGE="https://github.com/sharebrained/portapack-hackrf/releases" |
56 |
-SRC_URI="https://github.com/sharebrained/portapack-hackrf/releases/download/${PV}/portapack-h1-firmware-${PV}.tar.bz2" |
57 |
- |
58 |
-LICENSE="GPL-2" |
59 |
-SLOT="0" |
60 |
-KEYWORDS="~amd64 ~x86" |
61 |
-IUSE="" |
62 |
- |
63 |
-PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1 |
64 |
- =app-mobilephone/dfu-util-0.7" |
65 |
- |
66 |
-S="${WORKDIR}" |
67 |
- |
68 |
-src_install() { |
69 |
- insinto /usr/share/hackrf |
70 |
- newins portapack-h1-firmware.bin portapack-h1-firmware-${PV}.bin |
71 |
- ln -s portapack-h1-firmware-${PV}.bin "${ED}/usr/share/hackrf/portapack-h1-firmware.bin" |
72 |
- |
73 |
- cat << EOF > switch_to_portapack |
74 |
-#!/bin/sh |
75 |
-printf "Hold down the HackRF's DFU button (the button closest to the antenna jack)\n" |
76 |
-printf "then plug the HackRF into a USB port on your computer.\n" |
77 |
-printf "After the HackRF is plugged in, you may release the DFU button.\n" |
78 |
-printf "Press any key to continue or ^c to abort\n" |
79 |
-read |
80 |
-dfu-util --device 1fc9:000c --download /usr/share/hackrf/hackrf_one_usb_ram.dfu --reset |
81 |
-sleep 2s |
82 |
-hackrf_spiflash -w /usr/share/hackrf/portapack-h1-firmware.bin |
83 |
-EOF |
84 |
- dobin switch_to_portapack |
85 |
- cat << EOF > switch_to_hackrf |
86 |
-#!/bin/sh |
87 |
-printf "Hold down the HackRF's DFU button (the button closest to the antenna jack)\n" |
88 |
-printf "then plug the HackRF into a USB port on your computer.\n" |
89 |
-printf "After the HackRF is plugged in, you may release the DFU button.\n" |
90 |
-printf "Press any key to continue or ^c to abort\n" |
91 |
-read |
92 |
-dfu-util --device 1fc9:000c --download /usr/share/hackrf/hackrf_one_usb_ram.dfu --reset |
93 |
-sleep 2s |
94 |
-hackrf_spiflash -w /usr/share/hackrf/hackrf_one_usb_rom_to_ram.bin |
95 |
-EOF |
96 |
- dobin switch_to_hackrf |
97 |
-} |