Bug 256823

Summary: www/nextcloud: remove patch leftover and add missing runtime dep
Product: Ports & Packages Reporter: Mikael Urankar <mikael>
Component: Individual Port(s)Assignee: Bernard Spil <brnrd>
Status: Closed FIXED    
Severity: Affects Many People Keywords: needs-qa
Priority: --- Flags: bugzilla: maintainer-feedback? (brnrd)
koobs: merge-quarterly?
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
v0 none

Description Mikael Urankar freebsd_committer freebsd_triage 2021-06-25 07:31:54 UTC
Created attachment 226048 [details]
v0

The PCNTL extension is required to do some nextcloud maintenance:

su -m www -c 'php /usr/local/www/nextcloud/occ preview:repair -v'
snip
Should the migration be started? (y/[n]) y
An unhandled exception has been thrown:
Error: Call to undefined function OC\Core\Command\Preview\pcntl_signal() in /usr/local/www/nextcloud/core/Command/Preview/Repair.php:167


while here remove backup files left from the patch phase.


I forgot to bump portrevision.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-06-26 02:02:54 UTC
^Triage: Is quarterly also affected?

Note also that builk/runtime fixes are, with QA:

Approved by: portmgr (blanket: build/runtime fix)
MFH: <branch|No> (<reason>)
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-07-04 12:25:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6242ca333337cf29cdb3e4a85c03b6aebd52114c

commit 6242ca333337cf29cdb3e4a85c03b6aebd52114c
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2021-07-04 12:20:52 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2021-07-04 12:24:37 +0000

    www/nextcloud: Update to 21.0.3

     * Quench pcntl warnings in `php occ` [1]
     * Remove patch leftovers [1]

    PR:             256823 [1]
    Submitted by:   mikael [1]

 www/nextcloud/Makefile  |  5 ++--
 www/nextcloud/distinfo  |  6 ++---
 www/nextcloud/pkg-plist | 68 ++++++++++++++++++++++++++++++++++++-------------
 3 files changed, 57 insertions(+), 22 deletions(-)
Comment 3 Bernard Spil freebsd_committer freebsd_triage 2021-07-04 15:47:27 UTC
Thanks Mikael!