addrwatch: Various fixes 15899/head
authorJeffery To <jeffery.to@gmail.com>
Fri, 18 Jun 2021 08:33:55 +0000 (16:33 +0800)
committerJeffery To <jeffery.to@gmail.com>
Tue, 6 Jul 2021 16:18:47 +0000 (00:18 +0800)
commit31ae85bca963ce240c9e1b8df55294587b079161
treea1dc1e48f2919b47b8bf4b41b2bc5648159d13f1
parentf39a2bc32f12ccbd6e3a2857db7298494f607786
addrwatch: Various fixes

Makefile changes include:

* Remove USE_UCLIBC, as uclibc is no longer supported

* Package output modules

* Move main binary (back) to /usr/sbin, as it is system administration
  related and requires superuser privileges

New patches:

* 003-add-space-for-null-byte.patch - from
  https://github.com/fln/addrwatch/commit/374cfd2cabe4db9882d8a210adff430cc579f859

* 004-more-specific-library-linking.patch - from
  https://github.com/fln/addrwatch/commit/27b57d9da322fc16c6904d8e35aae4557a3e517b

* 005-use-c99-format-macro-constants.patch - from
  https://github.com/fln/addrwatch/pull/28

Init script changes include:

* Change from explicit disable to explicit enable, so that the service
  is disabled by default and on first install

* Set config option default values to default values of the main binary

* Fix command-line option names and format (from
  https://forum.openwrt.org/t/cant-start-addrwatch-service/60499/3)

* Always use the --quiet command-line option, as the procd instance is
  not configured to capture stdout/stderr

* Change the syslog config option to start the syslog output module

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
net/addrwatch/Makefile
net/addrwatch/files/addrwatch.config
net/addrwatch/files/addrwatch.init
net/addrwatch/patches/003-add-space-for-null-byte.patch [new file with mode: 0644]
net/addrwatch/patches/004-more-specific-library-linking.patch [new file with mode: 0644]
net/addrwatch/patches/005-use-c99-format-macro-constants.patch [new file with mode: 0644]