Created attachment 221103 [details] www/owncloud: Fix build without EXAMPLES Synopsis ======== When the EXAMPLES option is unset, the newsyslog file is not staged and therefore cannot be packaged by the "@sample" line in pkg-plist. Prior to pkg 1.16, this was not a fatal error. Log samples =========== 2020-12-17 pkg 1.15.10 =======================<phase: package >============================ ===> Building package for owncloud-php74-10.5.0 pkg-static: Unable to access file /wrkdirs/usr/ports/www/owncloud/work-php74/stage/usr/local/share/examples/owncloud/newsyslog:No such file or directory =========================================================================== 2020-12-26 pkg 1.16.0 =======================<phase: package >============================ ===> Building package for owncloud-php74-10.6.0 pkg-static: Unable to access file /wrkdirs/usr/ports/www/owncloud/work-php74/stage/usr/local/share/examples/owncloud/newsyslog:No such file or directory pkg-static: Fail to apply keyword 'sample' *** Error code 1 Stop. Changelog ========= * Exclude newsyslog sample unless EXAMPLES * While here, pet portlint (7-bit ASCII clean) and bump PORTREVISION QA == portlint: OK poudriere: OK -- bulk on 12.2R amd64 with and without EXAMPLES
Committed. Thanks!
A commit references this bug: Author: sunpoet Date: Sat Jan 30 12:36:12 UTC 2021 New revision: 563396 URL: https://svnweb.freebsd.org/changeset/ports/563396 Log: Fix packaging when EXAMPLES disabled - Update pkg-descr: convert UTF-8 to ASCII PR: 252284 Submitted by: John W. O'Brien <john@saltant.com> Changes: head/www/owncloud/pkg-descr head/www/owncloud/pkg-plist