summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2023-03-04 00:15:01 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2023-03-04 00:15:01 +0100
commit2331255f882298a236710eeee3e7476ff82f97b2 (patch)
tree90f52ac1fc2829c8836a6d3a8d61da013477339e
parentwww-apps/element: add 1.11.24 (diff)
downloadgentoo-2331255f882298a236710eeee3e7476ff82f97b2.tar.gz
gentoo-2331255f882298a236710eeee3e7476ff82f97b2.tar.bz2
gentoo-2331255f882298a236710eeee3e7476ff82f97b2.zip
www-apps/nextcloud: add 25.0.4
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
-rw-r--r--www-apps/nextcloud/Manifest1
-rw-r--r--www-apps/nextcloud/nextcloud-25.0.4.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/www-apps/nextcloud/Manifest b/www-apps/nextcloud/Manifest
index 2c44330d0a3d..014c98761b8e 100644
--- a/www-apps/nextcloud/Manifest
+++ b/www-apps/nextcloud/Manifest
@@ -1,2 +1,3 @@
DIST nextcloud-24.0.9.tar.bz2 124279049 BLAKE2B 8ba86bc4fd0255b62670714dad75559d8444b3033be840f04f956a8c8abda7d6a599d7829e36032b3862e69bdb6f38fd5a5c65dd846b38c2122284c226c54de9 SHA512 dcbc664f25b5a197c7ea11ec542ab1d439a665874ead6467ca857d84751805ab62afe2363c33248fb5effabf6979f9baac00f553278722229b85f0c702c433ea
DIST nextcloud-25.0.3.tar.bz2 149979880 BLAKE2B 9422c3ddaf2222a33b109f5443c70b3fd2929b51b8bf72ca41074985d23123cc84f8f47331d65fd030d4a96c43fbee8b202633fcab1c07d2ccdd8df1e4aec3bc SHA512 5c9fa141616002c87585c50bba740e3968b30fd901e6b5b4d345197a96021e10e5aeea1507f07ecd3e38bc55336a67510c6045a4f632c8991dee9760e175c6b3
+DIST nextcloud-25.0.4.tar.bz2 145687281 BLAKE2B b349cea558ef2b1925da19713b76553076d57ee9e2fd07123796c0f329e139ccfb66c3e113ddb4bcdb7841d5e61eb1237748fd1c38216f7ae43c006e87730deb SHA512 0a9a6a2cc26951ede77509926fd6192668d140559daaa49611e8f9d592ccec39f22c7289d2d55794885afc7665bfb6f5eae43a0e6d160954b21c3e236da944e5
diff --git a/www-apps/nextcloud/nextcloud-25.0.4.ebuild b/www-apps/nextcloud/nextcloud-25.0.4.ebuild
new file mode 100644
index 000000000000..e9db891d0021
--- /dev/null
+++ b/www-apps/nextcloud/nextcloud-25.0.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit webapp
+
+DESCRIPTION="Personal cloud that runs on your own server"
+HOMEPAGE="https://nextcloud.com/"
+SRC_URI="https://download.nextcloud.com/server/releases/${P}.tar.bz2"
+LICENSE="AGPL-3"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+curl +imagemagick mysql postgres +sqlite"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+DEPEND=""
+RDEPEND="<dev-lang/php-8.2[curl?,filter,gd,hash(+),intl,json(+),mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,truetype,xmlreader,xmlwriter,zip]
+ imagemagick? ( dev-php/pecl-imagick )
+ virtual/httpd-php"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+ dodir "${MY_HTDOCSDIR}"/data
+
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/apps
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/data
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/config
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
+
+ webapp_postinst_txt en "${FILESDIR}"/php-argon2-en.txt
+
+ webapp_src_install
+}