[hamradio-commits] [ax25-apps] 02/02: Imported Debian patch 0.0.8-rc4-2

Iain R. Learmonth irl at moszumanska.debian.org
Mon Oct 19 01:19:37 UTC 2015


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

irl pushed a commit to branch master
in repository ax25-apps.

commit 596fd2dfc465c9f1dba058d3e89791c8221995a7
Merge: c18df2a 65efe9c
Author: Iain R. Learmonth <irl at debian.org>
Date:   Mon Sep 14 00:29:00 2015 +0100

    Imported Debian patch 0.0.8-rc4-2

 .cvsignore                          |    19 -
 CVS/Entries                         |    12 -
 CVS/Entries.Log                     |     5 -
 CVS/Repository                      |     1 -
 CVS/Root                            |     1 -
 INSTALL                             |   370 +
 Makefile.in                         |   772 ++
 aclocal.m4                          |  9562 ++++++++++++++++++++++
 ax25-apps.spec.in => ax25-apps.spec |    12 +-
 ax25-apps.spec.in                   |     4 +-
 ax25ipd/.cvsignore                  |     5 -
 ax25ipd/CVS/Entries                 |    18 -
 ax25ipd/CVS/Repository              |     1 -
 ax25ipd/CVS/Root                    |     1 -
 ax25ipd/Makefile.am                 |     9 +-
 ax25ipd/Makefile.in                 |   760 ++
 ax25ipd/ax25ipd.8                   |    80 -
 ax25ipd/ax25ipd.conf                |     2 +-
 ax25ipd/ax25ipd.conf.5              |   205 -
 ax25ipd/ax25ipd.conf.man            |     2 +-
 ax25ipd/ax25ipd.h                   |    10 +-
 ax25ipd/ax25ipd.man                 |     4 +-
 ax25ipd/bpqether.c                  |     2 -
 ax25ipd/config.c                    |     2 +-
 ax25ipd/io.c                        |    25 +-
 ax25ipd/routing.c                   |    15 +-
 ax25ipd/syslog.c                    |    16 +
 ax25mond/.cvsignore                 |     5 -
 ax25mond/CVS/Entries                |     7 -
 ax25mond/CVS/Repository             |     1 -
 ax25mond/CVS/Root                   |     1 -
 ax25mond/Makefile.am                |     7 +-
 ax25mond/Makefile.in                |   715 ++
 ax25mond/ax25mond.8                 |    19 -
 ax25mond/ax25mond.c                 |     4 +-
 ax25mond/ax25mond.conf.5            |    30 -
 ax25rtd/.cvsignore                  |     6 -
 ax25rtd/CVS/Entries                 |    18 -
 ax25rtd/CVS/Repository              |     1 -
 ax25rtd/CVS/Root                    |     1 -
 ax25rtd/Makefile.am                 |    12 +-
 ax25rtd/Makefile.in                 |   795 ++
 ax25rtd/ax25_route                  |     0
 ax25rtd/ax25rtctl.8                 |    76 -
 ax25rtd/ax25rtctl.c                 |     5 +-
 ax25rtd/ax25rtd.8                   |    45 -
 ax25rtd/ax25rtd.c                   |     4 +-
 ax25rtd/ax25rtd.conf.5              |   144 -
 ax25rtd/ax25rtd.h                   |     3 +-
 ax25rtd/ax25rtd.man                 |     2 +-
 ax25rtd/cache_ctl.c                 |     3 +-
 ax25rtd/cache_dump.c                |     3 +-
 ax25rtd/config.c                    |     6 +-
 ax25rtd/ip_route                    |     0
 ax25rtd/listener.c                  |    13 +-
 call/.cvsignore                     |     5 -
 call/CVS/Entries                    |    12 -
 call/CVS/Repository                 |     1 -
 call/CVS/Root                       |     1 -
 call/Makefile.am                    |     4 +-
 call/Makefile.in                    |   667 ++
 call/call.c                         |     6 +-
 call/call.h                         |     2 +-
 call/call.man                       |     2 +-
 call/menu.c                         |     6 +-
 call/yapp.c                         |     4 +-
 config.guess                        |  1530 ++++
 config.h.in                         |   170 +
 config.sub                          |  1773 ++++
 configure                           | 14695 ++++++++++++++++++++++++++++++++++
 configure.ac                        |    11 +-
 debian/changelog                    |    34 +
 debian/compat                       |     2 +-
 debian/config                       |     4 +-
 debian/control                      |    23 +-
 debian/patches/Pre-quilt-changes    |   691 ++
 debian/patches/series               |     1 +
 debian/postinst                     |     3 +-
 debian/source/format                |     2 +-
 debian/watch                        |     4 +
 depcomp                             |   708 ++
 install-sh                          |   527 ++
 listen/.cvsignore                   |     5 -
 listen/CVS/Entries                  |    20 -
 listen/CVS/Repository               |     1 -
 listen/CVS/Root                     |     1 -
 listen/Makefile.am                  |     2 +-
 listen/Makefile.in                  |   688 ++
 listen/arpdump.c                    |     2 -
 listen/ax25dump.c                   |     4 +-
 listen/icmpdump.c                   |     2 -
 listen/ipdump.c                     |     2 -
 listen/kissdump.c                   |     2 -
 listen/nrdump.c                     |     2 -
 listen/rosedump.c                   |     9 +-
 listen/tcpdump.c                    |     2 -
 listen/udpdump.c                    |     2 -
 listen/utils.c                      |     2 +-
 ltconfig                            |  3017 -------
 ltmain.sh                           |  9655 ++++++++++++++++++++++
 missing                             |   331 +
 101 files changed, 44582 insertions(+), 3896 deletions(-)

