diff --git a/www-apps/nextcloud/Manifest b/www-apps/nextcloud/Manifest new file mode 100644 index 0000000..9a5fbc6 --- /dev/null +++ b/www-apps/nextcloud/Manifest @@ -0,0 +1,4 @@ +AUX php-argon2-en.txt 416 BLAKE2B 9940a3e218d1db382790f4754352594c9098eccce7426729e75471f017e15bb45b50cc885609e54817077e36d9feb4484bcff5b40c4f669ad80d4d5a643da8bc SHA512 076bbbfb9305a2608b60fb7f9802a5a455c5d049d39c8f209eadac1a306ba2015d11a30b4544d8cdf43025077a3c3087f3e9922cd9b530a08c089a7818590115 +DIST nextcloud-32.0.1.tar.bz2 270005888 BLAKE2B 3a75d869fb982c7deca799a7e46e4ae3c403e15d7af1976f155fbf01883f5c3be6a9484892ee790ab327135568462b725103438e237f5d6746645cc2f7916a46 SHA512 60d38187896537c4736eee381d2f579b35e376c931590a63d0cf5690c0d9b553dda3ba575a06e7448ac156d41aae10f1f02b8e0f2ef3d99275049f38acc987f6 +EBUILD nextcloud-32.0.1.ebuild 1076 BLAKE2B b6333ff681c8dec5dc11d09dccd98f3e3e7839cecff22b469e40e9e03c9509738b3e5f91163889c4cc5d11ecd96a99c28ca2d09f116750665cc40f7ea3f4139b SHA512 7dd1c7c778f83fce296ce1249fe5df582d7c433fa5465e605617c2300d8464cb66268665f3b2f1673945fd3ea2c3e4988840de8bb263dcfed1fe3fafa99ba664 +MISC metadata.xml 710 BLAKE2B d6f0bcfca6b60a8de9684f758c70836d9b2f51ad5eb2907af7c7ba7869bdb5df15795d18d2091c4396c7d7ac66c0b85a31618cecfdbdbe9ec0b466186f8f8d0d SHA512 ac57ab4aa39002565c86de12877222828cdfacf09ee82e902b0829da79567055d8a04c8200c04e1fdf2994fa11673f76735274b998d41005aa38653169e91c55 diff --git a/www-apps/nextcloud/files/php-argon2-en.txt b/www-apps/nextcloud/files/php-argon2-en.txt new file mode 100644 index 0000000..44d6487 --- /dev/null +++ b/www-apps/nextcloud/files/php-argon2-en.txt @@ -0,0 +1,11 @@ +Migrating from an existing Nextcloud deployment + +if you migrate data from a previously existing Nextcloud deployment, you may +need to enable USE=argon2 on dev-lang/php (if previous system ran on a php +version using this hashing algorithm) + +This is not listed in ebuild requirements as this will not be required for +most systems (new installs and some migrations) + +More details in bug: +https://bugs.gentoo.org/762388 diff --git a/www-apps/nextcloud/metadata.xml b/www-apps/nextcloud/metadata.xml new file mode 100644 index 0000000..3e5b5e2 --- /dev/null +++ b/www-apps/nextcloud/metadata.xml @@ -0,0 +1,22 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + + flow@gentoo.org + Florian Schmaus + + + web-apps@gentoo.org + Gentoo Webapps + + + + https://github.com/nextcloud/server/issues + https://github.com/nextcloud/server/releases + nextcloud/server + + diff --git a/www-apps/nextcloud/nextcloud-32.0.1.ebuild b/www-apps/nextcloud/nextcloud-32.0.1.ebuild new file mode 100644 index 0000000..315510b --- /dev/null +++ b/www-apps/nextcloud/nextcloud-32.0.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 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 . + keepdir "${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 +}