packages/admin/monit/patches/001-fix-default-piddir.patch
Yaroslav Petrov 3e6ff47344 monit: update to 5.33.0
Maintainer: me
Compile tested: x86_64, PC Engines APU4, OpenWrt 22.03.5/main
Run tested: x86_64, PC Engines APU4, OpenWrt 22.03.5/main, div. tests

* update from 5.26.0 to 5.33.0 (fixes a lot of bugs, defaults TLSv1.2 and TLSv1.3, new functions. See fullog: https://mmonit.com/monit/changes/)
* replace maintainer
* update piddir patch
* use maintainers bootstrap script instead PKG_FIXUP

Signed-off-by: Yaroslav Petrov <info@lank.me>
2023-08-05 23:02:09 +02:00

18 lines
437 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -477,14 +477,7 @@ AC_ARG_WITH(ipv6,
# Find the right directory to put the root-mode PID file in
AC_MSG_CHECKING([pid file location])
-if test -d "/run"
-then
- piddir="/run"
-elif test -d "/var/run"; then
- piddir="/var/run"
-elif test -d "/etc"; then
- piddir="/etc"
-fi
+piddir="/var/run"
AC_DEFINE_UNQUOTED([PIDDIR], "$piddir",
[Define to the pid storage directory.])