| Summary: | [PATCH] sysutils/bareos-server: fix packaging in case of SQLITE3 option is set | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Matthias Petermann <matthias> | ||||
| Component: | Individual Port(s) | Assignee: | Jose Alonso Cardenas Marquez <acm> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Some People | Keywords: | patch | ||||
| Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(acm) |
||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
A commit references this bug: Author: acm Date: Thu May 5 13:30:18 UTC 2016 New revision: 414644 URL: https://svnweb.freebsd.org/changeset/ports/414644 Log: - Fix installation when SQLITE option is selected - Bump PORTREVISION PR: 208344 Submitted by: matthias _at_ petermann-it.de Changes: head/sysutils/bareos-server/Makefile head/sysutils/bareos-server/pkg-plist Committed thanks! |
Created attachment 168708 [details] 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