Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2022 21:19:37 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 880d5ca1e6fb - main - sysutils/nut-devel: Disable new nut_monitor feature
Message-ID:  <202208282119.27SLJbhm034129@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=880d5ca1e6fb3a74391f866e0b3b416346e86dc4

commit 880d5ca1e6fb3a74391f866e0b3b416346e86dc4
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-08-25 22:44:04 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-08-28 21:16:39 +0000

    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.
---
 sysutils/nut-devel/files/patch-configure.ac | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208282119.27SLJbhm034129>