Bug 221012

Summary: sysutils/rsyslog8: Include database setup scripts when any database OPTIONS are enabled
Product: Ports & Packages Reporter: rainer
Component: Individual Port(s)Assignee: Matthew Seaman <matthew>
Status: Closed FIXED    
Severity: Affects Some People Keywords: needs-patch
Priority: --- Flags: bugzilla: maintainer-feedback? (matthew)
Version: Latest   
Hardware: Any   
OS: Any   

Description rainer 2017-07-26 06:55:28 UTC
rsyslog can be compiled with database output of various kinds.

The source-distribution contains SQL-scripts to create the required database(s) and tables.

These files should be added in the package if such an option is selected (IMHO)
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2017-07-26 08:07:30 UTC
+1 on adding these. A pkg-message pointing the user to them for a good/better post-installation user experience would also be nice.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-08-02 11:31:10 UTC
A commit references this bug:

Author: matthew
Date: Wed Aug  2 11:30:46 UTC 2017
New revision: 447100
URL: https://svnweb.freebsd.org/changeset/ports/447100

Log:
  Appease portlint by reordering some items in the Makefile

  Group FOO_DESC with all the other options helpers for option FOO

  When DOCS are enabled and one or both of MYSQL and PGSQL options are
  selected, install the corresponding createDB.sql file for generating
  the DB schema rsyslog expects [1]

  PR:		221012
  Reported by:	rainer@ultra-secure.de [1]

Changes:
  head/sysutils/rsyslog8/Makefile
Comment 3 Matthew Seaman freebsd_committer freebsd_triage 2017-08-02 11:31:26 UTC
Committed, thanks!