Bug 196446 - net/kamailio: Fix pkg-plist orphans when using PGSQL option
Summary: net/kamailio: Fix pkg-plist orphans when using PGSQL option
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: Kurt Jaeger
URL:
Keywords: easy, needs-qa, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2015-01-02 20:18 UTC by John W. O'Brien
Modified: 2015-01-03 06:40 UTC (History)
0 users

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


Attachments
net/kamailio: Add mohqueue and rtpproxy SQL init files to PLIST (1.26 KB, patch)
2015-01-02 20:18 UTC, John W. O'Brien
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John W. O'Brien 2015-01-02 20:18:57 UTC
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.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-02 20:18:57 UTC
Auto-assigned to maintainer pi@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-01-03 06:33:28 UTC
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
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2015-01-03 06:40:34 UTC
Committed, thanks.