* Disable neon, it does not appear to be correctly behind runtime CPU detection.
[dgit import unpatched direwolf 1.6+dfsg-1+rpi1]
--- /dev/null
- /usr/share/doc/direwolf/examples/direwolf.conf.gz
+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/conf/direwolf.conf.gz
--- /dev/null
- ../CHANGES.md
++direwolf (1.6+dfsg-1+rpi1) bullseye-staging; urgency=medium
++
++ * Disable neon, it does not appear to be correctly behind runtime CPU detection.
++
++ -- Peter Michael Green <plugwash@raspbian.org> Thu, 07 Jul 2022 14:48:19 +0000
++
++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 <myon@debian.org> 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 <irl@debian.org> 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 <irl@debian.org> 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 <irl@debian.org> 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 <irl@debian.org> 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 <irl@debian.org> 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 <irl@debian.org> 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 <ana@netstat.org.uk> 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 <irl@debian.org> 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 <irl@debian.org> 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 <irl@debian.org> 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 <irl@fsfe.org> 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 <irl@fsfe.org> 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 <irl@fsfe.org> 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 <irl@fsfe.org> 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 <irl@fsfe.org> Fri, 07 Nov 2014 13:40:27 +0000
++
++direwolf (1.0-1) unstable; urgency=medium
++
++ * Initial release. (Closes: #759639)
++
++ -- Iain R. Learmonth <irl@fsfe.org> Sat, 11 Oct 2014 18:54:51 +0100
--- /dev/null
- Uploaders: Iain R. Learmonth <irl@debian.org>
+Source: direwolf
+Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
- Build-Depends: debhelper (>= 9),
++Uploaders: Christoph Berg <myon@debian.org>
+Section: hamradio
+Priority: optional
- 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
++Build-Depends: cmake,
++ debhelper-compat (= 13),
+ libasound2-dev,
+ libgps-dev,
+ libhamlib-dev,
- Architecture: alpha amd64 arm64 armel armhf i386 mipsel ppc64el sh4 x32
++ 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
- adduser,
- libhamlib2
- Suggests: gpsd, libhamlib-utils
++Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
- AX25, SARTrack, and many others.
++ 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.
--- /dev/null
- 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 <irl@fsfe.org>
+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 <http://www.gnu.org/licenses/>.
+ .
+ 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.
--- /dev/null
--- /dev/null
++# 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
--- /dev/null
--- /dev/null
++[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
--- /dev/null
--- /dev/null
++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
--- /dev/null
--- /dev/null
++--- 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
--- /dev/null
--- /dev/null
++Description: Disable neon, it does not appear to be correctly behind runtime CPU detection.
++Author: Peter Michael Green <plugwash@raspbian.org>
++
++--- direwolf-1.6+dfsg.orig/cmake/modules/FindCPUflags.cmake
+++++ direwolf-1.6+dfsg/cmake/modules/FindCPUflags.cmake
++@@ -356,17 +356,17 @@ elseif(ARCHITECTURE_ARM)
++ else()
++ try_run(RUN_NEON COMPILE_NEON "${CMAKE_BINARY_DIR}/tmp" "${TEST_DIR}/test_arm_neon.cxx" COMPILE_DEFINITIONS -mfpu=neon -O0)
++ endif()
++- if(COMPILE_NEON AND RUN_NEON EQUAL 0)
++- set(HAS_NEON ON CACHE BOOL "Architecture has NEON SIMD enabled")
++- message(STATUS "Use NEON SIMD instructions")
++- if(C_GCC OR C_CLANG)
++- set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=neon" )
++- set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=neon" )
++- add_definitions(-DUSE_NEON)
++- endif()
++- else()
+++ #if(COMPILE_NEON AND RUN_NEON EQUAL 0)
+++ # set(HAS_NEON ON CACHE BOOL "Architecture has NEON SIMD enabled")
+++ # message(STATUS "Use NEON SIMD instructions")
+++ # if(C_GCC OR C_CLANG)
+++ # set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=neon" )
+++ # set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=neon" )
+++ # add_definitions(-DUSE_NEON)
+++ # endif()
+++ #else()
++ set(HAS_NEON OFF CACHE BOOL "Architecture does not have NEON SIMD enabled")
++- endif()
+++ #endif()
++ elseif(ARCHITECTURE_ARM64)
++ # Advanced SIMD (aka NEON) is mandatory for AArch64
++ set(HAS_NEON ON CACHE BOOL "Architecture has NEON SIMD enabled")
--- /dev/null
--- /dev/null
++Description: Correct all mentions of the documentation path in the source code
++Author: Iain R. Learmonth <irl@fsfe.org>
++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);
--- /dev/null
--- /dev/null
++--- 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})
--- /dev/null
--- /dev/null
++--- 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})
--- /dev/null
--- /dev/null
++--- 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))
--- /dev/null
--- /dev/null
++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
++disable-neon.patch
--- /dev/null
- dh $@ --parallel
+#!/usr/bin/make -f
+
+%:
- dh_auto_configure -- -DFORCE_SSE=1
++ dh $@ --buildsystem=cmake
+
+override_dh_auto_configure:
++ dh_auto_configure -- -DBINARY_TERMINAL_BIN=/usr/bin/x-terminal-emulator
++
++override_dh_installsystemd:
++ dh_installsystemd --no-enable --no-start
--- /dev/null
- 3.0 (quilt)
++3.0 (quilt)
--- /dev/null
--- /dev/null
++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
--- /dev/null
--- /dev/null
++Bug-Database: https://github.com/wb2osz/direwolf/issues
--- /dev/null
--- /dev/null
++version=3
++opts=dversionmangle=s/.dfsg//,repacksuffix=+dfsg \
++https://github.com/wb2osz/direwolf/releases .*/archive/v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)