Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2016 12:04:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213376] [patch] net-mgmt/librenms use mysqli instead of mysql php extension (support for PHP7)
Message-ID:  <bug-213376-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213376

            Bug ID: 213376
           Summary: [patch] net-mgmt/librenms use mysqli instead of mysql
                    php extension (support for PHP7)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: fredrik.eriksson@loopia.se
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Keywords: patch

Created attachment 175618
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175618&action=
=3Dedit
Use mysqli-extension instead of mysql

The librenms port requires the mysql extension, which has been removed in p=
hp7.
As such it is not possible to build the librenms port with
DEFAULT_VERSIONS=3Dphp=3D7.0.

However, it seems librenms can use either one of mysql or mysqli, so this p=
atch
simply replaces the mysql requirement with mysqli.

Note that I'm building this port for someone else (who will look at it "in =
due
time"), so I haven't tested that the package actually works after this patc=
h,
but it builds successfully in poudriere and since the official librenms ima=
ges
uses PHP7 I'm pretty sure this shouldn't be a problem (but should still be
tested of course).

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



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