Skip to content

Commit

Permalink
Version bump to v1.8.
Browse files Browse the repository at this point in the history
Version 1.8 is upon us, with the main feature being non-blocking I/O.
  • Loading branch information
rhymeswithmogul committed Nov 1, 2024
1 parent 64f78b2 commit 5de3adf
Show file tree
Hide file tree
Showing 11 changed files with 93 additions and 13 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Change Log for `aprs-weather-submit`

## Latest changes
* Converted the APRS-IS socket from blocking to non-blocking, with a default timeout of 15 seconds before the connection is aborted.
## Version 1.8
<time datetime="2024-10-31T22:35:00-04:00">October 31, 2024</time>
* Converted the APRS-IS socket from blocking to non-blocking, with a default timeout of 15 seconds before the connection is aborted. Thanks to [DL9SEC](https://www.dl9sec.de) for pointing this out.
* Added a new parameter, `--timeout`, to set how long the app will wait for the remote server before giving up.
* Added support for ISO-compliant compilers (e.g., `gcc -pedantic`).
* Fixed a bug where `./configure --disable-aprs-is` was not honored.
* Minor code cleanup.

## Version 1.7.2
<time datetime="2024-09-23T09:09:09-04:00">September 23, 2024</time>
Expand Down
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aprs-weather-submit news

This file details all of the user-facing changes that are in versions 1.7 of aprs-weather-submit. For more details, please consult the CHANGELOG file or this project's GitHub page.
This file details all of the user-facing changes that are in versions 1.8 of aprs-weather-submit. For more details, please consult the CHANGELOG file or this project's GitHub page.

## Graceful failure

Expand All @@ -10,6 +10,8 @@ Likewise, there is a new parameter, `--timeout`, that will let you specify a tim

If you want the old behavior, specify `--timeout 0`.

Thanks to [DL9SEC](https://www.dl9sec.de) for pointing out this behavior, and I suppose thanks are due to the APRS Tier 2 network for having some servers down long enough for this bug to get pointed out.


## Building without APRS-IS support

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dnl
dnl You should have received a copy of the GNU Affero General Public License
dnl along with this program. If not, see <http://gnu.org/licenses/agpl-3.0.html>.

AC_INIT([aprs-weather-submit], [1.7.2-git], [https://github.com/rhymeswithmogul/aprs-weather-submit/])
AC_INIT([aprs-weather-submit], [1.8], [https://github.com/rhymeswithmogul/aprs-weather-submit/])
AM_INIT_AUTOMAKE([foreign subdir-objects -Wall -Werror])
AC_PREREQ
AC_PROG_INSTALL
Expand Down
15 changes: 11 additions & 4 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
aprs-weather-submit (1.7.2-1) UNRELEASED; urgency=medium
aprs-weather-submit (1.8-1) UNRELEASED; urgency=medium

* Fixed a bug that prevented creating APRS packets with 100% relative
humidity. (Thanks to Jeff, N9CQS, for the report.)
* Converted all I/O to non-blocking in case of network issues or APRS
server outages. (Thanks to DL9SEC for pointing this out.)
* Thus, there is a new parameter, `--timeout`, which will let you set
a custom timeout value of your choice. (Use `--timeout 0` for the
old blocking behavior.)
* Fixed a bug where `./configure --disable-aprs-is` was not honored by
the configure script.
* Added support for ISO-compliant compilers such as `gcc --pedantic`.
* Code cleanup.

-- Colin Cogle <[email protected]> Mon, 23 Sep 2024 09:09:09 -0400
-- Colin Cogle <[email protected]> Thu, 31 Oct 2024 22:45:00 -0400
17 changes: 17 additions & 0 deletions gentoo/aprs-weather-submit-1.7.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
DESCRIPTION="Manually submit weather data to the APRS network."
HOMEPAGE="https://github.com/rhymeswithmogul/${PN}"
SRC_URI="https://github.com/rhymeswithmogul/${PN}/archive/v${PV}.tar.gz" -> "${PF}.tar.gz"
LICENSE="AGPL-3 AGPL-3+"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc ~ppc-macos ppc64 s390x x86"
IUSE="+aprs-is debug"

src_configure() {
econf \
$(use_enable aprs-is) \
$(use_enable debug)
}
17 changes: 17 additions & 0 deletions gentoo/aprs-weather-submit-1.7.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
DESCRIPTION="Manually submit weather data to the APRS network."
HOMEPAGE="https://github.com/rhymeswithmogul/${PN}"
SRC_URI="https://github.com/rhymeswithmogul/${PN}/archive/v${PV}.tar.gz" -> "${PF}.tar.gz"
LICENSE="AGPL-3 AGPL-3+"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc ~ppc-macos ppc64 s390x x86"
IUSE="+aprs-is debug"

src_configure() {
econf \
$(use_enable aprs-is) \
$(use_enable debug)
}
17 changes: 17 additions & 0 deletions gentoo/aprs-weather-submit-1.7.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
DESCRIPTION="Manually submit weather data to the APRS network."
HOMEPAGE="https://github.com/rhymeswithmogul/${PN}"
SRC_URI="https://github.com/rhymeswithmogul/${PN}/archive/v${PV}.tar.gz" -> "${PF}.tar.gz"
LICENSE="AGPL-3 AGPL-3+"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc ~ppc-macos ppc64 s390x x86"
IUSE="+aprs-is debug"

src_configure() {
econf \
$(use_enable aprs-is) \
$(use_enable debug)
}
17 changes: 17 additions & 0 deletions gentoo/aprs-weather-submit-1.8.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
DESCRIPTION="Manually submit weather data to the APRS network."
HOMEPAGE="https://github.com/rhymeswithmogul/${PN}"
SRC_URI="https://github.com/rhymeswithmogul/${PN}/archive/v${PV}.tar.gz" -> "${PF}.tar.gz"
LICENSE="AGPL-3 AGPL-3+"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc ~ppc-macos ppc64 s390x x86"
IUSE="+aprs-is debug"

src_configure() {
econf \
$(use_enable aprs-is) \
$(use_enable debug)
}
5 changes: 3 additions & 2 deletions gentoo/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
<stabilize-allarches/>
<upstream>
<bugs-to>https://github.com/rhymeswithmogul/aprs-weather-submit/issues</bugs-to>
<changelog>https://github.com/rhymeswithmogul/aprs-weather-submit/blob/master/CHANGELOG.md</changelog>
<doc>https://github.com/rhymeswithmogul/aprs-weather-submit/blob/master/README.md</doc>
<changelog>https://github.com/rhymeswithmogul/aprs-weather-submit/blob/main/CHANGELOG.md</changelog>
<doc>https://github.com/rhymeswithmogul/aprs-weather-submit/blob/main/README.md</doc>
<remote-id type="github">aprs-weather-submit</remote-id>
</upstream>
<use>
<flag name="aprs-is">Compile this app with APRS-IS support. If disabled, this app will only output the raw packet to stdout.</flag>
<flag name="debug">Compile with debugging output.</flag>
</use>
</pkgmetadata>
4 changes: 2 additions & 2 deletions man/aprs-weather-submit.man
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.\"
.\" (This page is best viewed with the command: groff -man)
.\"
.TH aprs\-weather\-submit 1 "2024-10-29" "Version 1.7.2-git" "aprs-weather-submit General Help"
.TH aprs\-weather\-submit 1 "2024-10-31" "Version 1.8" "aprs-weather-submit General Help"
.SH NAME
aprs\-weather\-submit \- manually submit weather station data to the APRS-IS network
.SH DESCRIPTION
Expand Down Expand Up @@ -310,7 +310,7 @@ APRS Version 1.2.1, "Weather Updates to the Spec" (24 Mar 2011)
.UE

.SH AUTHOR AND COPYRIGHT
.BR aprs\-weather\-submit ", version 1.7.2-git"
.BR aprs\-weather\-submit ", version 1.8"
.br
Copyright (c) 2019-2024 Colin Cogle.
.br
Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ with this program. If not, see <https://www.gnu.org/licenses/agpl-3.0.html>.
#endif

#ifndef VERSION
#define VERSION "1.7.2"
#define VERSION "1.8"
#endif

/* We don't support networking on DOS at this time.
Expand Down

0 comments on commit 5de3adf

Please sign in to comment.