[Bug 208344] [PATCH] sysutils/bareos-server: fix packaging in case of SQLITE3 option is set

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 27 23:33:07 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208344

            Bug ID: 208344
           Summary: [PATCH] sysutils/bareos-server: fix packaging in case
                    of SQLITE3 option is set
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm at FreeBSD.org
          Reporter: matthias at petermann-it.de
          Assignee: acm at FreeBSD.org
             Flags: maintainer-feedback?(acm at FreeBSD.org)
          Keywords: patch

Created attachment 168708
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=168708&action=edit
Patch for sysutils/bareos-server

When bareos-server is built with SQLITE3 option set, packaging fails due to
pkg-plist assumes files to be present which are not present for SQLITE3. This
results in this error message:

pkg-static: Unable to access file
/construction/xports/sysutils/bareos-server/work/stage/usr/local/lib/bareos/scripts/ddl/drops/sqlite3.sql:
No such file or directory
pkg-static: Unable to access file
/construction/xports/sysutils/bareos-server/work/stage/usr/local/lib/bareos/scripts/ddl/grants/sqlite3-readonly.sql:
No such file or directory
pkg-static: Unable to access file
/construction/xports/sysutils/bareos-server/work/stage/usr/local/lib/bareos/scripts/ddl/grants/sqlite3.sql:
No such file or directory

Attached to this ticket is my proposal for a fix, using conditional pkg-plist.

I'd appreciate if someone could review and commit this to the official tree.

Thanks & kind regards,
Matthias

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list