Summary: | net/kamailio: Fix pkg-plist orphans when using PGSQL option | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | John W. O'Brien <john> | ||||
Component: | Individual Port(s) | Assignee: | Kurt Jaeger <pi> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | Keywords: | easy, needs-qa, patch, patch-ready | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(pi) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Auto-assigned to maintainer pi@FreeBSD.org A commit references this bug: Author: pi Date: Sat Jan 3 06:31:58 UTC 2015 New revision: 376081 URL: https://svnweb.freebsd.org/changeset/ports/376081 Log: net/kamailio: install two files necessary if build with PQSQL If built with the PGSQL option, two files necessary for creating the initial database are not installed as necessary. This causes "kamdbctl create" to fail during extra_create() when EXTRA_MODULES contains "mohqueue" and/or "rtpproxy" (which is does, by default). PR: 196446 Submitted by: John W. O'Brien <john@saltant.com> Changes: head/net/kamailio/Makefile head/net/kamailio/pkg-plist Committed, thanks. |
Created attachment 151222 [details] net/kamailio: Add mohqueue and rtpproxy SQL init files to PLIST If built with the PGSQL option, two files necessary for creating the initial database are not installed as necessary. This causes "kamdbctl create" to fail during extra_create() when EXTRA_MODULES contains "mohqueue" and/or "rtpproxy" (which is does, by default). The orphaned files are: %%DATADIR%%/postgres/mohqueue-create.sql %%DATADIR%%/postgres/rtpproxy-create.sql The fix is to add them to pkg-plist. The attached patch does this.