From: Christoph Berg Date: Sun, 3 Jan 2021 21:14:07 +0000 (+0000) Subject: direwolf (1.6+dfsg-1) unstable; urgency=medium X-Git-Tag: archive/raspbian/1.6+dfsg-2+rpi1~1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=860537b8b51c1740150f0fae30d24c8bac9ed849;p=direwolf.git direwolf (1.6+dfsg-1) unstable; urgency=medium * New upstream version, buildsystem switched to cmake. * Revert to Architecture: any, big endian is supported now. * B-D on libudev-dev [linux-any]. * Add debian/gitlab-ci.yml. * Adopt package from Ian, thanks! (Closes: #970374) [dgit import unpatched direwolf 1.6+dfsg-1] --- 860537b8b51c1740150f0fae30d24c8bac9ed849 diff --cc debian/README.Debian index 853f55f,0000000..93e209f mode 100644,000000..100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@@ -1,5 -1,0 +1,5 @@@ +In order to start direwolf as a service the configuration file +/etc/direwolf.conf needs to exist. Otherwise attempting to start the service +returns an 'Assertion failed' error. An example configuration file which may be +used as a model can be found in - /usr/share/doc/direwolf/examples/direwolf.conf.gz ++/usr/share/doc/direwolf/conf/direwolf.conf.gz diff --cc debian/changelog index cf54708,0000000..6196371 mode 120000,000000..100644 --- a/debian/changelog +++ b/debian/changelog @@@ -1,1 -1,0 +1,211 @@@ - ../CHANGES.md ++direwolf (1.6+dfsg-1) unstable; urgency=medium ++ ++ * New upstream version, buildsystem switched to cmake. ++ * Revert to Architecture: any, big endian is supported now. ++ * B-D on libudev-dev [linux-any]. ++ * Add debian/gitlab-ci.yml. ++ * Adopt package from Ian, thanks! (Closes: #970374) ++ ++ -- Christoph Berg Sun, 03 Jan 2021 22:14:07 +0100 ++ ++direwolf (1.5+dfsg-5) unstable; urgency=medium ++ ++ [ Debian Janitor ] ++ * Set debhelper-compat version in Build-Depends. ++ * Set upstream metadata fields: Bug-Database. ++ ++ [ Iain R. Learmonth ] ++ * Adds additional little-endian architectures (Fixes: #945297) ++ * Install kissutil (Fixes: #954431) ++ ++ -- Iain R. Learmonth Mon, 14 Sep 2020 13:45:57 +0100 ++ ++direwolf (1.5+dfsg-4) unstable; urgency=medium ++ ++ * Adds the audio supplemental group to the systemd service unit to allow the ++ use of the sound card when running as a system service ++ ++ -- Iain R. Learmonth Fri, 22 Nov 2019 16:48:53 +0000 ++ ++direwolf (1.5+dfsg-3) unstable; urgency=medium ++ ++ [ Bernd Zeimetz ] ++ * Don't be strict about the GPSD API (Closes: #926549) ++ ++ [ Iain R. Learmonth ] ++ * d/control: Standards version to 4.4.1 ++ ++ -- Iain R. Learmonth Mon, 28 Oct 2019 19:01:15 +0000 ++ ++direwolf (1.5+dfsg-2) unstable; urgency=medium ++ ++ [ Christian Ehrhardt ] ++ * Adds compatibility for newer GPSD versions (Closes: #926549) ++ ++ [ Iain R. Learmonth ] ++ * Adds support for hamlib rig control ++ - New build dependency libhamlib-dev ++ ++ -- Iain R. Learmonth Tue, 09 Jul 2019 09:51:48 +0100 ++ ++direwolf (1.5+dfsg-1) experimental; urgency=medium ++ ++ * New upstream version 1.5+dfsg ++ * debian/control: ++ - Removed obsolete build dependency on dh-systemd ++ - Updated Vcs-* fields for salsa ++ - Updated Standards Version to 4.3.0 ++ - Added adduser to and removed direwolf-docs from ++ dependencies for direwolf ++ * debian/patches: ++ - Refreshed patches ++ * debian/compat: ++ - Level bumped to 12 ++ * debian/rules: ++ - Use dh_installsystemd ++ * debian/copyright: ++ - Use https URL for format link ++ ++ -- Iain R. Learmonth Mon, 10 Jun 2019 18:48:29 +0100 ++ ++direwolf (1.4+dfsg-1) unstable; urgency=medium ++ ++ * New upstream version 1.4+dfsg ++ * The direwolf-docs binary package has been removed: ++ - This package depended on sources for the documentation being provided ++ by the author. For this release, it has not been possible to obtain ++ these sources and they have never been included in the releases directly. ++ * debian/control: ++ - Updated standards version to 4.1.0 ++ - Removed direwolf-docs binary package ++ - Added dependency on adduser, used by new scripts below ++ * debian/copyright: ++ - Refreshed to reflect moved files ++ - Added files to exclude for DFSG repack (the PDF documentation) ++ * debian/watch: ++ - use dversionmangle to remove dfsg before comparison ++ * debian/post{inst,rm}: ++ - New scripts create user and group used by the systemd service file if not ++ present (Closes: #855497) ++ ++ -- Iain R. Learmonth Fri, 15 Sep 2017 07:39:43 +0100 ++ ++direwolf (1.3-2) unstable; urgency=medium ++ ++ * Team upload ++ * Added systemd service file (Closes: #808827) ++ ++ -- Ana Custura Sun, 18 Sep 2016 14:24:50 +0100 ++ ++direwolf (1.3-1) unstable; urgency=medium ++ ++ * New upstream version ++ * Updated watch file to use GitHub releases ++ * debian/patches: ++ - Removed libgps22.patch (fixed upstream) ++ - Removed enable_gps.patch (fixed upstream) ++ - Removed fix_start_script_paths.patch (fixed upstream) ++ - Refreshed fix_spelling.patch (de-fuzz; submitted upstream) ++ - Refreshed fix_hardening-no-relro.patch (de-fuzz; submitted upstream) ++ - Refreshed fix_documentation_path.patch (de-fuzz) ++ * debian/source/include-binaries: ++ - New Word document sources added for the PDF documentation: ++ + debian/APRStt-Listening-Example.docx ++ + debian/A-Closer-Look-at-the-WA8LMF-TNC-Test-CD.docx ++ + debian/APRS-Telemetry-Toolkit.docx ++ + debian/APRStt-interface-for-SARTrack.docx ++ + debian/Raspberry-Pi-SDR-IGate.docx ++ * debian/control: ++ - Updated Homepage ++ - Updated Vcs-* URIs to secure versions ++ * debian/rules: ++ - Enable all hardening options in the build ++ - Remove gen_fff and direwolf.conf in clean target (Closes: #819384) ++ ++ -- Iain R. Learmonth Tue, 05 Jul 2016 22:14:07 +0100 ++ ++direwolf (1.2-3) unstable; urgency=medium ++ ++ * Allow for building only architecture-independent packages (Closes: #806015) ++ - Thanks Santiago Vila! ++ ++ -- Iain R. Learmonth Fri, 08 Apr 2016 21:40:24 +0100 ++ ++direwolf (1.2-2) unstable; urgency=medium ++ ++ * Allow building with gpsd API major version 6 (Closes: #803686) ++ - Thanks Bas Couwenberg! ++ * debian/control: ++ - Updated my email address in uploaders. ++ ++ -- Iain R. Learmonth Mon, 02 Nov 2015 14:15:36 +0000 ++ ++direwolf (1.2-1) unstable; urgency=medium ++ ++ * Update to new upstream version 1.2. ++ * Microsoft Word sources for PDF files: ++ - Added: ++ * A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.docx ++ * A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.docx ++ - Updated: ++ * APRStt-Implementation-Notes.docx ++ * Raspberry-Pi-APRS-Tracker.docx ++ * Raspberry-Pi-APRS.docx ++ * User-Guide.docx ++ - Removed: ++ * Quick-Start-Guide-Windows.docx ++ * debian/source/include-binaries: ++ - Allowed inclusion of new Microsoft Word sources and removed the removed ++ source. ++ * man pages: ++ - Dire Wolf now ships with its own man pages, using the upstream man pages ++ instead of the man pages created for Debian. ++ * debian/rules: ++ - Installation is now performed using dh instead of using the Makefile ++ * debian/direwolf-docs.doc-base: ++ - PDFs are now installed under the direwolf-docs doc directory ++ * debian/direwolf.examples: ++ - Installs the example direwolf.conf ++ * Refreshed patches: ++ - fix_documentation_path.patch (de-fuzz) ++ - enable_gps.patch (de-fuzz) ++ - fix_hardening-no-relro.patch (now adding LDFLAGS to CFLAGS instead of ++ passing LDFLAGS on every CC call) ++ - fix_spelling.patch (multiple new spelling fixes) ++ * debian/copyright: ++ - Dire Wolf now includes some code copied from geotranz ++ ++ -- Iain R. Learmonth Sat, 13 Jun 2015 19:58:02 +0100 ++ ++direwolf (1.1-2) unstable; urgency=medium ++ ++ * Added a Breaks+Replaces as files have moved between packages. (Closes: ++ #777674) ++ ++ -- Iain R. Learmonth Wed, 11 Feb 2015 14:52:06 +0000 ++ ++direwolf (1.1-1) unstable; urgency=medium ++ ++ * Update to new upstream version 1.1. ++ ++ -- Iain R. Learmonth Thu, 05 Feb 2015 00:32:28 +0000 ++ ++direwolf (1.0-3) unstable; urgency=medium ++ ++ * Changes architecture for direwolf from linux-any to a whitelist of ++ little-endian architectures. (Closes: #774389) ++ ++ -- Iain R. Learmonth Tue, 20 Jan 2015 05:32:05 +0000 ++ ++direwolf (1.0-2) unstable; urgency=medium ++ ++ * No longer install the ll2utm or utm2ll binaries or man pages. (Closes: ++ #768223) ++ ++ -- Iain R. Learmonth Fri, 07 Nov 2014 13:40:27 +0000 ++ ++direwolf (1.0-1) unstable; urgency=medium ++ ++ * Initial release. (Closes: #759639) ++ ++ -- Iain R. Learmonth Sat, 11 Oct 2014 18:54:51 +0100 diff --cc debian/control index 106663b,0000000..ae58802 mode 100644,000000..100644 --- a/debian/control +++ b/debian/control @@@ -1,30 -1,0 +1,31 @@@ +Source: direwolf +Maintainer: Debian Hamradio Maintainers - Uploaders: Iain R. Learmonth ++Uploaders: Christoph Berg +Section: hamradio +Priority: optional - Build-Depends: debhelper (>= 9), ++Build-Depends: cmake, ++ debhelper-compat (= 13), + libasound2-dev, + libgps-dev, + libhamlib-dev, - dh-systemd - Standards-Version: 4.1.0 - Vcs-Browser: https://anonscm.debian.org/cgit/pkg-hamradio/direwolf.git/ - Vcs-Git: https://anonscm.debian.org/git/pkg-hamradio/direwolf.git ++ libudev-dev [linux-any], ++ adduser ++Standards-Version: 4.5.0 ++Vcs-Browser: https://salsa.debian.org/debian-hamradio-team/direwolf ++Vcs-Git: https://salsa.debian.org/debian-hamradio-team/direwolf.git +Homepage: https://github.com/wb2osz/direwolf + +Package: direwolf - Architecture: alpha amd64 arm64 armel armhf i386 mipsel ppc64el sh4 x32 ++Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, - adduser, - libhamlib2 - Suggests: gpsd, libhamlib-utils ++ adduser ++Suggests: gpsd, python3 +Breaks: direwolf-docs (<< 1.1-1) +Replaces: direwolf-docs (<< 1.1-1) +Description: Soundcard TNC for APRS + Dire Wolf is a software "soundcard" modem/TNC and APRS encoder/decoder. It can + be used stand-alone to receive APRS messages, as a digipeater, APRStt gateway, + or Internet Gateway (IGate). It can also be used as a virtual TNC for other + applications such as APRSIS32, UI-View32, Xastir, APRS-TW, YAAC, UISS, Linux - AX25, SARTrack, and many others. ++ AX25, SARTrack, and many others. diff --cc debian/copyright index b546bf7,0000000..5a44354 mode 100644,000000..100644 --- a/debian/copyright +++ b/debian/copyright @@@ -1,176 -1,0 +1,176 @@@ - Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: direwolf - Files-Excluded: doc/*.pdf +Source: https://github.com/wb2osz/direwolf +Comment: + The files in misc/ are copied directly from the Cygwin source code. These are + listed here as dual licensed as they are both part of the Cygwin distribution + and originally part of BSD. See misc/README-dire-wolf.txt for more information. + . + Please see ftp-master's comments on this here: + https://lists.debian.org/debian-hams/2014/09/msg00063.html + https://lists.debian.org/debian-hams/2014/10/msg00003.html ++Files-Excluded: doc/*.pdf + +Files: * +Copyright: (C) 2011-2014 John Langner WB2OSZ +License: GPL-2+ + +Files: geotranz/* +Copyright: National Geospatial-Intelligence Agency +License: Permissive-NGA + +Files: regex/* +Copyright: (C) 2002, 2003, 2005 Free Software Foundation, Inc. +License: LGPL-2.1+ + +Files: misc/strcasestr.c +Copyright: + (C) 1990, 1993 The Regents of the University of California + (C) RedHat +License: BSD-4-clause or GPL-2+ + +Files: misc/strtok_r.c misc/strsep.c +Copyright: + (C) 1988 Regents of the University of California + (C) RedHat +License: BSD-3-clause or GPL-2+ + +Files: debian/* +Copyright: (C) 2014 Iain R. Learmonth +License: GPL-2+ + +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 REGENTS 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 REGENTS 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-4-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. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + This product includes software developed by the University of + California, Berkeley and its contributors. + . + 4. 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 REGENTS 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 REGENTS 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: GPL-2+ + This program 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 program 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, a copy of the full license text is available 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, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, a copy of the full license text is available in + /usr/share/common-licenses/LGPL-2.1. + +License: Permissive-NGA + 1. The GEOTRANS source code ("the software") is provided free of charge by the + National Geospatial-Intelligence Agency (NGA) of the United States Department + of Defense. Although NGA makes no copyright claim under Title 17 U.S.C., NGA + claims copyrights in the source code under other legal regimes. NGA hereby + grants to each user of the software a license to use and distribute the + software, and develop derivative works. + . + 2. NGA requests that products developed using the software credit the source of + the software with the following statement, "The product was developed using + GEOTRANS, a product of the National Geospatial-Intelligence Agency (NGA) and + U.S. Army Engineering Research and Development Center." Do not use the name + GEOTRANS for any derived work. + . + 3. Warranty Disclaimer: The software was developed to meet only the internal + requirements of the National Geospatial-Intelligence Agency (NGA). The software + is provided "as is," and no warranty, express or implied, including but not + limited to the implied warranties of merchantability and fitness for particular + purpose or arising by statute or otherwise in law or from a course of dealing + or usage in trade, is made by NGA as to the accuracy and functioning of the + software. + . + 4. NGA and its personnel are not required to provide technical support or + general assistance with respect to public use of the software. Government + customers may contact NGA. + . + 5. Neither NGA nor its personnel will be liable for any claims, losses, or + damages arising from or connected with the use of the software. The user agrees + to hold harmless the United States National Geospatial-Intelligence Agency + (NGA). The user's sole and exclusive remedy is to stop using the software. + . + 6. Please be advised that pursuant to the United States Code, 10 U.S.C. 425, + the name of the National Geospatial-Intelligence Agency, the initials "NGA", + the seal of the National Geospatial-Intelligence Agency, or any colorable + imitation thereof shall not be used to imply approval, endorsement, or + authorization of a product without prior written permission from United States + Secretary of Defense. Do not create the impression that NGA, the Secretary of + Defense or the Director of National Intelligence has endorsed any product - derived from GEOTRANS. ++ derived from GEOTRANS. diff --cc debian/direwolf.lintian-overrides index 0000000,0000000..66e9045 new file mode 100644 --- /dev/null +++ b/debian/direwolf.lintian-overrides @@@ -1,0 -1,0 +1,11 @@@ ++# These are used with extensions in the example config and should be treated as well-known names ++direwolf: script-with-language-extension usr/bin/dwespeak.sh ++direwolf: script-with-language-extension usr/bin/telem-balloon.pl ++direwolf: script-with-language-extension usr/bin/telem-bits.pl ++direwolf: script-with-language-extension usr/bin/telem-data.pl ++direwolf: script-with-language-extension usr/bin/telem-data91.pl ++direwolf: script-with-language-extension usr/bin/telem-eqns.pl ++direwolf: script-with-language-extension usr/bin/telem-parm.pl ++direwolf: script-with-language-extension usr/bin/telem-seq.sh ++direwolf: script-with-language-extension usr/bin/telem-unit.pl ++direwolf: script-with-language-extension usr/bin/telem-volts.py diff --cc debian/direwolf.service index 0000000,0000000..e6ed169 new file mode 100644 --- /dev/null +++ b/debian/direwolf.service @@@ -1,0 -1,0 +1,12 @@@ ++[Unit] ++Description=DireWolf is a software "soundcard" modem/TNC and APRS decoder ++Documentation=man:direwolf ++AssertPathExists=/etc/direwolf.conf ++ ++[Service] ++User=direwolf ++SupplementaryGroups=dialout audio ++ExecStart=/usr/bin/direwolf -c /etc/direwolf.conf ++ ++[Install] ++WantedBy=multi-user.target diff --cc debian/gitlab-ci.yml index 0000000,0000000..cd460cf new file mode 100644 --- /dev/null +++ b/debian/gitlab-ci.yml @@@ -1,0 -1,0 +1,6 @@@ ++include: ++ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml ++ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml ++ ++reprotest: ++ extends: .test-reprotest-diffoscope diff --cc debian/patches/desktop-main-category index 0000000,0000000..ef052a6 new file mode 100644 --- /dev/null +++ b/debian/patches/desktop-main-category @@@ -1,0 -1,0 +1,11 @@@ ++--- a/cmake/cpack/direwolf.desktop.in +++++ b/cmake/cpack/direwolf.desktop.in ++@@ -6,5 +6,5 @@ Icon=@CMAKE_PROJECT_NAME@_icon.png ++ StartupNotify=true ++ Terminal=false ++ Type=Application ++-Categories=HamRadio ++-Keywords=Ham Radio;APRS;Soundcard TNC;KISS;AGWPE;AX.25 ++\ No newline at end of file +++Categories=Network;HamRadio +++Keywords=Ham Radio;APRS;Soundcard TNC;KISS;AGWPE;AX.25 diff --cc debian/patches/fix_documentation_path.patch index 0000000,0000000..47b3d8a new file mode 100644 --- /dev/null +++ b/debian/patches/fix_documentation_path.patch @@@ -1,0 -1,0 +1,17 @@@ ++Description: Correct all mentions of the documentation path in the source code ++Author: Iain R. Learmonth ++Last-Update: 2014-09-08 ++ ++--- a/src/direwolf.c +++++ b/src/direwolf.c ++@@ -1513,7 +1513,10 @@ static void usage (char **argv) ++ dw_printf ("Complete documentation can be found in the 'doc' folder\n"); ++ #else ++ // TODO: Could vary by platform and build options. +++ /* ++ dw_printf ("Complete documentation can be found in /usr/local/share/doc/direwolf\n"); +++ */ +++ dw_printf ("Complete documentation can be found online at https://github.com/wb2osz/direwolf/tree/master/doc/.\n"); ++ #endif ++ dw_printf ("or online at https://github.com/wb2osz/direwolf/tree/master/doc\n"); ++ exit (EXIT_FAILURE); diff --cc debian/patches/lib-udev-rules index 0000000,0000000..f26221a new file mode 100644 --- /dev/null +++ b/debian/patches/lib-udev-rules @@@ -1,0 -1,0 +1,11 @@@ ++--- a/conf/CMakeLists.txt +++++ b/conf/CMakeLists.txt ++@@ -26,7 +26,7 @@ file(WRITE "${CMAKE_BINARY_DIR}/direwolf ++ ++ # install udev rules for CM108 ++ if(LINUX) ++- install(FILES "${CUSTOM_CONF_DIR}/99-direwolf-cmedia.rules" DESTINATION /etc/udev/rules.d/) +++ install(FILES "${CUSTOM_CONF_DIR}/99-direwolf-cmedia.rules" DESTINATION /lib/udev/rules.d/) ++ endif() ++ ++ install(FILES "${CMAKE_BINARY_DIR}/direwolf.conf" DESTINATION ${INSTALL_CONF_DIR}) diff --cc debian/patches/no-install-pdf index 0000000,0000000..ca604ab new file mode 100644 --- /dev/null +++ b/debian/patches/no-install-pdf @@@ -1,0 -1,0 +1,24 @@@ ++--- a/doc/CMakeLists.txt +++++ b/doc/CMakeLists.txt ++@@ -1,21 +1,2 @@ ++ ++ install(FILES "${CUSTOM_DOC_DIR}/README.md" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/2400-4800-PSK-for-APRS-Packet-Radio.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/A-Closer-Look-at-the-WA8LMF-TNC-Test-CD.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/AIS-Reception.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/APRS-Telemetry-Toolkit.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/APRStt-Implementation-Notes.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/APRStt-interface-for-SARTrack.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/APRStt-Listening-Example.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/AX25_plus_FEC_equals_FX25.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/Bluetooth-KISS-TNC.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/Going-beyond-9600-baud.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/Raspberry-Pi-APRS.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/Raspberry-Pi-APRS-Tracker.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/Raspberry-Pi-SDR-IGate.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/Successful-APRS-IGate-Operation.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/User-Guide.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/WA8LMF-TNC-Test-CD-Results.pdf" DESTINATION ${INSTALL_DOC_DIR}) ++-install(FILES "${CUSTOM_DOC_DIR}/Why-is-9600-only-twice-as-fast-as-1200.pdf" DESTINATION ${INSTALL_DOC_DIR}) diff --cc debian/patches/python3 index 0000000,0000000..d8f2895 new file mode 100644 --- /dev/null +++ b/debian/patches/python3 @@@ -1,0 -1,0 +1,14 @@@ ++--- a/scripts/telemetry-toolkit/telem-volts.py +++++ b/scripts/telemetry-toolkit/telem-volts.py ++@@ -1,4 +1,4 @@ ++-#!/usr/bin/python +++#!/usr/bin/python3 ++ ++ # Part of Dire Wolf APRS Telemetry Toolkit, WB2OSZ, 2015 ++ ++@@ -33,4 +33,4 @@ volts = adc.readADCSingleEnded(0, gain, ++ # (multiply by expected value, divide by uncalibrated result.) ++ #volts = volts * 4.98 / 4.889 ++ ++-print "%.3f" % (volts) +++print("%.3f" % (volts)) diff --cc debian/patches/series index 0000000,0000000..c97e68d new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,7 @@@ ++fix_documentation_path.patch ++#fix_hardening-no-relro.patch ++#Issue-196-Compatibility-with-GPSD-API-7.patch ++no-install-pdf ++python3 ++desktop-main-category ++lib-udev-rules diff --cc debian/rules index b8c2222,0000000..efbb26f mode 100644,000000..100755 --- a/debian/rules +++ b/debian/rules @@@ -1,7 -1,0 +1,10 @@@ +#!/usr/bin/make -f + +%: - dh $@ --parallel ++ dh $@ --buildsystem=cmake + +override_dh_auto_configure: - dh_auto_configure -- -DFORCE_SSE=1 ++ dh_auto_configure -- -DBINARY_TERMINAL_BIN=/usr/bin/x-terminal-emulator ++ ++override_dh_installsystemd: ++ dh_installsystemd --no-enable --no-start diff --cc debian/source/format index 46ebe02,0000000..163aaf8 mode 100644,000000..100644 --- a/debian/source/format +++ b/debian/source/format @@@ -1,1 -1,0 +1,1 @@@ - 3.0 (quilt) ++3.0 (quilt) diff --cc debian/source/include-binaries index 0000000,0000000..15a7103 new file mode 100644 --- /dev/null +++ b/debian/source/include-binaries @@@ -1,0 -1,0 +1,12 @@@ ++debian/APRStt-Implementation-Notes.docx ++debian/Raspberry-Pi-APRS.docx ++debian/User-Guide.docx ++debian/Raspberry-Pi-APRS-Tracker.docx ++debian/A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.docx ++debian/A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.docx ++debian/WA8LMF-TNC-Test-CD-Results.docx ++debian/APRStt-Listening-Example.docx ++debian/A-Closer-Look-at-the-WA8LMF-TNC-Test-CD.docx ++debian/APRS-Telemetry-Toolkit.docx ++debian/APRStt-interface-for-SARTrack.docx ++debian/Raspberry-Pi-SDR-IGate.docx diff --cc debian/upstream/metadata index 0000000,0000000..12777b6 new file mode 100644 --- /dev/null +++ b/debian/upstream/metadata @@@ -1,0 -1,0 +1,1 @@@ ++Bug-Database: https://github.com/wb2osz/direwolf/issues diff --cc debian/watch index 0000000,0000000..75214c7 new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,3 @@@ ++version=3 ++opts=dversionmangle=s/.dfsg//,repacksuffix=+dfsg \ ++https://github.com/wb2osz/direwolf/releases .*/archive/v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)