Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908689 - sys-power/nut-2.8.0-r1 - cgi use flag not honored
Summary: sys-power/nut-2.8.0-r1 - cgi use flag not honored
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-06-17 15:45 UTC by Ronny Boesger
Modified: 2023-08-09 03:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronny Boesger 2023-06-17 15:45:22 UTC
* Package:    sys-power/nut-2.8.0-r1:0
 * Repository: gentoo
 * Maintainer: robbat2@gentoo.org prometheanfire@gentoo.org,web@inode64.com,proxy-maint@gentoo.org
 * Upstream:   https://github.com/networkupstools/nut/issues
 * USE:        abi_x86_64 amd64 cgi elibc_glibc kernel_linux man snmp split-usr ssl tcpd usb xml
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox

[...]

./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/nut-2.8.0-r1 --htmldir=/usr/share/doc/nut-2.8.0-r1/html --with-sysroot=/ --libdir=/usr/lib64 --datadir=/usr/share/nut --datarootdir=/usr/share/nut --disable-static --disable-strip --disable-Werror --sysconfdir=/etc/nut --with-dev --with-drvpath=/lib64/nut --with-group=nut --with-htmlpath=/usr/share/nut/html --with-logfacility=LOG_DAEMON --with-statepath=/var/lib/nut --with-systemdsystemunitdir=/lib/systemd/system --with-systemdtmpfilesdir=/usr/lib/tmpfiles.d --with-udev-dir=/lib/udev --with-user=nut --without-powerman --without-python --without-python2 --without-python3 --with-altpidpath=/run/nut --with-pidpath=/run/nut --disable-cppunit --without-linux_i2c --without-freeipmi --without-ipmi --without-serial --with-snmp --with-ssl --with-wrap --with-usb --with-neon --without-avahi --with-cgipath=/usr/share/nut/cgi --with-doc=man

[...]

checking cgi path... /usr/share/nut/cgi
checking html path... /usr/share/nut/html

[...]

Configuration summary:
======================
build serial drivers: no
build USB drivers: yes (libusb-1.0)
build neon based XML driver: yes
enable Avahi support: no
build Powerman PDU client driver: no
build Modbus driver: no
build IPMI driver: no
build Mac OS X meta-driver: no
build i2c based drivers: no
enable SSL support: yes (OpenSSL)
enable libwrap (tcp-wrappers) support: yes
enable libltdl (Libtool dlopen abstraction) support: yes
build nut-scanner: yes
build CGI programs: no
build and install documentation: man
build specific documentation format(s): yes  man
build and install the development files: yes
build SNMP drivers: yes

So it seems, only the "--with-cgi" configure flag is missing.

Reproducible: Always
Comment 1 Ronny Boesger 2023-06-17 15:46:30 UTC
one isse from the overhaul of the new ebuild: https://bugs.gentoo.org/836776
Comment 2 Larry the Git Cow gentoo-dev 2023-08-09 03:34:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=027889960310a752b445a25d5b378c502ce72bac

commit 027889960310a752b445a25d5b378c502ce72bac
Author:     Francisco Javier Félix <web@inode64.com>
AuthorDate: 2023-08-08 08:38:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-09 03:29:00 +0000

    sys-power/nut: Fix missing cgi flag in configure
    
    Closes: https://bugs.gentoo.org/908689
    Signed-off-by: INODE64 <web@inode64.com>
    Closes: https://github.com/gentoo/gentoo/pull/32218
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-power/nut/{nut-2.8.0-r1.ebuild => nut-2.8.0-r2.ebuild} | 1 +
 sys-power/nut/nut-9999.ebuild                              | 1 +
 2 files changed, 2 insertions(+)