[hamradio-commits] [direwolf] 02/03: Initial commit of Debian packaging files

Iain Learmonth irl-guest at moszumanska.debian.org
Sat Oct 11 18:03:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

irl-guest pushed a commit to annotated tag debian/1.0-1
in repository direwolf.

commit 3cb98416958dfc1a10cb9edd7b5d575608eb3cbc
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Sat Oct 11 18:08:22 2014 +0100

    Initial commit of Debian packaging files
    
     * Wrote man pages for aclients, decode_aprs, direwolf, ll2utm, text2tt,
       tt2text and utm2ll.
     * Included patches for fixing paths throughout the source code and the
       desktop file.
     * Included patch for allowing flags to be inherited from
       dpkg-buildflags.
     * Source Microsoft Word documents are now included in d/ for the PDF
       documentation along with a d/README.source that explains that these
       need to be rebuilt manually.
---
 debian/APRStt-Implementation-Notes.docx     | Bin 0 -> 104746 bytes
 debian/Quick-Start-Guide-Windows.docx       | Bin 0 -> 680719 bytes
 debian/README.source                        |   9 ++
 debian/Raspberry-Pi-APRS.docx               | Bin 0 -> 328619 bytes
 debian/User-Guide.docx                      | Bin 0 -> 1407920 bytes
 debian/changelog                            |   5 ++
 debian/compat                               |   1 +
 debian/control                              |  34 +++++++
 debian/copyright                            | 132 +++++++++++++++++++++++++++
 debian/direwolf-docs.doc-base               |   9 ++
 debian/direwolf-docs.manpages               |   1 +
 debian/manpages/aclients.1                  |  60 +++++++++++++
 debian/manpages/decode_aprs.1               |  36 ++++++++
 debian/manpages/direwolf.1                  | 102 +++++++++++++++++++++
 debian/manpages/ll2utm.1                    |  36 ++++++++
 debian/manpages/text2tt.1                   |  36 ++++++++
 debian/manpages/tt2text.1                   |  36 ++++++++
 debian/manpages/utm2ll.1                    |  41 +++++++++
 debian/patches/fix_desktop_file.patch       |  27 ++++++
 debian/patches/fix_documentation_path.patch |  15 ++++
 debian/patches/fix_hardening-no-relro.patch | 135 ++++++++++++++++++++++++++++
 debian/patches/fix_start_script_paths.patch |  23 +++++
 debian/patches/makefile_install.patch       |  57 ++++++++++++
 debian/patches/series                       |   5 ++
 debian/rules                                |  15 ++++
 debian/source/format                        |   1 +
 debian/source/include-binaries              |   4 +
 debian/watch                                |   4 +
 28 files changed, 824 insertions(+)