diff --cc debian/changelog
index 4ffd516,0000000..60b8b43
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,303 -1,0 +1,337 @@@
++ax25-apps (0.0.8-rc4-2) unstable; urgency=medium
++
++  * debian/control:
++   - Change architecture to linux-any.
++   - Removed inactive uploaders.
++
++ -- Iain R. Learmonth <irl at debian.org>  Mon, 14 Sep 2015 00:29:00 +0100
++
++ax25-apps (0.0.8-rc4-1) unstable; urgency=medium
++
++  * New upstream version.
++  * debian/control:
++   - Switch to debhelper >= 9
++   - Removed redundant Build-Depends:
++    * dpkg-dev
++    * autoconf
++    * automake
++   - Removed inactive uploaders:
++    * Jaime Robles
++    * Hamish Moffat (by request)
++   - Added myself to uploaders
++   - Added Homepage
++   - Added Vcs-* for pkg-hamradio Git
++   - Bump Standards-Version to 3.9.6
++  * debian/watch:
++   - Added from sepwatch
++  * debian/compat:
++   - Bump to 9
++  * debian/{config,postinst}:
++   - Added "set -e"
++  * Source format switched to 3.0 (quilt)
++
++ -- Iain R. Learmonth <irl at debian.org>  Wed, 09 Sep 2015 15:57:29 +0100
++
 +ax25-apps (0.0.8-rc2+cvs20130510-4) unstable; urgency=medium
 +
 +  * Bump Standards Version.
 +  * Fix section for ax25ipd manpage.
 +  * Fix def of unix2yapp() (Closes: #749606)
 +  * Minor spelling fixes.
 +
 + -- Colin Tuckley <colint at debian.org>  Mon, 08 Sep 2014 21:08:51 +0100
 +
 +ax25-apps (0.0.8-rc2+cvs20130510-3) unstable; urgency=low
 +
 +  * Move to dh_autoreconf 
 +  * Add build depends for autotools
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Sat, 11 May 2013 12:26:12 -0400
 +
 +ax25-apps (0.0.8-rc2+cvs20130510-2) unstable; urgency=low
 +
 +  * Fix build failure on buildd (autoreconf call)
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Sat, 11 May 2013 11:53:32 -0400
 +
 +ax25-apps (0.0.8-rc2+cvs20130510-1) unstable; urgency=low
 +
 +  * License changed to BSD license for listen/ripdump.c (Closes: #630893)
 +  * Updated standards version to 3.9.4
 +  * Added use of hardening flags to debian/rules for compilation
 +
 + -- Patrick Ouellette <pouelle at debian.org>  FrI, 10 May 2013 11:13:29 -0400
 +
 +ax25-apps (0.0.8-rc2+cvs20120204-2) unstable; urgency=low
 +
 +  * Fix "ax25ipd: fails to transmit packets with "assemble_kiss: dumped
 +    - control byte non-zero"" fixed in new upstream
 +    (Closes: #606338)
 +  * Fix pending l10n issues. Debconf translations:
 +  * Italian (Vincenzo Campanella).  Closes: #593666
 +  * Danish (Joe Hansen).  Closes: #627843
 +  * Polish (Michał Kułach).  Closes: #659128
 +  * Fix "Uses absolute path to call dpkg-statoverride" change check for
 +    - dpkg-statoverride from test to hash (Closes: #510947)
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Sun, 26 Feb 2012 20:46:29 -0500
 +
 +ax25-apps (0.0.8-rc2+cvs20120204-1) unstable; urgency=low
 +
 +  * new upstream
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Sat, 04 Feb 2012 22:03:45 -0500
 +
 +ax25-apps (0.0.6-16.2) unstable; urgency=low
 +
 +  * Non-maintainer upload.
 +  * Bump debherlper compatibility level from deprecated 4 to 7
 +  * As a consequence, replace deprecated "dh_clean -k" by "dh_prep"
 +  * Add ${misc:Depends} to binary package dependencies to deal with
 +    dependencies triggerred by the use of debhelper
 +  * Explicitly point to the GPL-2 document in debian/copyright
 +  * Explicitly use 1.0 source format
 +  * No longer hardcode dpkg-statoverride path in postinst
 +  * Fix pending l10n issues. Debconf translations:
 +    - Russian (Yuri Kozlov).  Closes: #533876
 +    - Vietnamese (Clytie Siddall).  Closes: #579224
 +
 + -- Christian Perrier <bubulle at debian.org>  Sun, 25 Apr 2010 07:49:02 +0200
 +
 +ax25-apps (0.0.6-16.1) unstable; urgency=low
 +
 +  * Retiring - remove myself from the uploaders list.
 +
 + -- Joop Stakenborg <pa3aba at debian.org>  Tue, 10 Nov 2009 10:10:10 +0000
 +
 +ax25-apps (0.0.6-16) unstable; urgency=low
 +
 +  * Also rename the listen manual page to axlisten. Closes: #447315.
 +  * Adapt description in the control file.
 +  * Fix axlisten manual page, so we refer to axcall.
 +  * Do not call dh_installman.
 +
 + -- Joop Stakenborg <pa3aba at debian.org>  Sat, 01 Dec 2007 20:57:33 +0100
 +
 +ax25-apps (0.0.6-15) unstable; urgency=low
 +
 +  * Add missing 'missing' and 'depcomp'.
 +  * Run aclocal, automake autoconf and libtoolize again.
 +  * Listen is now called axlisten (closes: #447315), call is called
 +    axcall. Names were to generic. Adopt manpages.
 +  * ax25ipd/Makefile.am: use AM_CFLAGS instead of CFLAGS.
 +  * debian/menu: new menu section, 'Amateur Radio'.
 +  * Lintian clean.
 +
 + -- Joop Stakenborg <pa3aba at debian.org>  Sun, 11 Nov 2007 19:40:53 +0100
 +
 +ax25-apps (0.0.6-14.1) unstable; urgency=low
 +
 +  * Non-maintainer upload to fix pending l10n issues.
 +  * Debconf translations:
 +    - Convert files to UTF-8
 +    - Portuguese. Closes: #389649
 +    - Galician. Closes: #412342
 +
 + -- Christian Perrier <bubulle at debian.org>  Mon, 26 Feb 2007 07:31:59 +0100
 +
 +ax25-apps (0.0.6-14) unstable; urgency=low
 +
 +  * Remove build-dependency on autoconf, automake and libtool
 +    (closes: #376334)
 +  * Tidy up description.
 +  * Upgrade to standards-revision 3.7.2.
 +  * Upgrade to debhelper revision 4.
 +
 + -- Hamish Moffatt <hamish at debian.org>  Mon,  3 Jul 2006 08:42:54 +1000
 +
 +ax25-apps (0.0.6-13) unstable; urgency=low
 +
 +  * Close an already fixed bug. Closes: #321497.
 +  * Update config.guess, config.sub. Closes: #356363.
 +
 + -- Joop Stakenborg <pa3aba at debian.org>  Sun, 19 Mar 2006 22:00:24 +0100
 +
 +ax25-apps (0.0.6-12) unstable; urgency=low
 +
 +  * Changed debconf dependency to "debconf | debconf-2.0"
 +    to allow use with cdebconf
 +  * Updated standards-revision to 3.6.2
 +
 + -- Hamish Moffatt <hamish at debian.org>  Fri,  2 Sep 2005 09:14:18 +1000
 +
 +ax25-apps (0.0.6-11) unstable; urgency=low
 +
 +  * adds --update to postinst dpkg-statoverride call.  Closes #321497.
 +
 + -- Patrick A. Ouellette <pouelle at debian.org>  Mon,  8 Aug 2005 23:05:35 -0400
 +
 +ax25-apps (0.0.6-10) unstable; urgency=low
 +
 +  * Vietnamese translations for debconf. Closes: #313139.
 +
 + -- Joop Stakenborg <pa3aba at debian.org>  Mon, 11 Jul 2005 21:33:33 +0200
 +
 +ax25-apps (0.0.6-9) unstable; urgency=low
 +
 +  * Changed maintainer to debian-hams at lists.debian.org
 +  * Changed uploaders to Jaime Robles <jaime at debian.org>,
 +    Joop Stakenborg <pa3aba at debian.org>,
 +    Patrick Ouellette <pouelle at debian.org>,
 +    Hamish Moffatt <hamish at debian.org>,
 +    Ramakrishnan Muthukrishnan <rkrishnan at debian.org>
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Thu, 14 Apr 2005 14:06:32 -0400
 +
 +ax25-apps (0.0.6-8) unstable; urgency=low
 +
 +  * Changed maintainer to debian-hams at lists.debian.org
 +  * Changed uploaders to Jaime Robles <jaime at debian.org>,
 +    Joop Stakenborg <pa3aba at debian.org>,
 +    Patrick Ouellette <pouelle at debian.org>,
 +    Hamish Moffatt <hamish at debian.org>,
 +    Ramakrishnan Muthukrishnan <rkrishnan at debian.org>
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Thu, 14 Apr 2005 13:50:35 -0400
 +
 +ax25-apps (0.0.6-7) unstable; urgency=low
 +
 +  * fixed typo in description (closes: #299964)
 +  * added Czech translation (closes: #297600)
 +    (thanks Miroslav Kure <kurem at vychodil.inf.upol.cz>)
 +
 + -- Bruce Walker <w1bw at debian.org>  Sat,  2 Apr 2005 13:30:27 -0500
 +
 +ax25-apps (0.0.6-6) unstable; urgency=low
 +
 +  * lintian cleanup, fixed changelog charset and quoted menu fields
 +
 + -- Bruce Walker <w1bw at debian.org>  Tue, 30 Mar 2004 13:46:46 -0500
 +
 +ax25-apps (0.0.6-5) unstable; urgency=low
 +
 +  * added Japanese debconf translations from henrich at samba.gr.jp
 +  * closes: #239214
 +
 + -- Bruce Walker <w1bw at debian.org>  Mon, 22 Mar 2004 19:29:44 -0500
 +
 +ax25-apps (0.0.6-4) unstable; urgency=low
 +
 +  * incorporated better package description (closes #209451)
 +  * patched to use gettext for debconf templates (closes #205795)
 +  * included french debconf translations (closes #206594)
 +  * updated to standards 3.6.1
 +  * wrote manpages for ax25rtd, ax25rtctl, and ax25rtd.conf
 +  * included copyright reference to debian GPL location
 +
 + -- Bruce Walker <w1bw at debian.org>  Tue, 11 Nov 2003 19:38:35 -0500
 +
 +ax25-apps (0.0.6-3) unstable; urgency=low
 +
 +  * linked with libax25-0.0.11
 +
 + -- Bruce Walker <w1bw at debian.org>  Wed, 23 Apr 2003 17:02:37 -0400
 +
 +ax25-apps (0.0.6-2) unstable; urgency=low
 +
 +  * new debian maintainer (me)
 +
 + -- Bruce Walker <w1bw at debian.org>  Tue,  8 Apr 2003 16:44:31 -0400
 +
 +ax25-apps (0.0.6-1) unstable; urgency=low
 +
 +  * new upstream release
 +  * added Russian translation for debconf (closes: #137621)
 +    (Thanks Ilgiz Kalmetev <ilgiz at bashtelecom.ru>)
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Thu, 21 Mar 2002 16:43:25 -0500
 +
 +ax25-apps (0.0.5-6) unstable; urgency=low
 +
 +  * added libtool to build depends (closes: #128624)
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Fri, 11 Jan 2002 16:24:13 -0500
 +
 +ax25-apps (0.0.5-5) unstable; urgency=low
 +
 +  * removed blank lines in debconf templates file (closes: #127767)
 +  * fixed compile errors on non x86 systems in ax25rtd.c and ax25rtctl.c
 +    (closes: #127782)
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Tue,  8 Jan 2002 00:34:20 -0500
 +
 +ax25-apps (0.0.5-4) unstable; urgency=low
 +
 +  * fixed typo in debconf template (closes: #100873)
 +  * added Dutch translation for debconf (closes: #100872)
 +    (Thanks Joop Stakenborg <pa3aba at debian.org>)
 +  * added Spanish translation for debconf (closes: #103237)
 +    (Thanks Carlos Valdivia <valyag at teleline.es>)
 +  * added Portuguese (Brazilian) translation for debconf (closes: #107489)
 +    (Thanks <andrelop at ig.com.br>)
 +  * added autoconf to build depends
 +  * added automake to build depends
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Sat, 22 Dec 2001 23:12:54 -0500
 +
 +ax25-apps (0.0.5-3) unstable; urgency=low
 +
 +  * compiled against released version of libax25 (oops - sorry about
 +    that) (closes: #96384)
 +  * changed Priority from optional to extra
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Sat,  5 May 2001 21:27:25 -0500
 +
 +ax25-apps (0.0.5-2) unstable; urgency=low
 +
 +  * Fixed problem with dpkg-statoverride killing postinst with exit code
 +    2
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Thu,  3 May 2001 00:10:06 -0500
 +
 +ax25-apps (0.0.5-1) unstable; urgency=low
 +
 +  * new maintainer (closes: 89333)
 +  * Added Swedish translation from André Dahlqvist to debconf
 +    template for listen (closes: 83538)
 +  * Added German translation from Joerg Rieger to debconf
 +    template for listen (closes: 84259)
 +  * moved from suidmanager to dpkg-statoverride
 +  * new upstream release
 +
 + -- Patrick Ouellette <pouelle at debian.org>  Tue, 30 Apr 2001 21:09:34 -0500
 +
 +ax25-apps (0.0.4-2) unstable; urgency=low
 +
 +  * New standards version
 +  * Added debconf thing to ask if you would like listen setuid
 +
 + -- Craig Small <csmall at debian.org>  Tue,  2 Jan 2001 14:12:26 +1100
 +
 +ax25-apps (0.0.4-1) unstable; urgency=low
 +
 +  * New upstream version
 +
 + -- Craig Small <csmall at debian.org>  Mon, 23 Aug 1999 12:34:50 +1000
 +
 +ax25-apps (0.0.3-1) unstable; urgency=low
 +
 +  * New upstream source Closes: #31744
 +
 + -- Craig Small <csmall at debian.org>  Tue, 10 Aug 1999 11:03:07 +1000
 +
 +ax25-apps (0.0.2-1) unstable; urgency=low
 +
 +  * New upstream version
 +
 + -- Craig Small <csmall at debian.org>  Thu,  8 Jul 1999 12:19:45 +1000
 +
 +ax25-apps (0.0.1-1) unstable; urgency=low
 +
 +  * Initial Release.
 +
 + -- Craig Small <csmall at debian.org>  Fri,  4 Jun 1999 13:47:48 +1000
 +
 +Local variables:
 +mode: debian-changelog
 +End:
diff --cc debian/compat
index 7f8f011,0000000..ec63514
mode 100644,000000..100644
--- a/debian/compat
+++ b/debian/compat
@@@ -1,1 -1,0 +1,1 @@@
- 7
++9
diff --cc debian/config
index 8c0bae2,0000000..f316e41
mode 100644,000000..100644
--- a/debian/config
+++ b/debian/config
@@@ -1,9 -1,0 +1,11 @@@
- #!/bin/sh -e
++#!/bin/sh
++
++set -e
 +
 +# source debconf library.
 +. /usr/share/debconf/confmodule
 +
 +db_input low ax25-apps/suid_listen || true
 +db_go
 +
 +
diff --cc debian/control
index 26dff15,0000000..3cb5dfc
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,23 -1,0 +1,32 @@@
 +Source: ax25-apps
++Maintainer: Debian Hamradio Maintainers <debian-hams at lists.debian.org>
++Uploaders: Iain R. Learmonth <irl at debian.org>,
++           Colin Tuckley <colint at debian.org>
 +Section: hamradio
 +Priority: extra
- Maintainer: Debian Hamradio Maintainers <debian-hams at lists.debian.org>
- Uploaders: Jaime Robles <jaime at debian.org>, Patrick Ouellette <pouelle at debian.org>, Hamish Moffatt <hamish at debian.org>, Colin Tuckley <colint at debian.org>
- Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 7), libncurses5-dev, libax25-dev (>> 0.0.7), autoconf, automake, libtool (>= 2.4.2), dh-autoreconf
- Standards-Version: 3.9.5
++Build-Depends: debhelper (>= 9),
++               libncurses5-dev,
++               libax25-dev,
++               libtool (>= 2.4.2),
++               dh-autoreconf
++Standards-Version: 3.9.6
++Vcs-Browser: http://anonscm.debian.org/cgit/pkg-hamradio/ax25-apps.git
++Vcs-Git: http://anonscm.debian.org/git/pkg-hamradio/ax25-apps.git
++Homepage: http://www.linux-ax25.org/wiki/Ax25-apps
 +
 +Package: ax25-apps
- Architecture: any
- Depends: ${shlibs:Depends}, ${misc:Depends}
- Conflicts: ax25-utils, suidmanager (<< 0.50)
++Architecture: linux-any
++Depends: ${shlibs:Depends},
++         ${misc:Depends}
 +Suggests: ax25-tools
++Conflicts: ax25-utils
 +Description: AX.25 ham radio applications
 + This package provides specific user applications for hamradio
 + that use AX.25 Net/ROM or ROSE network protocols:
 +  * axcall: a general purpose AX.25, NET/ROM and ROSE connection 
 +    program.
 +  * axlisten: a network monitor of all AX.25 traffic heard by the system. 
 +  * ax25ipd: an RFC1226 compliant daemon which provides 
 +    encapsulation of AX.25 traffic over IP.
 +  * ax25mond: retransmits data received from sockets into an AX.25
 +    monitor socket.
diff --cc debian/patches/Pre-quilt-changes
index 0000000,0000000..a1bac32
new file mode 100644
--- /dev/null
+++ b/debian/patches/Pre-quilt-changes
@@@ -1,0 -1,0 +1,691 @@@
++Description: Changes made before quilt
++
++--- /dev/null
+++++ ax25-apps-0.0.8-rc4/ax25ipd/ax25ipd.8
++@@ -0,0 +1,80 @@
+++.TH AX25IPD 8 "12 September 2001" Linux "Linux Programmer's Manual"
+++.SH NAME
+++ax25ipd \- AX.25 into IP Encapsulator
+++.SH SYNOPSIS
+++.B ax25ipd [options]
+++.SH DESCRIPTION
+++.LP
+++.B ax25ipd
+++is an RFC1226 compliant daemon capable of providing the encapsualtion
+++necessary to send and receive AX.25 traffic across an IP transport.
+++.LP
+++Normally invoked as part of the boot order network initialisation,
+++.B ax25ipd
+++is capable of talking directly to a serial port connected tnc, or over
+++a pipe to a linux AX.25 port. KAM DE Dual Port Kiss is also supported.
+++.LP
+++.B ax25ipd
+++can be run as a pure encapsulator, or as a digital repeater with a
+++functional callsign. Destination IP addresses are determined from a
+++hardcoded map of callsign/IP Address pairs.
+++.LP
+++.B ax25ipd
+++defaults to using
+++.B /etc/ax25/ax25ipd.conf
+++as its config file.
+++.LP
+++.SH OPTIONS
+++.TP 10
+++.BI \-v,--version
+++Display the version.
+++.TP 10
+++.BI \-h,--help
+++Display a summary of the command line options.
+++.TP 10
+++.BI \-l,--loglevel NUM
+++Set the logging level to NUM.
+++.TP 10
+++.BI \-c,--configfile FILE
+++Use the configuration file named by FILE instead of the default.
+++.TP 10
+++.BI \-d,--ttydevice TTYDEV
+++Use ttydevice instead of the configured. This is useful because on systems
+++with unix98 PTYs the device is allocated dynamicaly and thus the name is
+++not predictable.
+++.TP 10
+++.BI \-f,--nofork
+++Do not become a daemon. Run in foreground.
+++.SH FILES
+++/etc/ax25/ax25ipd.conf
+++.SH "SEE ALSO"
+++.BR ax25ipd.conf (5),
+++.BR beacon (1),
+++.BR ax25 (4),
+++.BR netrom (4),
+++.BR rose (4),
+++.BR kissattach (8).
+++.LP
+++.SH BUGS
+++Routing needs to be looked at seriously, the method of routing is a real
+++hack, and improvements to it have only added to the hack.
+++.LP
+++Logging needs to be properly implemented.
+++.LP
+++Command line parsing needs to be properly implemented.
+++.LP
+++.B ax25ipd
+++should be part of the Linux AX.25 kernel support probably :-)
+++.SH AUTHORS
+++.nf
+++Michael Westerhof <Mike.Westerhof at Central.Sun.COM> <invalid address>
+++.br
+++Michael Durrant VE3PNX <mdurrant at arcturusnetworks.com>
+++.br
+++D. Jeff Dionne VE3DJF <Jeff at lnx_rpi.ee.ryerson.ca>
+++.br
+++Rob Mayfield VK5XXX/VK5ZEU <mayfieldrob at mail.dec.com>
+++.br
+++Terry Dawson VK2KTJ <terry at animats.net>
+++.br
+++.fi
++--- ax25-apps-0.0.8-rc4.orig/ax25ipd/ax25ipd.conf
+++++ ax25-apps-0.0.8-rc4/ax25ipd/ax25ipd.conf
++@@ -49,7 +49,7 @@ mode tnc
++ # As serial port, you could assign physical ports like ttyS0 or ptys.
++ # ax25ipd  supports  BSD-style  pseudo-terminals as well as the Unix98 pty's.
++ # If the tty argument is "/dev/ptmx", then Unix98 behaviour
++-# will automaticaly take effekt. With Unix98 pty's, the slave tty name
+++# will automatically take effect. With Unix98 pty's, the slave tty name
++ # could not be forseen. That's why ax25ipd will print the corresponding
++ # slave pty name as a separate line on stdout.
++ # 
++--- /dev/null
+++++ ax25-apps-0.0.8-rc4/ax25ipd/ax25ipd.conf.5
++@@ -0,0 +1,205 @@
+++.TH AX25IPD.CONF 5 "7 July 1997" Linux "Linux Programmer's Manual"
+++.SH NAME
+++ax25ipd.conf \- Control the operation of ax25ipd.
+++.SH DESCRIPTION
+++.LP
+++The
+++.B ax25ipd.conf
+++file controls the operation of the ax25ipd(8) program. The operation of the
+++config file can best be seen in an example:
+++.LP
+++#
+++.br
+++# ax25ipd configuration file for station floyd.vk5xxx.ampr.org
+++.br
+++#
+++.br
+++# Select axip transport. 'ip' is what you want for compatibility
+++.br
+++# with most other gates ...
+++.br
+++#
+++.br
+++socket ip
+++.br
+++#
+++.br
+++# Set ax25ipd mode of operation. (digi or tnc)
+++.br
+++#
+++.br
+++mode tnc
+++.br
+++#
+++.br
+++# If you selected digi, you must define a callsign.  If you selected
+++.br
+++# tnc mode, the callsign is currently optional, but this may change
+++.br
+++# in the future! (2 calls if using dual port kiss)
+++.br
+++#
+++.br
+++# mycall vk5xxx-4
+++.br
+++# mycall2 vk5xxx-5
+++.br
+++#
+++.br
+++# In digi mode, you may use an alias. (2 for dual port)
+++.br
+++#
+++.br
+++# myalias svwdns
+++.br
+++# myalias2 svwdn2
+++.br
+++#
+++.br
+++# Send an ident every 540 seconds ...
+++.br
+++#
+++.br
+++# beacon after 540
+++.br
+++# btext ax25ip -- tncmode rob/vk5xxx -- Experimental AXIP gateway
+++.br
+++#
+++.br
+++# Serial port, ethertap interface, or pipe connected to a kissattach in my case
+++.br
+++# alternatively, if you have the kernel module bpqether:
+++.br
+++# if you use tun/tap or ethertap instead of kissattach you may say, without
+++.br
+++# leading slashes (!! - that's how ax25ipd consideres using the tty kiss
+++.br
+++# driver or tun/tap or ethertap):
+++.br
+++#   with tun/tap:
+++.br
+++#     device foobar
+++.br
+++#   with ethertap (obsolete):
+++.br
+++#     device tap0
+++.br
+++# make sure you set a mycall above, or say axparms foobar -setcall te1st
+++.br
+++# note: the device will be up when you assign an ip address
+++.br
+++# _after_ starting ax25rtd (which initializes the device), start ax25d
+++.br
+++# with bpqether or pty, you do not need to care about the speed
+++.br
+++# tun/tap: as descriped in /usr/src/linux/Documentatioa/networking/tuntap.txt,
+++.br
+++# make a device # like this:
+++.br
+++#   crw-r--r--    1 root     root      10, 200 Nov 26 13:32 tun
+++.br
+++# with the command mknod /dev/net/tun c 10 200
+++.br
+++# As serial port, you could assign physical ports like ttyS0 or ptys.
+++.br
+++# ax25ipd supports BSD-style pseudo-terminals as well as the Unix98 pty's.
+++.br
+++# If the tty argument is "/dev/ptmx", then Unix98 behaviour
+++.br
+++# will automatically take effect. With Unix98 pty's, the slave tty name
+++.br
+++# could not be forseen. That's why ax25ipd will print the corresponding
+++.br
+++# slave pty name as a separate line on stdout.
+++.br
+++#
+++.br
+++#device ampr
+++.br
+++device /dev/ttyp0
+++.br
+++#
+++.br
+++# Set the device speed
+++.br
+++#
+++.br
+++speed 9600
+++.br
+++#
+++.br
+++# loglevel 0 - no output
+++.br
+++# loglevel 1 - config info only
+++.br
+++# loglevel 2 - major events and errors
+++.br
+++# loglevel 3 - major events, errors, and AX25 frame trace
+++.br
+++# loglevel 4 - all events
+++.br
+++# log 0 for the moment, syslog not working yet ...
+++.br
+++#
+++.br
+++loglevel 4
+++.br
+++#
+++.br
+++# If we are in digi mode, we might have a real tnc here, so use param to
+++.br
+++# set the tnc parameters ...
+++.br
+++#
+++.br
+++# param 1 20
+++.br
+++#
+++.br
+++# Broadcast Address definition. Any of the addresses listed will be forwarded
+++.br
+++# to any of the routes flagged as broadcast capable routes.
+++.br
+++#
+++.br
+++broadcast QST-0 NODES-0
+++.br
+++#
+++.br
+++# ax.25 route definition, define as many as you need.
+++.br
+++# format is route (call/wildcard) (ip host at destination)
+++.br
+++# ssid of 0 routes all ssid's
+++.br
+++#
+++.br
+++# route <destcall> <destaddr> [flags]
+++.br
+++#
+++.br
+++# Valid flags are:
+++.br
+++#         b  - allow broadcasts to be transmitted via this route
+++.br
+++#         d  - this route is the default route
+++.br
+++#
+++.br
+++route vk2sut-0 44.136.8.68 b
+++.br
+++route vk5asf 44.136.188.221 b
+++.br
+++route vk2abc 44.1.1.1 d
+++.br
+++#
+++.br
+++#
+++.br
+++.LP
+++More to come ...
+++.SH FILES
+++.LP
+++/etc/ax25/ax25ipd.conf
+++.SH "SEE ALSO"
+++.BR ax25ipd (8).
++--- ax25-apps-0.0.8-rc4.orig/ax25ipd/ax25ipd.conf.man
+++++ ax25-apps-0.0.8-rc4/ax25ipd/ax25ipd.conf.man
++@@ -106,7 +106,7 @@ mode tnc
++ .br
++ # If the tty argument is "/dev/ptmx", then Unix98 behaviour
++ .br
++-# will automaticaly take effekt. With Unix98 pty's, the slave tty name
+++# will automatically take effect. With Unix98 pty's, the slave tty name
++ .br
++ # could not be forseen. That's why @@@ax25ipd@@@ will print the corresponding
++ .br
++--- ax25-apps-0.0.8-rc4.orig/ax25ipd/ax25ipd.man
+++++ ax25-apps-0.0.8-rc4/ax25ipd/ax25ipd.man
++@@ -1,4 +1,4 @@
++-.TH @@@AX25IPD@@@ 1 "12 September 2001" Linux "Linux Programmer's Manual"
+++.TH @@@AX25IPD@@@ 8 "12 September 2001" Linux "Linux Programmer's Manual"
++ .SH NAME
++ @@@ax25ipd@@@ \- AX.25 into IP Encapsulator
++ .SH SYNOPSIS
++@@ -7,7 +7,7 @@
++ .LP
++ .B @@@ax25ipd@@@
++ is an RFC1226 compliant daemon capable of providing the encapsualtion
++-neccessary to send and receive AX.25 traffic across an IP transport.
+++necessary to send and receive AX.25 traffic across an IP transport.
++ .LP
++ Normally invoked as part of the boot order network initialisation,
++ .B @@@ax25ipd@@@
++--- /dev/null
+++++ ax25-apps-0.0.8-rc4/ax25mond/ax25mond.8
++@@ -0,0 +1,19 @@
+++.TH AXCALL 8 "30 January 1999" Linux "Linux System Managers Manual"
+++.SH NAME
+++axcall \- dump the AX.25 network traffic and and provide sockets
+++where the received data will be retransmitted
+++.SH SYNOPSIS
+++.B axcall [-v|--version]
+++.SH DESCRIPTION
+++.LP
+++.B Ax25mond
+++will first read it's configuration file /etc/ax25/ax25mond.conf. It will
+++then wait for connects on the sockets specified in this file. When
+++connected, it will transmit all data which it has received on the AX.25
+++monitor socket.
+++.SH OPTIONS
+++.TP 15
+++.BI "\-v, \-\-version"
+++Displays the version number and some copyright information.
+++.SH AUTHOR
+++Johann Hanne, DH3MB <jonny at baycom.org>
++--- /dev/null
+++++ ax25-apps-0.0.8-rc4/ax25mond/ax25mond.conf.5
++@@ -0,0 +1,30 @@
+++.TH AX25MOND.CONF 5 "30 January 1999" Linux "Linux Programmer's Manual"
+++.SH NAME
+++ax25mond.conf \- Specify the sockets which axcall will provide.
+++.SH DESCRIPTION
+++.LP
+++The
+++.B ax25mond.conf
+++file specifies the internet- and unix-sockets which axcall(8)
+++will provide. Example:
+++.LP
+++# Create an internet socket on port 1234 where all the
+++.br
+++# AX.25 traffic will be transmitted
+++.br
+++rxtx *:1234
+++.br
+++# Create an unix socket where only the received AX.25
+++.br
+++# traffic will be transmitted
+++.br
+++rx unix:/var/spool/ax25/monitor
+++.br
+++.LP
+++You may specify up to 5 sockets (definable in ax25mond.c) and axcall
+++will accept up to 50 connects (also definable in ax25mond.c).
+++.SH FILES
+++.LP
+++/etc/ax25/ax25mond.conf
+++.SH "SEE ALSO"
+++.BR axcall (8).
++--- /dev/null
+++++ ax25-apps-0.0.8-rc4/ax25rtd/ax25rtctl.8
++@@ -0,0 +1,76 @@
+++.TH AX25RTCTL 8 "11 November 2003" Linux "Linux Programmer's Manual"
+++.SH NAME
+++ax25rtctl \- AX.25 routing control program
+++.SH SYNOPSIS
+++.B ax25rtctl [options]
+++.SH DESCRIPTION
+++.LP
+++.B ax25rtctl
+++is a program to control ax25rtd. There are several options:
+++.TP
+++.B -a, --add ax25 <callsign> <dev> <time> [digipeater]
+++Add an entry to the AX.25 routing table. If time is "0"
+++this entry will be marked permanent, hence: the daemon will not
+++overwrite this route.
+++.TP
+++.B -d, --del ax25 <callsign> <dev>
+++Remove an entry from the AX.25 routing table.
+++.TP
+++.B -a, --add ip <ip> <dev> <time> <call> <ipmode>
+++Add an entry to the IP routing table. If time is "0" the
+++entry will be marked permanent.
+++.TP
+++.B -d, --del ip <ip>
+++Remove an entry from the IP routing table.
+++.TP
+++.B -l, --list ax25
+++Lists the content of the cache for the AX.25 routing table.
+++.TP
+++.B -l, --list ip
+++Lists the content of the cache for the IP routing table.
+++.TP
+++.B -e, --expire <minutes>
+++Removes the entries older than <minutes> from the caches and
+++the kernel routing tables.
+++.TP
+++.B -s, --save
+++Saves the AX.25 and IP cache to /var/ax25/ax25rtd/ax25_routes and
+++/var/ax25/ax25rtd/ip_routes (or the files specified in
+++/etc/ax25/ax25rtd.conf).
+++.TP
+++.B -r, --reload
+++Reloads the config file /etc/ax25/ax25rtd.conf. This will
+++*not* affect the caches or the heard list.
+++.TP
+++.B -q, --shutdown
+++Same as 'killall -TERM ax25rtd' ;-)
+++.TP
+++.B -V, --version
+++Prints version.
+++.PP
+++Note that you can specify either the port name (as defined in
+++/etc/ax25/axports) or the interface name (shown by ifconfig). If names
+++conflict (i.e. port scc0 is in fact interface scc3, and vica versa), the
+++interface name has precedence over the port name.  Example:
+++
+++   ax25rtctl --add ax25 dl0tha scc3 0 db0pra
+++
+++is equivalent to
+++
+++   ax25rtctl --add ax25 dl0tha 9k6 0 dbpra
+++
+++All commands return port names in their output, though.
+++With one exception: ax25_routes and ip_routes use interface names.
+++
+++.SH FILES
+++/etc/ax25/ax25rtd.conf
+++.SH "SEE ALSO"
+++.BR ax25rtd.conf (5),
+++.BR ax25rtd (8).
+++.LP
+++.SH AUTHORS
+++.nf
+++Joerg Reuter <jreuter at poboxes.com>
+++.br
+++Llaus Kudielka OE1KIB
+++.fi
++--- /dev/null
+++++ ax25-apps-0.0.8-rc4/ax25rtd/ax25rtd.8
++@@ -0,0 +1,45 @@
+++.TH AX25RTD 8 "11 November 2003" Linux "Linux Programmer's Manual"
+++.SH NAME
+++ax25rtd \- AX.25 routing daemon
+++.SH SYNOPSIS
+++.B ax25rtd
+++.SH DESCRIPTION
+++.LP
+++.B ax25rtd
+++is a daemon that:
+++.LP
+++- emulates the ceased "autorouter" of Linux Kernel AX.25
+++.br
+++- sets up ARP entries automagically
+++.br
+++- may adjust IP routes and encapsulation mode 
+++  (although I really do not recomment to use this feature...)
+++.LP
+++The "autorouter" is not really an autorouter. It just listens to the AX.25
+++traffic on your ports and uses this information to setup AX.25 routes. This
+++can be turned on or off by altering the configuration file
+++/etc/ax25/ax25rtd.conf.
+++.LP
+++Ax25rtd provides a socket /var/ax25/ax25rtd/control which is used for
+++runtime maintenance through
+++.B ax25rtctl 
+++or to set up new routes by other
+++daemons (a Flexnet router, perhaps?)
+++.LP
+++On startup ax25rtd reads the configuration file and afterwards preloads
+++the caches from the files /var/ax25/ax25rtd/ax25_routes and
+++/var/ax25/ax25rtd/ip_routes. On SIGTERM or 
+++.B ax25rtctl --save 
+++it saves the caches to those files.
+++.SH FILES
+++/etc/ax25/ax25rtd.conf
+++.SH "SEE ALSO"
+++.BR ax25rtd.conf (5),
+++.BR ax25rtctl (8).
+++.LP
+++.SH AUTHORS
+++.nf
+++Joerg Reuter <jreuter at poboxes.com>
+++.br
+++Llaus Kudielka OE1KIB
+++.fi
++--- /dev/null
+++++ ax25-apps-0.0.8-rc4/ax25rtd/ax25rtd.conf.5
++@@ -0,0 +1,144 @@
+++.TH AX25RTD.CONF 5 "11 November 2003" Linux "Linux Programmer's Manual"
+++.SH NAME
+++ax25rtd.conf \- ax25 routing daemon configuration file
+++.SH SYNOPSIS
+++.B /etc/ax25/ax25rtd.conf
+++.SH DESCRIPTION
+++
+++
+++The file /etc/ax25/ax25rtd.conf is the configuration file for ax25rtd.
+++The parameters of the options shown here are the default values except the
+++ones marked with (example)
+++.PP
+++ax25-maxroutes	4096
+++.TP
+++ip-maxroutes	4096
+++The maximum size of the three lists / caches. On overflow,
+++ax25rtd will substitute the oldest entry with the new one.
+++.TP
+++iproute2-table radio
+++
+++name ("radio") of the kernel routing table. This is an advanced
+++routing feature. If you do not need it, just leave this setting as is.
+++
+++The current implementation  depends on iproute2 (anyone like to code it
+++directly?).
+++
+++If not set or empty, routes are set in the normal, default, manner.
+++Please configure /etc/iproute2/rt_protos with
+++
+++  44      ax25rtd
+++
+++and /etc/iproute2/rt_tables with
+++
+++  210     radio
+++
+++where "radio" is the name of the table, (for the configuration example above).
+++
+++This option is disabled by default.
+++.TP
+++ip-encaps-dev ipax0
+++This option was for a patched kernel of the 2.2.x series. Multible interfaces
+++were aggregated to one interface when sending IP frames. This option is
+++disabled by default.
+++.TP
+++[1k2]
+++.br
+++This marks the beginning of per-port definitions. Note that
+++you have to use port names as defined in axports(5) here,
+++anywhere else you may use the port or the device name.
+++.TP
+++ax25-learn-routes no
+++Set this to "yes", ax25rtd will add the routing information
+++for every heard frame (with complete digipeater path) to the 
+++kernel AX.25 routing table. Note that ax25rtd's internal cache
+++will be updated anyway, regardless of this option.
+++.TP
+++ax25-learn-only-mine no
+++If you set it to "yes", only frames that are sent to (1) the
+++interface callsign, (2) any of the listeners on this device, or
+++(3) the callsigns specified by ax25-more-mycalls will be used
+++to update the internal cache and (depending on
+++ax25-learn-routes) the kernel routing table.
+++.TP
+++ax25-add-path db0ach	(example)
+++This is useful on DAMA digipeaters. In this case, the DAMA
+++master has to be used for _every_ AX.25 connection, thus
+++ax25rtd will add this digipeater(s) to every target we learn
+++that has no digipeater path (yet). "db0ach" is just an
+++example here.
+++.TP
+++ax25-more-mycalls dl1bke dl1bke-8	(example)
+++You can specify more calls as calls here that belong to
+++this interface... "dl1bke" and "dl1bke-8" are examples.
+++.TP
+++ip-learn-routes no
+++If set to "yes", ax25rtd will modify the IP routing table if it
+++receives an IP frame (directed to us). This is dangerous!
+++
+++It should not screw up your routing table, though. Ax25rtd 
+++recognizes the netmask of the device and will adjust the route 
+++only if it fits the netmask and the old route points to
+++one of the devices ax25rtd knows about (hence an AX.25 device).
+++
+++The problems begin if you have more than one port and a user
+++is able to hear your outgoing traffic on at least two of them. 
+++Due to technical reasons ax25rtd adjusts the route _after_ the 
+++kernel has sent the reply to the received TCP frame already.  
+++This has technical reasons. 
+++
+++If the remote does the same both are switching between the two
+++ports.
+++
+++Don't use this feature unless you know what you are doing.
+++
+++It _should_ be safe do enable this on one-port machines, although
+++I strongly recommend to set a network route instead, i.e.:
+++
+++        route add -net 44.0.0.0 scc3
+++
+++Note that ax25rtd's internal cache will be updated anyway,
+++regardless of this option.
+++.TP
+++irtt <irtt>
+++If ip-learn-routes is enabled this will assign newly added
+++routes an initial round trip time (IRTT) for TCP. <irtt>
+++is measured in msec, hence
+++
+++        irtt 10000
+++
+++sets the irtt to 10 seconds. A value of 0 disables this
+++feature (default).
+++.TP
+++ip-adjust-mode no
+++If you set this option to "yes" ax25rtd will change the IP
+++encapsulation mode according to the last received IP frame.
+++
+++The problem with this option is that the kernel AX.25 sends
+++a received IP frame to the IP layer regardless if it was
+++sent in UI frame encapsulation "mode datagram (dg)" or 
+++in I frame encaps, hence in an AX.25 connection, "mode virtual 
+++connect (vc)". The Linux kernel will respond to this frame
+++before ax25rtd can adjust the mode. If the remote does the
+++same... You get the picture.
+++
+++Don't use this feature unless you know what you are doing.
+++.TP
+++arp-add	no
+++This option, if set to "yes", changes the ARP table to the 
+++source callsign of the received frame. It should be harmless,
+++just has the the effect that if it is a new entry, the Linux
+++ARP code will send one ARP request before ax25rtd has adjust
+++the ARP table. If there was already an existing ARP entry
+++for this IP route, one IP datagram will be sent to the old
+++address. Not really a problem, I hope.
+++.SH "SEE ALSO"
+++.BR ax25rtd (8),
+++.BR ax25rtctl (8).
+++.LP
+++.SH AUTHORS
+++.nf
+++Joerg Reuter <jreuter at poboxes.com>
+++.br
+++Llaus Kudielka OE1KIB
+++.fi
++--- ax25-apps-0.0.8-rc4.orig/ax25rtd/ax25rtd.man
+++++ ax25-apps-0.0.8-rc4/ax25rtd/ax25rtd.man
++@@ -21,7 +21,7 @@ can be turned on or off by altering the
++ /etc/ax25/ax25rtd.conf.
++ .LP
++ @@@Ax25rtd@@@ provides a socket /var/ax25/ax25rtd/control which is used for
++-runtime maintainance through
+++runtime maintenance through
++ .B @@@ax25rtctl@@@ 
++ or to set up new routes by other
++ daemons (a Flexnet router, perhaps?)
++--- ax25-apps-0.0.8-rc4.orig/call/call.h
+++++ ax25-apps-0.0.8-rc4/call/call.h
++@@ -18,4 +18,4 @@ extern void cmd_yapp(char *, int);
++ /* In dostime.c */
++ extern void date_unix2dos(time_t, unsigned short*, unsigned short*);
++ extern int yapp2unix(char *);
++-extern void unix2yapp( int, char *);
+++extern void unix2yapp( time_t, char *);
++--- ax25-apps-0.0.8-rc4.orig/call/call.man
+++++ ax25-apps-0.0.8-rc4/call/call.man
++@@ -79,7 +79,7 @@ This is useful for scripting where you j
++ Be silent. Useful for using @@@call@@@ in shellscripts (together with option \-r) in order to be really transparent.
++ .TP 10
++ .BI "\-T timeout"
++-Set idle timeout seconds after a connection will be closed automaticaly when there's no data being transferred (in- and outbound). If timeout is set to 3600, the connection will close after 1h inactivity. A value of 0.5 is 500ms.
+++Set idle timeout seconds after a connection will be closed automatically when there's no data being transferred (in- and outbound). If timeout is set to 3600, the connection will close after 1h inactivity. A value of 0.5 is 500ms.
++ .TP 10
++ .BI \-r
++ Selects Raw mode.
diff --cc debian/patches/series
index 0000000,0000000..72d526d
new file mode 100644
--- /dev/null
+++ b/debian/patches/series
@@@ -1,0 -1,0 +1,1 @@@
++Pre-quilt-changes
diff --cc debian/postinst
index 9bd2f32,0000000..3a7116c
mode 100644,000000..100644
--- a/debian/postinst
+++ b/debian/postinst
@@@ -1,87 -1,0 +1,88 @@@
- #! /bin/sh -e
++#! /bin/sh
 +# postinst script for ax25-apps
 +#
 +# see: dh_installdeb(1)
 +
++set -e
 +
 +# Source the debconf library.
 +. /usr/share/debconf/confmodule
 +
 +# summary of how this script can be called:
 +#        * <postinst> `configure' <most-recently-configured-version>
 +#        * <old-postinst> `abort-upgrade' <new version>
 +#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
 +#          <new-version>
 +#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
 +#          <failed-install-package> <version> `removing'
 +#          <conflicting-package> <version>
 +# for details, see /usr/doc/packaging-manual/
 +#
 +# quoting from the policy:
 +#     Any necessary prompting should almost always be confined to the
 +#     post-installation script, and should be protected with a conditional
 +#     so that unnecessary prompting doesn't happen if a package's
 +#     installation fails and the `postinst' is called with `abort-upgrade',
 +#     `abort-remove' or `abort-deconfigure'.
 +
 +config_ax25_apps(){
 +    # Check result of tools being setuid
 +    db_get ax25-apps/suid_listen
 +	if [ "$RET" = "true" ]; then
 +	{
 +	  # Try registering with dpkg-statoverride first
 +          hash dpkg-statoverride 2>&- 
 +          if [ $? -eq 0 ]; then
 +             dpkg-statoverride --update --add --force root root 4755 /usr/bin/axlisten
 +	      # change program directly
 +          else
 +             chmod 4755 /usr/bin/axlisten
 +          fi
 +	}  
 +	else
 +	{
 +	    # set permission on /usr/bin/axlisten to know state not suid
 +	    chmod 0755 /usr/bin/axlisten
 +	    #if dpkg-statoverride is installed, remove axlisten from overrides
 +           hash dpkg-statoverride 2>&- 
 +	   if [ $? -eq 0 ]; then
 +	        dpkg-statoverride --remove --force /usr/bin/axlisten
 +	   fi
 +        }
 +        fi
 +}
 +
 +convert_to_statoverride(){
 +    #try to import suidmanager setting for axlisten
 +    dpkg-statoverride --add --force root root 0755 /usr/bin/axlisten
 +}
 +
 +case "$1" in
 +    install)
 +        config_ax25_apps
 +    ;;
 +    
 +    upgrade)
 +        convert_to_statoverride
 +        config_ax25_apps
 +    ;;
 +
 +    configure)
 +        config_ax25_apps
 +    ;;
 +    
 +    abort-upgrade)
 +    ;;
 +
 +    *)
 +        echo "postinst called with unknown argument $1" >&2
 +        exit 0
 +    ;;
 +esac
 +
 +# dh_installdeb will replace this with shell code automatically
 +# generated by other debhelper scripts.
 +
 +#DEBHELPER#
 +exit 0
 +
diff --cc debian/source/format
index d3827e7,0000000..163aaf8
mode 100644,000000..100644
--- a/debian/source/format
+++ b/debian/source/format
@@@ -1,1 -1,0 +1,1 @@@
- 1.0
++3.0 (quilt)
diff --cc debian/watch
index 0000000,0000000..8ae0733
new file mode 100644
--- /dev/null
+++ b/debian/watch
@@@ -1,0 -1,0 +1,4 @@@
++version=3
++opts=uversionmangle=s/-(rc\d*)$/~$1/,dversionmangle=s/\+cvs\S*$//;s/-(rc\d*)$/~$1/ \
++http://www.linux-ax25.org/pub/ax25-apps/ \
++(?:|.*/)ax25-apps(?:[_\-]v?|)(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)

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



More information about the pkg-hamradio-commits mailing list