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,
A commit references this bug:
Date: Thu May 5 13:30:18 UTC 2016
New revision: 414644
- Fix installation when SQLITE option is selected
- Bump PORTREVISION
Submitted by: matthias _at_ petermann-it.de