Bug 221012 - sysutils/rsyslog8: Include database setup scripts when any database OPTIONS are enabled
Summary: sysutils/rsyslog8: Include database setup scripts when any database OPTIONS a...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Matthew Seaman
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2017-07-26 06:55 UTC by rainer
Modified: 2017-08-02 11:31 UTC (History)
0 users

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


Attachments

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