Summary: | www/nextcloud fails to package | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Dima Panov <fluffy> |
Component: | Individual Port(s) | Assignee: | Bernard Spil <brnrd> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(brnrd) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Dima Panov
![]() ![]() Cannot reproduce. All the port does is extract, move some stuff about, use extracted folder to generate pkg-plist. Can't see how you'd have differences between extract and the ` find` output. Can you reproduce? (In reply to Bernard Spil from comment #1) poudriere log https://people.freebsd.org/~fluffy/-log/141amd64/nextcloud-php82-30.0.1.log all *.license files are present in original tarball, extracted and moved to stage dir by framework, without MITM presence. (In reply to Dima Panov from comment #2) Holy moly! Houston, we have a problem! All orphaned *.license mentions are real symlinks (not files) since nextcloud-30.0.0 and not covered by do-install script. diff --git a/www/nextcloud/Makefile b/www/nextcloud/Makefile index 8d0935d0a192..1fc1b2c20b60 100644 --- a/www/nextcloud/Makefile +++ b/www/nextcloud/Makefile @@ -81,7 +81,7 @@ do-install: ${STAGEDIR}${WWWDIR}/config/config.sample.php @${MKDIR} ${STAGEDIR}${WWWDIR}/data ${STAGEDIR}${WWWDIR}/apps \ ${STAGEDIR}/var/log/${PORTNAME} - (cd ${WRKSRC}; ${FIND} . -type f) | ${SORT} | \ + (cd ${WRKSRC}; ${FIND} . \(-type f -o -type l\)) | ${SORT} | \ ${SED} -Ee '/^\.\/\.(htaccess\.dist|user\.ini)/d' \ -e '/^\.\/config\/config\.sample\.php/d' \ -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST} (In reply to Dima Panov from comment #3) Oh, wrong version of diff with extra parenthesis :( - (cd ${WRKSRC}; ${FIND} . -type f) | ${SORT} | \ + (cd ${WRKSRC}; ${FIND} . -type f -o -type l) | ${SORT} | \ A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c1674a4175adeb653d04f21c80956163b45b4eb7 commit c1674a4175adeb653d04f21c80956163b45b4eb7 Author: Bernard Spil <brnrd@FreeBSD.org> AuthorDate: 2024-12-18 18:39:13 +0000 Commit: Bernard Spil <brnrd@FreeBSD.org> CommitDate: 2024-12-18 18:39:13 +0000 www/nextcloud: Update to 30.0.5 * And fix package failure [1] PR: 281812 [1] Reported by: fluffy [1] www/nextcloud/Makefile | 4 ++-- www/nextcloud/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) |