[Bug 275130] net-mgmt/librenms: should drag php*-iconv as a dependency

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 16 Nov 2023 16:49:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275130

            Bug ID: 275130
           Summary: net-mgmt/librenms: should drag php*-iconv as a
                    dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: dvl@FreeBSD.org
          Reporter: fgudin+fbsd@bsdbellule.fr
          Assignee: dvl@FreeBSD.org
             Flags: maintainer-feedback?(dvl@FreeBSD.org)

Hello,

when dealing with non-UTF8 hosts, the inferEncoding from
LibreNMS/Util/StringHelpers.php requires an iconv().

The following should unconditionally require php’s iconv port and make LibreNMS
more useful:

--- Makefile.orig       2023-11-16 17:42:36.878650000 +0100
+++ Makefile    2023-11-16 17:42:47.428651000 +0100
@@ -27,7 +27,7 @@

 USES=          cpe php python shebangfix
 USE_GITHUB=    yes
-USE_PHP=       ctype curl dom fileinfo filter gd hash json ldap mbstring \
+USE_PHP=       ctype curl dom fileinfo filter gd hash iconv json ldap mbstring
\
                mysqli openssl pdo pdo_mysql phar posix session simplexml snmp
\
                sockets tokenizer xml xmlwriter zip
 USE_RC_SUBR=   librenms

Thanks in advance,
-- 
Francis GUDIN

-- 
You are receiving this mail because:
You are the assignee for the bug.