Bug 216931 - net-mgmt/icingaweb2: error when using postgresql backend due to missing dependency
Summary: net-mgmt/icingaweb2: error when using postgresql backend due to missing depen...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Lars Engels
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-02-09 09:15 UTC by Guido Falsi
Modified: 2017-02-09 16:34 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (lme)


Attachments
fix (544 bytes, patch)
2017-02-09 09:15 UTC, Guido Falsi
madpilot: maintainer-approval? (lme)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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