zerochaos 14/08/21 20:10:13
Modified: hackrf-tools-9999.ebuild ChangeLog
Added: hackrf-tools-2014.04.1-r1.ebuild
Removed: hackrf-tools-2014.04.1.ebuild
hackrf-tools-2013.07.1.ebuild
hackrf-tools-2013.06.1-r1.ebuild
Log:
adding dfu recovery firmware, moving location as requested by upstream,
fixing udev rule
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key
DD11F94A)
Revision Changes Path
1.5 net-wireless/hackrf-tools/hackrf-tools-9999.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild?rev=1.5&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild?rev=1.5&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild?r1=1.4&r2=1.5
Index: hackrf-tools-9999.ebuild
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- hackrf-tools-9999.ebuild 27 Jun 2013 04:41:49 -0000 1.4
+++ hackrf-tools-9999.ebuild 21 Aug 2014 20:10:13 -0000 1.5
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild,v
1.4 2013/06/27 04:41:49 zerochaos Exp $
+# $Header:
/var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild,v
1.5 2014/08/21 20:10:13 zerochaos Exp $
EAPI=5
@@ -26,14 +26,23 @@
IUSE=""
DEPEND="virtual/libusb:1
- net-libs/libhackrf:="
+ =net-libs/libhackrf-${PV}:="
RDEPEND="${DEPEND}"
+src_prepare() {
+ sed -i 's#plugdev#usb#' 52-hackrf.rules
+}
+
src_install() {
cmake-utils_src_install
if [[ ${PV} != "9999" ]] ; then
- insinto /lib/firmware
- newins
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_usb_rom_to_ram.bin"
hackrf_usb_rom_to_ram-${PV}.bin
+ insinto /usr/share/hackrf
+ newins
"${WORKDIR}/hackrf-${PV}/firmware-bin/jawbreaker/hackrf_usb_rom_to_ram.bin"
hackrf_jawbreaker_usb_rom_to_ram-${PV}.bin
+ newins
"${WORKDIR}/hackrf-${PV}/firmware-bin/jawbreaker/hackrf_usb_ram.dfu"
hackrf_jawbreaker_hackrf_usb_ram.dfu-${PV}.bin
+ newins
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf-one/hackrf_usb_rom_to_ram.bin"
hackrf_one_usb_rom_to_ram-${PV}.bin
+ newins
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf-one/hackrf_usb_ram.dfu"
hackrf_one_hackrf_usb_ram.dfu-${PV}.bin
+ else
+ ewarn "The compiled firmware files are only available in the
versioned releases, you are on your own for this."
fi
udev_dorules 52-hackrf.rules
}
1.9 net-wireless/hackrf-tools/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hackrf-tools/ChangeLog?rev=1.9&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hackrf-tools/ChangeLog?rev=1.9&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hackrf-tools/ChangeLog?r1=1.8&r2=1.9
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog 1 May 2014 14:41:53 -0000 1.8
+++ ChangeLog 21 Aug 2014 20:10:13 -0000 1.9
@@ -1,6 +1,15 @@
# ChangeLog for net-wireless/hackrf-tools
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/ChangeLog,v 1.8
2014/05/01 14:41:53 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/ChangeLog,v 1.9
2014/08/21 20:10:13 zerochaos Exp $
+
+*hackrf-tools-2014.04.1-r1 (21 Aug 2014)
+
+ 21 Aug 2014; Rick Farina <[email protected]>
+ +hackrf-tools-2014.04.1-r1.ebuild, -hackrf-tools-2013.06.1-r1.ebuild,
+ -hackrf-tools-2013.07.1.ebuild, -hackrf-tools-2014.04.1.ebuild,
+ hackrf-tools-9999.ebuild:
+ adding dfu recovery firmware, moving location as requested by upstream,
fixing
+ udev rule
*hackrf-tools-2014.04.1 (01 May 2014)
1.1 net-wireless/hackrf-tools/hackrf-tools-2014.04.1-r1.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-2014.04.1-r1.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-2014.04.1-r1.ebuild?rev=1.1&content-type=text/plain
Index: hackrf-tools-2014.04.1-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-2014.04.1-r1.ebuild,v
1.1 2014/08/21 20:10:13 zerochaos Exp $
EAPI=5
inherit cmake-utils udev
DESCRIPTION="library for communicating with HackRF SDR platform"
HOMEPAGE="http://greatscottgadgets.com/hackrf/"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/mossmann/hackrf.git"
inherit git-2
KEYWORDS=""
EGIT_SOURCEDIR="${WORKDIR}/hackrf"
S="${WORKDIR}/hackrf/host/hackrf-tools"
else
S="${WORKDIR}/hackrf-${PV}/host/hackrf-tools"
SRC_URI="mirror://sourceforge/hackrf/hackrf-${PV}.tar.xz"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
fi
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND="virtual/libusb:1
=net-libs/libhackrf-${PV}:="
RDEPEND="${DEPEND}"
src_prepare() {
sed -i 's#plugdev#usb#' 52-hackrf.rules
}
src_install() {
cmake-utils_src_install
if [[ ${PV} != "9999" ]] ; then
insinto /usr/share/hackrf
newins
"${WORKDIR}/hackrf-${PV}/firmware-bin/jawbreaker/hackrf_usb_rom_to_ram.bin"
hackrf_jawbreaker_usb_rom_to_ram-${PV}.bin
newins
"${WORKDIR}/hackrf-${PV}/firmware-bin/jawbreaker/hackrf_usb_ram.dfu"
hackrf_jawbreaker_hackrf_usb_ram.dfu-${PV}.bin
newins
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf-one/hackrf_usb_rom_to_ram.bin"
hackrf_one_usb_rom_to_ram-${PV}.bin
newins
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf-one/hackrf_usb_ram.dfu"
hackrf_one_hackrf_usb_ram.dfu-${PV}.bin
else
ewarn "The compiled firmware files are only available in the
versioned releases, you are on your own for this."
fi
udev_dorules 52-hackrf.rules
}