Compare commits

..

95 Commits

Author SHA1 Message Date
Hibby fcc7c2592f
Twists for hibbian! 2024-08-26 21:23:53 +01:00
Hibby a9be3da312
Merge branch 'hibby-twists' into hibbian/latest 2024-08-26 21:22:48 +01:00
Hibby 2e7abecc45
Hibbian port 2024-08-26 21:05:21 +01:00
Dave Hibberd 9bcbb251bb
rlease 2024-01-21 19:15:06 +00:00
Dave Hibberd 9cbc3829b2
Release twists 2023-09-12 22:37:31 +01:00
Dave Hibberd fcdd65a254
Merge branch 'debian/latest' into hibby-twists 2023-09-12 22:32:00 +01:00
Dave Hibberd 2231fbc884
mheard fix! 2023-09-12 22:12:17 +01:00
Dave Hibberd cea899c767
Cheeky removal of zlib patch to get rid of zconnect 2023-08-31 23:28:00 +01:00
Dave Hibberd 5af0f2ae41
Merge branch 'master' into hibby-twists 2023-08-08 23:51:14 +01:00
Dave Hibberd 1a8d5a3ca9
Release! 2023-08-08 21:49:31 +01:00
Dave Hibberd 7a63b2dc8f
Zlib and netrom MOTD patch 2023-08-07 12:37:26 +01:00
Dave Hibberd 8cb40976e2 Add a goodbye on netrom disconnect too 2023-08-05 00:58:02 +01:00
Dave Hibberd a2d04aafd5 Fix ability to build in zlib, then ignore it. Needs libax25 to have zlib. 2023-08-05 00:49:38 +01:00
Dave Hibberd c5b5804776 We now have an MOTD and prompt on netrom, and mheard is reenabled 2023-08-04 22:34:55 +01:00
Dave Hibberd 0c9efe6e2f Tidied it up so I've not deleted a pile of code for no reason 2023-08-04 21:44:41 +01:00
Dave Hibberd 3522edb96e Just do anything? 2023-08-04 21:28:20 +01:00
Dave Hibberd 535b3cdf3d Patch out the netrom no motd bug 2023-07-27 01:02:25 +01:00
Dave Hibberd 27f3de0c7b Do it right this time round 2023-07-27 00:56:15 +01:00
Dave Hibberd 7f3c3259b2 Comment out stuff I don't care for 2023-07-27 00:24:03 +01:00
Christoph Berg f3e7693fe3 releasing package uronode version 2.15-1 2022-11-05 17:02:49 +01:00
Dave Hibberd 779d0da4cc
New Upstream release and standards bump 2022-02-05 18:18:30 +00:00
Dave Hibberd 86d0906f88 Update upstream source from tag 'upstream/2.15'
Update to upstream version '2.15'
with Debian dir 74ea54c84a
2022-02-05 11:58:02 +00:00
Dave Hibberd 3c9a3da220 Update changelog for release 2021-02-02 00:20:29 +00:00
Dave Hibberd 4b922b4ee3 Fix regression introduced by patch in D/2.13-1 2021-02-02 00:18:33 +00:00
Dave Hibberd 9c0ec6dbfc Prepare for upload to unstable 2021-01-27 22:33:23 +00:00
Dave Hibberd 4f435b0334 Patch Refresh, NEWS file 2021-01-27 22:33:03 +00:00
Dave Hibberd 6f36af5d91 Update upstream source from tag 'upstream/2.13'
Update to upstream version '2.13'
with Debian dir 77a91e5c19
2021-01-27 21:31:48 +00:00
Dave Hibberd b2bf4412fe New upstream version 2.13 2021-01-27 21:31:48 +00:00
Dave Hibberd 28d452f5b0 New upstream version 2.13 2021-01-27 21:26:06 +00:00
tony mancill 33dc534eea prepare changelog for upload to unstable 2021-01-10 13:52:08 -08:00
tony mancill f4e1062e18 Use https URL for Homepage in debian/control 2021-01-10 13:52:08 -08:00
tony mancill ef1c8cc455 Use debhelper-compat 13 2021-01-10 13:52:08 -08:00
tony mancill 554f3eb527 Freshen debian/copyright 2021-01-10 13:52:08 -08:00
tony mancill ade02f21db Set Rules-Requires-Root: no in debian/control 2021-01-10 13:52:08 -08:00
tony mancill 857d98a3e8 Bump Standards-Version to 4.5.1 2021-01-10 13:52:07 -08:00
tony mancill 9d5017864a Update upstream source from tag 'upstream/2.12'
Update to upstream version '2.12'
with Debian dir 076bcc0218
2021-01-10 13:12:58 -08:00
tony mancill 5384e5d28b Update debian/watch to version 4 2021-01-10 13:11:58 -08:00
Dave Hibberd a3c6805651 Updates to 2.12-1 and GCC10 FTBFS fix 2020-09-20 14:50:19 +01:00
Dave Hibberd b5f0893a07 Update upstream source from tag 'upstream/2.12'
Update to upstream version '2.12'
with Debian dir 47f6a70692
2020-09-20 14:29:27 +01:00
Dave Hibberd 5f0010158a New upstream version 2.12 2020-09-20 14:29:26 +01:00
Dave Hibberd cd09b4b810 One last lintian ignore for /var/ax25 2020-04-20 16:29:45 +01:00
Dave Hibberd 93eaa6a8fb Tidied up hardening options and stopped them being removed, made lintian more quiet 2020-04-20 16:20:18 +01:00
Dave Hibberd 342e0f3fd9 Added gitlab ci following Christoph Berg's deb-hams packages as an example 2020-04-20 15:46:55 +01:00
Dave Hibberd 20b24543a9 Update to make SBIN_DIR and cleaning up lots of patch mess, changlog fixed 2020-04-20 03:29:51 +01:00
Dave Hibberd f82df102ac Updated changelog, refreshed patches 2020-03-24 21:26:36 +00:00
Hibby ef4822cca2 New upstream version 2.11 2020-03-24 20:55:41 +00:00
Hibby 93a75b098c Update upstream source from tag 'upstream/2.11'
Update to upstream version '2.11'
with Debian dir a307fbe04e
2020-03-24 20:55:41 +00:00
Dave Hibberd e194582206 Release 2019-08-17 23:17:10 +01:00
Dave Hibberd f7b4ca18ae Remove redundant patch 2019-08-17 22:59:58 +01:00
Dave Hibberd e2f0bd3b89 Upstream bump, standards update, Dh12 2019-08-17 22:39:28 +01:00
hibby 85023698ac Update upstream source from tag 'upstream/2.10'
Update to upstream version '2.10'
with Debian dir 2a72aea161
2019-08-17 22:35:52 +01:00
Dave Hibberd c63e53bba9 2.9-1 release for testing 2018-12-27 16:20:56 +00:00
Dave Hibberd 15267df7ec Update upstream source from tag 'upstream/2.9'
Update to upstream version '2.9'
with Debian dir c9491c3712
2018-12-27 15:51:09 +00:00
hibby 534a7937e8 Restoring non interactive mode configure 2018-02-10 21:35:08 +00:00
hibby aa9cd7a4e7 Architecture clearup, readability updates 2018-02-10 19:40:02 +00:00
hibby d24c46ecb9 Release 2018-01-20 12:24:23 +00:00
hibby 5dbe0c242b 2.8.1 release upstream, new Debian Standards Version, DH11 2018-01-20 12:16:20 +00:00
hibby 1b58e6dc77 Update upstream source from tag 'upstream/2.8.1'
Update to upstream version '2.8.1'
with Debian dir e48f2b6106
2018-01-20 11:59:47 +00:00
hibby 863eee7d89 Removed patch that was inluded upstream 2017-11-24 20:30:54 +00:00
hibby 70278f774d Added .gitignore file 2017-11-24 18:01:54 +00:00
hibby 66f6865097 Update upstream source from tag 'upstream/2.8'
Update to upstream version '2.8'
with Debian dir cb8bc58c64
2017-11-24 18:00:45 +00:00
Hibby fed478e68c Release 2017-10-09 22:54:04 +01:00
Hibby 35edc98730 Supporting files for new release 2017-10-09 22:48:18 +01:00
Hibby 770e9dd496 Merge tag 'upstream/2.7'
Upstream version 2.7
2017-08-22 13:54:39 +01:00
Hibby 6946e29cf4 Release 2017-01-21 15:42:35 +00:00
Hibby 5580c32dc0 New debian changelog, patches refreshed, hardening updates 2017-01-21 15:33:03 +00:00
Hibby 374dc15bb0 Merge tag 'upstream/2.6'
Upstream version 2.6
2017-01-21 14:34:12 +00:00
Dave Hibberd 0fff0b425e Release version 2016-04-05 01:21:41 +01:00
Dave Hibberd 461bb6d23b Updated for hardening errors, fixed watch file, tidied up URLs in control,
renamed remove-cflags to hardening patch
2016-04-05 01:17:49 +01:00
Dave Hibberd ed1ae8ef50 Updated to latest debian standards 2016-04-02 23:08:46 +01:00
Dave Hibberd 5648e46e5e Released 2.5.1 2016-04-01 16:33:43 +01:00
Dave Hibberd 04c8476042 Updates to patches 2016-04-01 16:26:54 +01:00
Dave Hibberd f44260b095 Updated changelog 2016-04-01 16:07:16 +01:00
Dave Hibberd 677d2fee44 Merge tag 'upstream/2.5.1'
Upstream version 2.5.1
2016-04-01 16:06:32 +01:00
Dave Hibberd 49987ec569 Tidy up of 2.4 stuff, ready for 2.5.1 upgrade 2016-04-01 16:06:14 +01:00
Dave Hibberd dc9b0c03cc test dfsg repack 2016-01-03 18:30:01 +00:00
Dave Hibberd 3e36bb0d88 removed manpages in debian folder due to upstream changes, removed elf
binary from source tarball at build time
2015-11-22 18:11:43 +00:00
Dave Hibberd 944a20363f Merge tag 'upstream/2.4'
Upstream version 2.4
2015-11-22 15:02:26 +00:00
Dave Hibberd 34f191e885 New upstream release 2015-11-22 14:39:03 +00:00
Dave Hibberd 8ef3aaaa58 Update for release 2015-10-17 17:37:15 +01:00
Dave Hibberd 37b01fe6d0 Packaging bugfix 2015-10-16 20:11:00 +01:00
Iain R. Learmonth 5ed8addd5b Updated changelog for release 2015-10-05 13:29:51 +01:00
Iain R. Learmonth 5f04ce6ca3 Adding Breaks+Replaces for ax25-node 2015-10-05 13:28:34 +01:00
Dave Hibberd 3429fb7390 Tidy up of rules and watchfile, added .docs file and added upstream changelog 2015-09-07 22:04:59 +01:00
Dave Hibberd de9be78d2e Remove autoreconf files, remove dh-autoreconf from control file, split makefile patch so functions become more clear: 2015-09-07 21:15:26 +01:00
Dave Hibberd 66e6edde31 Initial release to unstable 2015-09-03 23:37:51 +01:00
Dave Hibberd 8894125482 Clearing lintian errors on flexd 2015-09-03 23:29:42 +01:00
Dave Hibberd e143f29549 Updated manpages to reflect actual config and binary folder locations 2015-09-03 23:25:45 +01:00
Dave Hibberd 55f9f8991e Added first flexd manpage 2015-09-03 23:20:59 +01:00
Dave Hibberd f60a7ec358 Fixed Copyright attribution and dates 2015-09-03 22:20:45 +01:00
Dave Hibberd f9627d1e66 Updating manpages so they're not gzipped, added new debian folder,
patched out installman
2015-09-03 22:09:00 +01:00
Dave Hibberd 4685b08774 Added new patch for makefile, added new VAR_DIR 2015-09-03 21:36:11 +01:00
Dave Hibberd f7ad8c5884 Adding debian/source/format to make quilt patch work 2015-09-03 20:56:06 +01:00
Dave Hibberd a6ea19d090 Added folder to patch install location 2015-09-03 20:38:10 +01:00
Dave Hibberd b6fe7d0cdf Add debian folder 2015-09-03 20:02:34 +01:00
19 changed files with 480 additions and 0 deletions

