1 |
commit: ddbf1b229011a28d98d6ed18257ccc34170ceae3 |
2 |
Author: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 8 01:32:26 2019 +0000 |
4 |
Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 8 01:32:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddbf1b22 |
7 |
|
8 |
net-wireless/portapack-firmware: bump |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
11 |
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org> |
12 |
|
13 |
net-wireless/portapack-firmware/Manifest | 2 +- |
14 |
.../portapack-firmware-20170808.ebuild | 49 ---------------------- |
15 |
.../portapack-firmware-20190405.ebuild | 24 +++++++++++ |
16 |
3 files changed, 25 insertions(+), 50 deletions(-) |
17 |
|
18 |
diff --git a/net-wireless/portapack-firmware/Manifest b/net-wireless/portapack-firmware/Manifest |
19 |
index d6e86112221..b59f4408c5b 100644 |
20 |
--- a/net-wireless/portapack-firmware/Manifest |
21 |
+++ b/net-wireless/portapack-firmware/Manifest |
22 |
@@ -1 +1 @@ |
23 |
-DIST portapack-h1-firmware-20170808.tar.bz2 162776 BLAKE2B b21c7bd771da89ebf358ff4d68c75a1d6e7692e5592f4e0c5472e03084a98742517415c212fbc958bcb1b613a08079f80ed2658562d3b756af1a540b800294ee SHA512 f6e748dafb7412ba3cb2903554442d599a59cd25277d62516b65b1e0d513681ed886469e1eeea2065ea874b0e33289eb44fe26b9f1ea2d9e6f3e14fb791df321 |
24 |
+DIST portapack-h1-firmware-20190405.tar.bz2 175374 BLAKE2B 2981ee5e994e9de3f662d77fe8ebd8773f71a73980bf08474cb0d7773ce7af79a490b759bc4d0eaaec1fb1b88755bbf25968300b1c27882a07e9fe1ce9fab524 SHA512 3fe95c2fba8654233a846eac3d9dc094343aaa6e527046b8e659524aed01dc4fef4e865253fc49ac367d0fe7fe2919c20d8fed71e144290bd8ece27021aced8f |
25 |
|
26 |
diff --git a/net-wireless/portapack-firmware/portapack-firmware-20170808.ebuild b/net-wireless/portapack-firmware/portapack-firmware-20170808.ebuild |
27 |
deleted file mode 100644 |
28 |
index eb8c5dbfc7d..00000000000 |
29 |
--- a/net-wireless/portapack-firmware/portapack-firmware-20170808.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,49 +0,0 @@ |
32 |
-# Copyright 1999-2017 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=5 |
36 |
- |
37 |
-DESCRIPTION="Firmware and scripts for controlling the Portapack from Sharebrained" |
38 |
-HOMEPAGE="https://github.com/sharebrained/portapack-hackrf/releases" |
39 |
-SRC_URI="https://github.com/sharebrained/portapack-hackrf/releases/download/${PV}/portapack-h1-firmware-${PV}.tar.bz2" |
40 |
- |
41 |
-LICENSE="GPL-2" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="~amd64 ~x86" |
44 |
-IUSE="" |
45 |
- |
46 |
-PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1 |
47 |
- >=app-mobilephone/dfu-util-0.7" |
48 |
- |
49 |
-S="${WORKDIR}" |
50 |
- |
51 |
-src_install() { |
52 |
- insinto /usr/share/hackrf |
53 |
- newins portapack-h1-firmware.bin portapack-h1-firmware-${PV}.bin |
54 |
- ln -s portapack-h1-firmware-${PV}.bin "${ED}/usr/share/hackrf/portapack-h1-firmware.bin" |
55 |
- |
56 |
- cat << EOF > switch_to_portapack |
57 |
-#!/bin/sh |
58 |
-printf "Hold down the HackRF's DFU button (the button closest to the antenna jack)\n" |
59 |
-printf "then plug the HackRF into a USB port on your computer.\n" |
60 |
-printf "After the HackRF is plugged in, you may release the DFU button.\n" |
61 |
-printf "Press any key to continue or ^c to abort\n" |
62 |
-read |
63 |
-dfu-util --device 1fc9:000c --download /usr/share/hackrf/hackrf_one_usb_ram.dfu --reset |
64 |
-sleep 2s |
65 |
-hackrf_spiflash -w /usr/share/hackrf/portapack-h1-firmware.bin |
66 |
-EOF |
67 |
- dobin switch_to_portapack |
68 |
- cat << EOF > switch_to_hackrf |
69 |
-#!/bin/sh |
70 |
-printf "Hold down the HackRF's DFU button (the button closest to the antenna jack)\n" |
71 |
-printf "then plug the HackRF into a USB port on your computer.\n" |
72 |
-printf "After the HackRF is plugged in, you may release the DFU button.\n" |
73 |
-printf "Press any key to continue or ^c to abort\n" |
74 |
-read |
75 |
-dfu-util --device 1fc9:000c --download /usr/share/hackrf/hackrf_one_usb_ram.dfu --reset |
76 |
-sleep 2s |
77 |
-hackrf_spiflash -w /usr/share/hackrf/hackrf_one_usb_rom_to_ram.bin |
78 |
-EOF |
79 |
- dobin switch_to_hackrf |
80 |
-} |
81 |
|
82 |
diff --git a/net-wireless/portapack-firmware/portapack-firmware-20190405.ebuild b/net-wireless/portapack-firmware/portapack-firmware-20190405.ebuild |
83 |
new file mode 100644 |
84 |
index 00000000000..5da4e1ade90 |
85 |
--- /dev/null |
86 |
+++ b/net-wireless/portapack-firmware/portapack-firmware-20190405.ebuild |
87 |
@@ -0,0 +1,24 @@ |
88 |
+# Copyright 1999-2019 Gentoo Authors |
89 |
+# Distributed under the terms of the GNU General Public License v2 |
90 |
+ |
91 |
+EAPI=6 |
92 |
+ |
93 |
+DESCRIPTION="Firmware and scripts for controlling the Portapack from Sharebrained" |
94 |
+HOMEPAGE="https://github.com/sharebrained/portapack-hackrf/releases" |
95 |
+SRC_URI="https://github.com/sharebrained/portapack-hackrf/releases/download/${PV}/portapack-h1-firmware-${PV}.tar.bz2" |
96 |
+ |
97 |
+LICENSE="GPL-2" |
98 |
+SLOT="0" |
99 |
+KEYWORDS="~amd64 ~x86" |
100 |
+IUSE="" |
101 |
+ |
102 |
+PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1 |
103 |
+ >=app-mobilephone/dfu-util-0.7" |
104 |
+ |
105 |
+S="${WORKDIR}/portapack-h1-firmware-${PV}" |
106 |
+ |
107 |
+src_install() { |
108 |
+ insinto /usr/share/hackrf |
109 |
+ newins portapack-h1-firmware.bin portapack-h1-firmware-${PV}.bin |
110 |
+ ln -s portapack-h1-firmware-${PV}.bin "${ED}/usr/share/hackrf/portapack-h1-firmware.bin" |
111 |
+} |