aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-08-25 22:44:04 +0000
committerCy Schubert <cy@FreeBSD.org>2022-08-28 21:16:39 +0000
commit880d5ca1e6fb3a74391f866e0b3b416346e86dc4 (patch)
tree3f899de200048835ac69bf031607d5bffa322068 /sysutils
parent35a4e4fc36b002dc1db7bf1dc7e17c067c7ec54c (diff)
downloadports-880d5ca1e6fb3a74391f866e0b3b416346e86dc4.tar.gz
ports-880d5ca1e6fb3a74391f866e0b3b416346e86dc4.zip
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.
Diffstat (limited to 'sysutils')
-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