nut: specify pid path during build
authorMatt Merhar <mattmerhar@protonmail.com>
Fri, 23 Aug 2024 19:21:41 +0000 (15:21 -0400)
committerRosen Penev <rosenp@gmail.com>
Wed, 2 Oct 2024 20:26:36 +0000 (13:26 -0700)
commitdcc65127fb487d9a5c436dc35a08b2d1d0f8c2a7
treecc235a91a66a557ced5b9119dd669a360bd639db
parentc1e6edfa862e065caa6f8b3e9fd50d38d7ed57f5
nut: specify pid path during build

nut was recently upgraded to 2.8.1 which includes a change in
configure.ac that uses /run for the pidfile if it exists during build.

Explicitly specify --with-pidpath to use the path that was used with
2.8.0 and prior.

The symptom here was that there'd be leftover processes when nut-monitor
was restarted.

Fixes: 82f36e0c781d ("nut: update to 2.8.1")
Fixes: https://github.com/openwrt/packages/issues/24106
Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
net/nut/Makefile