Skip to content

Commit 997894c

Browse files
authored
Merge branch 'dev' into dev
2 parents 8ae7de9 + aeb5153 commit 997894c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1511
-643
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383

8484
steps:
8585
- name: checkout
86-
uses: actions/checkout@v2
86+
uses: actions/checkout@v3
8787
with:
8888
fetch-depth: 8
8989
- name: dependency
@@ -149,7 +149,7 @@ jobs:
149149
make package
150150
fi
151151
- name: archive binary
152-
uses: actions/upload-artifact@v2
152+
uses: actions/upload-artifact@v3
153153
with:
154154
name: direwolf_${{ matrix.config.os }}_${{ matrix.config.arch }}_${{ github.sha }}
155155
path: |

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
### New Features: ###
88

9+
10+
- New NCHANNEL feature to map a channel number to an external network TCP KISS TNC. See xxx for example of a bridge to LoRa APRS. See [APRS-LoRa-VHF-APRS-Bridge.pdf](https://github.com/wb2osz/direwolf-doc/blob/main/APRS-LoRa-VHF-APRS-Bridge.pdf) for explanation.
11+
912
- [http://www.aprs.org/aprs11/tocalls.txt](http://www.aprs.org/aprs11/tocalls.txt) has been abandoned since the end of 2021. [https://github.com/aprsorg/aprs-deviceid](https://github.com/aprsorg/aprs-deviceid) is now considered to be the authoritative source of truth for the vendor/model encoding.
1013

1114
## Version 1.7 -- October 2023 ##

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ if (C_CLANG OR C_GCC)
210210
# TODO:
211211
# Try error checking -fsanitize=bounds-strict -fsanitize=leak
212212
# Requires libubsan and liblsan, respectively.
213+
# Maybe -fstack-protector-all, -fstack-check
213214

214215
###set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wvla -ffast-math -ftree-vectorize -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE ${EXTRA_FLAGS}")
215216
if(FREEBSD)

cmake/cpack/direwolf.desktop.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ Icon=@CMAKE_PROJECT_NAME@_icon.png
66
StartupNotify=true
77
Terminal=false
88
Type=Application
9-
Categories=HamRadio
10-
Keywords=Ham Radio;APRS;Soundcard TNC;KISS;AGWPE;AX.25
9+
Categories=Network;HamRadio
10+
Keywords=Ham Radio;APRS;Soundcard TNC;KISS;AGWPE;AX.25

conf/CMakeLists.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,18 @@ string(REGEX REPLACE "^%C%([^\n]*)" "\\1" file_content "${file_content}")
2525
file(WRITE "${CMAKE_BINARY_DIR}/direwolf.conf" "${file_content}")
2626

2727
# install udev rules for CM108
28+
# There are two locations. The one in /etc/udev/rules.d is meant for local customization and
29+
# takes precedence for the same name.
30+
# https://sources.debian.org/src/direwolf/1.7+dfsg-2/debian/patches/lib-udev-rules/
31+
# says that we should use the /usr/lib/udev/rules.d location when building a package.
32+
# TODO: I think the proper solution is to select the location based on whether
33+
# the application installation location is /usr/local or /usr.
2834
if(LINUX)
29-
install(FILES "${CUSTOM_CONF_DIR}/99-direwolf-cmedia.rules" DESTINATION /etc/udev/rules.d/)
35+
if (CMAKE_INSTALL_PREFIX STREQUAL "/usr/local")
36+
install(FILES "${CUSTOM_CONF_DIR}/99-direwolf-cmedia.rules" DESTINATION /etc/udev/rules.d/)
37+
else()
38+
install(FILES "${CUSTOM_CONF_DIR}/99-direwolf-cmedia.rules" DESTINATION /usr/lib/udev/rules.d/)
39+
endif()
3040
endif()
3141

3242
install(FILES "${CMAKE_BINARY_DIR}/direwolf.conf" DESTINATION ${INSTALL_CONF_DIR})

0 commit comments

Comments
 (0)