commit:     17e7cb1de3d1c66f84f76baebd5ef7914233a945
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  2 15:51:35 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Aug  2 15:51:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17e7cb1d

www-apps/nextcloud: add 29.0.4

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 www-apps/nextcloud/Manifest                |  1 +
 www-apps/nextcloud/nextcloud-29.0.4.ebuild | 43 ++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/www-apps/nextcloud/Manifest b/www-apps/nextcloud/Manifest
index 5717a6627614..eee712c27862 100644
--- a/www-apps/nextcloud/Manifest
+++ b/www-apps/nextcloud/Manifest
@@ -7,3 +7,4 @@ DIST nextcloud-28.0.6.tar.bz2 188259629 BLAKE2B 
304d98076d02a190143d0e9846405a02
 DIST nextcloud-28.0.7.tar.bz2 188700312 BLAKE2B 
c408b052562ce717fc41226df3ae6ffd6202de213ecf9074572133ba4d30a1c0be44a289d80577c4f663943a43dbf2bf71d60055c602eef569eba3ce174a8298
 SHA512 
6a8172f05ce58e594a66e2918583e05b97365217b1d2977aeee85e10e77bd869a7ddebceddef9070e0ac40d5e8e2e2348c1e0a9cdf56094bd6b8ca679696d9f2
 DIST nextcloud-29.0.2.tar.bz2 205723162 BLAKE2B 
c33cc2a13e797cb2777bed7d1c17d4559a83195b186bb62025d7f0c32e75a739979556eb842773fee2bb6c6af24e9f0adf1740b6896814d706f4e8d1c730a0fc
 SHA512 
1d595e4f7c0159cf62120f786c1b4a1d6221bdd000d3c7f45990c287319ee8b87ba70d036eb740073752bc9f80403f939c576fe5398bb37e2063483840d9fc67
 DIST nextcloud-29.0.3.tar.bz2 205947783 BLAKE2B 
406b80d3f31f80d2480c3b0d5d0f9017cb5ef3c597c7ae902536864ba113b85b3450c255283c98205ba4d8baf37c460f3741b953857f76972d361107267488be
 SHA512 
b3e27bff91446b33fd26408577a9ee04ef74684de37cf9971e572fd00ca9c864060e6fee3a30279488fd3b1fdbe3497da607241ae2eb1b566fa2cef9142ad900
+DIST nextcloud-29.0.4.tar.bz2 204867575 BLAKE2B 
ac91ecb560631762000cf0c6ef69a5262aa67591837e36373550201e075df629f64d63329925671af08f05f987da35046cdaf4b44d48f2e30d5d7fdb026a16a9
 SHA512 
65508d9610d4b459f11bceadd61d19eb8165e6804c658c4492fb97843c86107bfc75d080156d1afcf5a029ad143b77277cc4e63890444c089e1047f17db1e085

diff --git a/www-apps/nextcloud/nextcloud-29.0.4.ebuild 
b/www-apps/nextcloud/nextcloud-29.0.4.ebuild
new file mode 100644
index 000000000000..cdae29e997d4
--- /dev/null
+++ b/www-apps/nextcloud/nextcloud-29.0.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 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";
+
+S=${WORKDIR}/${PN}
+
+LICENSE="AGPL-3"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+IUSE="+curl +imagemagick mysql postgres +sqlite"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+RDEPEND="dev-lang/php[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"
+
+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
+}

Reply via email to