mirror of https://github.com/3cky/mbusd.git
Compare commits
4 Commits
9cee2351f4
...
2c462b7560
Author | SHA1 | Date |
---|---|---|
Victor Antonovich | 2c462b7560 | |
Victor Antonovich | ac927aa19a | |
Victor Antonovich | 91f8e35eae | |
Victor Antonovich | 0cf2cb0c56 |
|
@ -1,11 +1,12 @@
|
|||
name: docker publish
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: [ 'v[0-9].[0-9]+.[0-9]+' ]
|
||||
workflow_run:
|
||||
workflows: [ 'build' ]
|
||||
types: [ completed ]
|
||||
branches: [ 'master' ]
|
||||
tags: [ 'v*' ]
|
||||
|
||||
env:
|
||||
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
|
||||
|
@ -41,8 +42,8 @@ jobs:
|
|||
with:
|
||||
images: ${{ env.IMAGE_NAME }}
|
||||
tags: |
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=sha
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# Changelog
|
||||
|
||||
## [0.5.2] - 2024-03-27
|
||||
- Make use of Linux RS-485 support (#97).
|
||||
- Add flag `-r` to support inverted RTS flow control(#98).
|
||||
- Logging fixes and enhancements (#90).
|
||||
- Default log file name changed to `/var/log/mbusd.log`.
|
||||
- Fix building on older gcc versions (#100).
|
||||
- Add docker image publish github workflow.
|
||||
|
||||
## [0.5.1] - 2022-08-18
|
||||
- Add 'reply on broadcast' feature (#75).
|
||||
- Fix for "Resource temporarily unavailable" error in tty read() (#78).
|
||||
|
@ -80,6 +88,7 @@
|
|||
## 0.1.1 - 2003-09-13
|
||||
### Initial release
|
||||
|
||||
[0.5.2]: https://github.com/3cky/mbusd/compare/v0.5.1...v0.5.2
|
||||
[0.5.1]: https://github.com/3cky/mbusd/compare/v0.5.0...v0.5.1
|
||||
[0.5.0]: https://github.com/3cky/mbusd/compare/v0.4.0...v0.5.0
|
||||
[0.4.0]: https://github.com/3cky/mbusd/compare/v0.3.0...v0.4.0
|
||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,4 +1,4 @@
|
|||
Copyright (c) 2002-2003, 2013-2023 Victor Antonovich (v.antonovich@gmail.com)
|
||||
Copyright (c) 2002-2003, 2013-2024 Victor Antonovich (v.antonovich@gmail.com)
|
||||
Copyright (c) 2011 Andrew Denysenko <nitr0@seti.kr.ua>
|
||||
All rights reserved.
|
||||
|
||||
|
|
18
README.md
18
README.md
|
@ -137,7 +137,23 @@ To start the **mbusd** service on system boot:
|
|||
|
||||
# systemctl enable mbusd@<serial port>.service
|
||||
|
||||
Please check systemd documentation for other usefull systemd [commands](https://wiki.archlinux.org/index.php/systemd)
|
||||
Please check systemd documentation for other usefull systemd [commands](https://wiki.archlinux.org/index.php/systemd).
|
||||
|
||||
Docker:
|
||||
-------
|
||||
|
||||
**mbusd** can be launched in Docker container with the following command:
|
||||
|
||||
```shell
|
||||
docker run -d --privileged \
|
||||
--name=mbusd \
|
||||
-p 502:502 \
|
||||
-v /dev:/dev \
|
||||
-v /path/to/mbusd.conf:/etc/mbusd.conf \
|
||||
3cky/mbusd:latest
|
||||
```
|
||||
|
||||
where `/path/to/mbusd.conf` is the path to **mbusd** config file in the local filesystem.
|
||||
|
||||
Contributing:
|
||||
-------------
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.TH "mbusd" 8 "18 Aug 2022" "mbusd @PROJECT_VERSION@"
|
||||
.TH "mbusd" 8 "27 Mar 2024" "mbusd @PROJECT_VERSION@"
|
||||
.SH NAME
|
||||
mbusd \- MODBUS/TCP to MODBUS/RTU gateway.
|
||||
.SH SYNOPSIS
|
||||
|
|
|
@ -101,7 +101,7 @@ void
|
|||
usage(char *exename)
|
||||
{
|
||||
cfg_init();
|
||||
printf("%s-%s Copyright (C) 2002-2003, 2011, 2013-2023 Victor Antonovich <v.antonovich@gmail.com>, "
|
||||
printf("%s-%s Copyright (C) 2002-2003, 2011, 2013-2024 Victor Antonovich <v.antonovich@gmail.com>, "
|
||||
"Andrew Denysenko <nitr0@seti.kr.ua>\n\n"
|
||||
"Usage: %s [-h] [-d] "
|
||||
#ifdef LOG
|
||||
|
|
Loading…
Reference in New Issue