diff --git a/debian/APRStt-Implementation-Notes.docx b/debian/APRStt-Implementation-Notes.docx
new file mode 100644
index 0000000..ea0acb0
Binary files /dev/null and b/debian/APRStt-Implementation-Notes.docx differ
diff --git a/debian/Quick-Start-Guide-Windows.docx b/debian/Quick-Start-Guide-Windows.docx
new file mode 100644
index 0000000..db73dd6
Binary files /dev/null and b/debian/Quick-Start-Guide-Windows.docx differ
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..3d43daa
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+
+The documentation PDFs are built from the corresponding *.docx Microsoft Word
+documents in the debian/ directory. These are produced using the Save As PDF
+function in Microsoft Word.
+
+The PDFs are included in the source package to remove the need to automate this
+PDF creation as part of the build process. If these documents are modified, the
+corresponding PDFs should be reproduced.
+
diff --git a/debian/Raspberry-Pi-APRS.docx b/debian/Raspberry-Pi-APRS.docx
new file mode 100644
index 0000000..b9ed3dd
Binary files /dev/null and b/debian/Raspberry-Pi-APRS.docx differ
diff --git a/debian/User-Guide.docx b/debian/User-Guide.docx
new file mode 100644
index 0000000..955772a
Binary files /dev/null and b/debian/User-Guide.docx differ
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..432d524
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+direwolf (1.0-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #759639)
+
+ -- Iain R. Learmonth <irl at fsfe.org>  Sat, 11 Oct 2014 18:28:52 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ac0702e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: direwolf
+Section: hamradio
+Priority: optional
+Maintainer: Debian Hamradio Maintainers <debian-hams at lists.debian.org>
+Uploaders: Iain R. Learmonth <irl at fsfe.org>
+Build-Depends: debhelper (>= 9), libasound2-dev
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-hamradio/direwolf.git/
+Vcs-Git: git://anonscm.debian.org/pkg-hamradio/direwolf.git
+Homepage: http://home.comcast.net/~wb2osz/site/
+
+Package: direwolf
+Architecture: linux-any
+Depends: ${shlibs:Depends}, ${misc:Depends}, direwolf-docs
+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.
+
+Package: direwolf-docs
+Architecture: all
+Section: doc
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Soundcard TNC for APRS - Documentation
+ 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.
+ .
+ This package contains architecture independent documentation for direwolf.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8fd4668
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,132 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: direwolf
+Source: http://home.comcast.net/~wb2osz/site/
+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: *
+Copyright: © 2011-2014 John Langner WB2OSZ
+License: GPL-2+
+
+Files: regex/*
+Copyright: © 2002, 2003, 2005 Free Software Foundation, Inc.
+License: LGPL-2.1+
+
+Files: misc/strcasestr.c
+Copyright: 
+ © 1990, 1993 The Regents of the University of California
+ © RedHat
+License: BSD-4-clause or GPL-2+
+
+Files: misc/strtok_r.c misc/strsep.c
+Copyright:
+ © 1988 Regents of the University of California
+ © RedHat
+License: BSD-3-clause or GPL-2+
+
+Files: debian/*
+Copyright: © 2014 Iain R. Learmonth <irl at 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.
+
diff --git a/debian/direwolf-docs.doc-base b/debian/direwolf-docs.doc-base
new file mode 100644
index 0000000..c1a5318
--- /dev/null
+++ b/debian/direwolf-docs.doc-base
@@ -0,0 +1,9 @@
+Document: direwolf
+Title: Dire Wolf Documentation
+Author: John Langner WB2OSZ
+Abstract: This manual describes the functionality and usage of Dire Wolf.
+Section: Amateur Radio
+
+Format: pdf
+Files: /usr/share/doc/direwolf/User-Guide.pdf.gz
+
diff --git a/debian/direwolf-docs.manpages b/debian/direwolf-docs.manpages
new file mode 100644
index 0000000..4cd44fd
--- /dev/null
+++ b/debian/direwolf-docs.manpages
@@ -0,0 +1 @@
+debian/manpages/*.1
diff --git a/debian/manpages/aclients.1 b/debian/manpages/aclients.1
new file mode 100644
index 0000000..9fabdd4
--- /dev/null
+++ b/debian/manpages/aclients.1
@@ -0,0 +1,60 @@
+
+.TH aclients 1 "September 2014" "aclients(1)" "Ham Radio Applications"
+
+.SH NAME
+\fBaclients\fR \- Compare APRS clients
+
+.SH SYNOPSIS
+
+\fBaclients\fR \fBport=type\fR\ [\fBport=type\fR [\fBport=type\fR ...]]
+
+.SH DESCRIPTION
+
+aclients connects to up to 6 TNC applications at the same time and prints the packets in columns. From a distance, it’s easy to see the general trend of how they compare. Periodically total numbers of packets received are printed.
+
+.SH OPTIONS
+
+.PP
+port
+.RS 4
+Either a local TCP port number or device path for a serial interface (e.g. /dev/ttySX).
+.RE
+.PP
+type
+.RS 4
+One of the following:
+.RS 2
+AWGPE - AWG Packet Engine
+.br
+UZ7HO - UZ7HO Soundmodem
+.br
+DireWolf - Dire Wolf
+.br
+KPC3+ - Kantronics KPC-3+
+.br
+D710A - Kenwood TM-D710A
+.RE
+.RE
+
+.SH "AUTHORS"
+
+Dire Wolf is Copyright \(co 2011-2014 John Langner WB2OSZ\&.
+
+.SH "COPYRIGHT"
+.br
+This manual page is Copyright \(co 2014 Iain R. Learmonth\&.
+.br
+.PP
+This manual page was written for the Debian system (but may be used by others)\&.
+.PP
+Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&.
+.PP
+On Debian systems, the complete text of the GNU General Public License can be found in
+/usr/share/common\-licenses/GPL-2\&.
+
+.SH "SEE ALSO"
+
+direwolf(1)
+
+.sp
+
diff --git a/debian/manpages/decode_aprs.1 b/debian/manpages/decode_aprs.1
new file mode 100644
index 0000000..03d7eb7
--- /dev/null
+++ b/debian/manpages/decode_aprs.1
@@ -0,0 +1,36 @@
+
+.TH decode_aprs 1 "September 2014" "decode_aprs(1)" "Ham Radio Applications"
+
+.SH NAME
+\fBdecode_aprs\fR \- Decode ARPS messages
+
+.SH SYNOPSIS
+
+\fBdecode_aprs\fR
+
+.SH DESCRIPTION
+
+decode_aprs accepts raw APRS messages on stdin and decodes them printing the output on stdout.
+
+.SH "AUTHORS"
+
+Dire Wolf is Copyright \(co 2011-2014 John Langner WB2OSZ\&.
+
+.SH "COPYRIGHT"
+.br
+This manual page is Copyright \(co 2014 Iain R. Learmonth\&.
+.br
+.PP
+This manual page was written for the Debian system (but may be used by others)\&.
+.PP
+Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&.
+.PP
+On Debian systems, the complete text of the GNU General Public License can be found in
+/usr/share/common\-licenses/GPL-2\&.
+
+.SH "SEE ALSO"
+
+direwolf(1)
+
+.sp
+
diff --git a/debian/manpages/direwolf.1 b/debian/manpages/direwolf.1
new file mode 100644
index 0000000..3b9a469
--- /dev/null
+++ b/debian/manpages/direwolf.1
@@ -0,0 +1,102 @@
+
+.TH direwolf 1 "September 2014" "direwolf(1)" "Ham Radio Applications"
+
+.SH NAME
+\fBdirewolf\fR \- Soundcard TNC for APRS
+
+.SH SYNOPSIS
+
+\fBdirewolf\fR [\fBoptions\fR]
+
+.SH DESCRIPTION
+
+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.
+
+.SH OPTIONS
+
+.PP
+\fB\-c \fR\fB\fIfilename\fR\fR
+.RS 4
+Configuration file name.
+.RE
+.PP
+\fB\-r \fR\fB\fIn\fR\fR
+.RS 4
+Audio sample rate, per sec.
+.RE
+.PP
+\fB\-n \fR\fB\fIn\fR\fR
+.RS 4
+Number of audio channels, 1 or 2.
+.RE
+.PP
+\fB\-b \fR\fB\fIn\fR\fR
+.RS 4
+Bits per audio sample, 8 or 16.
+.RE
+.PP
+\fB\-B \fR\fB\fIn\fR\fR
+.RS 4
+Data rate in bits/sec.  Standard values are 300, 1200, 9600. If < 600, AFSK tones are set to 1600 & 1800. If > 2400, K9NG/G3RUH style encoding is used. Otherwise, AFSK tones are set to 1200 & 2200.
+.RE
+.PP
+\fB\-d \fR\fB\fIselector\fR\fR
+.RS 4
+Debug communication with client application, one of:
+.RS 2
+a = AGWPE network protocol.
+.br
+k = KISS serial port.
+.br
+n = KISS network.
+.br
+u = Display non-ASCII text in hexadecimal.
+.RE
+.RE
+.PP
+\fB\-t \fR\fB\fIn\fR\fR
+.RS 4
+Text colors. 1=normal, 0=disabled.
+.RE
+.PP
+\fB\-p \fR\fB\fIn\fR\fR
+.RS 4
+Enable pseudo terminal for KISS protocol.
+.RE
+.PP
+\fB\-x \fR\fB\fIn\fR\fR
+.RS 4
+Send Xmit level calibration tones.
+.RE
+.PP
+\fB\-U \fR\fB\fIn\fR\fR
+.RS 4
+Print UTF-8 test string and exit.
+.RE
+
+.SH "AUTHORS"
+
+Dire Wolf is Copyright \(co 2011-2014 John Langner WB2OSZ\&.
+
+.SH "COPYRIGHT"
+.br
+This manual page is Copyright \(co 2014 Iain R. Learmonth\&.
+.br
+.PP
+This manual page was written for the Debian system (but may be used by others)\&.
+.PP
+Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&.
+.PP
+On Debian systems, the complete text of the GNU General Public License can be found in
+/usr/share/common\-licenses/GPL-2\&.
+
+.SH "SEE ALSO"
+
+aclients(1), decode_aprs(1), ll2utm(1), text2tt(1), tt2text(1), utm2ll(1)
+
+.sp
+
diff --git a/debian/manpages/ll2utm.1 b/debian/manpages/ll2utm.1
new file mode 100644
index 0000000..0e15f12
--- /dev/null
+++ b/debian/manpages/ll2utm.1
@@ -0,0 +1,36 @@
+
+.TH ll2utm 1 "September 2014" "ll2utm(1)" "Ham Radio Applications"
+
+.SH NAME
+\fBll2utm\fR \- Latitude / Longitude to UTM conversion
+
+.SH SYNOPSIS
+
+\fBll2utm\fR \fBlatitude\fR \fBlongitude\fR
+
+.SH OPTIONS
+
+The latitude and longitude must be in decimal degrees. Use negative for south or west.
+
+.SH "AUTHORS"
+
+Dire Wolf is Copyright \(co 2011-2014 John Langner WB2OSZ\&.
+
+.SH "COPYRIGHT"
+.br
+This manual page is Copyright \(co 2014 Iain R. Learmonth\&.
+.br
+.PP
+This manual page was written for the Debian system (but may be used by others)\&.
+.PP
+Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&.
+.PP
+On Debian systems, the complete text of the GNU General Public License can be found in
+/usr/share/common\-licenses/GPL-2\&.
+
+.SH "SEE ALSO"
+
+direwolf(1), utm2ll(1)
+
+.sp
+
diff --git a/debian/manpages/text2tt.1 b/debian/manpages/text2tt.1
new file mode 100644
index 0000000..025c03e
--- /dev/null
+++ b/debian/manpages/text2tt.1
@@ -0,0 +1,36 @@
+
+.TH text2tt 1 "September 2014" "text2tt(1)" "Ham Radio Applications"
+
+.SH NAME
+\fBtext2tt\fR \- Convert text to APRStt
+
+.SH SYNOPSIS
+
+\fBtext2tt\fR \fBtext\fR\
+
+.SH OPTIONS
+
+Simply pass the text to convert as the command line argument.
+
+.SH "AUTHORS"
+
+Dire Wolf is Copyright \(co 2011-2014 John Langner WB2OSZ\&.
+
+.SH "COPYRIGHT"
+.br
+This manual page is Copyright \(co 2014 Iain R. Learmonth\&.
+.br
+.PP
+This manual page was written for the Debian system (but may be used by others)\&.
+.PP
+Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&.
+.PP
+On Debian systems, the complete text of the GNU General Public License can be found in
+/usr/share/common\-licenses/GPL-2\&.
+
+.SH "SEE ALSO"
+
+direwolf(1), tt2text(1)
+
+.sp
+
diff --git a/debian/manpages/tt2text.1 b/debian/manpages/tt2text.1
new file mode 100644
index 0000000..c589ebc
--- /dev/null
+++ b/debian/manpages/tt2text.1
@@ -0,0 +1,36 @@
+
+.TH tt2text 1 "September 2014" "tt2text(1)" "Ham Radio Applications"
+
+.SH NAME
+\fBtt2text\fR \- Convert APRStt to text
+
+.SH SYNOPSIS
+
+\fBtt2text\fR \fBtext\fR\
+
+.SH OPTIONS
+
+Simply pass the keypresses to convert as the command line argument.
+
+.SH "AUTHORS"
+
+Dire Wolf is Copyright \(co 2011-2014 John Langner WB2OSZ\&.
+
+.SH "COPYRIGHT"
+.br
+This manual page is Copyright \(co 2014 Iain R. Learmonth\&.
+.br
+.PP
+This manual page was written for the Debian system (but may be used by others)\&.
+.PP
+Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&.
+.PP
+On Debian systems, the complete text of the GNU General Public License can be found in
+/usr/share/common\-licenses/GPL-2\&.
+
+.SH "SEE ALSO"
+
+direwolf(1), text2tt(1)
+
+.sp
+
diff --git a/debian/manpages/utm2ll.1 b/debian/manpages/utm2ll.1
new file mode 100644
index 0000000..d2c351b
--- /dev/null
+++ b/debian/manpages/utm2ll.1
@@ -0,0 +1,41 @@
+
+.TH utm2ll 1 "September 2014" "utm2ll(1)" "Ham Radio Applications"
+
+.SH NAME
+\fButm2ll\fR \- UTM to Latitude / Longitude conversion
+
+.SH SYNOPSIS
+
+\fButm2ll\fR \fBzone\fR \fBeasting\fR \fBnorthing\fR
+
+.SH OPTIONS
+
+.PP
+zone \- UTM zone 1 thru 60 with optional latitudinal band
+.PP
+easting \- x coordinate in meters
+.PP
+northing \- y coordinate in meters
+
+.SH "AUTHORS"
+
+Dire Wolf is Copyright \(co 2011-2014 John Langner WB2OSZ\&.
+
+.SH "COPYRIGHT"
+.br
+This manual page is Copyright \(co 2014 Iain R. Learmonth\&.
+.br
+.PP
+This manual page was written for the Debian system (but may be used by others)\&.
+.PP
+Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&.
+.PP
+On Debian systems, the complete text of the GNU General Public License can be found in
+/usr/share/common\-licenses/GPL-2\&.
+
+.SH "SEE ALSO"
+
+direwolf(1), ll2utm(1)
+
+.sp
+
diff --git a/debian/patches/fix_desktop_file.patch b/debian/patches/fix_desktop_file.patch
new file mode 100644
index 0000000..ffaf73e
--- /dev/null
+++ b/debian/patches/fix_desktop_file.patch
@@ -0,0 +1,27 @@
+Description: Update .desktop file with correct paths, category and line endings
+Author: Iain R. Learmonth <irl at fsfe.org>
+Last-Update: 2014-09-08
+
+--- direwolf.orig/direwolf.desktop
++++ direwolf/direwolf.desktop
+@@ -1,10 +1,9 @@
+-[Desktop Entry]
+-Type=Application
+-Exec=lxterminal -t "Dire Wolf" -e "/usr/local/bin/direwolf"
+-Name=Dire Wolf
+-Comment=APRS Soundcard TNC
+-Icon=/usr/share/direwolf/dw-icon.png
+-Path=/home/pi
+-#Terminal=true
+-Categories=HamRadio
+-Keywords=Ham Radio;APRS;Soundcard TNC;KISS;AGWPE;AX.25
+\ No newline at end of file
++[Desktop Entry]
++Type=Application
++Exec=/usr/bin/direwolf
++Name=Dire Wolf
++Comment=APRS Soundcard TNC
++Icon=/usr/share/direwolf/dw-icon.png
++Terminal=true
++Categories=Network;HamRadio
++Keywords=Ham Radio;APRS;Soundcard TNC;KISS;AGWPE;AX.25
diff --git a/debian/patches/fix_documentation_path.patch b/debian/patches/fix_documentation_path.patch
new file mode 100644
index 0000000..1b6ff1c
--- /dev/null
+++ b/debian/patches/fix_documentation_path.patch
@@ -0,0 +1,15 @@
+Description: Correct all mentions of the documentation path in the source code
+Author: Iain R. Learmonth <irl at fsfe.org>
+Last-Update: 2014-09-08
+
+--- direwolf.orig/direwolf.c
++++ direwolf/direwolf.c
+@@ -875,7 +875,7 @@
+ 
+ #if __WIN32__
+ #else
+-	dw_printf ("Complete documentation can be found in /usr/local/share/doc/direwolf.\n");
++	dw_printf ("Complete documentation can be found in /usr/share/doc/direwolf.\n");
+ #endif
+ 	exit (EXIT_FAILURE);
+ }
diff --git a/debian/patches/fix_hardening-no-relro.patch b/debian/patches/fix_hardening-no-relro.patch
new file mode 100644
index 0000000..36bdc04
--- /dev/null
+++ b/debian/patches/fix_hardening-no-relro.patch
@@ -0,0 +1,135 @@
+Description: Do not override and ensure use of CFLAGS and LDFLAGS
+Author: Iain R. Learmonth <irl at fsfe.org>
+Last-Update: 2014-09-08
+
+--- direwolf.orig/Makefile.linux
++++ direwolf/Makefile.linux
+@@ -81,9 +81,9 @@
+ arch := $(shell echo | gcc -E -dM - | grep __i386__)
+ 
+ ifneq ($(arch),)
+-CFLAGS := -DUSE_ALSA -O3 -march=pentium3 -pthread
++CFLAGS += -DUSE_ALSA -O3 -march=pentium3 -pthread ${CPPFLAGS}
+ else
+-CFLAGS := -DUSE_ALSA -O3 -pthread
++CFLAGS += -DUSE_ALSA -O3 -pthread ${CPPFLAGS}
+ endif
+ 
+ 
+@@ -109,7 +109,7 @@
+ 		ptt.o beacon.o dwgps.o encode_aprs.o latlong.o encode_aprs.o latlong.o textcolor.o \
+ 		dtmf.o aprs_tt.o tt_user.o tt_text.o igate.o \
+ 		utm.a
+-	$(CC) $(CFLAGS) -o $@ $^ -lpthread -lrt -lasound $(LDLIBS) -lm
++	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lpthread -lrt -lasound $(LDLIBS) -lm
+ 
+ 
+ # Optimization for slow processors.
+@@ -120,7 +120,7 @@
+ 
+ 
+ fsk_fast_filter.h : demod_afsk.c
+-	$(CC) $(CFLAGS) -o gen_fff -DGEN_FFF demod_afsk.c dsp.c textcolor.c -lm
++	$(CC) $(CFLAGS) $(LDFLAGS) -o gen_fff -DGEN_FFF demod_afsk.c dsp.c textcolor.c -lm
+ 	./gen_fff > fsk_fast_filter.h
+ 
+ 
+@@ -129,7 +129,7 @@
+ 	ar -cr $@ $^
+ 
+ LatLong-UTMconversion.o : utm/LatLong-UTMconversion.c
+-	$(CC) $(CFLAGS) -c -o $@ $^
++	$(CC) $(CFLAGS) $(LDFLAGS) -c -o $@ $^
+ 
+ 
+ # Optional install step. 
+@@ -166,40 +166,40 @@
+ # Separate application to decode raw data.
+ 
+ decode_aprs : decode_aprs.c symbols.c ax25_pad.c textcolor.c fcs_calc.c
+-	$(CC) $(CFLAGS) -o decode_aprs -DTEST $^ -lm
++	$(CC) $(CFLAGS) $(LDFLAGS) -o decode_aprs -DTEST $^ -lm
+ 
+ 
+ 
+ # Convert between text and touch tone representation.
+ 
+ text2tt : tt_text.c
+-	$(CC) $(CFLAGS) -DENC_MAIN -o text2tt tt_text.c
++	$(CC) $(CFLAGS) $(LDFLAGS) -DENC_MAIN -o text2tt tt_text.c
+ 
+ tt2text : tt_text.c
+-	$(CC) $(CFLAGS) -DDEC_MAIN -o tt2text tt_text.c
++	$(CC) $(CFLAGS) $(LDFLAGS) -DDEC_MAIN -o tt2text tt_text.c
+ 
+ 
+ # Convert between Latitude/Longitude and UTM coordinates.
+ 
+ ll2utm : ll2utm.c utm.a
+-	$(CC) $(CFLAGS) -I utm -o $@ $^ -lm
++	$(CC) $(CFLAGS) $(LDFLAGS) -I utm -o $@ $^ -lm
+ 
+ utm2ll : utm2ll.c utm.a
+-	$(CC) $(CFLAGS) -I utm -o $@ $^ -lm
++	$(CC) $(CFLAGS) $(LDFLAGS) -I utm -o $@ $^ -lm
+ 
+ 
+ 
+ # Test application to generate sound.
+ 
+ gen_packets : gen_packets.c ax25_pad.c hdlc_send.c fcs_calc.c gen_tone.c textcolor.c 
+-	$(CC) $(CFLAGS) -o $@ $^ -lasound -lm
++	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lasound -lm
+ 
+ demod.o : tune.h
+ demod_afsk.o : tune.h
+ demod_9600.o : tune.h
+ 
+ testagc : atest.c demod.c dsp.c demod_afsk.c demod_9600.c hdlc_rec.c hdlc_rec2.o multi_modem.o rrbb.o fcs_calc.c ax25_pad.c decode_aprs.c symbols.c tune.h textcolor.c
+-	$(CC) $(CFLAGS) -o atest $^ -lm
++	$(CC) $(CFLAGS) $(LDFLAGS) -o atest $^ -lm
+ 	./atest 02_Track_2.wav | grep "packets decoded in" > atest.out
+ 
+ 
+@@ -207,14 +207,14 @@
+ 
+ 
+ atest : atest.c demod.c dsp.c demod_afsk.c demod_9600.c hdlc_rec.c hdlc_rec2.o multi_modem.o rrbb.o fcs_calc.c ax25_pad.c decode_aprs.c symbols.c textcolor.c
+-	$(CC) $(CFLAGS) -o $@ $^ -lm
++	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lm
+ 	time ./atest ../direwolf-0.2/02_Track_2.wav 
+ 
+ # Unit test for inner digipeater algorithm
+ 
+ 
+ dtest : digipeater.c ax25_pad.c dedupe.c fcs_calc.c tq.c textcolor.c
+-	$(CC) $(CFLAGS) -DTEST -o $@ $^
++	$(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $^
+ 	./dtest
+ 
+ 
+@@ -222,21 +222,21 @@
+ 
+ 
+ itest : igate.c textcolor.c ax25_pad.c fcs_calc.c 
+-	$(CC) $(CFLAGS) -DITEST -o $@ $^
++	$(CC) $(CFLAGS) $(LDFLAGS) -DITEST -o $@ $^
+ 	./itest
+ 
+ 
+ # Unit test for UDP reception with AFSK demodulator
+ 
+ udptest : udp_test.c demod.c dsp.c demod_afsk.c demod_9600.c hdlc_rec.c hdlc_rec2.c multi_modem.c rrbb.c fcs_calc.c ax25_pad.c decode_aprs.c symbols.c textcolor.c
+-	$(CC) $(CFLAGS) -o $@ $^ -lm -lrt
++	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lm -lrt
+ 	./udptest
+ 
+ 
+ # Multiple AGWPE network or serial port clients to test TNCs side by side.
+ 
+ aclients : aclients.c ax25_pad.c fcs_calc.c textcolor.c
+-	$(CC) $(CFLAGS) -g -o $@ $^ 
++	$(CC) $(CFLAGS) $(LDFLAGS) -g -o $@ $^ 
+ 
+ 
+ SRCS = direwolf.c demod.c dsp.c demod_afsk.c demod_9600.c hdlc_rec.c multi_modem.c fcs_calc.c ax25_pad.c decode_aprs.c symbols.c \
diff --git a/debian/patches/fix_start_script_paths.patch b/debian/patches/fix_start_script_paths.patch
new file mode 100644
index 0000000..2f5f7ef
--- /dev/null
+++ b/debian/patches/fix_start_script_paths.patch
@@ -0,0 +1,23 @@
+Description: Correct the path for starting direwolf in the example start script
+Author: Iain R. Learmonth <irl at fsfe.org>
+Last-Update: 2014-09-08
+
+--- direwolf.orig/dw-start.sh
++++ direwolf/dw-start.sh
+@@ -62,13 +62,13 @@
+ 
+ if [ -x /usr/bin/lxterminal ]
+ then
+-  /usr/bin/lxterminal -t "Dire Wolf" -e "/usr/local/bin/direwolf" &
++  /usr/bin/lxterminal -t "Dire Wolf" -e "/usr/bin/direwolf" &
+ elif [ -x /usr/bin/xterm ] 
+ then
+-  /usr/bin/xterm -bg white -fg black -e /usr/local/bin/direwolf &
++  /usr/bin/xterm -bg white -fg black -e /usr/bin/direwolf &
+ elif [ -x /usr/bin/x-terminal-emulator ]
+ then
+-  /usr/bin/x-terminal-emulator -e  /usr/local/bin/direwolf &
++  /usr/bin/x-terminal-emulator -e  /usr/bin/direwolf &
+ else
+   echo "Did not find an X terminal emulator."
+ fi
diff --git a/debian/patches/makefile_install.patch b/debian/patches/makefile_install.patch
new file mode 100644
index 0000000..ef7f3bc
--- /dev/null
+++ b/debian/patches/makefile_install.patch
@@ -0,0 +1,57 @@
+Description: Install things in the correct place and don't use sudo
+Author: Iain R. Learmonth <irl at fsfe.org>
+Last-Update: 2014-09-08
+
+--- direwolf.orig/Makefile.linux
++++ direwolf/Makefile.linux
+@@ -139,28 +139,28 @@
+ # For now, just put reference to it at the end so only last step fails.
+ 
+ install : direwolf decode_aprs tocalls.txt symbols-new.txt symbolsX.txt dw-icon.png direwolf.desktop
+-	sudo install direwolf /usr/local/bin
+-	sudo install decode_aprs /usr/local/bin
+-	sudo install text2tt /usr/local/bin
+-	sudo install tt2text /usr/local/bin
+-	sudo install ll2utm /usr/local/bin
+-	sudo install utm2ll /usr/local/bin
+-	sudo install aclients /usr/local/bin
+-	sudo install -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
+-	sudo install -D --mode=644 symbols-new.txt /usr/share/direwolf/symbols-new.txt
+-	sudo install -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
+-	sudo install -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
+-	sudo install -D --mode=644 direwolf.desktop /usr/share/applications/direwolf.desktop
+-	cp direwolf.conf ~
+-	cp dw-start.sh ~
+-	sudo install -D --mode=644 CHANGES.txt /usr/local/share/doc/direwolf/CHANGES.txt
+-	sudo install -D --mode=644 LICENSE-dire-wolf.txt /usr/local/share/doc/direwolf/LICENSE-dire-wolf.txt
+-	sudo install -D --mode=644 LICENSE-other.txt /usr/local/share/doc/direwolf/LICENSE-other.txt
+-	sudo install -D --mode=644 User-Guide.pdf /usr/local/share/doc/direwolf/User-Guide.pdf
+-	sudo install -D --mode=644 Raspberry-Pi-APRS.pdf /usr/local/share/doc/direwolf/Raspberry-Pi-APRS.pdf
+-	sudo install -D --mode=644 APRStt-Implementation-Notes.pdf /usr/local/share/doc/direwolf/APRStt-Implementation-Notes.pdf
+-	sudo install -D --mode=644 Quick-Start-Guide-Windows.pdf /usr/local/share/doc/direwolf/Quick-Start-Guide-Windows.pdf
+-	ln -f -s /usr/share/applications/direwolf.desktop ~/Desktop/direwolf.desktop
++	mkdir -p debian/direwolf/usr/bin
++	install direwolf debian/direwolf/usr/bin
++	install decode_aprs debian/direwolf/usr/bin
++	install text2tt debian/direwolf/usr/bin
++	install tt2text debian/direwolf/usr/bin
++	install ll2utm debian/direwolf/usr/bin
++	install utm2ll debian/direwolf/usr/bin
++	install aclients debian/direwolf/usr/bin
++	install -D --mode=644 tocalls.txt debian/direwolf-docs/usr/share/direwolf/tocalls.txt
++	install -D --mode=644 symbols-new.txt debian/direwolf-docs/usr/share/direwolf/symbols-new.txt
++	install -D --mode=644 symbolsX.txt debian/direwolf-docs/usr/share/direwolf/symbolsX.txt
++	install -D --mode=644 dw-icon.png debian/direwolf/usr/share/direwolf/dw-icon.png
++	install -D --mode=644 direwolf.desktop debian/direwolf/usr/share/applications/direwolf.desktop
++	install -D --mode=644 direwolf.conf debian/direwolf-docs/usr/share/doc/direwolf/examples/direwolf.conf
++	install -D --mode=644 dw-start.sh debian/direwolf-docs/usr/share/doc/direwolf/examples/dw-start.sh
++	install -D --mode=644 CHANGES.txt debian/direwolf-docs/usr/share/doc/direwolf/CHANGES.txt
++	install -D --mode=644 LICENSE-dire-wolf.txt debian/direwolf-docs/usr/share/doc/direwolf/LICENSE-dire-wolf.txt
++	install -D --mode=644 LICENSE-other.txt debian/direwolf-docs/usr/share/doc/direwolf/LICENSE-other.txt
++	install -D --mode=644 User-Guide.pdf debian/direwolf-docs/usr/share/doc/direwolf/User-Guide.pdf
++	install -D --mode=644 Raspberry-Pi-APRS.pdf debian/direwolf-docs/usr/share/doc/direwolf/Raspberry-Pi-APRS.pdf
++	install -D --mode=644 APRStt-Implementation-Notes.pdf debian/direwolf-docs/usr/share/doc/direwolf/APRStt-Implementation-Notes.pdf
++	install -D --mode=644 Quick-Start-Guide-Windows.pdf debian/direwolf-docs/usr/share/doc/direwolf/Quick-Start-Guide-Windows.pdf
+ 
+ 
+ # Separate application to decode raw data.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f76beb2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,5 @@
+fix_desktop_file.patch
+makefile_install.patch
+fix_start_script_paths.patch
+fix_documentation_path.patch
+fix_hardening-no-relro.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..445d9aa
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	make -f Makefile.linux
+
+override_dh_auto_install:
+	make -f Makefile.linux install
+
+override_dh_auto_clean:
+	make -f Makefile.linux clean
+	-rm aclients gen_fff
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..c37da19
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1,4 @@
+debian/APRStt-Implementation-Notes.docx
+debian/Quick-Start-Guide-Windows.docx
+debian/Raspberry-Pi-APRS.docx
+debian/User-Guide.docx
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3176a15
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+http://home.comcast.net/~wb2osz/site/?/page/Download/ http://home.comcast.net/~wb2osz/.*/direwolf-([\d\.]+)-src.zip
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/direwolf.git



More information about the pkg-hamradio-commits mailing list