git: ad1215ab862f - main - security/nextcloud-end_to_end_encryption: Update to 1.8.1

From: Bernard Spil <brnrd_at_FreeBSD.org>
Date: Sat, 30 Oct 2021 12:11:56 UTC
The branch main has been updated by brnrd:

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

commit ad1215ab862fc649c4db8ec6225a943ac0960630
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2021-10-30 12:10:44 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2021-10-30 12:10:44 +0000

    security/nextcloud-end_to_end_encryption: Update to 1.8.1
---
 security/nextcloud-end_to_end_encryption/Makefile  |   9 +-
 security/nextcloud-end_to_end_encryption/distinfo  |   6 +-
 security/nextcloud-end_to_end_encryption/pkg-plist | 156 ---------------------
 3 files changed, 8 insertions(+), 163 deletions(-)

diff --git a/security/nextcloud-end_to_end_encryption/Makefile b/security/nextcloud-end_to_end_encryption/Makefile
index 988706dc79db..3198a6babaaf 100644
--- a/security/nextcloud-end_to_end_encryption/Makefile
+++ b/security/nextcloud-end_to_end_encryption/Makefile
@@ -1,13 +1,12 @@
 # Created by: Bernard Spil <brnrd@freebsd.org>
 
 PORTNAME=	end_to_end_encryption
-PORTVERSION=	1.7.1
+PORTVERSION=	1.8.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security
-MASTER_SITES=	https://github.com/${PKGNAMEPREFIX:S/-//}/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
+MASTER_SITES=	https://github.com/${PKGNAMEPREFIX}releases/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/
 PKGNAMEPREFIX=	nextcloud-
 PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