10
debian/NEWS vendored Normal file
View File

@ -0,0 +1,10 @@
uronode (2.13-1) unstable; urgency=medium
From this version on, upstream have changed running files from /var/ax25/ to
/var/lib/ax25. It is recommended by upstream to migrate your current
/var/ax25/node/* files to /var/lib/ax25/node/* after upgrade.
If you do not do this, your help files, ROSE directory and user logs shall
be considered fresh and reset, with all users being treated as if they are
new and connecting for the first time.
-- Dave Hibberd <d@vehibberd.com> Wed, 27 Jan 2021 21:33:36 +0000

2
debian/README.source vendored Normal file
View File

@ -0,0 +1,2 @@
Manpages from upstream have been patched out due to being supplied as
gzipped files. They have been unzipped and moved to debian/manpages.

177
debian/changelog vendored Normal file
View File

@ -0,0 +1,177 @@
uronode (2.15-3~hibbian+2) bookworm-hibbian-unstable; urgency=medium
* Bring the twists back in...
-- Dave Hibberd <hibby@debian.org> Mon, 26 Aug 2024 21:23:29 +0100
uronode (2.15-3~hibbian+1) bookworm-hibbian-unstable; urgency=medium
* Rebuild for hibbian
-- Dave Hibberd <hibby@debian.org> Mon, 26 Aug 2024 21:04:30 +0100
uronode (2.15-3) unstable; urgency=medium
* Patching mheardd.dat location
- this should fix jh and jl functionality
-- Dave Hibberd <d@vehibberd.com> Tue, 12 Sep 2023 22:37:21 +0100
uronode (2.15-2) unstable; urgency=medium
* Add zlib to control and patch in correct ifdef to configure
* Add netrom MOTD patch
* Standards bump to 4.6.2.0
-- Dave Hibberd <d@vehibberd.com> Tue, 08 Aug 2023 21:48:30 +0100
uronode (2.15-1) unstable; urgency=medium
* New upstream version 2.15
* Standards bump to 4.6.0.1
* Multiple definition patch removed
- Included upstream
-- Dave Hibberd <d@vehibberd.com> Sat, 05 Nov 2022 17:01:31 +0100
uronode (2.13-2) unstable; urgency=medium
* Fix runtime bug introduced by changes in folder-update patch for 2.12-1
-- Dave Hibberd <d@vehibberd.com> Tue, 02 Feb 2021 00:18:52 +0000
uronode (2.13-1) unstable; urgency=medium
* New upstream Update to 2.13
- Patches Refreshed
* Config files now live in /var/lib/ax25
- Cleared lintian override
- Added news file
-- Dave Hibberd <d@vehibberd.com> Wed, 27 Jan 2021 22:33:18 +0000
uronode (2.12-1) unstable; urgency=medium
* Team upload
[ Dave Hibberd ]
* New upstream update to 2.12
- Patches Refreshed
* Removed makefile-install-locations patch
* Fixed lots of patch conflicts and funk
* Added gitlab CI
* Added multiple-definition.patch to build in gcc10
- Closes: #957902
[ tony mancill ]
* Update debian/watch to version 4
* Commit upstream version 2.12 to upstream and pristine-tar branches
* Bump Standards-Version to 4.5.1
* Set Rules-Requires-Root: no in debian/control
* Freshen debian/copyright
* Use debhelper-compat 13
* Use https URL for Homepage in debian/control
-- tony mancill <tmancill@debian.org> Sun, 10 Jan 2021 13:51:11 -0800
uronode (2.10-1) unstable; urgency=medium
* New upstream update
- Patches Refreshed
* Removed multiarch-libc patch, included upstream
-- Dave Hibberd <d@vehibberd.com> Sat, 17 Aug 2019 23:15:37 +0100
uronode (2.9-1) unstable; urgency=medium
* Salsa vcs added
* Architecture changed to linux-any
* Non-Interactive configure patched in
* Upstream bump to 2.9
- Patches Refreshed
* New patch added (Closes: #911491)
- Allow the compiler to choose net/if.h
* Two old patches Removed
- flexd-spelling
- no-install-gz-manpages
* debian/control
- Updated to Standards Version 4.3.0.1
* debian/copyright
- Secure Copyright url added
-- Dave Hibberd <d@vehibberd.com> Thu, 27 Dec 2018 16:19:08 +0000
uronode (2.8.1-1) unstable; urgency=medium
* New Upstream import
- patches refreshed
* debian/control
- Updated to Standards Version 4.1.3
* debian/compat
- Updated to Debhelper 11
-- Dave Hibberd <d@vehibberd.com> Sat, 20 Jan 2018 12:20:19 +0000
uronode (2.7-1) unstable; urgency=medium
* New Upstream import
- Patches refreshed
* debian/patches/hardening
- Updated flags to be included
* debian/patches/install-dir-creation
- Refreshed to accommodate new lines
* debian/patches/flexd-spelling
- Added to fix binary spelling error
* debian/control
- Updated Standards Version to 4.1.1
- Removed zlib1g-dev dependency
-- Dave Hibberd <d@vehibberd.com> Tue, 22 Aug 2017 14:01:16 +0100
uronode (2.6-1) unstable; urgency=medium
* New Upstream import
- Patches refreshed
* debian/control
- Updated Standards version to 3.9.8
* debian/patches/hardening
- Added options for CXXFLAGS and CPPFLAGS
-- Dave Hibberd <d@vehibberd.com> Sat, 21 Jan 2017 15:41:58 +0000
uronode (2.5.1-2) unstable; urgency=medium
* debian/control
- Updated Standards Version to 3.9.7
- Changed VCS-* to secure URIs
* debian/patches/hardening
- patch renamed (previously called remove-cflags)
- patch adds CPPFlags and LDFlags to compiler instructions
* debian/rules
- Exporting hardening=+all to enable fPIE and bindnow
-- Dave Hibberd <d@vehibberd.com> Tue, 05 Apr 2016 01:21:27 +0100
uronode (2.5.1-1) unstable; urgency=medium
* New upstream release
-- Dave Hibberd <d@vehibberd.com> Fri, 01 Apr 2016 16:33:24 +0100
uronode (2.3.1-3) unstable; urgency=medium
* Fix hardcoding temporary install directories into program binaries
-- Dave Hibberd <d@vehibberd.com> Fri, 16 Oct 2015 20:02:02 +0100
uronode (2.3.1-2) unstable; urgency=medium
* Team upload.
* Add Breaks+Replaces for ax25-node. (Closes: #800924)
-- Iain R. Learmonth <irl@debian.org> Mon, 05 Oct 2015 13:28:37 +0100
uronode (2.3.1-1) unstable; urgency=medium
* Initial release. (Closes: #778843)
-- Dave Hibberd <d@vehibberd.com> Thu, 03 Sep 2015 23:37:40 +0100

22
debian/control vendored Normal file
View File

@ -0,0 +1,22 @@
Source: uronode
Section: hamradio
Priority: optional
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Uploaders: Dave Hibberd <d@vehibberd.com>
Build-Depends: debhelper-compat (= 13), libax25-dev, zlib1g-dev
Standards-Version: 4.6.2.0
Vcs-Browser: https://salsa.debian.org/debian-hamradio-team/uronode
Vcs-Git: https://salsa.debian.org/debian-hamradio-team/uronode.git
Homepage: https://uronode.sourceforge.net/
Rules-Requires-Root: no
Package: uronode
Architecture: linux-any
Depends: ${shlibs:Depends}, ${misc:Depends}
Breaks: ax25-node
Replaces: ax25-node
Description: Node front end for AX.25, NET/ROM, Rose and TCP
URONode is a packet radio node front end for amateur radio operators.
It provides a shell modelled after those of LinuxNode, AWZNode and
Flexnode. It is capable of initiating connections to remote stations
and exposing services installed on them to users.

29
debian/copyright vendored Normal file
View File

@ -0,0 +1,29 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: uronode
Source: http://sourceforge.net/projects/uronode/files
Files: *
Copyright: (C) 1998-2020 Brian Rodgers N1URO <n1uro@n1uro.ampr.org>
License: GPL-2+
Files: debian/*
Copyright: (C) 2015-2021 Dave Hibberd <d@vehibberd.com>
License: GPL-2+
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, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
.
The GPL License which applies to this package can be found on your Debian
system at /usr/share/common-licenses/GPL-2.

4
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,4 @@
[DEFAULT]
debian-branch = debian/latest
dist = DEP14
pristine-tar = True

6
debian/gitlab-ci.yml vendored Normal file
View File

@ -0,0 +1,6 @@
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
reprotest:
extends: .test-reprotest-diffoscope

61
debian/patches/folder-update vendored Normal file
View File

@ -0,0 +1,61 @@
Description: Correct the folders in which Uronode is installed
Author: Dave Hibberd <d@vehibberd.com>
Last-Update: 2021-02-02
--- a/configure
+++ b/configure
@@ -14,13 +14,13 @@
_sleep 2
make distclean > make.debug
-[ "$ETC_DIR" ] || ETC_DIR=/usr/local/etc/ax25
-[ "$SBIN_DIR" ] || SBIN_DIR=/usr/local/sbin
-[ "$BIN_DIR" ] || BIN_DIR=/usr/local/bin
-[ "$LIB_DIR" ] || LIB_DIR=/usr/local/lib
-[ "$DATA_DIR" ] || DATA_DIR=/usr/local/share
-[ "$MAN_DIR" ] || MAN_DIR=/usr/local/share/man
-[ "$VAR_DIR" ] || VAR_DIR=/usr/local/var/lib/ax25
+[ "$ETC_DIR" ] || ETC_DIR=/etc/ax25
+[ "$SBIN_DIR" ] || SBIN_DIR=/usr/sbin
+[ "$BIN_DIR" ] || BIN_DIR=/usr/bin
+[ "$LIB_DIR" ] || LIB_DIR=/usr/lib
+[ "$DATA_DIR" ] || DATA_DIR=/usr/share
+[ "$MAN_DIR" ] || MAN_DIR=/usr/share/man
+[ "$VAR_DIR" ] || VAR_DIR=/var/lib/ax25
echo "Welcome to the configuration utility for URONode. This configure script"
echo "will very simply and easily guide you into installling URONode with as"
--- a/Makefile.include.in
+++ b/Makefile.include.in
@@ -2,12 +2,12 @@
ARCH = @ARCH@
# Paths
-ETC_DIR = @ETC_DIR@
-SBIN_DIR = @SBIN_DIR@
-BIN_DIR = @BIN_DIR@
-LIB_DIR = @LIB_DIR@
-MAN_DIR = @MAN_DIR@
-VAR_DIR = @VAR_DIR@
+ETC_DIR = debian/uronode@ETC_DIR@
+SBIN_DIR = debian/uronode@SBIN_DIR@
+BIN_DIR = debian/uronode@BIN_DIR@
+LIB_DIR = debian/uronode@LIB_DIR@
+MAN_DIR = debian/uronode@MAN_DIR@
+VAR_DIR = debian/uronode@VAR_DIR@
# Is Zlib available?
-ZLIB = @ZLIB@
\ No newline at end of file
+ZLIB = @ZLIB@
--- a/config.h.in
+++ b/config.h.in
@@ -29,7 +29,7 @@
#define FLEXD_PID_FILE "/var/run/flexd.pid"
#define FLEX_GT_FILE "@VAR_DIR@/flex/gateways"
#define FLEX_DST_FILE "@VAR_DIR@/flex/destinations"
-#define DATA_MHEARD_FILE "@VAR_DIR@/mheard/mheard.dat"
+#define DATA_MHEARD_FILE "/var/ax25/mheard/mheard.dat"
#define DATA_NODE_LOGIN_FILE "@VAR_DIR@/node/loggedin"
#define DATA_NODE_HELP_DIR "@VAR_DIR@/node/help/"
#define DATA_NODE_LAST_FILE "@VAR_DIR@/node/lastlog"

33
debian/patches/hardening vendored Normal file
View File

@ -0,0 +1,33 @@
Description: Fix Lintian hardening errors caused by flags not being passed to compiler,
use debhelper compiler flags
Author: Dave Hibberd <d@vehibberd.com>
Last-Update: 2017-08-22
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,10 +1,13 @@
all: nodeusers uronode axdigi calibrate @FLEXNET@
CC = gcc
-LD = gcc
+LD = $(CC)
# CFLAGS = -O2 -g -s -Wno-unused-result -Wstrict-prototypes
-CFLAGS = -DUNIX -g3 -DDEBUG
-LDFLAGS =
+# CFLAGS = -DUNIX -g3 -DDEBUG
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
LIBS = -lax25 -lax25io
include Makefile.include
@@ -24,7 +27,7 @@
DIGI_OBJS = $(DIGI_SRC:.c=.o)
CALIBRATE_OBJS = $(CALIBRATE_SRC:.c=.o)
.c.o:
- $(CC) $(CFLAGS) -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) $(LDFLAGS) -c $<
install: installbin installman installhelp installconf
install -b -m 755 -D -d $(VAR_DIR)

14
debian/patches/install-dir-creation vendored Normal file
View File

@ -0,0 +1,14 @@
Description: Create proper SBIN_DIR directory at install time
Author: Dave Hibberd <d@vehibberd.com>
Last-Update: 2018-02-10
--- a/Makefile.in
+++ b/Makefile.in
@@ -38,6 +38,7 @@
install -b -m 644 -p etc/gateways $(VAR_DIR)/flex
installbin: all
+ install -b -m 755 -D -d $(SBIN_DIR)
install -m 755 -s -p uronode $(SBIN_DIR)
install -m 755 -s -p nodeusers $(SBIN_DIR)
install -m 755 -s -p axdigi $(SBIN_DIR)

38
debian/patches/netrom-motd.patch vendored Normal file
View File

@ -0,0 +1,38 @@
Description: Add in motd functionality for Netrom
Author: Dave Hibberd <d@vehibberd.com>
Last-Update: 2023-08-07
--- a/node.c
+++ b/node.c
@@ -301,6 +301,11 @@
node_log(LOGLVL_LOGIN, "%s @ %s logged in", User.call, User.ul_name);
#ifdef HAVEMOTD
if (User.ul_type == AF_NETROM) {
+ node_msg("%s - Welcome to %s", VERSION, NodeId);
+ if ((fp = fopen(HAVEMOTD, "r")) != NULL) {
+ while (fgets(buf, 256, fp) != NULL) axio_puts(buf,NodeIo);
+ axio_puts ("\n",NodeIo);
+ }
/* axio_printf(NodeIo, "%s} Welcome.\n", NodeId); */
} else
if ((User.ul_type == AF_INET) || (User.ul_type == AF_INET6)) {
@@ -365,6 +370,8 @@
axio_printf(NodeIo,"\n");
}
}
+ } else {
+ node_prompt();
}
if (check_perms(PERM_ANSI, 0L) != -1) {
/* Not needed from what I see so far. */
--- a/command.c
+++ b/command.c
@@ -137,7 +137,7 @@
}
}
if (User.ul_type == AF_NETROM) {
- axio_printf(NodeIo,"");
+ axio_printf(NodeIo,"%s, thank you for connecting to the %s\nURONode netrom shell. Come back soon, 73!\n",User.call, NodeId);
}
if (User.ul_type == AF_ROSE) {
if (check_perms(PERM_ANSI, 0L) != -1) {

View File

@ -0,0 +1,28 @@
Description: Remove interactive mode from configure, speed up build
Author: Dave Hibberd <d@vehibberd.com>
Last-Update: 2018-02-10
--- a/configure
+++ b/configure
@@ -1,11 +1,5 @@
#!/bin/sh
-echo -n "Use interactive mode? [Y/n]: "; read answer
-if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
- then NON_INTERACTIVE=0;
- else NON_INTERACTIVE=1;
-fi
-
_sleep()
{
[ "$NON_INTERACTIVE" = 1 ] || sleep "$@"
@@ -122,6 +116,9 @@
if [ $? -ne 1 ]
then
HAVEAX25="#define HAVE_AX25 1"
+ #These have been moved out of tcp-ip so I have an MOTD when I don't build telnet in
+ HAVEMOTD="#define HAVEMOTD"
+ MOTDPATH='"/etc/ax25/uronode.motd"'
fi
#
# echo -n "Include support for the FlexNet protocol ? [Y/n]: "; read answer

6
debian/patches/series vendored Normal file
View File

@ -0,0 +1,6 @@
netrom-motd.patch
non-interactive-install.patch
hardening
folder-update
install-dir-creation

23
debian/patches/zlib-ifdef.patch vendored Normal file
View File

@ -0,0 +1,23 @@
Description: Fix zlib ifdef to ensure it builds right
Author: Dave Hibberd <d@vehibberd.com>
Last-Update: 2023-08-07
--- a/configure
+++ b/configure
@@ -74,14 +74,14 @@
_sleep 1
echo -n "Checking for the existence of the Zlib headers... "
ZLIB=""
-HAVEZLIB="#undef HAVE_ZLIB"
+HAVEZLIB="#undef HAVE_ZLIB_H"
for zlibdir in /usr/include /usr/local/include
do
if [ -f $zlibdir/zlib.h ]
then
echo $zlibdir/zlib.h
ZLIB="-lz"
- HAVEZLIB="#define HAVE_ZLIB 1"
+ HAVEZLIB="#define HAVE_ZLIB_H 1"
fi
done
if [ -z "$ZLIB" ]

18
debian/rules vendored Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export NON_INTERACTIVE=1
%:
dh $@
# Remove things we aren't using in oarc. mheard is a bug awaiting a fix.
override_dh_auto_configure:
dh_auto_configure -- --without-flexnet --without-tcpip --without-rose --without-autorouter
# Collapse upstream changes file into single file
override_dh_auto_build:
cat CHANGES.* > changelog
dh_auto_build

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

5
debian/uronode.docs vendored Normal file
View File

@ -0,0 +1,5 @@
BBS.txt
COLORS
FAQ
URONode.his
changelog

1
debian/uronode.lintian-overrides vendored Normal file
View File

@ -0,0 +1 @@

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
version=4
https://sf.net/uronode/uronode-(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))