Created attachment 188582 [details] svn diff for www/nextcloud ``` www/nextcloud: Update to 12.0.4 PR: ```
Hello Bernard Can you include the following patch to fix PostgreSQL 10 instances ? https://github.com/nextcloud/server/issues/5930#issuecomment-318924370 Thanks
Created attachment 188585 [details] svn diff for www/nextcloud Add patch for PostgreSQL 10
Failed to fetch file => nextcloud-12.0.4.tar.bz2 doesn't seem to exist in /portdistfiles/. => Attempting to fetch https://download.nextcloud.com/server/prereleases/nextcloud-12.0.4.tar.bz2 fetch: https://download.nextcloud.com/server/prereleases/nextcloud-12.0.4.tar.bz2: size mismatch: expected 43689386, actual 43583313 => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/nextcloud-12.0.4.tar.bz2 fetch: http://distcache.FreeBSD.org/ports-distfiles/nextcloud-12.0.4.tar.bz2: Not Found
Created attachment 188591 [details] svn diff for www/nextcloud Not sure how that came to be. Regenerated the patch with a new download.
Packaging failed =========================================================================== =======================<phase: package >============================ ===> Building package for nextcloud-12.0.4 pkg-static: Unable to access file /wrkdirs/usr/ports/www/nextcloud/work/stage/usr/local/www/nextcloud/core/l10n/ast.js:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/www/nextcloud/work/stage/usr/local/www/nextcloud/core/l10n/ast.json:No such file or directory *** Error code 1 Stop.
Created attachment 188799 [details] svn diff for www/nextcloud Fixed plist/packaging errors
A commit references this bug: Author: brnrd Date: Thu Dec 14 09:11:13 UTC 2017 New revision: 456283 URL: https://svnweb.freebsd.org/changeset/ports/456283 Log: www/nextcloud: Update to 12.0.4 - Include upstream PostgreSQL fix Changelog: https://nextcloud.com/changelog/#latest12 PR: 224142 Approved by: Loic Blot <loic.blot unix-experience fr> (maintainer) Changes: head/www/nextcloud/Makefile head/www/nextcloud/distinfo head/www/nextcloud/files/patch-3rdparty_doctrine_dbal_lib_Doctrine_DBAL_Schema_PostgreSqlSchemaManager.php head/www/nextcloud/pkg-plist
The patch was incorrect. NextCloud performs self-checking by validating the installed files against a list of known hashes. When the patch was added in r456283, the hash was not also updated, so anyone running NextCloud will have errors about a hash mismatch (and many may not know to check that it's the result of the port and will believe their installations are damaged or compromised).