Gentoo Archives: gentoo-commits

From: "Richard Farina (zerochaos)" <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/portapack-firmware: portapack-firmware-20150722.ebuild metadata.xml ChangeLog
Date: Fri, 31 Jul 2015 19:50:57
Message-Id: 20150731195013.DFAFA110@oystercatcher.gentoo.org
1 zerochaos 15/07/31 19:50:13
2
3 Added: portapack-firmware-20150722.ebuild metadata.xml
4 ChangeLog
5 Log:
6 new: firmware and host scripts for the hackrf one portapack
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
9
10 Revision Changes Path
11 1.1 net-wireless/portapack-firmware/portapack-firmware-20150722.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/portapack-firmware/portapack-firmware-20150722.ebuild?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/portapack-firmware/portapack-firmware-20150722.ebuild?rev=1.1&content-type=text/plain
15
16 Index: portapack-firmware-20150722.ebuild
17 ===================================================================
18 # Copyright 1999-2015 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20 # $Header: /var/cvsroot/gentoo-x86/net-wireless/portapack-firmware/portapack-firmware-20150722.ebuild,v 1.1 2015/07/31 19:50:13 zerochaos Exp $
21
22 EAPI=5
23
24 DESCRIPTION="Firmware and scripts for controlling the Portapack from Sharebrained"
25 HOMEPAGE="https://github.com/sharebrained/portapack-hackrf/releases"
26 SRC_URI="https://github.com/sharebrained/portapack-hackrf/releases/download/20150722/portapack-h1-firmware-${PV}.tar.bz2"
27
28 LICENSE="GPL-2"
29 SLOT="0"
30 KEYWORDS="~amd64 ~x86"
31 IUSE=""
32
33 PDEPEND=">=net-wireless/hackrf-tools-2015.07.2-r1
34 =app-mobilephone/dfu-util-0.7"
35
36 src_install() {
37 insinto /usr/share/hackrf
38 newins portapack-h1-firmware.bin
39
40 cat << EOF > switch_to_portapack
41 #!/bin/sh
42 printf "Hold down the HackRF's DFU button (the button closest to the antenna jack)\n"
43 printf "then plug the HackRF into a USB port on your computer.\n"
44 printf "After the HackRF is plugged in, you may release the DFU button.\n"
45 printf "Press any key to continue or ^c to abort\n"
46 read
47 dfu-util --device 1fc9:000c --download /usr/share/hackrf/hackrf_one_usb_ram.dfu --reset
48 sleep 2s
49 hackrf_spiflash -w /usr/share/hackrf/portapack-h1-firmware.bin
50 EOF
51 dobin switch_to_portapack
52 cat << EOF > switch_to_hackrf
53 #!/bin/sh
54 printf "Hold down the HackRF's DFU button (the button closest to the antenna jack)\n"
55 printf "then plug the HackRF into a USB port on your computer.\n"
56 printf "After the HackRF is plugged in, you may release the DFU button.\n"
57 printf "Press any key to continue or ^c to abort\n"
58 read
59 dfu-util --device 1fc9:000c --download /usr/share/hackrf/hackrf_one_usb_ram.dfu --reset
60 sleep 2s
61 hackrf_spiflash -w /usr/share/hackrf/hackrf_one_usb_rom_to_ram.bin
62 EOF
63 dobin switch_to_hackrf
64 }
65
66
67
68 1.1 net-wireless/portapack-firmware/metadata.xml
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/portapack-firmware/metadata.xml?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/portapack-firmware/metadata.xml?rev=1.1&content-type=text/plain
72
73 Index: metadata.xml
74 ===================================================================
75 <?xml version="1.0" encoding="UTF-8"?>
76 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
77 <pkgmetadata>
78 <longdescription lang="en">
79 </longdescription>
80 </pkgmetadata>
81
82
83
84 1.1 net-wireless/portapack-firmware/ChangeLog
85
86 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/portapack-firmware/ChangeLog?rev=1.1&view=markup
87 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/portapack-firmware/ChangeLog?rev=1.1&content-type=text/plain
88
89 Index: ChangeLog
90 ===================================================================
91 # ChangeLog for net-wireless/portapack-firmware
92 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
93 # $Header: /var/cvsroot/gentoo-x86/net-wireless/portapack-firmware/ChangeLog,v 1.1 2015/07/31 19:50:13 zerochaos Exp $
94
95 *portapack-firmware-20150722 (31 Jul 2015)
96
97 31 Jul 2015; Rick Farina <zerochaos@g.o> +metadata.xml,
98 +portapack-firmware-20150722.ebuild:
99 new: firmware and host scripts for the hackrf one portapack