Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/nextcloud/
Date: Fri, 03 Mar 2023 23:15:22
Message-Id: 1677885301.2331255f882298a236710eeee3e7476ff82f97b2.voyageur@gentoo
1 commit: 2331255f882298a236710eeee3e7476ff82f97b2
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 3 23:15:01 2023 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 3 23:15:01 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2331255f
7
8 www-apps/nextcloud: add 25.0.4
9
10 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
11
12 www-apps/nextcloud/Manifest | 1 +
13 www-apps/nextcloud/nextcloud-25.0.4.ebuild | 43 ++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/www-apps/nextcloud/Manifest b/www-apps/nextcloud/Manifest
17 index 2c44330d0a3d..014c98761b8e 100644
18 --- a/www-apps/nextcloud/Manifest
19 +++ b/www-apps/nextcloud/Manifest
20 @@ -1,2 +1,3 @@
21 DIST nextcloud-24.0.9.tar.bz2 124279049 BLAKE2B 8ba86bc4fd0255b62670714dad75559d8444b3033be840f04f956a8c8abda7d6a599d7829e36032b3862e69bdb6f38fd5a5c65dd846b38c2122284c226c54de9 SHA512 dcbc664f25b5a197c7ea11ec542ab1d439a665874ead6467ca857d84751805ab62afe2363c33248fb5effabf6979f9baac00f553278722229b85f0c702c433ea
22 DIST nextcloud-25.0.3.tar.bz2 149979880 BLAKE2B 9422c3ddaf2222a33b109f5443c70b3fd2929b51b8bf72ca41074985d23123cc84f8f47331d65fd030d4a96c43fbee8b202633fcab1c07d2ccdd8df1e4aec3bc SHA512 5c9fa141616002c87585c50bba740e3968b30fd901e6b5b4d345197a96021e10e5aeea1507f07ecd3e38bc55336a67510c6045a4f632c8991dee9760e175c6b3
23 +DIST nextcloud-25.0.4.tar.bz2 145687281 BLAKE2B b349cea558ef2b1925da19713b76553076d57ee9e2fd07123796c0f329e139ccfb66c3e113ddb4bcdb7841d5e61eb1237748fd1c38216f7ae43c006e87730deb SHA512 0a9a6a2cc26951ede77509926fd6192668d140559daaa49611e8f9d592ccec39f22c7289d2d55794885afc7665bfb6f5eae43a0e6d160954b21c3e236da944e5
24
25 diff --git a/www-apps/nextcloud/nextcloud-25.0.4.ebuild b/www-apps/nextcloud/nextcloud-25.0.4.ebuild
26 new file mode 100644
27 index 000000000000..e9db891d0021
28 --- /dev/null
29 +++ b/www-apps/nextcloud/nextcloud-25.0.4.ebuild
30 @@ -0,0 +1,43 @@
31 +# Copyright 1999-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit webapp
37 +
38 +DESCRIPTION="Personal cloud that runs on your own server"
39 +HOMEPAGE="https://nextcloud.com/"
40 +SRC_URI="https://download.nextcloud.com/server/releases/${P}.tar.bz2"
41 +LICENSE="AGPL-3"
42 +
43 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
44 +IUSE="+curl +imagemagick mysql postgres +sqlite"
45 +REQUIRED_USE="|| ( mysql postgres sqlite )"
46 +
47 +DEPEND=""
48 +RDEPEND="<dev-lang/php-8.2[curl?,filter,gd,hash(+),intl,json(+),mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,truetype,xmlreader,xmlwriter,zip]
49 + imagemagick? ( dev-php/pecl-imagick )
50 + virtual/httpd-php"
51 +
52 +S=${WORKDIR}/${PN}
53 +
54 +pkg_setup() {
55 + webapp_pkg_setup
56 +}
57 +
58 +src_install() {
59 + webapp_src_preinst
60 +
61 + insinto "${MY_HTDOCSDIR}"
62 + doins -r .
63 + dodir "${MY_HTDOCSDIR}"/data
64 +
65 + webapp_serverowned -R "${MY_HTDOCSDIR}"/apps
66 + webapp_serverowned -R "${MY_HTDOCSDIR}"/data
67 + webapp_serverowned -R "${MY_HTDOCSDIR}"/config
68 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
69 +
70 + webapp_postinst_txt en "${FILESDIR}"/php-argon2-en.txt
71 +
72 + webapp_src_install
73 +}