Bug 216931

Summary: net-mgmt/icingaweb2: error when using postgresql backend due to missing dependency
Product: Ports & Packages Reporter: Guido Falsi <madpilot>
Component: Individual Port(s)Assignee: Lars Engels <lme>
Status: Closed FIXED    
Severity: Affects Only Me CC: lme
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (lme)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fix madpilot: maintainer-approval? (lme)

Description Guido Falsi freebsd_committer freebsd_triage 2017-02-09 09:15:27 UTC
Created attachment 179789 [details]
fix

I'm using icingaweb2 with postgresql backend. It depends only on the pdo_pgsql PHP component when postgres support is enabled, but just after login the code uses the pg_unescape_bytea() function, which comes from the pgsql component. [1]

Attached patch adds a dependency on the pgsql component when enabling postgres support.


[1] https://github.com/Icinga/icingaweb2/blob/master/library/Icinga/Authentication/User/DbUserBackend.php line 211
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-02-09 15:47:07 UTC
A commit references this bug:

Author: lme
Date: Thu Feb  9 15:46:47 UTC 2017
New revision: 433739
URL: https://svnweb.freebsd.org/changeset/ports/433739

Log:
  net-mgmt/icingaweb2:

  Add missing dependency when using PostgreSQL

  PR:		216931
  Submitted by:	madpilot
  MFH:		2017Q1

Changes:
  head/net-mgmt/icingaweb2/Makefile
Comment 2 Lars Engels freebsd_committer freebsd_triage 2017-02-09 16:09:37 UTC
Committed, thanks a lot!
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-02-09 16:34:48 UTC
A commit references this bug:

Author: lme
Date: Thu Feb  9 16:34:05 UTC 2017
New revision: 433741
URL: https://svnweb.freebsd.org/changeset/ports/433741

Log:
  MFH: r433739

  net-mgmt/icingaweb2:

  Add missing dependency when using PostgreSQL

  PR:		216931
  Submitted by:	madpilot

  Approved by:	portmgr (feld)

Changes:
_U  branches/2017Q1/
  branches/2017Q1/net-mgmt/icingaweb2/Makefile