-DISTNAME=	${PORTNAME}-${PORTVERSION}
 DIST_SUBDIR=	${PKGNAMEPREFIX:S/-//}
 
 MAINTAINER=	brnrd@freebsd.org
@@ -16,7 +15,7 @@ COMMENT=	End-to-End Encryption app for Nextcloud
 LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	nextcloud${PHP_PKGNAMESUFFIX}>=20:www/nextcloud@${PHP_FLAVOR}
+RUN_DEPENDS=	nextcloud${PHP_PKGNAMESUFFIX}>=22:www/nextcloud@${PHP_FLAVOR}
 
 USES=		php:flavors
 NO_BUILD=	yes
@@ -29,5 +28,7 @@ do-install:
 	${MKDIR} ${STAGEDIR}${WWWDIR}
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
 	${RM} ${STAGEDIR}${WWWDIR}/COPYING
+	@(cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \
+ 		${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST}
 
 .include <bsd.port.mk>
diff --git a/security/nextcloud-end_to_end_encryption/distinfo b/security/nextcloud-end_to_end_encryption/distinfo
index 76f41dd7e7a9..1fa735b4f6af 100644
--- a/security/nextcloud-end_to_end_encryption/distinfo
+++ b/security/nextcloud-end_to_end_encryption/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620934608
-SHA256 (nextcloud/end_to_end_encryption-1.7.1.tar.gz) = 1e78cc32777d05bf933acfa562c7ec38b5123c6e0e616d95094cd6c2b5f145cf
-SIZE (nextcloud/end_to_end_encryption-1.7.1.tar.gz) = 69817
+TIMESTAMP = 1635590879
+SHA256 (nextcloud/end_to_end_encryption-v1.8.1.tar.gz) = 12f0006e5aef177166d7eb61c3d6d07c121feab1b74815fe130db235b6904efd
+SIZE (nextcloud/end_to_end_encryption-v1.8.1.tar.gz) = 84876
diff --git a/security/nextcloud-end_to_end_encryption/pkg-plist b/security/nextcloud-end_to_end_encryption/pkg-plist
deleted file mode 100644
index a285a706463b..000000000000
--- a/security/nextcloud-end_to_end_encryption/pkg-plist
+++ /dev/null
@@ -1,156 +0,0 @@
-%%WWWDIR%%/LICENSE
-%%WWWDIR%%/SECURITY.md
-%%WWWDIR%%/appinfo/info.xml
-%%WWWDIR%%/appinfo/routes.php
-%%WWWDIR%%/img/app.svg
-%%WWWDIR%%/l10n/.gitkeep
-%%WWWDIR%%/l10n/ar.js
-%%WWWDIR%%/l10n/ar.json
-%%WWWDIR%%/l10n/ast.js
-%%WWWDIR%%/l10n/ast.json
-%%WWWDIR%%/l10n/ca.js
-%%WWWDIR%%/l10n/ca.json
-%%WWWDIR%%/l10n/cs.js
-%%WWWDIR%%/l10n/cs.json
-%%WWWDIR%%/l10n/da.js
-%%WWWDIR%%/l10n/da.json
-%%WWWDIR%%/l10n/de.js
-%%WWWDIR%%/l10n/de.json
-%%WWWDIR%%/l10n/de_DE.js
-%%WWWDIR%%/l10n/de_DE.json
-%%WWWDIR%%/l10n/el.js
-%%WWWDIR%%/l10n/el.json
-%%WWWDIR%%/l10n/en_GB.js
-%%WWWDIR%%/l10n/en_GB.json
-%%WWWDIR%%/l10n/eo.js
-%%WWWDIR%%/l10n/eo.json
-%%WWWDIR%%/l10n/es.js
-%%WWWDIR%%/l10n/es.json
-%%WWWDIR%%/l10n/es_419.js
-%%WWWDIR%%/l10n/es_419.json
-%%WWWDIR%%/l10n/es_CL.js
-%%WWWDIR%%/l10n/es_CL.json
-%%WWWDIR%%/l10n/es_CO.js
-%%WWWDIR%%/l10n/es_CO.json
-%%WWWDIR%%/l10n/es_CR.js
-%%WWWDIR%%/l10n/es_CR.json
-%%WWWDIR%%/l10n/es_DO.js
-%%WWWDIR%%/l10n/es_DO.json
-%%WWWDIR%%/l10n/es_EC.js
-%%WWWDIR%%/l10n/es_EC.json
-%%WWWDIR%%/l10n/es_GT.js
-%%WWWDIR%%/l10n/es_GT.json
-%%WWWDIR%%/l10n/es_HN.js
-%%WWWDIR%%/l10n/es_HN.json
-%%WWWDIR%%/l10n/es_MX.js
-%%WWWDIR%%/l10n/es_MX.json
-%%WWWDIR%%/l10n/es_NI.js
-%%WWWDIR%%/l10n/es_NI.json
-%%WWWDIR%%/l10n/es_PA.js
-%%WWWDIR%%/l10n/es_PA.json
-%%WWWDIR%%/l10n/es_PE.js
-%%WWWDIR%%/l10n/es_PE.json
-%%WWWDIR%%/l10n/es_PR.js
-%%WWWDIR%%/l10n/es_PR.json
-%%WWWDIR%%/l10n/es_PY.js
-%%WWWDIR%%/l10n/es_PY.json
-%%WWWDIR%%/l10n/es_SV.js
-%%WWWDIR%%/l10n/es_SV.json
-%%WWWDIR%%/l10n/es_UY.js
-%%WWWDIR%%/l10n/es_UY.json
-%%WWWDIR%%/l10n/eu.js
-%%WWWDIR%%/l10n/eu.json
-%%WWWDIR%%/l10n/fi.js
-%%WWWDIR%%/l10n/fi.json
-%%WWWDIR%%/l10n/fr.js
-%%WWWDIR%%/l10n/fr.json
-%%WWWDIR%%/l10n/gl.js
-%%WWWDIR%%/l10n/gl.json
-%%WWWDIR%%/l10n/he.js
-%%WWWDIR%%/l10n/he.json
-%%WWWDIR%%/l10n/hr.js
-%%WWWDIR%%/l10n/hr.json
-%%WWWDIR%%/l10n/hu.js
-%%WWWDIR%%/l10n/hu.json
-%%WWWDIR%%/l10n/is.js
-%%WWWDIR%%/l10n/is.json
-%%WWWDIR%%/l10n/it.js
-%%WWWDIR%%/l10n/it.json
-%%WWWDIR%%/l10n/ja.js
-%%WWWDIR%%/l10n/ja.json
-%%WWWDIR%%/l10n/ka_GE.js
-%%WWWDIR%%/l10n/ka_GE.json
-%%WWWDIR%%/l10n/ko.js
-%%WWWDIR%%/l10n/ko.json
-%%WWWDIR%%/l10n/lt_LT.js
-%%WWWDIR%%/l10n/lt_LT.json
-%%WWWDIR%%/l10n/lv.js
-%%WWWDIR%%/l10n/lv.json
-%%WWWDIR%%/l10n/nb.js
-%%WWWDIR%%/l10n/nb.json
-%%WWWDIR%%/l10n/nl.js
-%%WWWDIR%%/l10n/nl.json
-%%WWWDIR%%/l10n/pl.js
-%%WWWDIR%%/l10n/pl.json
-%%WWWDIR%%/l10n/pt_BR.js
-%%WWWDIR%%/l10n/pt_BR.json
-%%WWWDIR%%/l10n/pt_PT.js
-%%WWWDIR%%/l10n/pt_PT.json
-%%WWWDIR%%/l10n/ro.js
-%%WWWDIR%%/l10n/ro.json
-%%WWWDIR%%/l10n/ru.js
-%%WWWDIR%%/l10n/ru.json
-%%WWWDIR%%/l10n/sc.js
-%%WWWDIR%%/l10n/sc.json
-%%WWWDIR%%/l10n/sk.js
-%%WWWDIR%%/l10n/sk.json
-%%WWWDIR%%/l10n/sl.js
-%%WWWDIR%%/l10n/sl.json
-%%WWWDIR%%/l10n/sq.js
-%%WWWDIR%%/l10n/sq.json
-%%WWWDIR%%/l10n/sr.js
-%%WWWDIR%%/l10n/sr.json
-%%WWWDIR%%/l10n/sv.js
-%%WWWDIR%%/l10n/sv.json
-%%WWWDIR%%/l10n/tr.js
-%%WWWDIR%%/l10n/tr.json
-%%WWWDIR%%/l10n/uk.js
-%%WWWDIR%%/l10n/uk.json
-%%WWWDIR%%/l10n/zh_CN.js
-%%WWWDIR%%/l10n/zh_CN.json
-%%WWWDIR%%/l10n/zh_HK.js
-%%WWWDIR%%/l10n/zh_HK.json
-%%WWWDIR%%/l10n/zh_TW.js
-%%WWWDIR%%/l10n/zh_TW.json
-%%WWWDIR%%/lib/AppInfo/Application.php
-%%WWWDIR%%/lib/BackgroundJob/RollbackBackgroundJob.php
-%%WWWDIR%%/lib/Capabilities.php
-%%WWWDIR%%/lib/Connector/Sabre/APlugin.php
-%%WWWDIR%%/lib/Connector/Sabre/LockPlugin.php
-%%WWWDIR%%/lib/Connector/Sabre/PropFindPlugin.php
-%%WWWDIR%%/lib/Connector/Sabre/RedirectRequestPlugin.php
-%%WWWDIR%%/lib/Controller/EncryptionController.php
-%%WWWDIR%%/lib/Controller/KeyController.php
-%%WWWDIR%%/lib/Controller/LockingController.php
-%%WWWDIR%%/lib/Controller/MetaDataController.php
-%%WWWDIR%%/lib/Db/Lock.php
-%%WWWDIR%%/lib/Db/LockMapper.php
-%%WWWDIR%%/lib/EncryptionManager.php
-%%WWWDIR%%/lib/Exceptions/FileLockedException.php
-%%WWWDIR%%/lib/Exceptions/FileNotLockedException.php
-%%WWWDIR%%/lib/Exceptions/KeyExistsException.php
-%%WWWDIR%%/lib/Exceptions/MetaDataExistsException.php
-%%WWWDIR%%/lib/Exceptions/MissingMetaDataException.php
-%%WWWDIR%%/lib/FileService.php
-%%WWWDIR%%/lib/IKeyStorage.php
-%%WWWDIR%%/lib/IMetaDataStorage.php
-%%WWWDIR%%/lib/KeyStorage.php
-%%WWWDIR%%/lib/Listener/UserDeletedListener.php
-%%WWWDIR%%/lib/LockManager.php
-%%WWWDIR%%/lib/MetaDataStorage.php
-%%WWWDIR%%/lib/Middleware/UserAgentCheckMiddleware.php
-%%WWWDIR%%/lib/Migration/Version1005Date20200312102456.php
-%%WWWDIR%%/lib/Migration/Version1005Date20200312161123.php
-%%WWWDIR%%/lib/RollbackService.php
-%%WWWDIR%%/lib/SignatureHandler.php
-%%WWWDIR%%/lib/UserAgentManager.php