From 0ae1d72e83afcd099494c34c24848e9e56a2bb1f Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Fri, 5 Dec 2014 20:18:57 +0000 Subject: [PATCH] Initial work on raspbian packaging. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 20 ++++++++++++++++++++ debian/copyright | 37 +++++++++++++++++++++++++++++++++++++ debian/dump1090-mr.install | 3 +++ debian/rules | 18 ++++++++++++++++++ debian/source/format | 1 + 7 files changed, 85 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dump1090-mr.install create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f18cab6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +dump1090-mr (1.08.2302.14+1-1) UNRELEASED; urgency=medium + + * Initial package release. + + -- Oliver Jowett Fri, 05 Dec 2014 20:12:40 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..012b733 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: dump1090-mr +Section: embedded +Priority: extra +Maintainer: Oliver Jowett +Build-Depends: debhelper(>=8), net-tools, librtlsdr-dev +Standards-Version: 3.9.3 +Homepage: https://github.com/MalcolmRobb/dump1090 +Vcs-Git: https://github.com/mutability/dump1090.git -b mr-pi-package + +Package: dump1090-mr +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, net-tools, adduser +Description: ADS-B Ground Station System for RTL-SDR + Networked Aviation Mode S / ADS-B decoder/translator with RTL-SDR software + defined radio USB device support. + . + Includes a mini-webserver that you can access to see aircraft in the vicinity + of your receiver. + . + This is a packaging of MalcomRobb's fork of the original dump1090 version. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ce72a3f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,37 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: dump1090 +Upstream-Contact: https://github.com/MalcolmRobb +Source: https://github.com/MalcolmRobb/dump1090 + +Files: * +Copyright: Salvatore Sanfilippo, Malcom Robb and other contributors. +License: BSD-3-Clause + +Files: debian/* +Copyright: 2014 Oliver Jowett +License: BSD-3-Clause + +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. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 HOLDERS 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. diff --git a/debian/dump1090-mr.install b/debian/dump1090-mr.install new file mode 100644 index 0000000..a851311 --- /dev/null +++ b/debian/dump1090-mr.install @@ -0,0 +1,3 @@ +dump1090 usr/bin +view1090 usr/bin +public_html/* usr/share/dump1090 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9430a63 --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)