debian/0000755000000000000000000000000012257341332007170 5ustar debian/copyright0000644000000000000000000002603312257336404011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: bladerf Upstream-Contact: Nuand LLC Source: https://github.com/Nuand/bladeRF.git X-Note: The upstream package source tarball was generated from the tag: git archive --format=tar --prefix=bladerf-0.9.0.15.8ba2499/ 8ba2499 | gzip > ../bladerf_0.9.0.15.8ba2499.orig.tar.gz Comment: Harmony copyright assignment agreements are in effect. Only the host/ directory of the source is used to build the binary Debian packages. Copyright: 2012-2013 Nuand LLC License: MIT Files: legal/licenses/LICENSE.GPLv2 Copyright: 1989, 1991 Free Software Foundation, Inc. License: Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Files: Makefile CMakeLists.txt */cmake/* Copyright: 2013 Nuand LLC License: MIT Comment: All metadata (Makefiles, CMake scripts, etc.) are MIT license unless otherwise stated. Files: debian/* Copyright: © 2011-2012 A. Maitland Bottoms 2013 Ryan Tucker License: MIT Files: hdl/ not listed below firmware_common/* fx3_firmware/* Copyright: 2013 Nuand LLC Comment: Not used in building Debian packages License: MIT Files: hdl/fpga/ip/altera/* hdl/quartus/bladerf.qpf hdl/quartus/bladerf.qsf hdl/quartus/constraints/pins.tcl Copyright: 1991-2012 Altera Corporation Comment: Not used in building Debian packages Boilerplate Altera copyright for Nuand LLC design licensed MIT License: Your use of Altera Corporation's design tools, logic functions and other software and tools, and its AMPP partner logic functions, and any output files from any of the foregoing (including device programming or simulation files), and any associated documentation or information are expressly subject to the terms and conditions of the Altera Program License Subscription Agreement, Altera MegaCore Function License Agreement, or other applicable license agreement, including, without limitation, that your use is for the sole purpose of programming logic devices manufactured by Altera and sold by Altera or its authorized distributors. Please refer to the applicable agreement for further details. Files: hdl/fpga/ip/altera/nios_system/* Copyright: 2013 Nuand LLC Comment: Not used in building Debian packages License: MIT Files: hdl/fpga/ip/opencores/i2c/* Copyright: 2000-2004 Richard Herveille richard@asics.ws Comment: Not used in building Debian packages License: This source file may be used and distributed without restriction provided that this copyright statement is not removed from the file and that any derivative work contains the original copyright notice and the associated disclaimer. . THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: host/cmake/modules/FindLibPThreadsWin32.cmake Copyright: 2008-2009 Hendrik Sattler 2013 Nuand LLC License: GPL-2+ Comment: This is file is based off of the FindLibUSB.cmake file written by Hendrik Sattler, from the OpenOBEX project (licensed GPLv2/LGPL). (If this is not correct, please contact us so we can attribute the author appropriately.) https://github.com/zuckschwerdt/openobex/blob/master/CMakeModules/FindLibUSB.cmake http://dev.zuckschwerdt.org/openobex/ Files: host/cmake/modules/FindLibUSB.cmake Copyright: 2008-2009 Hendrik Sattler 2013 Nuand LLC License: GPL-2+ Comment: This is a *slightly* modified version of the file written by Hendrik Sattler, from the OpenOBEX project (licensed GPLv2/LGPL). (If this is not correct, please contact us so we can attribute the author appropriately.) https://github.com/zuckschwerdt/openobex/blob/master/CMakeModules/FindLibUSB.cmake http://dev.zuckschwerdt.org/openobex/ Files: host/common/include/windows/getopt.h host/common/src/windows/getopt_long.c Copyright: 2007-11, Andrea Vedaldi and Brian Fulkerson 2012-13, The VLFeat Team Comment: Not used in building Debian packages License: BSD-2-clause Files: host/common/include/windows/inttypes.h Copyright: 2006-2013 Alexander Chemeris Comment: Not used in building Debian packages License: BSD-3-clause Files: host/drivers/linux/* Copyright: 2013 Nuand LLC 2013 Robert Ghilduta License: GPL-2+ Files: host/libraries/* Copyright: 2013 Nuand LLC 2013 Daniel Gröber License: LGPL-2.1+ Files: host/utilities/* Copyright: 2013 Nuand LLC 2013 Daniel Gröber License: GPL-2+ Files: host/utilities/common/include/ezusb.h host/utilities/common/src/ezusb.c Copyright: 2001 Stephen Williams (steve@icarus.com) 2001-2002 David Brownell (dbrownell@users.sourceforge.net) 2008 Roger Williams (rawqux@users.sourceforge.net) 2012 Pete Batard (pete@akeo.ie) 2013 Federico Manzan (f.manzan@gmail.com) License: GPL-2+ Files: host/libraries/libbladeRF/src/thirdparty/sha256.c Copyright: 2005 Colin Percival 2011 Guillem Jover 2013 Daniel Gröber License: BSD-2-clause and BSD-3-clause Files: host/libraries/libbladeRF/src/thirdparty/sha256.h Copyright: 2005 Colin Percival 2013 Daniel Gröber License: BSD-2-clause License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, see . On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/libbladerf0.dirs0000644000000000000000000000004312257341324012217 0ustar usr/share/bladerf lib/udev/rules.d debian/bladerf-host.manpages0000644000000000000000000000010412245534070013252 0ustar debian/bladeRF-install-firmware.1 debian/tmp/usr/share/man/man1/*.1 debian/libbladerf-dev.install0000644000000000000000000000007112225051557013422 0ustar usr/include usr/lib/*/pkgconfig usr/lib/*/libbladeRF*.so debian/bladerf-host.docs0000644000000000000000000000002712244503773012420 0ustar CONTRIBUTORS README.md debian/patches/0000755000000000000000000000000012257337207010625 5ustar debian/patches/cleanup-manpage0000644000000000000000000000107012257337207013603 0ustar --- a/host/utilities/bladeRF-cli/src/cmd/cmd.c +++ b/host/utilities/bladeRF-cli/src/cmd/cmd.c @@ -491,7 +491,7 @@ " are provided, the current parameters are printed.\n" "\n" "Running 'tx' without any additional commands is valid shorthand for\n" - "'tx config'.\n" + " 'tx config'.\n" "\n" "The wait command takes an optional timeout parameter. This parameter defaults\n" "to units of ms. The timeout unit may be specified using the ms, s, m, or h\n" debian/patches/series0000644000000000000000000000002012245533536012032 0ustar cleanup-manpage debian/libbladerf0.install0000644000000000000000000000007412257341273012733 0ustar usr/lib/*/*.so.* etc/udev/rules.d/*.rules lib/udev/rules.d/ debian/bladeRF-install-firmware.10000644000000000000000000000446412257340275014044 0ustar .TH "bladeRF-install-firmware" 1 "3.7.1" BLADERF "GNU Radio" .SH NAME bladeRF-install-firmware \- BladeRF Firmware Utility .SH SYNOPSIS .B bladeRF-install-firmware [\fI-h\fR] [\fIshow help\fR] [\fI-i imagedir\fR] [\fIimage_directory\fR] [\fI-f fpgaimage\fR] [\fIfpkg_image_file\fR] [\fI-u usbimage\fR] [\fIfx3_image_file\fR] .SH OPTIONS This program works best without any arguments. If you already have the firmware tarball and are wanting to install it on a system without Internet access, then you can run this script with that file as an argument. .SH DESCRIPTION The FPGA image is built using non-free software and is not distributed by Debian. This program makes it easier for the end user to get recommended images from Nuand.com. .LP The bladeRF-cli application is used to load the FX3 firmware and the FPGA firmware. .LP The FX3 firmware only needs to be loaded once: it is stored in flash, and survives power cycling. The FPGA image needs to be loaded every time. .LP Recommended firmware and FPGA images to use: FX3 Image: http://nuand.com/fx3/latest.img FPGA: http://nuand.com/fpga .SH AUTHOR This manual page was written by Maitland Bottoms for the Debian project (but may be used by others). .SH COPYRIGHT Copyright (c) 2013 A. Maitland Bottoms .LP Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: .LP The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. .LP THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .SH SEE ALSO bladeRF-cli(1) debian/control0000644000000000000000000000507712245505332010603 0ustar Source: bladerf Section: comm Priority: optional Maintainer: A. Maitland Bottoms Build-Depends: debhelper (>= 9), cmake (>= 2.8.4+dfsg.1-3), pkg-config, libusb-1.0-0-dev [linux-any], libusb2-dev [kfreebsd-any], libtecla1-dev, libncurses5-dev, python, help2man, doxygen Standards-Version: 3.9.4 Homepage: http://nuand.com/bladeRF Vcs-Browser: https://github.com/Nuand/bladeRF Vcs-Git: https://github.com/Nuand/bladeRF.git Package: bladerf-host Architecture: any Multi-Arch: foreign Depends: libbladerf0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, adduser Recommends: python-tk, curl, procps, udev Suggests: gnuradio Description: nuand bladeRF software-defined radio device (tools) Host utilities for nuand BladeRF USB 3.0 Superspeed Software Defined Radio. . The nuand bladeRF is an open-source software-defined radio (SDR) system, comprised of an RF transceiver, a field-programmable gate array (FPGA), a microcontroller driving a USB 3.0 interface, and a suite of host libraries and drivers to facilitate interaction with the device. . This package includes the command-line tools to locate and configure attached peripherals, to display hardware configuration information, and control the bladeRF. Package: libbladerf0 Architecture: any Section: libs Pre-Depends: multiarch-support, ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: gnuradio Multi-Arch: same Description: nuand bladeRF software-defined radio device (host library) Host library for nuand BladeRF USB 3.0 Superspeed Software Defined Radio. . The nuand bladeRF is an open-source software-defined radio (SDR) system, comprised of an RF transceiver, a field-programmable gate array (FPGA), a microcontroller driving a USB 3.0 interface, and a suite of host libraries and drivers to facilitate interaction with the device. . This package provides the host library. Package: libbladerf-dev Architecture: any Section: libdevel Multi-Arch: same Depends: libbladerf0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Suggests: libjs-jquery, gnuradio Description: nuand bladeRF software-defined radio device (header files) Development files for nuand BladeRF USB 3.0 Superspeed Software Defined Radio. . The nuand bladeRF is an open-source software-defined radio (SDR) system, comprised of an RF transceiver, a field-programmable gate array (FPGA), a microcontroller driving a USB 3.0 interface, and a suite of host libraries and drivers to facilitate interaction with the device. . This package contains the header files required for compiling bladeRF applications. debian/changelog0000644000000000000000000000051112257337247011051 0ustar bladerf (0.9.0.15.8ba2499-1) unstable; urgency=low * new upstream version -- A. Maitland Bottoms Fri, 27 Dec 2013 12:15:29 -0500 bladerf (0.8.0.14.9126eac-1) unstable; urgency=low * New Debian Package (Closes: #724967) -- A. Maitland Bottoms Mon, 25 Nov 2013 23:51:56 -0500 debian/README.Debian0000644000000000000000000000406112225046770011235 0ustar bladeRF USB 3.0 Superspeed Software Defined Radio hardware driver on Debian: ========================================================================= plugdev group ---------- The Debian bladerf-host package uses the plugdev group. This provides two main benefits: - Access control: The udev rules limit access to members of the group - Real Time Priority privilege: The pam limits setting allows the user to boost the thread scheduling priority for plugdev group members. To avail yourself of these benefits, add your username to the plugdev group, perhaps by running, as root something like: adduser myusername plugdev substituting your user name for myusername. Settings will not take effect until the user has logged in and out. Multiple packages ----------------- bladerf-host: The bladerf-host package contains the bladeRF-cli and bladeRF-flash commands for configuring devices available to the host system. libbladerf0: Small package just for the library itself. libbladerf-dev: Small package just for developing applications using the library itself. BLADERF Firmware / FPGA images -------------------------- The bladerf-images package is not part of the main Debian distribution because the FPGA firmware requires non-free vendor tools to compile from source. To manage this there is a download/install script in the bladerf-host package: The bladerf_install_firmware program is a shell script that either downloads FPGA image and firmware tarballs Nuand.com or takes the tarball file as a command-line argument, checks the md5sum, and installs the files. Get involved ------------ Come join us, and other RF developers, on IRC in #bladeRF on FreeNode (irc://chat.freenode.net). Our goal is to provide a place for collaboration and open discussion to further RF exploration and experimentation. We encourage people of all skill levels to join us. By getting involved, your input and feedback will help influence the direction in which the community will head. -- A. Maitland Bottoms , Mon, 7 Oct 2013 19:23:52 -0400 debian/bladerf-host.install0000644000000000000000000000001012225044116013114 0ustar usr/bin debian/bladerf-host.udev0000644000000000000000000000036712224134245012432 0ustar # nuand bladeRF ATTR{idVendor}=="1d50", ATTR{idProduct}=="6066", MODE="660", GROUP="plugdev" ATTR{idVendor}=="1d50", ATTR{idProduct}=="6080", MODE="660", GROUP="plugdev" ATTR{idVendor}=="04b4", ATTR{idProduct}=="00f3", MODE="660", GROUP="plugdev" debian/source/0000755000000000000000000000000011661232106010464 5ustar debian/source/format0000644000000000000000000000001411661232106011672 0ustar 3.0 (quilt) debian/bladeRF-install-firmware0000755000000000000000000000733012257340377013706 0ustar #!/bin/sh # # Title : bladeRF-install-firmware # Purpose : fetch non-free BladeRF firmware # Author : A. Maitland Bottoms # Date : 2013-10-10 # # Copyright 2013 A. Maitland Bottoms # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. set -e show_usage() { echo "Usage: $0 [-i imagedir] [imagetarball]" >&2 exit 1 } # Default values: # The imagedir is the path bladerf-host and libbladerf packages # use to find firmware. imagedir="/usr/share/bladerf/images" # The imagetarball is the source of firmware built with matching # source code. fx3imageurl="http://nuand.com/fx3/latest.img" fpga40imageurl="http://nuand.com/fpga/ddc81d0fb1b653227b5824d8d5fcb444556da175/hostedx40.rbf" fpga115imageurl="http://nuand.com/fpga/ddc81d0fb1b653227b5824d8d5fcb444556da175/hostedx115.rbf" fpgaimageurl="" usbimageurl="" while [ "$1" != "" ]; do case $1 in -h | --help ) show_usage exit 0 ;; -i | --imagedir ) shift imagedir=$1 ;; -f | --fpgafile ) shift fpgaimageurl=$1 ;; -u | --usbfile ) shift usbimageurl=$1 ;; * ) fpgaimageurl=$1 ;; esac shift done if mkdir -p $imagedir ; then if [ -w $imagedir ] ;then echo Using imagedir: $imagedir else echo You need to run this script as a user who can write to $imagedir exit 1 fi else echo You need to run this script as a user who can create $imagedir exit 1 fi tdir=`mktemp -d` fetchlist="" echo "Using tempdir:" $tdir if [ "x$fpgaimageurl" = "x" ] && [ "x$usbimageurl" = "x" ] ; then fetchlist="$fx3imageurl $fpga40imageurl $fpga115imageurl" else if [ "x$fpgaimageurl" != "x" ] ; then fetchlist="$fetchlist $fpgaimageurl" fi if [ "x$usbimageurl" != "x" ] ; then fetchlist="$fetchlist $usbimageurl" fi fi for item in $fetchlist; do echo "Using: " $item # if URL, fetch it first if echo $item | grep -q :// ; then echo Fetching $item ; if [ -x /usr/bin/wget ] ; then /usr/bin/wget --user-agent="Debian BladeRF image installer" -O $tdir/`basename $item` $item else curl --user-agent "Debian BladeRF image installer" -o $tdir/`basename $item` $item fi else if [ -f $item ] ; then echo Copying $item cp -p $item $tdir/ else echo "Cannot find" $item; show_usage exit 1 fi fi; cp -p $tdir/`basename $item` $imagedir/`basename $item` done for file in `ls $tdir`; do md5sum $file ; done rm -i -rf $tdir exit 0 debian/compat0000644000000000000000000000000211757553401010374 0ustar 9 debian/rules0000755000000000000000000000140712245526504010255 0ustar #!/usr/bin/make -f DEB_DEBIAN_DIR=$(dir $(firstword $(MAKEFILE_LIST))) VER=$(shell dpkg-parsechangelog -l$(DEB_DEBIAN_DIR)/changelog \ | sed -rne 's,^Version: ([^-]+).*,\1,p') GITREV=$(shell echo $(VER) | sed -rne 's,[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.([0-9]+),\1,p') %: dh $@ --parallel --sourcedirectory=host --builddirectory=build override_dh_auto_configure: debian/bladerf-host.udev dh_auto_configure --sourcedirectory=host --builddirectory=build -- -DVERSION_INFO_OVERRIDE:STRING=$(VER) -DENABLE_HOST_BUILD=ON -DENABLE_FX3_BUILD=OFF -DBUILD_DOCUMENTATION=ON get-orig-source: git clone https://github.com/Nuand/bladeRF.git cd bladeRF && git archive --format=tar --prefix=bladerf-$(VER)/ $(GITREV) | gzip > ../bladerf_$(VER).orig.tar.gz rm -rf bladeRF debian/watch0000644000000000000000000000021212244503773010221 0ustar version=3 opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/bladeRF-$1.tar.gz/ \ https://github.com/Nuand/bladeRF/tags .*/v?(\d\S*)\.tar\.gz