summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-08-25 15:44:04 -0700
committerCy Schubert <cy@FreeBSD.org>2022-08-28 14:16:39 -0700
commit880d5ca1e6fb3a74391f866e0b3b416346e86dc4 (patch)
tree3f899de200048835ac69bf031607d5bffa322068
parentsysutils/daggy: Update 2.0.2 -> 2.1.3 (diff)
sysutils/nut-devel: Disable new nut_monitor feature
At the moment this new feature, a GUI to monitor nut, inconsistently builds and installs itself. It fails to build when built under poudriere or when using an unprivileged account. However it will build and install when built by hand by root. Even though ./configure (configure.ac) is supposed to support enabling and disabling the option, this does not work. The option remains "auto" and nut_monitor will install or not install based on some unknown at the moment criteria.
-rw-r--r--sysutils/nut-devel/files/patch-configure.ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/nut-devel/files/patch-configure.ac b/sysutils/nut-devel/files/patch-configure.ac
new file mode 100644
index 000000000000..86db2cd40761
--- /dev/null
+++ b/sysutils/nut-devel/files/patch-configure.ac
@@ -0,0 +1,20 @@
+--- configure.ac.orig 2022-08-25 15:32:21.256937000 -0700
++++ configure.ac 2022-08-25 15:37:36.166445000 -0700
+@@ -802,7 +802,7 @@
+
+ dnl A Python GUI client application for the sysadmin desktop
+ dnl (not necessarily on the NUT server itself):
+-NUT_ARG_WITH([nut_monitor], [install the NUT-Monitor GUI files], [auto])
++NUT_ARG_WITH([nut_monitor], [install the NUT-Monitor GUI files], [no])
+ NUT_ARG_WITH([pynut], [install the PyNUT module files (yes, no, app, auto)], [auto])
+ dnl Note: we did NUT_CHECK_PYTHON2 NUT_CHECK_PYTHON3 etc above,
+ dnl and if at all possible, we generate the files from .in templates
+@@ -1301,7 +1301,7 @@
+ dnl Can we satisfy any NUT-Monitor installation request?
+ if test -n "${nut_with_nut_monitor_py2gtk2}${nut_with_nut_monitor_py3qt5}" ; then
+ case "${nut_with_nut_monitor}" in
+- "auto") nut_with_nut_monitor="yes" ;;
++ "auto") nut_with_nut_monitor="no" ;;
+ esac
+ else
+ case "${nut_with_nut_monitor}" in