From 6e2d37e5abaffd949b996f565b246ef604dd6281 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sun, 10 Nov 2024 18:53:44 -0600 Subject: [PATCH 01/41] 32.0.2 release RHBZ#2319576 --- nextcloud.spec | 133 ++++++++++++++++++++++++------------------------- sources | 2 +- 2 files changed, 66 insertions(+), 69 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index 0d4fecd..63d60f7 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 29.0.9 +Version: 30.0.2 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. @@ -40,17 +40,16 @@ Source303: %{name}-MIGRATION.fedora # Remove updater version check, we know that updates across more than one # version are possible Patch0: 0000-disable-update-version-check.patch -# Change occ shebang to /usr/bin/php -Patch1: 0001-mangle-shebang.patch # Add the ability to exclude files we specify from the nextcloud integrity checker -Patch2: nextcloud-integritycheck-exclusion.patch +Patch1: nextcloud-integritycheck-exclusion.patch BuildArch: noarch # Set this to the minimum supported php version Nextcloud will run on # Exists to prevent accidental building on distros with outdated php's -BuildRequires: php(language) >= 8.0 +BuildRequires: php(language) >= 8.1 BuildRequires: systemd-rpm-macros +BuildRequires: sed # expand pear macros on install BuildRequires: php-pear @@ -104,21 +103,22 @@ Requires: %{_sysconfdir}/pki/tls/certs/ca-bundle.crt # I think utils/get-composer-requires.py is a tool to check if these are available on Fedora Provides: bundled(php-composer(christian-riesen/base32)) = 1.6.0 Provides: bundled(php-composer(rullzer/easytotp)) = 0.1.4 -Provides: bundled(php-composer(adhocore/cli)) = 1.6.2 -Provides: bundled(php-composer(nextcloud/openapi-extractor)) = dev-main -Provides: bundled(php-composer(nikic/php-parser)) = 4.18.0 -Provides: bundled(php-composer(phpstan/phpdoc-parser)) = 1.25.0 +Provides: bundled(php-composer(adhocore/cli)) = 1.7.1 +Provides: bundled(php-composer(nextcloud/openapi-extractor)) = 1.0.0 +Provides: bundled(php-composer(nikic/php-parser)) = 5.1.0 +Provides: bundled(php-composer(phpstan/phpdoc-parser)) = 1.29.1 Provides: bundled(php-composer(icewind/smb)) = 3.5.4 Provides: bundled(php-composer(icewind/streams)) = 0.7.7 Provides: bundled(php-composer(bamarni/composer-bin-plugin)) = 1.8.2 Provides: bundled(php-composer(hexogen/kdtree)) = 0.2.5 -Provides: bundled(php-composer(amphp/amp)) = 2.6.2 +Provides: bundled(php-composer(amphp/amp)) = 2.6.4 Provides: bundled(php-composer(amphp/byte-stream)) = 1.8.1 Provides: bundled(php-composer(amphp/parallel)) = 1.4.3 Provides: bundled(php-composer(amphp/parser)) = 1.1.0 Provides: bundled(php-composer(amphp/process)) = 1.1.4 Provides: bundled(php-composer(amphp/serialization)) = 1.0.0 Provides: bundled(php-composer(amphp/sync)) = 1.4.2 +Provides: bundled(php-composer(bamarni/composer-bin-plugin)) = 1.8.2 Provides: bundled(php-composer(league/flysystem)) = 2.5.0 Provides: bundled(php-composer(league/mime-type-detection)) = 1.11.0 Provides: bundled(php-composer(psr/log)) = 1.1.4 @@ -127,49 +127,47 @@ Provides: bundled(php-composer(rubix/tensor)) = 2.2.3 Provides: bundled(php-composer(symfony/polyfill-mbstring)) = 1.27.0 Provides: bundled(php-composer(symfony/polyfill-php73)) = 1.26.0 Provides: bundled(php-composer(symfony/polyfill-php80)) = 1.27.0 -Provides: bundled(php-composer(aws/aws-crt-php)) = 1.2.6 -Provides: bundled(php-composer(aws/aws-sdk-php)) = 3.322.4 +Provides: bundled(php-composer(aws/aws-crt-php)) = 1.2.5 +Provides: bundled(php-composer(aws/aws-sdk-php)) = 3.311.2 Provides: bundled(php-composer(bantu/ini-get-wrapper)) = 1.0.1 -Provides: bundled(php-composer(beberlei/assert)) = 3.3.1 -Provides: bundled(php-composer(brick/math)) = 0.9.2 +Provides: bundled(php-composer(brick/math)) = 0.12.1 Provides: bundled(php-composer(cweagans/composer-patches)) = 1.7.3 Provides: bundled(php-composer(deepdiver/zipstreamer)) = 2.0.3 Provides: bundled(php-composer(deepdiver1975/tarstreamer)) = 2.1.0 Provides: bundled(php-composer(doctrine/cache)) = 2.2.0 -Provides: bundled(php-composer(doctrine/dbal)) = 3.8.3 -Provides: bundled(php-composer(doctrine/deprecations)) = 1.1.2 -Provides: bundled(php-composer(doctrine/event-manager)) = 1.2.0 -Provides: bundled(php-composer(doctrine/lexer)) = 2.1.0 -Provides: bundled(php-composer(egulias/email-validator)) = 3.2.6 -Provides: bundled(php-composer(fgrosse/phpasn1)) = 2.3.0 -Provides: bundled(php-composer(fusonic/linq)) = 1.1.0 -Provides: bundled(php-composer(fusonic/opengraph)) = 2.2.0 -Provides: bundled(php-composer(giggsey/libphonenumber-for-php-lite)) = 8.13.27 -Provides: bundled(php-composer(guzzlehttp/guzzle)) = 7.8.1 -Provides: bundled(php-composer(guzzlehttp/promises)) = 1.5.3 -Provides: bundled(php-composer(guzzlehttp/psr7)) = 2.6.2 -Provides: bundled(php-composer(guzzlehttp/uri-template)) = 0.2.0 +Provides: bundled(php-composer(doctrine/dbal)) = 3.9.1 +Provides: bundled(php-composer(doctrine/deprecations)) = 1.1.3 +Provides: bundled(php-composer(doctrine/event-manager)) = 2.0.1 +Provides: bundled(php-composer(doctrine/lexer)) = 3.0.1 +Provides: bundled(php-composer(egulias/email-validator)) = 4.0.2 +Provides: bundled(php-composer(fusonic/opengraph)) = 2.3.0 +Provides: bundled(php-composer(giggsey/libphonenumber-for-php-lite)) = 8.13.45 +Provides: bundled(php-composer(guzzlehttp/guzzle)) = 7.8.2 +Provides: bundled(php-composer(guzzlehttp/promises)) = 2.0.4 +Provides: bundled(php-composer(guzzlehttp/psr7)) = 2.7.0 +Provides: bundled(php-composer(guzzlehttp/uri-template)) = 1.0.3 Provides: bundled(php-composer(icewind/searchdav)) = 3.1.0 Provides: bundled(php-composer(icewind/streams)) = 0.7.7 Provides: bundled(php-composer(justinrainbow/json-schema)) = 5.2.13 Provides: bundled(php-composer(kornrunner/blurhash)) = 1.2.2 -Provides: bundled(php-composer(laravel/serializable-closure)) = 1.3.3 -Provides: bundled(php-composer(league/uri)) = 6.4.0 -Provides: bundled(php-composer(league/uri-interfaces)) = 2.2.0 +Provides: bundled(php-composer(laravel/serializable-closure)) = 1.3.5 +Provides: bundled(php-composer(lcobucci/clock)) = 3.0.0 +Provides: bundled(php-composer(masterminds/html5)) = 2.9.0 Provides: bundled(php-composer(mexitek/phpcolors)) = 1.0.4 Provides: bundled(php-composer(microsoft/azure-storage-blob)) = 1.5.4 Provides: bundled(php-composer(microsoft/azure-storage-common)) = 1.5.2 Provides: bundled(php-composer(mlocati/ip-lib)) = 1.18.0 -Provides: bundled(php-composer(mtdowling/jmespath.php)) = 2.6.1 +Provides: bundled(php-composer(mtdowling/jmespath.php)) = 2.7.0 Provides: bundled(php-composer(nextcloud/lognormalizer)) = 1.0.0 -Provides: bundled(php-composer(pear/archive_tar)) = 1.4.14 +Provides: bundled(php-composer(paragonie/constant_time_encoding)) = 2.7.0 +Provides: bundled(php-composer(pear/archive_tar)) = 1.5.0 Provides: bundled(php-composer(pear/console_getopt)) = 1.4.3 -Provides: bundled(php-composer(pear/pear-core-minimal)) = 1.10.14 +Provides: bundled(php-composer(pear/pear-core-minimal)) = 1.10.15 Provides: bundled(php-composer(pear/pear_exception)) = 1.0.2 Provides: bundled(php-composer(php-http/guzzle7-adapter)) = 1.0.0 Provides: bundled(php-composer(php-http/httplug)) = 2.2.0 Provides: bundled(php-composer(php-http/promise)) = 1.1.0 -Provides: bundled(php-composer(php-opencloud/openstack)) = 3.2.1 +Provides: bundled(php-composer(php-opencloud/openstack)) = 3.10.0 Provides: bundled(php-composer(phpseclib/phpseclib)) = 2.0.47 Provides: bundled(php-composer(pimple/pimple)) = 3.5.0 Provides: bundled(php-composer(psr/cache)) = 3.0.0 @@ -177,51 +175,48 @@ Provides: bundled(php-composer(psr/clock)) = 1.0.0 Provides: bundled(php-composer(psr/container)) = 2.0.2 Provides: bundled(php-composer(psr/event-dispatcher)) = 1.0.0 Provides: bundled(php-composer(psr/http-client)) = 1.0.3 -Provides: bundled(php-composer(psr/http-factory)) = 1.0.2 +Provides: bundled(php-composer(psr/http-factory)) = 1.1.0 Provides: bundled(php-composer(psr/http-message)) = 1.1 -Provides: bundled(php-composer(psr/log)) = 1.1.4 +Provides: bundled(php-composer(psr/log)) = 2.0.0 Provides: bundled(php-composer(punic/punic)) = 3.8.1 Provides: bundled(php-composer(ralouphie/getallheaders)) = 3.0.3 -Provides: bundled(php-composer(ramsey/collection)) = 1.1.3 -Provides: bundled(php-composer(ramsey/uuid)) = 4.1.1 -Provides: bundled(php-composer(sabre/dav)) = 4.5.0 +Provides: bundled(php-composer(sabre/dav)) = 4.6.0 Provides: bundled(php-composer(sabre/event)) = 5.1.4 Provides: bundled(php-composer(sabre/http)) = 5.1.10 Provides: bundled(php-composer(sabre/uri)) = 2.3.3 Provides: bundled(php-composer(sabre/vobject)) = 4.5.4 -Provides: bundled(php-composer(sabre/xml)) = 2.2.6 +Provides: bundled(php-composer(sabre/xml)) = 2.2.7 Provides: bundled(php-composer(scssphp/scssphp)) = 1.12.1 -Provides: bundled(php-composer(spomky-labs/base64url)) = 2.0.4 -Provides: bundled(php-composer(spomky-labs/cbor-php)) = 2.0.1 -Provides: bundled(php-composer(stecman/symfony-console-completion)) = 0.11.0 -Provides: bundled(php-composer(symfony/console)) = 5.4.35 -Provides: bundled(php-composer(symfony/css-selector)) = 5.4.11 -Provides: bundled(php-composer(symfony/deprecation-contracts)) = 3.0.2 -Provides: bundled(php-composer(symfony/dom-crawler)) = 5.4.11 -Provides: bundled(php-composer(symfony/event-dispatcher)) = 5.4.26 +Provides: bundled(php-composer(spomky-labs/cbor-php)) = 3.1.0 +Provides: bundled(php-composer(spomky-labs/pki-framework)) = 1.2.1 +Provides: bundled(php-composer(stecman/symfony-console-completion)) = 0.13.0 +Provides: bundled(php-composer(symfony/console)) = 6.4.12 +Provides: bundled(php-composer(symfony/css-selector)) = 6.4.3 +Provides: bundled(php-composer(symfony/deprecation-contracts)) = 3.5.0 +Provides: bundled(php-composer(symfony/dom-crawler)) = 6.4.4 +Provides: bundled(php-composer(symfony/event-dispatcher)) = 6.4.8 Provides: bundled(php-composer(symfony/event-dispatcher-contracts)) = 3.0.2 -Provides: bundled(php-composer(symfony/http-foundation)) = 5.4.25 -Provides: bundled(php-composer(symfony/mailer)) = 5.4.22 -Provides: bundled(php-composer(symfony/mime)) = 5.4.19 -Provides: bundled(php-composer(symfony/polyfill-ctype)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-intl-grapheme)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-intl-idn)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-intl-normalizer)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-mbstring)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-php72)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-php73)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-php80)) = 1.28.0 -Provides: bundled(php-composer(symfony/process)) = 5.4.34 -Provides: bundled(php-composer(symfony/routing)) = 5.4.25 +Provides: bundled(php-composer(symfony/http-foundation)) = 6.4.12 +Provides: bundled(php-composer(symfony/mailer)) = 6.4.12 +Provides: bundled(php-composer(symfony/mime)) = 6.4.12 +Provides: bundled(php-composer(symfony/polyfill-ctype)) = 1.29.0 +Provides: bundled(php-composer(symfony/polyfill-intl-grapheme)) = 1.31.0 +Provides: bundled(php-composer(symfony/polyfill-intl-idn)) = 1.31.0 +Provides: bundled(php-composer(symfony/polyfill-intl-normalizer)) = 1.31.0 +Provides: bundled(php-composer(symfony/polyfill-mbstring)) = 1.31.0 +Provides: bundled(php-composer(symfony/polyfill-php80)) = 1.29.0 +Provides: bundled(php-composer(symfony/polyfill-php83)) = 1.31.0 +Provides: bundled(php-composer(symfony/polyfill-uuid)) = 1.31.0 +Provides: bundled(php-composer(symfony/process)) = 6.4.12 +Provides: bundled(php-composer(symfony/routing)) = 6.4.12 Provides: bundled(php-composer(symfony/service-contracts)) = 3.0.2 Provides: bundled(php-composer(symfony/string)) = 6.0.19 -Provides: bundled(php-composer(symfony/translation)) = 5.4.24 -Provides: bundled(php-composer(symfony/translation-contracts)) = 2.4.0 -Provides: bundled(php-composer(thecodingmachine/safe)) = 1.3.3 +Provides: bundled(php-composer(symfony/translation)) = 6.4.12 +Provides: bundled(php-composer(symfony/translation-contracts)) = 3.4.2 +Provides: bundled(php-composer(symfony/uid)) = 6.4.12 Provides: bundled(php-composer(wapmorgan/mp3info)) = 0.1.0 -Provides: bundled(php-composer(web-auth/cose-lib)) = 3.3.9 -Provides: bundled(php-composer(web-auth/metadata-service)) = 3.3.9 -Provides: bundled(php-composer(web-auth/webauthn-lib)) = 3.3.9 +Provides: bundled(php-composer(web-auth/cose-lib)) = 4.4.0 +Provides: bundled(php-composer(web-auth/webauthn-lib)) = 4.9.1 # OpenIconic icons bundled via sabre-dav Provides: bundled(openiconic-fonts) = 1.0.0 # jscolor bundled via themeing app @@ -306,10 +301,12 @@ Requires: %{name} = %{version}-%{release} This package ensures the necessary dependencies are in place for NextCloud to work with an SQLite 3 database stored on the local system. - %prep %autosetup -n %{name} -p1 +# Fix php shebang in occ +sed -ri 's\^#!/usr/bin/env php$\#!%{_bindir}/php\' occ + # patch backup files and .git stuff find . -name \*.orig -type f -delete -print find . -name .gitignore -type f -delete -print diff --git a/sources b/sources index 5a60ce5..f5f9412 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-29.0.9.tar.bz2) = e0acd458ee87f9269f6e80c0b3b8b68226a80dc49aae9fc084cefdf156060edc983ac8f88b1ce15a3eead9eff8b60dc2ec69920a5499a923cad8496e8fa8bd7a +SHA512 (nextcloud-30.0.2.tar.bz2) = 5587fd8a5695b70165bc705cc79294779a7d64e755d8a37e76a13b0f28da3132ea4228615f1fd2ed13727b34d4c03c7fd1965587590aa0dd8847b7a0b00b5fe7 From 9af3572351873a5da692d2b5ee0eb534d92cdb54 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Mon, 30 Dec 2024 09:39:20 -0600 Subject: [PATCH 02/41] 30.0.4 release RHBZ#2330565 --- bodhi.template.last | 44 ++++++++++++++++++++++++++++++++++++++++++++ nextcloud.spec | 3 ++- sources | 2 +- 3 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 bodhi.template.last diff --git a/bodhi.template.last b/bodhi.template.last new file mode 100644 index 0000000..8e233c3 --- /dev/null +++ b/bodhi.template.last @@ -0,0 +1,44 @@ +[ nextcloud-30.0.2-1.fc41 ] + +# bugfix, security, enhancement, newpackage (required) +type=enhancement + +# testing, stable +request=testing + +# Bug numbers: 1234,9876 +bugs= + +# Severity: low, medium, high, urgent +# This is required for security updates. +severity=unspecified + +display_name= + + +# Here is where you give an explanation of your update. +# Content can span multiple lines, as long as they are indented deeper than +# the first line. For example, +# notes=first line +# second line +# and so on +notes=32.0.2 release RHBZ#2319576 + +# Enable request automation based on the stable/unstable karma thresholds +autokarma=True +stable_karma=3 +unstable_karma=-3 + +# Automatically close bugs when this marked as stable +close_bugs=True + +# Suggest that users performs one of the following actions after the update: +# unspecified, restart, logout +# The default value is unspecified +suggest=unspecified + +# A boolean to require that all of the bugs in your update have been confirmed by testers. +require_bugs=True + +# A boolean to require that this update passes all test cases before reaching stable. +require_testcases=True diff --git a/nextcloud.spec b/nextcloud.spec index 63d60f7..a78225e 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 30.0.2 +Version: 30.0.4 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. @@ -217,6 +217,7 @@ Provides: bundled(php-composer(symfony/uid)) = 6.4.12 Provides: bundled(php-composer(wapmorgan/mp3info)) = 0.1.0 Provides: bundled(php-composer(web-auth/cose-lib)) = 4.4.0 Provides: bundled(php-composer(web-auth/webauthn-lib)) = 4.9.1 + # OpenIconic icons bundled via sabre-dav Provides: bundled(openiconic-fonts) = 1.0.0 # jscolor bundled via themeing app diff --git a/sources b/sources index f5f9412..88f9c2d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-30.0.2.tar.bz2) = 5587fd8a5695b70165bc705cc79294779a7d64e755d8a37e76a13b0f28da3132ea4228615f1fd2ed13727b34d4c03c7fd1965587590aa0dd8847b7a0b00b5fe7 +SHA512 (nextcloud-30.0.4.tar.bz2) = 6686bd86f5a7ede656e46f07580ba0c83db42ba5e2f161074b3cd48bbba80c4836125bb6966e052c35eb332bb43d5df58e29c781a56a2ad6ac8498464aa47aec From e134af426103b8b9c9af60f7383b2ad7930bdd4c Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Mon, 30 Dec 2024 10:44:29 -0600 Subject: [PATCH 03/41] 29.0.10 Release --- nextcloud.spec | 2 +- sources | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index 0d4fecd..d079cf2 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 29.0.9 +Version: 29.0.10 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index 5a60ce5..7995ec2 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (nextcloud-29.0.9.tar.bz2) = e0acd458ee87f9269f6e80c0b3b8b68226a80dc49aae9fc084cefdf156060edc983ac8f88b1ce15a3eead9eff8b60dc2ec69920a5499a923cad8496e8fa8bd7a +SHA512 (nextcloud-29.0.10.tar.bz2) = 919603f3c1159b4e37d79e1e44bb96957d68384ef0ae60588e152d4d294b06df4d8fab4e7999c965c773ba8c1f1ec974445cf41d64ab1c9aaf65e9c07c606c20 +SHA512 (nextcloud-30.0.4.tar.bz2) = 6686bd86f5a7ede656e46f07580ba0c83db42ba5e2f161074b3cd48bbba80c4836125bb6966e052c35eb332bb43d5df58e29c781a56a2ad6ac8498464aa47aec From cb014a1f228536789d528dc280e4e59fcb99b413 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 20:04:03 +0000 Subject: [PATCH 04/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 2a1247110d08d327f26aa99dfebe22ebcb6b511e Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Thu, 23 Jan 2025 08:36:12 -0600 Subject: [PATCH 05/41] 30.0.5 Release --- nextcloud.spec | 4 ++-- sources | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index a78225e..a5f88ba 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 30.0.4 +Version: 30.0.5 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. @@ -110,7 +110,7 @@ Provides: bundled(php-composer(phpstan/phpdoc-parser)) = 1.29.1 Provides: bundled(php-composer(icewind/smb)) = 3.5.4 Provides: bundled(php-composer(icewind/streams)) = 0.7.7 Provides: bundled(php-composer(bamarni/composer-bin-plugin)) = 1.8.2 -Provides: bundled(php-composer(hexogen/kdtree)) = 0.2.5 +Provides: bundled(php-composer(hexogen/kdtree)) = 0.2.6 Provides: bundled(php-composer(amphp/amp)) = 2.6.4 Provides: bundled(php-composer(amphp/byte-stream)) = 1.8.1 Provides: bundled(php-composer(amphp/parallel)) = 1.4.3 diff --git a/sources b/sources index 88f9c2d..f276977 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (nextcloud-30.0.4.tar.bz2) = 6686bd86f5a7ede656e46f07580ba0c83db42ba5e2f161074b3cd48bbba80c4836125bb6966e052c35eb332bb43d5df58e29c781a56a2ad6ac8498464aa47aec +SHA512 (nextcloud-29.0.10.tar.bz2) = 919603f3c1159b4e37d79e1e44bb96957d68384ef0ae60588e152d4d294b06df4d8fab4e7999c965c773ba8c1f1ec974445cf41d64ab1c9aaf65e9c07c606c20 +SHA512 (nextcloud-30.0.5.tar.bz2) = 041e5d9670a376480312db525a5791b703682b0061ca4a2aea2aea481e407ce04a726e1e5ae0c45876c749e18aae7926417b4655f591082954e3945677704910 From 8c7282c8e7b03982337c18098cddfabba21271af Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Thu, 23 Jan 2025 09:09:24 -0600 Subject: [PATCH 06/41] delete bodhi template file --- bodhi.template.last | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 bodhi.template.last diff --git a/bodhi.template.last b/bodhi.template.last deleted file mode 100644 index 8e233c3..0000000 --- a/bodhi.template.last +++ /dev/null @@ -1,44 +0,0 @@ -[ nextcloud-30.0.2-1.fc41 ] - -# bugfix, security, enhancement, newpackage (required) -type=enhancement - -# testing, stable -request=testing - -# Bug numbers: 1234,9876 -bugs= - -# Severity: low, medium, high, urgent -# This is required for security updates. -severity=unspecified - -display_name= - - -# Here is where you give an explanation of your update. -# Content can span multiple lines, as long as they are indented deeper than -# the first line. For example, -# notes=first line -# second line -# and so on -notes=32.0.2 release RHBZ#2319576 - -# Enable request automation based on the stable/unstable karma thresholds -autokarma=True -stable_karma=3 -unstable_karma=-3 - -# Automatically close bugs when this marked as stable -close_bugs=True - -# Suggest that users performs one of the following actions after the update: -# unspecified, restart, logout -# The default value is unspecified -suggest=unspecified - -# A boolean to require that all of the bugs in your update have been confirmed by testers. -require_bugs=True - -# A boolean to require that this update passes all test cases before reaching stable. -require_testcases=True From 2ddf5218ca5b6842b1fadddfc8d9c88d6a363dbb Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Thu, 23 Jan 2025 10:30:27 -0600 Subject: [PATCH 07/41] 29.0.11 Release --- bodhi.template.last | 44 ++++++++++++++++++++++++++++++++++++++++++++ nextcloud.spec | 2 +- sources | 4 ++-- 3 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 bodhi.template.last diff --git a/bodhi.template.last b/bodhi.template.last new file mode 100644 index 0000000..26bf3a4 --- /dev/null +++ b/bodhi.template.last @@ -0,0 +1,44 @@ +[ nextcloud-30.0.5-3.fc40 ] + +# bugfix, security, enhancement, newpackage (required) +type=enhancement + +# testing, stable +request=testing + +# Bug numbers: 1234,9876 +bugs= + +# Severity: low, medium, high, urgent +# This is required for security updates. +severity=unspecified + +display_name= + + +# Here is where you give an explanation of your update. +# Content can span multiple lines, as long as they are indented deeper than +# the first line. For example, +# notes=first line +# second line +# and so on +notes=30.0.5 release + +# Enable request automation based on the stable/unstable karma thresholds +autokarma=True +stable_karma=3 +unstable_karma=-3 + +# Automatically close bugs when this marked as stable +close_bugs=True + +# Suggest that users performs one of the following actions after the update: +# unspecified, restart, logout +# The default value is unspecified +suggest=unspecified + +# A boolean to require that all of the bugs in your update have been confirmed by testers. +require_bugs=True + +# A boolean to require that this update passes all test cases before reaching stable. +require_testcases=True diff --git a/nextcloud.spec b/nextcloud.spec index d079cf2..44ce0e2 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 29.0.10 +Version: 29.0.11 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index 7995ec2..e360bca 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (nextcloud-29.0.10.tar.bz2) = 919603f3c1159b4e37d79e1e44bb96957d68384ef0ae60588e152d4d294b06df4d8fab4e7999c965c773ba8c1f1ec974445cf41d64ab1c9aaf65e9c07c606c20 -SHA512 (nextcloud-30.0.4.tar.bz2) = 6686bd86f5a7ede656e46f07580ba0c83db42ba5e2f161074b3cd48bbba80c4836125bb6966e052c35eb332bb43d5df58e29c781a56a2ad6ac8498464aa47aec +SHA512 (nextcloud-29.0.11.tar.bz2) = 0afd6b67ac7f76273220936c4306231d80a2b9f498f0d6809f562d9c896ff39971828e73e5e932acbaa0167e4a3806dc34677c1167453d3e5137cbfbc438398a +SHA512 (nextcloud-30.0.5.tar.bz2) = 041e5d9670a376480312db525a5791b703682b0061ca4a2aea2aea481e407ce04a726e1e5ae0c45876c749e18aae7926417b4655f591082954e3945677704910 From ced6af035171e33879de4d81f24aff7ad1441d07 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Mon, 3 Feb 2025 09:41:01 -0600 Subject: [PATCH 08/41] use composer-generators to autogenerate php-composer provides --- nextcloud.spec | 134 ++----------------------------------------------- 1 file changed, 5 insertions(+), 129 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index a5f88ba..008d8ec 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -51,6 +51,9 @@ BuildRequires: php(language) >= 8.1 BuildRequires: systemd-rpm-macros BuildRequires: sed +# Auto-generate Provides from bundled php-composer libraries +BuildRequires: composer-generators + # expand pear macros on install BuildRequires: php-pear @@ -94,136 +97,8 @@ Requires: php-zip # the CA cert bundle is linked to from the config dir Requires: %{_sysconfdir}/pki/tls/certs/ca-bundle.crt -# Bundled composer libraries -# generated with utils/get-bundled-versions.py -# tar xf nextcloud-28.0.6.tar.bz2 -# cd nextcloud -# ../utils/get-bundled-versions.py -# many of these can be unbundled -# I think utils/get-composer-requires.py is a tool to check if these are available on Fedora -Provides: bundled(php-composer(christian-riesen/base32)) = 1.6.0 -Provides: bundled(php-composer(rullzer/easytotp)) = 0.1.4 -Provides: bundled(php-composer(adhocore/cli)) = 1.7.1 -Provides: bundled(php-composer(nextcloud/openapi-extractor)) = 1.0.0 -Provides: bundled(php-composer(nikic/php-parser)) = 5.1.0 -Provides: bundled(php-composer(phpstan/phpdoc-parser)) = 1.29.1 -Provides: bundled(php-composer(icewind/smb)) = 3.5.4 -Provides: bundled(php-composer(icewind/streams)) = 0.7.7 -Provides: bundled(php-composer(bamarni/composer-bin-plugin)) = 1.8.2 -Provides: bundled(php-composer(hexogen/kdtree)) = 0.2.6 -Provides: bundled(php-composer(amphp/amp)) = 2.6.4 -Provides: bundled(php-composer(amphp/byte-stream)) = 1.8.1 -Provides: bundled(php-composer(amphp/parallel)) = 1.4.3 -Provides: bundled(php-composer(amphp/parser)) = 1.1.0 -Provides: bundled(php-composer(amphp/process)) = 1.1.4 -Provides: bundled(php-composer(amphp/serialization)) = 1.0.0 -Provides: bundled(php-composer(amphp/sync)) = 1.4.2 -Provides: bundled(php-composer(bamarni/composer-bin-plugin)) = 1.8.2 -Provides: bundled(php-composer(league/flysystem)) = 2.5.0 -Provides: bundled(php-composer(league/mime-type-detection)) = 1.11.0 -Provides: bundled(php-composer(psr/log)) = 1.1.4 -Provides: bundled(php-composer(rubix/ml)) = 2.1.1 -Provides: bundled(php-composer(rubix/tensor)) = 2.2.3 -Provides: bundled(php-composer(symfony/polyfill-mbstring)) = 1.27.0 -Provides: bundled(php-composer(symfony/polyfill-php73)) = 1.26.0 -Provides: bundled(php-composer(symfony/polyfill-php80)) = 1.27.0 -Provides: bundled(php-composer(aws/aws-crt-php)) = 1.2.5 -Provides: bundled(php-composer(aws/aws-sdk-php)) = 3.311.2 -Provides: bundled(php-composer(bantu/ini-get-wrapper)) = 1.0.1 -Provides: bundled(php-composer(brick/math)) = 0.12.1 -Provides: bundled(php-composer(cweagans/composer-patches)) = 1.7.3 -Provides: bundled(php-composer(deepdiver/zipstreamer)) = 2.0.3 -Provides: bundled(php-composer(deepdiver1975/tarstreamer)) = 2.1.0 -Provides: bundled(php-composer(doctrine/cache)) = 2.2.0 -Provides: bundled(php-composer(doctrine/dbal)) = 3.9.1 -Provides: bundled(php-composer(doctrine/deprecations)) = 1.1.3 -Provides: bundled(php-composer(doctrine/event-manager)) = 2.0.1 -Provides: bundled(php-composer(doctrine/lexer)) = 3.0.1 -Provides: bundled(php-composer(egulias/email-validator)) = 4.0.2 -Provides: bundled(php-composer(fusonic/opengraph)) = 2.3.0 -Provides: bundled(php-composer(giggsey/libphonenumber-for-php-lite)) = 8.13.45 -Provides: bundled(php-composer(guzzlehttp/guzzle)) = 7.8.2 -Provides: bundled(php-composer(guzzlehttp/promises)) = 2.0.4 -Provides: bundled(php-composer(guzzlehttp/psr7)) = 2.7.0 -Provides: bundled(php-composer(guzzlehttp/uri-template)) = 1.0.3 -Provides: bundled(php-composer(icewind/searchdav)) = 3.1.0 -Provides: bundled(php-composer(icewind/streams)) = 0.7.7 -Provides: bundled(php-composer(justinrainbow/json-schema)) = 5.2.13 -Provides: bundled(php-composer(kornrunner/blurhash)) = 1.2.2 -Provides: bundled(php-composer(laravel/serializable-closure)) = 1.3.5 -Provides: bundled(php-composer(lcobucci/clock)) = 3.0.0 -Provides: bundled(php-composer(masterminds/html5)) = 2.9.0 -Provides: bundled(php-composer(mexitek/phpcolors)) = 1.0.4 -Provides: bundled(php-composer(microsoft/azure-storage-blob)) = 1.5.4 -Provides: bundled(php-composer(microsoft/azure-storage-common)) = 1.5.2 -Provides: bundled(php-composer(mlocati/ip-lib)) = 1.18.0 -Provides: bundled(php-composer(mtdowling/jmespath.php)) = 2.7.0 -Provides: bundled(php-composer(nextcloud/lognormalizer)) = 1.0.0 -Provides: bundled(php-composer(paragonie/constant_time_encoding)) = 2.7.0 -Provides: bundled(php-composer(pear/archive_tar)) = 1.5.0 -Provides: bundled(php-composer(pear/console_getopt)) = 1.4.3 -Provides: bundled(php-composer(pear/pear-core-minimal)) = 1.10.15 -Provides: bundled(php-composer(pear/pear_exception)) = 1.0.2 -Provides: bundled(php-composer(php-http/guzzle7-adapter)) = 1.0.0 -Provides: bundled(php-composer(php-http/httplug)) = 2.2.0 -Provides: bundled(php-composer(php-http/promise)) = 1.1.0 -Provides: bundled(php-composer(php-opencloud/openstack)) = 3.10.0 -Provides: bundled(php-composer(phpseclib/phpseclib)) = 2.0.47 -Provides: bundled(php-composer(pimple/pimple)) = 3.5.0 -Provides: bundled(php-composer(psr/cache)) = 3.0.0 -Provides: bundled(php-composer(psr/clock)) = 1.0.0 -Provides: bundled(php-composer(psr/container)) = 2.0.2 -Provides: bundled(php-composer(psr/event-dispatcher)) = 1.0.0 -Provides: bundled(php-composer(psr/http-client)) = 1.0.3 -Provides: bundled(php-composer(psr/http-factory)) = 1.1.0 -Provides: bundled(php-composer(psr/http-message)) = 1.1 -Provides: bundled(php-composer(psr/log)) = 2.0.0 -Provides: bundled(php-composer(punic/punic)) = 3.8.1 -Provides: bundled(php-composer(ralouphie/getallheaders)) = 3.0.3 -Provides: bundled(php-composer(sabre/dav)) = 4.6.0 -Provides: bundled(php-composer(sabre/event)) = 5.1.4 -Provides: bundled(php-composer(sabre/http)) = 5.1.10 -Provides: bundled(php-composer(sabre/uri)) = 2.3.3 -Provides: bundled(php-composer(sabre/vobject)) = 4.5.4 -Provides: bundled(php-composer(sabre/xml)) = 2.2.7 -Provides: bundled(php-composer(scssphp/scssphp)) = 1.12.1 -Provides: bundled(php-composer(spomky-labs/cbor-php)) = 3.1.0 -Provides: bundled(php-composer(spomky-labs/pki-framework)) = 1.2.1 -Provides: bundled(php-composer(stecman/symfony-console-completion)) = 0.13.0 -Provides: bundled(php-composer(symfony/console)) = 6.4.12 -Provides: bundled(php-composer(symfony/css-selector)) = 6.4.3 -Provides: bundled(php-composer(symfony/deprecation-contracts)) = 3.5.0 -Provides: bundled(php-composer(symfony/dom-crawler)) = 6.4.4 -Provides: bundled(php-composer(symfony/event-dispatcher)) = 6.4.8 -Provides: bundled(php-composer(symfony/event-dispatcher-contracts)) = 3.0.2 -Provides: bundled(php-composer(symfony/http-foundation)) = 6.4.12 -Provides: bundled(php-composer(symfony/mailer)) = 6.4.12 -Provides: bundled(php-composer(symfony/mime)) = 6.4.12 -Provides: bundled(php-composer(symfony/polyfill-ctype)) = 1.29.0 -Provides: bundled(php-composer(symfony/polyfill-intl-grapheme)) = 1.31.0 -Provides: bundled(php-composer(symfony/polyfill-intl-idn)) = 1.31.0 -Provides: bundled(php-composer(symfony/polyfill-intl-normalizer)) = 1.31.0 -Provides: bundled(php-composer(symfony/polyfill-mbstring)) = 1.31.0 -Provides: bundled(php-composer(symfony/polyfill-php80)) = 1.29.0 -Provides: bundled(php-composer(symfony/polyfill-php83)) = 1.31.0 -Provides: bundled(php-composer(symfony/polyfill-uuid)) = 1.31.0 -Provides: bundled(php-composer(symfony/process)) = 6.4.12 -Provides: bundled(php-composer(symfony/routing)) = 6.4.12 -Provides: bundled(php-composer(symfony/service-contracts)) = 3.0.2 -Provides: bundled(php-composer(symfony/string)) = 6.0.19 -Provides: bundled(php-composer(symfony/translation)) = 6.4.12 -Provides: bundled(php-composer(symfony/translation-contracts)) = 3.4.2 -Provides: bundled(php-composer(symfony/uid)) = 6.4.12 -Provides: bundled(php-composer(wapmorgan/mp3info)) = 0.1.0 -Provides: bundled(php-composer(web-auth/cose-lib)) = 4.4.0 -Provides: bundled(php-composer(web-auth/webauthn-lib)) = 4.9.1 - -# OpenIconic icons bundled via sabre-dav -Provides: bundled(openiconic-fonts) = 1.0.0 -# jscolor bundled via themeing app -Provides: bundled(jscolor) = 2.0.4 # jquery-ui-multiselect bundled via user_ldap app -Provides: bundled(jquery-ui-multiselect) = 0.3.1 +Provides: bundled(jquery-ui-multiselect) = 1.13 # zxcvbn bundled via core Provides: bundled(zxcvbn) = 4.4.2 @@ -274,6 +149,7 @@ If you want the database to be on the same system as NextCloud itself, you must also install and enable a MySQL / MariaDB server package. See README.mysql for more details. + %package postgresql Summary: PostgreSQL database support for NextCloud Provides: %{name}-database = %{version}-%{release} From 7b50c912fe56ca4f9d83a9240670da71a2971ecd Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Fri, 7 Feb 2025 07:02:02 -0600 Subject: [PATCH 09/41] escape period --- nextcloud.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud.spec b/nextcloud.spec index 008d8ec..8ac8133 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -190,7 +190,7 @@ find . -name .gitignore -type f -delete -print find . -name .github -type d -prune -exec rm -r {} \; -print # fix CLI upgrade advise on splash screen -sed -i -e 's#./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' core/templates/update.admin.php +sed -i -e 's#\./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' core/templates/update.admin.php # prepare package doc cp %{SOURCE300} README.%{distro} From 59df0b518e178cf26b5dfc054988b84c486f8546 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Mon, 3 Feb 2025 09:41:01 -0600 Subject: [PATCH 10/41] use composer-generators to autogenerate php-composer provides --- nextcloud.spec | 137 ++----------------------------------------------- 1 file changed, 5 insertions(+), 132 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index 44ce0e2..2f766e2 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -52,6 +52,9 @@ BuildArch: noarch BuildRequires: php(language) >= 8.0 BuildRequires: systemd-rpm-macros +# Auto-generate Provides from bundled php-composer libraries +BuildRequires: composer-generators + # expand pear macros on install BuildRequires: php-pear @@ -95,139 +98,8 @@ Requires: php-zip # the CA cert bundle is linked to from the config dir Requires: %{_sysconfdir}/pki/tls/certs/ca-bundle.crt -# Bundled composer libraries -# generated with utils/get-bundled-versions.py -# tar xf nextcloud-28.0.6.tar.bz2 -# cd nextcloud -# ../utils/get-bundled-versions.py -# many of these can be unbundled -# I think utils/get-composer-requires.py is a tool to check if these are available on Fedora -Provides: bundled(php-composer(christian-riesen/base32)) = 1.6.0 -Provides: bundled(php-composer(rullzer/easytotp)) = 0.1.4 -Provides: bundled(php-composer(adhocore/cli)) = 1.6.2 -Provides: bundled(php-composer(nextcloud/openapi-extractor)) = dev-main -Provides: bundled(php-composer(nikic/php-parser)) = 4.18.0 -Provides: bundled(php-composer(phpstan/phpdoc-parser)) = 1.25.0 -Provides: bundled(php-composer(icewind/smb)) = 3.5.4 -Provides: bundled(php-composer(icewind/streams)) = 0.7.7 -Provides: bundled(php-composer(bamarni/composer-bin-plugin)) = 1.8.2 -Provides: bundled(php-composer(hexogen/kdtree)) = 0.2.5 -Provides: bundled(php-composer(amphp/amp)) = 2.6.2 -Provides: bundled(php-composer(amphp/byte-stream)) = 1.8.1 -Provides: bundled(php-composer(amphp/parallel)) = 1.4.3 -Provides: bundled(php-composer(amphp/parser)) = 1.1.0 -Provides: bundled(php-composer(amphp/process)) = 1.1.4 -Provides: bundled(php-composer(amphp/serialization)) = 1.0.0 -Provides: bundled(php-composer(amphp/sync)) = 1.4.2 -Provides: bundled(php-composer(league/flysystem)) = 2.5.0 -Provides: bundled(php-composer(league/mime-type-detection)) = 1.11.0 -Provides: bundled(php-composer(psr/log)) = 1.1.4 -Provides: bundled(php-composer(rubix/ml)) = 2.1.1 -Provides: bundled(php-composer(rubix/tensor)) = 2.2.3 -Provides: bundled(php-composer(symfony/polyfill-mbstring)) = 1.27.0 -Provides: bundled(php-composer(symfony/polyfill-php73)) = 1.26.0 -Provides: bundled(php-composer(symfony/polyfill-php80)) = 1.27.0 -Provides: bundled(php-composer(aws/aws-crt-php)) = 1.2.6 -Provides: bundled(php-composer(aws/aws-sdk-php)) = 3.322.4 -Provides: bundled(php-composer(bantu/ini-get-wrapper)) = 1.0.1 -Provides: bundled(php-composer(beberlei/assert)) = 3.3.1 -Provides: bundled(php-composer(brick/math)) = 0.9.2 -Provides: bundled(php-composer(cweagans/composer-patches)) = 1.7.3 -Provides: bundled(php-composer(deepdiver/zipstreamer)) = 2.0.3 -Provides: bundled(php-composer(deepdiver1975/tarstreamer)) = 2.1.0 -Provides: bundled(php-composer(doctrine/cache)) = 2.2.0 -Provides: bundled(php-composer(doctrine/dbal)) = 3.8.3 -Provides: bundled(php-composer(doctrine/deprecations)) = 1.1.2 -Provides: bundled(php-composer(doctrine/event-manager)) = 1.2.0 -Provides: bundled(php-composer(doctrine/lexer)) = 2.1.0 -Provides: bundled(php-composer(egulias/email-validator)) = 3.2.6 -Provides: bundled(php-composer(fgrosse/phpasn1)) = 2.3.0 -Provides: bundled(php-composer(fusonic/linq)) = 1.1.0 -Provides: bundled(php-composer(fusonic/opengraph)) = 2.2.0 -Provides: bundled(php-composer(giggsey/libphonenumber-for-php-lite)) = 8.13.27 -Provides: bundled(php-composer(guzzlehttp/guzzle)) = 7.8.1 -Provides: bundled(php-composer(guzzlehttp/promises)) = 1.5.3 -Provides: bundled(php-composer(guzzlehttp/psr7)) = 2.6.2 -Provides: bundled(php-composer(guzzlehttp/uri-template)) = 0.2.0 -Provides: bundled(php-composer(icewind/searchdav)) = 3.1.0 -Provides: bundled(php-composer(icewind/streams)) = 0.7.7 -Provides: bundled(php-composer(justinrainbow/json-schema)) = 5.2.13 -Provides: bundled(php-composer(kornrunner/blurhash)) = 1.2.2 -Provides: bundled(php-composer(laravel/serializable-closure)) = 1.3.3 -Provides: bundled(php-composer(league/uri)) = 6.4.0 -Provides: bundled(php-composer(league/uri-interfaces)) = 2.2.0 -Provides: bundled(php-composer(mexitek/phpcolors)) = 1.0.4 -Provides: bundled(php-composer(microsoft/azure-storage-blob)) = 1.5.4 -Provides: bundled(php-composer(microsoft/azure-storage-common)) = 1.5.2 -Provides: bundled(php-composer(mlocati/ip-lib)) = 1.18.0 -Provides: bundled(php-composer(mtdowling/jmespath.php)) = 2.6.1 -Provides: bundled(php-composer(nextcloud/lognormalizer)) = 1.0.0 -Provides: bundled(php-composer(pear/archive_tar)) = 1.4.14 -Provides: bundled(php-composer(pear/console_getopt)) = 1.4.3 -Provides: bundled(php-composer(pear/pear-core-minimal)) = 1.10.14 -Provides: bundled(php-composer(pear/pear_exception)) = 1.0.2 -Provides: bundled(php-composer(php-http/guzzle7-adapter)) = 1.0.0 -Provides: bundled(php-composer(php-http/httplug)) = 2.2.0 -Provides: bundled(php-composer(php-http/promise)) = 1.1.0 -Provides: bundled(php-composer(php-opencloud/openstack)) = 3.2.1 -Provides: bundled(php-composer(phpseclib/phpseclib)) = 2.0.47 -Provides: bundled(php-composer(pimple/pimple)) = 3.5.0 -Provides: bundled(php-composer(psr/cache)) = 3.0.0 -Provides: bundled(php-composer(psr/clock)) = 1.0.0 -Provides: bundled(php-composer(psr/container)) = 2.0.2 -Provides: bundled(php-composer(psr/event-dispatcher)) = 1.0.0 -Provides: bundled(php-composer(psr/http-client)) = 1.0.3 -Provides: bundled(php-composer(psr/http-factory)) = 1.0.2 -Provides: bundled(php-composer(psr/http-message)) = 1.1 -Provides: bundled(php-composer(psr/log)) = 1.1.4 -Provides: bundled(php-composer(punic/punic)) = 3.8.1 -Provides: bundled(php-composer(ralouphie/getallheaders)) = 3.0.3 -Provides: bundled(php-composer(ramsey/collection)) = 1.1.3 -Provides: bundled(php-composer(ramsey/uuid)) = 4.1.1 -Provides: bundled(php-composer(sabre/dav)) = 4.5.0 -Provides: bundled(php-composer(sabre/event)) = 5.1.4 -Provides: bundled(php-composer(sabre/http)) = 5.1.10 -Provides: bundled(php-composer(sabre/uri)) = 2.3.3 -Provides: bundled(php-composer(sabre/vobject)) = 4.5.4 -Provides: bundled(php-composer(sabre/xml)) = 2.2.6 -Provides: bundled(php-composer(scssphp/scssphp)) = 1.12.1 -Provides: bundled(php-composer(spomky-labs/base64url)) = 2.0.4 -Provides: bundled(php-composer(spomky-labs/cbor-php)) = 2.0.1 -Provides: bundled(php-composer(stecman/symfony-console-completion)) = 0.11.0 -Provides: bundled(php-composer(symfony/console)) = 5.4.35 -Provides: bundled(php-composer(symfony/css-selector)) = 5.4.11 -Provides: bundled(php-composer(symfony/deprecation-contracts)) = 3.0.2 -Provides: bundled(php-composer(symfony/dom-crawler)) = 5.4.11 -Provides: bundled(php-composer(symfony/event-dispatcher)) = 5.4.26 -Provides: bundled(php-composer(symfony/event-dispatcher-contracts)) = 3.0.2 -Provides: bundled(php-composer(symfony/http-foundation)) = 5.4.25 -Provides: bundled(php-composer(symfony/mailer)) = 5.4.22 -Provides: bundled(php-composer(symfony/mime)) = 5.4.19 -Provides: bundled(php-composer(symfony/polyfill-ctype)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-intl-grapheme)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-intl-idn)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-intl-normalizer)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-mbstring)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-php72)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-php73)) = 1.28.0 -Provides: bundled(php-composer(symfony/polyfill-php80)) = 1.28.0 -Provides: bundled(php-composer(symfony/process)) = 5.4.34 -Provides: bundled(php-composer(symfony/routing)) = 5.4.25 -Provides: bundled(php-composer(symfony/service-contracts)) = 3.0.2 -Provides: bundled(php-composer(symfony/string)) = 6.0.19 -Provides: bundled(php-composer(symfony/translation)) = 5.4.24 -Provides: bundled(php-composer(symfony/translation-contracts)) = 2.4.0 -Provides: bundled(php-composer(thecodingmachine/safe)) = 1.3.3 -Provides: bundled(php-composer(wapmorgan/mp3info)) = 0.1.0 -Provides: bundled(php-composer(web-auth/cose-lib)) = 3.3.9 -Provides: bundled(php-composer(web-auth/metadata-service)) = 3.3.9 -Provides: bundled(php-composer(web-auth/webauthn-lib)) = 3.3.9 -# OpenIconic icons bundled via sabre-dav -Provides: bundled(openiconic-fonts) = 1.0.0 -# jscolor bundled via themeing app -Provides: bundled(jscolor) = 2.0.4 # jquery-ui-multiselect bundled via user_ldap app -Provides: bundled(jquery-ui-multiselect) = 0.3.1 +Provides: bundled(jquery-ui-multiselect) = 1.13 # zxcvbn bundled via core Provides: bundled(zxcvbn) = 4.4.2 @@ -278,6 +150,7 @@ If you want the database to be on the same system as NextCloud itself, you must also install and enable a MySQL / MariaDB server package. See README.mysql for more details. + %package postgresql Summary: PostgreSQL database support for NextCloud Provides: %{name}-database = %{version}-%{release} From 7cdc34de465be34be7b01ba81056c1769cefe1c1 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Fri, 7 Feb 2025 07:02:02 -0600 Subject: [PATCH 11/41] escape period --- nextcloud.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud.spec b/nextcloud.spec index 2f766e2..17641ec 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -189,7 +189,7 @@ find . -name .gitignore -type f -delete -print find . -name .github -type d -prune -exec rm -r {} \; -print # fix CLI upgrade advise on splash screen -sed -i -e 's#./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' core/templates/update.admin.php +sed -i -e 's#\./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' core/templates/update.admin.php # prepare package doc cp %{SOURCE300} README.%{distro} From 05c35a13262ef388c77cb9485fb312c6feec6909 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sun, 2 Mar 2025 16:29:20 -0600 Subject: [PATCH 12/41] 31.0.0 release RHBZ#2324262 RHBZ#2336564 --- nextcloud.spec | 2 +- sources | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index 8ac8133..daa8496 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 30.0.5 +Version: 31.0.0 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index f276977..8c8fd4c 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (nextcloud-29.0.10.tar.bz2) = 919603f3c1159b4e37d79e1e44bb96957d68384ef0ae60588e152d4d294b06df4d8fab4e7999c965c773ba8c1f1ec974445cf41d64ab1c9aaf65e9c07c606c20 -SHA512 (nextcloud-30.0.5.tar.bz2) = 041e5d9670a376480312db525a5791b703682b0061ca4a2aea2aea481e407ce04a726e1e5ae0c45876c749e18aae7926417b4655f591082954e3945677704910 +SHA512 (nextcloud-29.0.12.tar.bz2) = 10a5bbc61d2a85090aaa6174eac415337b63adaf23e8044d25c674d0ce8d6bcfff949d3950abd369ecfa2c2b9c4a747d0744a47777bc3d51799804b696579a6e +SHA512 (nextcloud-31.0.0.tar.bz2) = e9311423ba42c9f3d30b455fe47105f216262cc75dd7ea227fb939bfd10c3614b84e9aef1da6b3737fc0c0fe136d4ebe19107f8b97da5fd3910a47f7b2811eb1 From 221780cfc9d6659932c318c90140038bb506ef33 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sun, 2 Mar 2025 16:38:39 -0600 Subject: [PATCH 13/41] 29.0.12 release RHBZ#2324262 --- nextcloud.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud.spec b/nextcloud.spec index 17641ec..7bc169e 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 29.0.11 +Version: 29.0.12 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. From c02ca648d6eceec6d9fc04836ffaa8e30ef26536 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sun, 2 Mar 2025 16:40:00 -0600 Subject: [PATCH 14/41] 29.0.12 release RHBZ#2324262 --- sources | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index e360bca..8c8fd4c 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (nextcloud-29.0.11.tar.bz2) = 0afd6b67ac7f76273220936c4306231d80a2b9f498f0d6809f562d9c896ff39971828e73e5e932acbaa0167e4a3806dc34677c1167453d3e5137cbfbc438398a -SHA512 (nextcloud-30.0.5.tar.bz2) = 041e5d9670a376480312db525a5791b703682b0061ca4a2aea2aea481e407ce04a726e1e5ae0c45876c749e18aae7926417b4655f591082954e3945677704910 +SHA512 (nextcloud-29.0.12.tar.bz2) = 10a5bbc61d2a85090aaa6174eac415337b63adaf23e8044d25c674d0ce8d6bcfff949d3950abd369ecfa2c2b9c4a747d0744a47777bc3d51799804b696579a6e +SHA512 (nextcloud-31.0.0.tar.bz2) = e9311423ba42c9f3d30b455fe47105f216262cc75dd7ea227fb939bfd10c3614b84e9aef1da6b3737fc0c0fe136d4ebe19107f8b97da5fd3910a47f7b2811eb1 From ab682ab5e57c171728a97c6faf8c68dabfca5da7 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Tue, 25 Mar 2025 12:07:53 -0500 Subject: [PATCH 15/41] 31.0.2 release RHBZ#2345769 RHBZ#2345775 RHBZ#2350414 --- nextcloud.spec | 4 +-- nextcloud30-integritycheck-exclusion.patch | 34 ++++++++++++++++++++++ sources | 2 +- 3 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 nextcloud30-integritycheck-exclusion.patch diff --git a/nextcloud.spec b/nextcloud.spec index daa8496..15efeb8 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 31.0.0 +Version: 31.0.2 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. @@ -41,7 +41,7 @@ Source303: %{name}-MIGRATION.fedora # version are possible Patch0: 0000-disable-update-version-check.patch # Add the ability to exclude files we specify from the nextcloud integrity checker -Patch1: nextcloud-integritycheck-exclusion.patch +Patch1: nextcloud30-integritycheck-exclusion.patch BuildArch: noarch diff --git a/nextcloud30-integritycheck-exclusion.patch b/nextcloud30-integritycheck-exclusion.patch new file mode 100644 index 0000000..eeb7ee5 --- /dev/null +++ b/nextcloud30-integritycheck-exclusion.patch @@ -0,0 +1,34 @@ +From 9f38c6300712a23ccdc75e140143a1c461e15705 Mon Sep 17 00:00:00 2001 +From: Andrew Bauer +Date: Mon, 24 Jun 2024 10:11:23 -0500 +Subject: [PATCH] silence integrity check for excluded files + +--- + lib/private/IntegrityCheck/Checker.php | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +diff --git a/lib/private/IntegrityCheck/Checker.php b/lib/private/IntegrityCheck/Checker.php +index a6de3cf6030d7..3974483601b08 100644 +--- a/lib/private/IntegrityCheck/Checker.php ++++ b/lib/private/IntegrityCheck/Checker.php +@@ -337,7 +337,20 @@ private function verify(string $signaturePath, string $basePath, string $certifi + $differencesB = array_diff_assoc($currentInstanceHashes, $expectedHashes); + $differences = array_unique(array_merge($differencesA, $differencesB)); + $differenceArray = []; ++ ++ # Nasty hack to silence the integrity checker for files patched during the build process or files we simply don't care about ++ $excludedFilenames = [ ++//sedplaceholder ]; ++ + foreach ($differences as $filename => $hash) { ++ ++ # Skip if the file in question matches our exclusion list ++ foreach ($excludedFilenames as $excludedFilename) { ++ if (strpos($filename, $excludedFilename)!==false) { ++ break 2; ++ } ++ } ++ + // Check if file should not exist in the new signature table + if (!array_key_exists($filename, $expectedHashes)) { + $differenceArray['EXTRA_FILE'][$filename]['expected'] = ''; diff --git a/sources b/sources index 8c8fd4c..ef43f4b 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (nextcloud-29.0.12.tar.bz2) = 10a5bbc61d2a85090aaa6174eac415337b63adaf23e8044d25c674d0ce8d6bcfff949d3950abd369ecfa2c2b9c4a747d0744a47777bc3d51799804b696579a6e -SHA512 (nextcloud-31.0.0.tar.bz2) = e9311423ba42c9f3d30b455fe47105f216262cc75dd7ea227fb939bfd10c3614b84e9aef1da6b3737fc0c0fe136d4ebe19107f8b97da5fd3910a47f7b2811eb1 +SHA512 (nextcloud-31.0.2.tar.bz2) = bef29a4fdde468ae61b7d504b1f6d2bb031841edf97837116025d0966f812be95fff1ab7e02105cdf8250de11c62f82d89f08bcae30d4dd91d10694f7b267e4c From b114820aae82ead6036a823c96e5f9011562832b Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Tue, 25 Mar 2025 12:45:05 -0500 Subject: [PATCH 16/41] 29.0.14 release --- nextcloud-integritycheck-exclusion.patch | 2 +- nextcloud.spec | 2 +- sources | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nextcloud-integritycheck-exclusion.patch b/nextcloud-integritycheck-exclusion.patch index 766cf1c..eeb7ee5 100644 --- a/nextcloud-integritycheck-exclusion.patch +++ b/nextcloud-integritycheck-exclusion.patch @@ -12,7 +12,7 @@ index a6de3cf6030d7..3974483601b08 100644 --- a/lib/private/IntegrityCheck/Checker.php +++ b/lib/private/IntegrityCheck/Checker.php @@ -337,7 +337,20 @@ private function verify(string $signaturePath, string $basePath, string $certifi - $differencesB = array_diff($currentInstanceHashes, $expectedHashes); + $differencesB = array_diff_assoc($currentInstanceHashes, $expectedHashes); $differences = array_unique(array_merge($differencesA, $differencesB)); $differenceArray = []; + diff --git a/nextcloud.spec b/nextcloud.spec index 7bc169e..c9cf34a 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 29.0.12 +Version: 29.0.14 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index 8c8fd4c..4b26476 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (nextcloud-29.0.12.tar.bz2) = 10a5bbc61d2a85090aaa6174eac415337b63adaf23e8044d25c674d0ce8d6bcfff949d3950abd369ecfa2c2b9c4a747d0744a47777bc3d51799804b696579a6e -SHA512 (nextcloud-31.0.0.tar.bz2) = e9311423ba42c9f3d30b455fe47105f216262cc75dd7ea227fb939bfd10c3614b84e9aef1da6b3737fc0c0fe136d4ebe19107f8b97da5fd3910a47f7b2811eb1 +SHA512 (nextcloud-29.0.14.tar.bz2) = 1754344aa7052f617c98fa56e780a7df9a5f2535dbc8f53b60aff9ac93e33a52a1a8bed67221409c5375ec719659a020b4349141026d2c2700615c7e2119ba29 +SHA512 (nextcloud-31.0.2.tar.bz2) = bef29a4fdde468ae61b7d504b1f6d2bb031841edf97837116025d0966f812be95fff1ab7e02105cdf8250de11c62f82d89f08bcae30d4dd91d10694f7b267e4c From 7ab2f104e88d711eddcaa4b89d95210a89407fa6 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 19 Apr 2025 07:53:07 -0500 Subject: [PATCH 17/41] 31.04 release RHBZ#2359048 --- nextcloud-integritycheck-exclusion.patch | 2 +- nextcloud.spec | 4 +-- nextcloud30-integritycheck-exclusion.patch | 34 ---------------------- sources | 4 +-- 4 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 nextcloud30-integritycheck-exclusion.patch diff --git a/nextcloud-integritycheck-exclusion.patch b/nextcloud-integritycheck-exclusion.patch index 766cf1c..eeb7ee5 100644 --- a/nextcloud-integritycheck-exclusion.patch +++ b/nextcloud-integritycheck-exclusion.patch @@ -12,7 +12,7 @@ index a6de3cf6030d7..3974483601b08 100644 --- a/lib/private/IntegrityCheck/Checker.php +++ b/lib/private/IntegrityCheck/Checker.php @@ -337,7 +337,20 @@ private function verify(string $signaturePath, string $basePath, string $certifi - $differencesB = array_diff($currentInstanceHashes, $expectedHashes); + $differencesB = array_diff_assoc($currentInstanceHashes, $expectedHashes); $differences = array_unique(array_merge($differencesA, $differencesB)); $differenceArray = []; + diff --git a/nextcloud.spec b/nextcloud.spec index 15efeb8..33d0cec 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 31.0.2 +Version: 31.0.4 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. @@ -41,7 +41,7 @@ Source303: %{name}-MIGRATION.fedora # version are possible Patch0: 0000-disable-update-version-check.patch # Add the ability to exclude files we specify from the nextcloud integrity checker -Patch1: nextcloud30-integritycheck-exclusion.patch +Patch1: nextcloud-integritycheck-exclusion.patch BuildArch: noarch diff --git a/nextcloud30-integritycheck-exclusion.patch b/nextcloud30-integritycheck-exclusion.patch deleted file mode 100644 index eeb7ee5..0000000 --- a/nextcloud30-integritycheck-exclusion.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 9f38c6300712a23ccdc75e140143a1c461e15705 Mon Sep 17 00:00:00 2001 -From: Andrew Bauer -Date: Mon, 24 Jun 2024 10:11:23 -0500 -Subject: [PATCH] silence integrity check for excluded files - ---- - lib/private/IntegrityCheck/Checker.php | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -diff --git a/lib/private/IntegrityCheck/Checker.php b/lib/private/IntegrityCheck/Checker.php -index a6de3cf6030d7..3974483601b08 100644 ---- a/lib/private/IntegrityCheck/Checker.php -+++ b/lib/private/IntegrityCheck/Checker.php -@@ -337,7 +337,20 @@ private function verify(string $signaturePath, string $basePath, string $certifi - $differencesB = array_diff_assoc($currentInstanceHashes, $expectedHashes); - $differences = array_unique(array_merge($differencesA, $differencesB)); - $differenceArray = []; -+ -+ # Nasty hack to silence the integrity checker for files patched during the build process or files we simply don't care about -+ $excludedFilenames = [ -+//sedplaceholder ]; -+ - foreach ($differences as $filename => $hash) { -+ -+ # Skip if the file in question matches our exclusion list -+ foreach ($excludedFilenames as $excludedFilename) { -+ if (strpos($filename, $excludedFilename)!==false) { -+ break 2; -+ } -+ } -+ - // Check if file should not exist in the new signature table - if (!array_key_exists($filename, $expectedHashes)) { - $differenceArray['EXTRA_FILE'][$filename]['expected'] = ''; diff --git a/sources b/sources index ef43f4b..6958260 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (nextcloud-29.0.12.tar.bz2) = 10a5bbc61d2a85090aaa6174eac415337b63adaf23e8044d25c674d0ce8d6bcfff949d3950abd369ecfa2c2b9c4a747d0744a47777bc3d51799804b696579a6e -SHA512 (nextcloud-31.0.2.tar.bz2) = bef29a4fdde468ae61b7d504b1f6d2bb031841edf97837116025d0966f812be95fff1ab7e02105cdf8250de11c62f82d89f08bcae30d4dd91d10694f7b267e4c +SHA512 (nextcloud-29.0.8.tar.bz2) = ec99d5efc6a573627cae9b42f7f34e3c8ee7ba9bc3bfe1bb032c9e8fcef2831ce32f7dcb72c3303582b205de390619bd7f892a7bc4415c0826e02f73496714b0 +SHA512 (nextcloud-31.0.4.tar.bz2) = 85535638556b9f727989cc1baceec8a89ef52a6f7dc132ad807326492ffc904bc3f462afea18dd0749bb8c194ef57932dcbfd494e8290a6f7b0f5d224e69429d From 5ef79f515fa485322f97ff02716bc26b20f6b9f7 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 19 Apr 2025 08:21:01 -0500 Subject: [PATCH 18/41] 29.0.16 release RHBZ#2345763 --- bodhi.template.last | 44 -------------------------------------------- nextcloud.spec | 2 +- sources | 4 ++-- 3 files changed, 3 insertions(+), 47 deletions(-) delete mode 100644 bodhi.template.last diff --git a/bodhi.template.last b/bodhi.template.last deleted file mode 100644 index 26bf3a4..0000000 --- a/bodhi.template.last +++ /dev/null @@ -1,44 +0,0 @@ -[ nextcloud-30.0.5-3.fc40 ] - -# bugfix, security, enhancement, newpackage (required) -type=enhancement - -# testing, stable -request=testing - -# Bug numbers: 1234,9876 -bugs= - -# Severity: low, medium, high, urgent -# This is required for security updates. -severity=unspecified - -display_name= - - -# Here is where you give an explanation of your update. -# Content can span multiple lines, as long as they are indented deeper than -# the first line. For example, -# notes=first line -# second line -# and so on -notes=30.0.5 release - -# Enable request automation based on the stable/unstable karma thresholds -autokarma=True -stable_karma=3 -unstable_karma=-3 - -# Automatically close bugs when this marked as stable -close_bugs=True - -# Suggest that users performs one of the following actions after the update: -# unspecified, restart, logout -# The default value is unspecified -suggest=unspecified - -# A boolean to require that all of the bugs in your update have been confirmed by testers. -require_bugs=True - -# A boolean to require that this update passes all test cases before reaching stable. -require_testcases=True diff --git a/nextcloud.spec b/nextcloud.spec index c9cf34a..ba9376f 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 29.0.14 +Version: 29.0.16 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index 4b26476..9913ad0 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (nextcloud-29.0.14.tar.bz2) = 1754344aa7052f617c98fa56e780a7df9a5f2535dbc8f53b60aff9ac93e33a52a1a8bed67221409c5375ec719659a020b4349141026d2c2700615c7e2119ba29 -SHA512 (nextcloud-31.0.2.tar.bz2) = bef29a4fdde468ae61b7d504b1f6d2bb031841edf97837116025d0966f812be95fff1ab7e02105cdf8250de11c62f82d89f08bcae30d4dd91d10694f7b267e4c +SHA512 (nextcloud-29.0.16.tar.bz2) = e786dec5973f8184b20915b3e0ec80c316c636c70537932e7302ccc905389cda6b344ef73d44fa7ce74b75d36ee1f9a6f1f8851c29faf29774d1bd3d3cb05a00 +SHA512 (nextcloud-31.0.4.tar.bz2) = 85535638556b9f727989cc1baceec8a89ef52a6f7dc132ad807326492ffc904bc3f462afea18dd0749bb8c194ef57932dcbfd494e8290a6f7b0f5d224e69429d From f3e2eb421823de4ccb100fa3a792028fddde7661 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Mon, 26 May 2025 08:02:07 -0500 Subject: [PATCH 19/41] 31.0.5 release RHBZ#2364462 RHBZ#2366729 RHBZ#2366735 --- nextcloud.spec | 2 +- sources | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index 33d0cec..c5d688c 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 31.0.4 +Version: 31.0.5 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index 6958260..decbc7a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (nextcloud-29.0.8.tar.bz2) = ec99d5efc6a573627cae9b42f7f34e3c8ee7ba9bc3bfe1bb032c9e8fcef2831ce32f7dcb72c3303582b205de390619bd7f892a7bc4415c0826e02f73496714b0 -SHA512 (nextcloud-31.0.4.tar.bz2) = 85535638556b9f727989cc1baceec8a89ef52a6f7dc132ad807326492ffc904bc3f462afea18dd0749bb8c194ef57932dcbfd494e8290a6f7b0f5d224e69429d +SHA512 (nextcloud-29.0.16.tar.bz2) = e786dec5973f8184b20915b3e0ec80c316c636c70537932e7302ccc905389cda6b344ef73d44fa7ce74b75d36ee1f9a6f1f8851c29faf29774d1bd3d3cb05a00 +SHA512 (nextcloud-31.0.5.tar.bz2) = 9ec0dc1e1301e53293b199d1709165346a66fd33ec918b21fc94ef7a10187f863f8e3aa35ec90fe99b11db7b0309f858b1c9d0d5d5e3c13f249d3055f08631d7 From 9dc14f5076817c55563496cf8ddcb0d8ece82976 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 5 Jul 2025 20:23:32 -0500 Subject: [PATCH 20/41] 31.0.6 release RHBZ#2372407 --- nextcloud.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index c5d688c..42263f0 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 31.0.5 +Version: 31.0.6 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index decbc7a..fe9f043 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (nextcloud-29.0.16.tar.bz2) = e786dec5973f8184b20915b3e0ec80c316c636c70537932e7302ccc905389cda6b344ef73d44fa7ce74b75d36ee1f9a6f1f8851c29faf29774d1bd3d3cb05a00 -SHA512 (nextcloud-31.0.5.tar.bz2) = 9ec0dc1e1301e53293b199d1709165346a66fd33ec918b21fc94ef7a10187f863f8e3aa35ec90fe99b11db7b0309f858b1c9d0d5d5e3c13f249d3055f08631d7 +SHA512 (nextcloud-31.0.6.tar.bz2) = 9a98cca509bb3edfa7a49038be9de483b46e8b3b0dcf8a2cfac669fa569d41e8f66a922ad638bc8c683b9df9f144946d0e39e44d2ba9408f7401da3dbcc13ad3 From 7d4cd2558adbbf4bb311d8b72681bde5e959bdc6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 22:48:11 +0000 Subject: [PATCH 21/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From cff27361a1176d40e10767d67d52d704ab6b76ea Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sun, 3 Aug 2025 16:03:15 -0500 Subject: [PATCH 22/41] 31.0.7 release, fix link to cert bundle RHBZ#2372407 RHBZ#2383716 --- nextcloud.spec | 9 +++++---- sources | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index 42263f0..45569ea 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 31.0.6 +Version: 31.0.7 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. @@ -94,8 +94,9 @@ Requires: php-xmlwriter Requires: php-zip # For systemd support during install/uninstall %{?systemd_requires} -# the CA cert bundle is linked to from the config dir -Requires: %{_sysconfdir}/pki/tls/certs/ca-bundle.crt +# Fedora dropped legacy CA cert bundle symlinks +# See https://fedoraproject.org/wiki/Changes/dropingOfCertPemFile +Requires: %{_sysconfdir}/pki/ca-trust/extracted/pem/tls-ca-bundle.pem # jquery-ui-multiselect bundled via user_ldap app Provides: bundled(jquery-ui-multiselect) = 1.13 @@ -285,7 +286,7 @@ install -pm 755 occ %{buildroot}%{_datadir}/%{name} ln -s ../../../%{_sysconfdir}/%{name} %{buildroot}%{_datadir}/%{name}/config # nextcloud looks for ca-bundle.crt in config dir -ln -s ../pki/tls/certs/ca-bundle.crt %{buildroot}%{_sysconfdir}/%{name}/ca-bundle.crt +ln -s ../pki/ca-trust/extracted/pem/tls-ca-bundle.pem %{buildroot}%{_sysconfdir}/%{name}/ca-bundle.crt # set default config install -pm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/config.php diff --git a/sources b/sources index fe9f043..8b6dd3f 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (nextcloud-29.0.16.tar.bz2) = e786dec5973f8184b20915b3e0ec80c316c636c70537932e7302ccc905389cda6b344ef73d44fa7ce74b75d36ee1f9a6f1f8851c29faf29774d1bd3d3cb05a00 -SHA512 (nextcloud-31.0.6.tar.bz2) = 9a98cca509bb3edfa7a49038be9de483b46e8b3b0dcf8a2cfac669fa569d41e8f66a922ad638bc8c683b9df9f144946d0e39e44d2ba9408f7401da3dbcc13ad3 +SHA512 (nextcloud-31.0.7.tar.bz2) = 1ba66c016e53f9dfc94a8a02404c225b16f666d7c9427e8e5e7ac5e437dc85921d3647c1626c0eaf5326ffafd2c0f7cc44b9ddbca1f324ccc39e15abd52b90a4 From f2672121791060ab225ff8e2b3e84f36b8c32335 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 20 Sep 2025 14:28:40 -0500 Subject: [PATCH 23/41] 31.0.9 release RHBZ#2388493 RHBZ#2389830 RHBZ#2389831 RHBZ#2389842 RHBZ#2389843 RHBZ#2389814 RHBZ#2389815 --- nextcloud.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index 45569ea..abe44e3 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 31.0.7 +Version: 31.0.9 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index 8b6dd3f..a73a0a5 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (nextcloud-29.0.16.tar.bz2) = e786dec5973f8184b20915b3e0ec80c316c636c70537932e7302ccc905389cda6b344ef73d44fa7ce74b75d36ee1f9a6f1f8851c29faf29774d1bd3d3cb05a00 -SHA512 (nextcloud-31.0.7.tar.bz2) = 1ba66c016e53f9dfc94a8a02404c225b16f666d7c9427e8e5e7ac5e437dc85921d3647c1626c0eaf5326ffafd2c0f7cc44b9ddbca1f324ccc39e15abd52b90a4 +SHA512 (nextcloud-31.0.9.tar.bz2) = eec86ab5b45cc3a4ee0208e1bb0ae8ddf04d35956ca8aef92f79d7109c9c5d2f58916c32c341883c10713f861c092050b568f577fcad754e45928ac4e21828ea From d625665feba08e907c0200f9a273606f0b410c91 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 25 Oct 2025 15:31:28 -0500 Subject: [PATCH 24/41] 32.0.1 release RHBZ#2399899 --- 0000-disable-update-version-check.patch | 18 +++++------------- nextcloud.spec | 2 +- sources | 2 +- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/0000-disable-update-version-check.patch b/0000-disable-update-version-check.patch index 2d5828b..6c84ac2 100644 --- a/0000-disable-update-version-check.patch +++ b/0000-disable-update-version-check.patch @@ -1,8 +1,6 @@ -diff --git a/lib/private/Updater.php b/lib/private/Updater.php -index 5a14bb17507..38dcb55db7f 100644 ---- a/lib/private/Updater.php -+++ b/lib/private/Updater.php -@@ -214,15 +214,17 @@ class Updater extends BasicEmitter { +--- a/lib/private/Updater.php 2025-10-23 13:34:14.000000000 -0500 ++++ b/lib/private/Updater.new.php 2025-10-25 15:04:23.345653512 -0500 +@@ -174,10 +174,13 @@ $this->config->setAppValue('core', 'vendor', $currentVendor); } @@ -13,15 +11,9 @@ index 5a14bb17507..38dcb55db7f 100644 + */ if ($currentVendor === 'nextcloud') { - return isset($allowedPreviousVersions[$currentVendor][$majorMinor]) -- && (version_compare($oldVersion, $newVersion, '<=') || -- $this->config->getSystemValueBool('debug', false)); +- && (version_compare($oldVersion, $newVersion, '<=') +- || $this->config->getSystemValueBool('debug', false)); + return true; } // Check if the instance can be migrated -- return isset($allowedPreviousVersions[$currentVendor][$majorMinor]) || -- isset($allowedPreviousVersions[$currentVendor][$oldVersion]); -+ return true; - } - - /** diff --git a/nextcloud.spec b/nextcloud.spec index abe44e3..1a2448c 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 31.0.9 +Version: 32.0.1 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index a73a0a5..d555484 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (nextcloud-29.0.16.tar.bz2) = e786dec5973f8184b20915b3e0ec80c316c636c70537932e7302ccc905389cda6b344ef73d44fa7ce74b75d36ee1f9a6f1f8851c29faf29774d1bd3d3cb05a00 -SHA512 (nextcloud-31.0.9.tar.bz2) = eec86ab5b45cc3a4ee0208e1bb0ae8ddf04d35956ca8aef92f79d7109c9c5d2f58916c32c341883c10713f861c092050b568f577fcad754e45928ac4e21828ea +SHA512 (nextcloud-32.0.1.tar.bz2) = 60d38187896537c4736eee381d2f579b35e376c931590a63d0cf5690c0d9b553dda3ba575a06e7448ac156d41aae10f1f02b8e0f2ef3d99275049f38acc987f6 From b3531334902094bf84442da2c430325b4ff29a4e Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Mon, 27 Oct 2025 08:20:37 -0500 Subject: [PATCH 25/41] Nextcloud 29 is no longer supported upstream and cannot be upgraded on el9 due to php requirements. --- .fmf/version | 1 - .gitignore | 3 - 0000-disable-update-version-check.patch | 27 -- 0001-mangle-shebang.patch | 9 - README-PACKAGING.md | 16 - README.md | 11 - changelog | 126 -------- dead.package | 1 + gating.yml | 17 - nextcloud-MIGRATION.fedora | 165 ---------- nextcloud-README.fedora | 118 ------- nextcloud-access-httpd.conf.avail | 24 -- nextcloud-auth-any.inc | 12 - nextcloud-auth-local.inc | 14 - nextcloud-auth-none.inc | 12 - nextcloud-conf-nginx.conf | 4 - nextcloud-config.php | 23 -- nextcloud-default-nginx.conf | 82 ----- nextcloud-defaults.inc | 8 - nextcloud-httpd.conf | 55 ---- nextcloud-integritycheck-exclusion.patch | 34 -- nextcloud-mysql.txt | 28 -- nextcloud-php-fpm.conf | 27 -- nextcloud-php.ini | 1 - nextcloud-postgresql.txt | 43 --- nextcloud-systemd-timer.service | 11 - nextcloud-systemd-timer.timer | 10 - nextcloud.spec | 385 ----------------------- plans/base.fmf | 12 - sources | 2 - utils/get-bundled-versions.py | 26 -- utils/get-composer-requires.py | 109 ------- 32 files changed, 1 insertion(+), 1415 deletions(-) delete mode 100644 .fmf/version delete mode 100644 .gitignore delete mode 100644 0000-disable-update-version-check.patch delete mode 100644 0001-mangle-shebang.patch delete mode 100644 README-PACKAGING.md delete mode 100644 README.md delete mode 100644 changelog create mode 100644 dead.package delete mode 100644 gating.yml delete mode 100644 nextcloud-MIGRATION.fedora delete mode 100644 nextcloud-README.fedora delete mode 100644 nextcloud-access-httpd.conf.avail delete mode 100644 nextcloud-auth-any.inc delete mode 100644 nextcloud-auth-local.inc delete mode 100644 nextcloud-auth-none.inc delete mode 100644 nextcloud-conf-nginx.conf delete mode 100644 nextcloud-config.php delete mode 100644 nextcloud-default-nginx.conf delete mode 100644 nextcloud-defaults.inc delete mode 100644 nextcloud-httpd.conf delete mode 100644 nextcloud-integritycheck-exclusion.patch delete mode 100644 nextcloud-mysql.txt delete mode 100644 nextcloud-php-fpm.conf delete mode 100644 nextcloud-php.ini delete mode 100644 nextcloud-postgresql.txt delete mode 100644 nextcloud-systemd-timer.service delete mode 100644 nextcloud-systemd-timer.timer delete mode 100644 nextcloud.spec delete mode 100644 plans/base.fmf delete mode 100644 sources delete mode 100755 utils/get-bundled-versions.py delete mode 100755 utils/get-composer-requires.py diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 099c403..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/nextcloud-*.tar.bz2 -/nextcloud -*.pkgtmp diff --git a/0000-disable-update-version-check.patch b/0000-disable-update-version-check.patch deleted file mode 100644 index 2d5828b..0000000 --- a/0000-disable-update-version-check.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/lib/private/Updater.php b/lib/private/Updater.php -index 5a14bb17507..38dcb55db7f 100644 ---- a/lib/private/Updater.php -+++ b/lib/private/Updater.php -@@ -214,15 +214,17 @@ class Updater extends BasicEmitter { - $this->config->setAppValue('core', 'vendor', $currentVendor); - } - -+ /* -+ Fedora package: -+ Remove updater version check, we know that updates across more than one -+ version are possible -+ */ - if ($currentVendor === 'nextcloud') { -- return isset($allowedPreviousVersions[$currentVendor][$majorMinor]) -- && (version_compare($oldVersion, $newVersion, '<=') || -- $this->config->getSystemValueBool('debug', false)); -+ return true; - } - - // Check if the instance can be migrated -- return isset($allowedPreviousVersions[$currentVendor][$majorMinor]) || -- isset($allowedPreviousVersions[$currentVendor][$oldVersion]); -+ return true; - } - - /** diff --git a/0001-mangle-shebang.patch b/0001-mangle-shebang.patch deleted file mode 100644 index 5755104..0000000 --- a/0001-mangle-shebang.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur a/occ b/occ ---- a/occ 2020-10-24 10:37:44.000000000 +0200 -+++ b/occ 2020-11-10 19:39:56.523178958 +0100 -@@ -1,4 +1,4 @@ --#!/usr/bin/env php -+#!/usr/bin/php - diff --git a/README-PACKAGING.md b/README-PACKAGING.md deleted file mode 100644 index 4dfa735..0000000 --- a/README-PACKAGING.md +++ /dev/null @@ -1,16 +0,0 @@ -# Packaging Notes - -Nextcloud has a fairly quick release cadence. Luckily they follow a strick system of alph-beta-rc-final releases and differences between major versions aren't huge so this rarely causes problems. -## Versions/Branches/Modules/Releases -### Upstream versioning -Upstream uses semantic versioning `major.minor.bugfix` for their version numbers. Contrary to what one might expect, they generally only push releases to their `stable` release channel after the first bugfix release `x.y.1`. -### In Fedora -`rawhide` generally contains whatever the latest non-rc release upstream is, including the `x.y.0` initial releases of a new major version. -Fedora releases stay on whatever major version they inherited from `rawhide` at branching as much as possible. Since nextcloud's and Fedora's release schedule don't entirely sync up, this means that occasionally a Fedora release might ship a `x.y.0` or EOL'd version of nextcloud for a brief time, but this is the best tradeoff between keeping Fedora in sync with upstream and minimizing disruptions within one Fedora release. Users who are unhappy with that can choose modules to work around that. -Module streams `nextcloud-X` ship the current release of major version `X`. Module stream `nextcloud-stable` should be rebased to a new major version only after the `x.y.1` bugfix release, in keeping with what upstream considers it's stable branch. -### Security fixes -Upstream is very conscientious with publishing and fixing CVEs discovered in their code. They generally backport fixes to all but very minor vulnerabilities to all supported versions, so it is generally safe not to change major versions within one Fedora release, even if a vulnerability has been discovered. Impacted users can always choose to upgrade via modules. -## Tarballs -Release tarballs are located at https://download.nextcloud.com/server/releases while prerelease tarballs are located ata https://download.nextcloud.com/server/prereleases/ . It generally takes about a day after the release annoucement for tarballs to actually appear in those directories. -## Bundled dependencies -Nextcloud ships a lot of bundled composer libraries, but these are easy to unbundle. The repos `utils` directory contains a script `get-composer-requires.py` that will output all required libraries/versions as well as if they're already available in the Fedora repositories or need to be added, by scanning the `composer.json` files shipped with the nextcloud sources. diff --git a/README.md b/README.md deleted file mode 100644 index e294b77..0000000 --- a/README.md +++ /dev/null @@ -1,11 +0,0 @@ -### Installation, setup & updating - -Nextcloud requires some additional steps after installation/upgrade that are not part of the package update process. After installation/update, visiting your install's website will automatically trigger the internal Nextcloud updater which will take care of these steps. For more details, see this package's documentation files. - -### Other versions - -[modular nextcloud package Fedora and CentOS/RHEL](https://src.fedoraproject.org/modules/nextcloud) is over - -https://fedoraproject.org/wiki/Changes/RetireModularity - -Once Fedora Linux 38 reaches end of life, we will retire the Fedora instance of Module Build Service. diff --git a/changelog b/changelog deleted file mode 100644 index 554cf42..0000000 --- a/changelog +++ /dev/null @@ -1,126 +0,0 @@ -* Tue Jul 6 2021 Christopher Engelhard - 22.0.0-1 -- Update to 22.0.0 - -* Wed Jun 30 2021 Christopher Engelhard - 21.0.2-1 -- Update to 21.0.2, fixes RHBZ 1977202 / CVE-2021-22915 -- Include php-fpm config in httpd subpackage -- Set php memory limit to 512MB (RHBZ 1933529) -- Add Referrer-policy no-referrer to nginx config (RHBZ 1933530) - -* Wed Feb 24 2021 Christopher Engelhard - 21.0.0-2 -- Drop dependency on php-imap. Fixes RHBZ #1933023 - -* Wed Feb 24 2021 Christopher Engelhard - 21.0.0-1 -- Update to 21.0.0 - -* Sat Feb 20 2021 Christopher Engelhard - 20.0.7-1 -- Update to 20.0.7 - -* Tue Jan 26 2021 Fedora Release Engineering - 20.0.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sat Jan 16 2021 Christopher Engelhard - 20.0.5-1 -- Update to 20.0.5 - -* Mon Dec 28 2020 Christopher Engelhard - 20.0.4-2 -- Remove duplicate dependencies on database drivers -- Remove syslinux related stuff, as these are included in - the syslinux policy -- Add Provides: for bundled libraries - -* Thu Dec 17 2020 Christopher Engelhard - 20.0.4-1 -- Update to 20.0.4 - -* Thu Dec 10 2020 Christopher Engelhard - 20.0.3-1 -- Update to 20.0.3 - -* Thu Nov 19 2020 Christopher Engelhard - 20.0.2-1 -- Update to 20.0.2 - -* Sat Nov 14 2020 Christopher Engelhard - 20.0.2-0.1.rc1 -- Update to 20.0.2RC1 - -* Wed Nov 11 2020 Christopher Engelhard - 20.0.1-3 -- Remove CentOS/RHEL 7 support from spec file - -* Tue Nov 10 2020 Christopher Engelhard - 20.0.1-2 -- Add dependencies on php-cli (for occ) and php-process (for posix) -- Remove unneeded BR on php-cli -- Add patch to allow updates across more than one major version - -* Mon Oct 26 2020 Christopher Engelhard - 20.0.1-1 -- Update to Nextcloud 20.0.1 - -* Sun Oct 11 2020 Christopher Engelhard - 20.0.0-1 -- Update to Nextcloud 20.0.0 - -* Tue Jul 28 2020 Fedora Release Engineering - 19.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Sun Jun 28 2020 Ivan Chavero - 19.0.0-1 -- Update to Nextcloud 19.0.0 -- Update licenses - -* Thu Apr 30 2020 Ivan Chavero - 18.0.4-1 -- Update to Nextcloud 18.0.4 - -* Sat Feb 08 2020 Ivan Chavero - 18.0.0-1 -- Refactor spec file -- Update to Nextcoud 18.0.0 - -* Wed Jan 29 2020 Fedora Release Engineering - 10.0.4-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 10.0.4-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 10.0.4-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Wed Jan 9 2019 Remi Collet - 10.0.4-6 -- drop dependency on php-password-compat #1658730 -- allow php-smbclient 1.0.0 #1663672 -- allow doctrine/dbal 2.x - -* Fri Jul 13 2018 Fedora Release Engineering - 10.0.4-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering - 10.0.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 10.0.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Mar 25 2017 Shawn Iwinski - 10.0.4-2 -- Add max versions to dependencies to limit each to 1 major version -- Update some dependencies to use php-composer(*) instead of package names -- Prepare for php-composer(google/apiclient) version 2 and new version 1 package - -* Tue Feb 28 2017 James Hogarth - 10.0.4-1 -- update to 10.0.4 -- Add migration from owncloud documentation -- Add systemd timer for background jobs - -* Wed Feb 08 2017 James Hogarth - 10.0.3-1 -- update to 10.0.3 - -* Thu Oct 06 2016 James Hogarth - 10.0.1-1 -- update to 10.0.1 - -* Mon Aug 01 2016 James Hogarth - 9.0.53-5 -- Use lua to have a common srpm between epel7 and fedora - -* Fri Jul 29 2016 James Hogarth - 9.0.53-4 -- Don't unbundle javascript on EPEL7 due to versioning issues - -* Fri Jul 29 2016 James Hogarth - 9.0.53-3 -- Unbundle javascript libraries from core where possible - -* Tue Jul 26 2016 James Hogarth - 9.0.53-2 -- Update the autoloader to use the path from the approved package - -* Tue Jul 19 2016 James Hogarth - 9.0.53-1 -- New release 9.0.53 - -* Thu Jul 14 2016 James Hogarth - 9.0.52-1 -- Initial nextcloud build diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..032a538 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Nextcloud 29 is no longer supported upstream and cannot be upgraded on el9 due to php requirements. diff --git a/gating.yml b/gating.yml deleted file mode 100644 index 47751e9..0000000 --- a/gating.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- !Policy -product_versions: - - fedora-* - decision_context: bodhi_update_push_testing - subject_type: koji_build - rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} ---- !Policy -product_versions: - - fedora-* - decision_context: bodhi_update_push_stable - subject_type: koji_build - rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} diff --git a/nextcloud-MIGRATION.fedora b/nextcloud-MIGRATION.fedora deleted file mode 100644 index 9225f3f..0000000 --- a/nextcloud-MIGRATION.fedora +++ /dev/null @@ -1,165 +0,0 @@ -# Migration from owncloud - -When migrating from an existing owncloud install it's possible to use the same database, -or to rename the database to reduce confusion. - -Before carrying out the migration it is important to prevent anyone from changing things. - -Of course it's advised to carry out a backup of the database and files before any migration. - -### Prevent people using owncloud -sudo -u apache php /usr/share/owncloud/occ maintenance:mode --on - -### Migration whilst keeping owncloud data intact - -This is the safest option as it is nondestructive to owncloud, but it will require -double the data storage during the migration. - -#### Copy data over from one location to the other -The data layout is identical, it's just the location that differs. -``` -rsync -aPh /var/lib/owncloud/ /var/lib/nextcloud/ -``` - -## Renaming the database -This is optional but might serve to confuse less, and prevents any changes to the owncloud -database in case there are issues requiring a fallback. Naturally use better credentials and -use the correct database names for your setup! - -##### MySQL -``` -mysql -e 'create database nextclouddb;' -mysql -e "grant all on nextclouddb.* to 'nextcloud_user'@'localhost' identified by 'nextcloud_pass';" -mysqldump -v ownclouddb | mysql -D nextclouddb -``` - -##### PostgreSQL -``` -sudo -u postgres psql < pg_backend_pid(); - - /* CLONE DATABASE TO NEW ONE(nextclouddb) */ - CREATE DATABASE nextclouddb WITH TEMPLATE ownclouddb OWNER nextcloud_user; - - GRANT ALL PRIVILEGES ON DATABASE nextclouddb TO nextcloud_user; - -/* The tables need to be transferred in owner as well */ -\c nextclouddb; -REASSIGN OWNED BY owncloud_user TO nextcloud_user; - EOF - -``` -Don't forget to update pg_hba.conf to allow access to the new database as the new user! - -``` -host nextclouddb nextcloud_user ::1/128 password -host nextclouddb nextcloud_user 127.0.0.1/32 password -``` - -### Migration in place without preserving owncloud data - -If there is not sufficient disk then data can be moved, this will break owncloud in the process -and there won't be a fallback option if things go wrong beyond restiring data/backups. - -#### Copy data over from one location to the other -``` -mv /var/lib/owncloud/* /var/lib/nextcloud/ -``` - -#### Renaming the database -This is even more optional since the old database will be destroyed in the process, but it may serve -to lessen confusion later on for future maintenance. Again replace with the desired credentials and -database names for your environment. - -Note that since the database sizes are small it's more reliable and safer for the data stores to follow -the steps to duplicate the database laid out above. - -##### MySQL -``` -mysql -e 'create database nextclouddb;' -mysql -e "grant all on nextclouddb.* to 'nextcloud_user'@'localhost' identified by 'nextcloud_pass';" -mysql ownclouddb -sNe 'show tables' | while read table; do mysql -sNe "rename table ownclouddb.$table to nextclouddb.$table;"; done -``` - -##### PostgreSQL -``` -sudo -u postgres psql < pg_backend_pid(); - - /* ALTER DATABASE to rename it */ - ALTER DATABASE ownclouddb RENAME TO nextclouddb; - ALTER DATABASE nextclouddb OWNER TO nextcloud_user; - - GRANT ALL PRIVILEGES ON DATABASE nextclouddb TO nextcloud_user; - -/* The tables need to be transferred in owner as well */ -\c nextclouddb; -REASSIGN OWNED BY owncloud_user TO nextcloud_user; -EOF -``` - -Again remember to update pg_hba.conf so the new database and user can be used. - -### Bring over the old configuration and update paths -The config can be copied as-is which will preserve most settings. This is a coarse rename of everything -from owncloud to nextcloud, but if the database isn't renamed then this too much. Verify the database -credentials and name in the config file are correct before moving on to the next step. -``` -cp /etc/owncloud/config.php /etc/nextcloud/config.php -sed -i 's/owncloud/nextcloud/g' /etc/nextcloud/config.php -``` - -### Enable the nextcloud interface on httpd -If using httpd then enable the interface the same way as the README describes for a fresh install -``` -ln -s /etc/httpd/conf.d/nextcloud-access.conf.avail /etc/httpd/conf.d/z-nextcloud-access.conf -``` - -### Carry out any migration required -A migration step for database schemas etc needs to be carried out to ensure everything is correct. - -Although the WebUI will be prompting the standard "click here to update" it is best for this major -migration to carry it out at the command line. -``` -sudo -u apache php /usr/share/nextcloud/occ upgrade -``` - -### Verify that everything looks right -It's best at this stage to enter as an admin and have the instance in single user mode only -``` -sudo -u apache php /usr/share/nextcloud/occ maintenance:singleuser --on -sudo -u apache php /usr/share/nextcloud/occ maintenance:mode --off -``` -__NOTE__ It is usual for things like webdav to be disabled during singleuser which may prevent seeing -files, however just use this to verify the admin screens. On testing apps needed to be disabled -and then enabled again for nextcloud to correctly pick them up. - -### Enable allow people to use nextcloud -If things are looking good then open the floodgates to everyone else. -``` -sudo -u apache php /usr/share/nextcloud/occ maintenance:singleuser --off -``` - -### Clean up the owncloud stuff -Finally clean up the old owncloud install, replace with the database and user for your own setup. -``` -dnf remove -y owncloud\* -rm -rf /var/lib/owncloud /etc/owncloud /etc/httpd/conf.d/*owncloud* -# mysql -mysql -e "drop database ownclouddb; drop user owncloud_user@'localhost';" -# postgres -sudo -u postgres psql <). These packages -include additional configuration files for the webservers. Remote access is -disabled by default on httpd. To enable access from any host for Apache **AFTER** you -complete the initial setup process, do this: - -ln -s /etc/httpd/conf.d/nextcloud-access.conf.avail /etc/httpd/conf.d/z-nextcloud-access.conf - -If you wish to adjust any of the settings it is recommended that you create -a new configuration file that will override nextcloud.conf, rather than editing -it, so future changes to the packaged file will be respected on your server. -If you do not do this, please be careful to check for changes in the packaged -configuration file (especially on major nextcloud upgrades) and merge into -your modified configuration as appropriate. - -Database --------- -You can choose between three databases: MySQL, PostgreSQL and SQLite. -For each of them there is an nextcloud subpackage (nextcloud-). -You are required to install at least one of them. The packages only ensure -the necessary requirements to communicate with a database server of that type -are installed, they do not require the database server package itself, as -you may wish to use a remote database server. If you wish to use a local one, -you must ensure it is installed and configured. - -For larger installs you should use MySQL or PostgreSQL. - -If you choose MySQL or PostgreSQL, keep in mind that you must create a database -and user for nextcloud manually, before you can finish the setup process. The -README.postgresql and README.mysql files provide more details and help with -this. - -In addition if using a remote database then then selinux must be configured to -allow the webserver to connect to it - see the selinux section further down. - -Configuration -------------- -You can find the main configuration file at '/etc/nextcloud/config.php'. Until -you first access the server it will be just a small stub containing settings -that differ in this package from the upstream defaults. After you first access -nextcloud, the initial setup process will populate it with some more settings. -Other settings that can be provided in this file are documented at: -https://docs.nextcloud.com/server/10/admin_manual/configuration_server/config_sample_php_parameters.html - -User Data ---------- -The default data directory is '/var/lib/nextcloud/data'. Every file that is -uploaded by your users to nextcloud gets saved into this folder. Consider doing -a backup of this directory, together with the database and the main -configuration. Note that if you change this location, you must set appropriate -ownership and SELinux context attributes. - -Logging -------- -As specified by the configuration file, nextcloud sends messages to the system -logger, which means in a standard Fedora/EPEL configuration it will log to the -systemd journal: try "journalctl -b -t Nextcloud". You can also change the -loglevel or switch to the built-in log mechanism of nextcloud. - -App Store ---------- -If you install additional third party apps using the built-in app store, you -can find them in the directory '/var/lib/nextcloud/apps'. This functionality is -enabled by default. If this is moved then it's important to configure httpd/nginx -appropriately for the correct /nextcloud/apps-appstore path to alias to the new location. - -The app store URL is coded into the core php and does not need to be listed in config.php - -If there are any empty proxy entries in config.php this will prevent connectivity to the store. -If not using a proxy it is important to remove any proxy entries from config.php, not just be "" - -Selinux Booleans ----------------- -If you want to use external files (eg remote smb/cifs server) the httpd_can_network_connect -selinux boolean should be toggled on. If you want to use libreoffice document conversion -then the httpd_execmem should be toggled on and the unoconv package should be installed. - -If not using an external file source but still using an external database then the boolean -httpd_can_network_connect_db should be toggled on for access to regular DB ports. The general -network connect can alternatiely be used for non-standard ports or for a broader permission -in case of future external files requirements. - -Memory caching --------------- -For performance reasons a memory cache should be configured. In larger installs redis -may be required but as a basic lightweight alternative edit config.php as per upstream -documentation and install ACPu via: - -dnf install 'php-pecl(apcu)' - -For further information see http://nextcloud.org/ and http://doc.nextcloud.org/ - -Scheduling Background Jobs --------------------------- -The default behaviour is to use the AJAX webcron, however this is fairly inefficient and does not scale very well. - -It's recommended to set the option "Cron" to use the system scheduler and to enable the included systemd timer. - -systemctl enable --now nextcloud-cron.timer - -Migration from owncloud ------------------------ - -For detailed instructions on this please read MIGRATION.distro diff --git a/nextcloud-access-httpd.conf.avail b/nextcloud-access-httpd.conf.avail deleted file mode 100644 index 1caf642..0000000 --- a/nextcloud-access-httpd.conf.avail +++ /dev/null @@ -1,24 +0,0 @@ -# If symlinked or copied to /etc/httpd/conf.d/z-nextcloud-access.conf -# (or any other name that is alphabetically later than -# 'nextcloud.conf'), this file will permit access to the ownCloud -# installation from any client. Ensure your deployment is correctly -# configured and secured before doing this! -# -# If you SYMLINK this file, you can rely on the ownCloud package to -# handle any future changes in the directory or URL hierarchy; this -# file will always achieve the high-level goal 'allow access to the -# ownCloud installation from any client'. If you COPY this file, you -# will have to check for changes to the original in future ownCloud -# package updates, and make any appropriate adjustments to your copy. - - - Include conf.d/nextcloud-auth-any.inc - - - - Include conf.d/nextcloud-auth-any.inc - - - - Include conf.d/nextcloud-auth-any.inc - diff --git a/nextcloud-auth-any.inc b/nextcloud-auth-any.inc deleted file mode 100644 index 4744713..0000000 --- a/nextcloud-auth-any.inc +++ /dev/null @@ -1,12 +0,0 @@ -# Apache config snippet. To be used by /etc/httpd/conf.d/*.conf files -# with Include. Allows access from any system. - - -# Apache 2.4 -Require all granted - - -# Apache 2.2 -Order Deny,Allow -Allow from all - diff --git a/nextcloud-auth-local.inc b/nextcloud-auth-local.inc deleted file mode 100644 index 69cfd00..0000000 --- a/nextcloud-auth-local.inc +++ /dev/null @@ -1,14 +0,0 @@ -# Apache config snippet. To be used by /etc/httpd/conf.d/*.conf files -# with Include. Allows access only from local system. - - -# Apache 2.4 -Require local - - -# Apache 2.2 -Order Deny,Allow -Deny from all -Allow from 127.0.0.1 -Allow from ::1 - diff --git a/nextcloud-auth-none.inc b/nextcloud-auth-none.inc deleted file mode 100644 index 212315e..0000000 --- a/nextcloud-auth-none.inc +++ /dev/null @@ -1,12 +0,0 @@ -# Apache config snippet. To be used by /etc/httpd/conf.d/*.conf files -# with Include. Denies all access. - - -# Apache 2.4 -Require all denied - - -# Apache 2.2 -Order Deny,Allow -Deny from all - diff --git a/nextcloud-conf-nginx.conf b/nextcloud-conf-nginx.conf deleted file mode 100644 index 85dfd8c..0000000 --- a/nextcloud-conf-nginx.conf +++ /dev/null @@ -1,4 +0,0 @@ -upstream php-nextcloud { - server unix:/run/php-fpm/nextcloud.sock; -} - diff --git a/nextcloud-config.php b/nextcloud-config.php deleted file mode 100644 index 3bec0f6..0000000 --- a/nextcloud-config.php +++ /dev/null @@ -1,23 +0,0 @@ - "syslog", - "datadirectory" => "/var/lib/nextcloud/data", - "updatechecker" => false, - "check_for_working_htaccess" => false, - "asset-pipeline.enabled" => false, - "assetdirectory" => '/var/lib/nextcloud', - "preview_libreoffice_path" => '/usr/bin/libreoffice', - - - "apps_paths" => [ - [ 'path'=> '/usr/share/nextcloud/apps', - 'url' => '/apps', - 'writable' => false, - ], - [ - 'path' => '/var/lib/nextcloud/apps', - 'url' => '/apps-appstore', - 'writable' => true, - ], - ], -]; diff --git a/nextcloud-default-nginx.conf b/nextcloud-default-nginx.conf deleted file mode 100644 index 7151521..0000000 --- a/nextcloud-default-nginx.conf +++ /dev/null @@ -1,82 +0,0 @@ - rewrite ^/nextcloud$ /nextcloud/ redirect; - - location /nextcloud/ { - root /usr/share/; - - # Add headers to serve security related headers - # Before enabling Strict-Transport-Security headers please read into this topic first. - # add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;"; - add_header X-Content-Type-Options nosniff; - add_header X-Frame-Options "SAMEORIGIN"; - add_header X-XSS-Protection "1; mode=block"; - add_header X-Robots-Tag none; - add_header X-Download-Options noopen; - add_header X-Permitted-Cross-Domain-Policies none; - add_header Referrer-Policy no-referrer always; - - - # set max upload size - client_max_body_size 10G; - fastcgi_buffers 64 4K; - - # Disable gzip to avoid the removal of the ETag header - gzip off; - - # Uncomment if your server is build with the ngx_pagespeed module - # This module is currently not supported. - #pagespeed off; - - index index.php; - - error_page 403 /nextcloud/core/templates/403.php; - error_page 404 /nextcloud/core/templates/404.php; - - location ~ ^/nextcloud/apps-appstore/(.*)$ { - alias /var/lib/nextcloud/apps/$1; - } - - location ~ ^/nextcloud/assets/(.*)$ { - alias /var/lib/nextcloud/assets/$1; - } - - location ~ ^/nextcloud/(build|tests|config|lib|3rdparty|templates|data)/ { - deny all; - } - - location ~ ^/nextcloud/(?:\.|autotest|occ|issue|indie|db_|console) { - deny all; - } - - rewrite ^/nextcloud/remote/(.*) /nextcloud/remote.php last; - rewrite ^/nextcloud/core/doc/([^\/]+)(?:$|/) /nextcloud/core/doc/$1/index.html; - - try_files $uri $uri/ =404; - - location ~ \.php(?:$|/) { - fastcgi_split_path_info ^(.+\.php)(/.+)$; - include fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - fastcgi_param PATH_INFO $fastcgi_path_info; - # fastcgi_param HTTPS on; - fastcgi_param modHeadersAvailable true; #Avoid sending the security headers twice - fastcgi_pass php-nextcloud; - fastcgi_intercept_errors on; - } - - # Adding the cache control header for js and css files - # Make sure it is BELOW the location ~ \.php(?:$|/) { block - location ~* \.(?:css|js)$ { - add_header Cache-Control "public, max-age=7200"; - # Optional: Don't log access to assets - access_log off; - } - - # Optional: Don't log access to other assets - location ~* \.(?:jpg|jpeg|gif|bmp|ico|png|swf)$ { - access_log off; - } - - } - - - diff --git a/nextcloud-defaults.inc b/nextcloud-defaults.inc deleted file mode 100644 index fef3ec6..0000000 --- a/nextcloud-defaults.inc +++ /dev/null @@ -1,8 +0,0 @@ -# The contents of the default Nextcloud .htaccess file are appended to this -# file during build. Some directives may be irrelevant to the Fedora/EPEL -# ecosystem but are NOT omitted. -# -# DO NOT EDIT THIS FILE DIRECTLY. To override any element of the -# packaged Nextcloud configuration, create a new /etc/httpd/conf.d/ -# file which will be read later than this one. - diff --git a/nextcloud-httpd.conf b/nextcloud-httpd.conf deleted file mode 100644 index 12c121e..0000000 --- a/nextcloud-httpd.conf +++ /dev/null @@ -1,55 +0,0 @@ -# DO NOT EDIT THIS FILE DIRECTLY. To override any element of the -# packaged ownCloud configuration, create a new /etc/httpd/conf.d/ -# file which will be read later than 'nextcloud.conf'. -# -# As the initial setup wizard is active upon installation, access is -# initially allowed only from localhost. *AFTER* configuring the -# installation correctly and creating the admin account, to allow -# access from any host, do this: -# -# ln -s /etc/httpd/conf.d/nextcloud-access.conf.avail /etc/httpd/conf.d/z-nextcloud-access.conf - -Alias /nextcloud/apps-appstore /var/lib/nextcloud/apps -Alias /nextcloud/assets /var/lib/nextcloud/assets -Alias /nextcloud /usr/share/nextcloud - -# Allows compliant CalDAV / CardDAV clients to be configured using only -# the domain name. For more details see # http://tools.ietf.org/html/rfc6764 - -# Nextcloud 29 checks specifically for trailing slash in dav 301 redirects -# https://github.com/nextcloud/server/issues/45033#issuecomment-2079306503 - -Redirect 301 /.well-known/carddav /nextcloud/remote.php/dav/ -Redirect 301 /.well-known/caldav /nextcloud/remote.php/dav/ -Redirect 301 /.well-known/webdav /nextcloud/remote.php/dav/ -Redirect 301 /.well-known/webfinger /nextcloud/index.php/.well-known/webfinger -Redirect 301 /.well-known/nodeinfo /nextcloud/index.php/.well-known/nodeinfo - - - Include conf.d/nextcloud-auth-local.inc - Include conf.d/nextcloud-defaults.inc - - Include conf.d/nextcloud-auth-none.inc - - - - - Include conf.d/nextcloud-auth-local.inc - Include conf.d/nextcloud-defaults.inc - - - - Include conf.d/nextcloud-auth-local.inc - Include conf.d/nextcloud-defaults.inc - - -# For safety, explicitly deny any access to these locations. -# Upstream's .htaccess does something similar with mod_rewrite. - - - Include conf.d/nextcloud-auth-none.inc - - - - Include conf.d/nextcloud-auth-none.inc - diff --git a/nextcloud-integritycheck-exclusion.patch b/nextcloud-integritycheck-exclusion.patch deleted file mode 100644 index eeb7ee5..0000000 --- a/nextcloud-integritycheck-exclusion.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 9f38c6300712a23ccdc75e140143a1c461e15705 Mon Sep 17 00:00:00 2001 -From: Andrew Bauer -Date: Mon, 24 Jun 2024 10:11:23 -0500 -Subject: [PATCH] silence integrity check for excluded files - ---- - lib/private/IntegrityCheck/Checker.php | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -diff --git a/lib/private/IntegrityCheck/Checker.php b/lib/private/IntegrityCheck/Checker.php -index a6de3cf6030d7..3974483601b08 100644 ---- a/lib/private/IntegrityCheck/Checker.php -+++ b/lib/private/IntegrityCheck/Checker.php -@@ -337,7 +337,20 @@ private function verify(string $signaturePath, string $basePath, string $certifi - $differencesB = array_diff_assoc($currentInstanceHashes, $expectedHashes); - $differences = array_unique(array_merge($differencesA, $differencesB)); - $differenceArray = []; -+ -+ # Nasty hack to silence the integrity checker for files patched during the build process or files we simply don't care about -+ $excludedFilenames = [ -+//sedplaceholder ]; -+ - foreach ($differences as $filename => $hash) { -+ -+ # Skip if the file in question matches our exclusion list -+ foreach ($excludedFilenames as $excludedFilename) { -+ if (strpos($filename, $excludedFilename)!==false) { -+ break 2; -+ } -+ } -+ - // Check if file should not exist in the new signature table - if (!array_key_exists($filename, $expectedHashes)) { - $differenceArray['EXTRA_FILE'][$filename]['expected'] = ''; diff --git a/nextcloud-mysql.txt b/nextcloud-mysql.txt deleted file mode 100644 index 1284442..0000000 --- a/nextcloud-mysql.txt +++ /dev/null @@ -1,28 +0,0 @@ -Configure MariaDB / MySQL for ownCloud -====================================== - -To use MariaDB / MySQL as database backend, you need to do the following: - -1. Make sure that your mysql service is configured and running properly. If this - is a fresh install, you will need to run "systemctl enable mysqld.service; - systemctl start mysqld.service" (or mariadb.service) as root. It's also - strongly advised to run "mysql_secure_installation" after starting the - database for the first time. - -2. Log in to the database as privileged user to create the database and a - dedicated user account for ownCloud: - $ mysql -u root -p - CREATE USER 'username'@'localhost' IDENTIFIED BY 'password'; - CREATE DATABASE IF NOT EXISTS nextcloud; - GRANT ALL PRIVILEGES ON nextcloud.* TO 'username'@'localhost' IDENTIFIED BY 'password'; - Choose identifier and password accordingly. - -Now you can launch the ownCloud setup screen, select MySQL in the advanced -settings and fill in your credentials. - -References -========== - -https://fedoraproject.org/wiki/MariaDB -https://mariadb.com/kb/en/mariadb/documentation/ -http://doc.nextcloud.org/server/7.0/admin_manual/configuration/configuration_database.html diff --git a/nextcloud-php-fpm.conf b/nextcloud-php-fpm.conf deleted file mode 100644 index a551def..0000000 --- a/nextcloud-php-fpm.conf +++ /dev/null @@ -1,27 +0,0 @@ -[nextcloud] -user = apache -group = apache -listen = /run/php-fpm/nextcloud.sock -listen.acl_users = apache,nginx -listen.allowed_clients = 127.0.0.1 -pm = dynamic -pm.max_children = 50 -pm.start_servers = 5 -pm.min_spare_servers = 5 -pm.max_spare_servers = 35 -slowlog = /var/log/php-fpm/nextcloud-slow.log -php_admin_value[error_log] = /var/log/php-fpm/nextcloud-error.log -php_admin_flag[log_errors] = on -php_value[session.save_handler] = files -php_value[session.save_path] = /var/lib/php/session -php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache -php_value[memory_limit] = 512M -php_value[upload_max_filesize] = 10G -php_value[post_max_size] = 10G -php_value[output_buffering] = false -env[HOSTNAME] = $HOSTNAME -env[PATH] = /usr/local/bin:/usr/bin:/bin -env[TMP] = /tmp -env[TMPDIR] = /tmp -env[TEMP] = /tmp - diff --git a/nextcloud-php.ini b/nextcloud-php.ini deleted file mode 100644 index 008bcab..0000000 --- a/nextcloud-php.ini +++ /dev/null @@ -1 +0,0 @@ -apc.enable_cli=1 diff --git a/nextcloud-postgresql.txt b/nextcloud-postgresql.txt deleted file mode 100644 index 15e7ad9..0000000 --- a/nextcloud-postgresql.txt +++ /dev/null @@ -1,43 +0,0 @@ -Configure PostgreSQL for ownCloud -================================= - -To use PostgreSQL as database backend, you need to do the following: - -1. Make sure that your PostgreSQL service is configured and running properly. - If this is a fresh install, you will need to run "postgresql-setup initdb" - as root, then "systemctl enable postgresql.service; systemctl start - postgresql.service". For more details on initial configuration of PostgreSQL - in Fedora, see https://fedoraproject.org/wiki/PostgreSQL - -2. Log in to PostgreSQL as system user to create the database and a dedicated - user account for ownCloud: - # su - -c "psql" postgres - CREATE USER username WITH PASSWORD 'password'; - CREATE DATABASE nextcloud TEMPLATE template0 ENCODING 'UNICODE'; - ALTER DATABASE nextcloud OWNER TO username; - GRANT ALL PRIVILEGES ON DATABASE nextcloud TO username; - Choose identifier and password accordingly. - -3. ownCloud talks to PostgreSQL via TCP/IP, so you need to configure an - appropriate authentication mechanism in /var/lib/pgsql/data/pg_hba.conf. - For a simple configuration with ownCloud and PostgreSQL on the same host, - set the METHOD for the lines that apply to localhost TCP/IP connections - to "password". ownCloud does *not* use a socket to communicate with the - database, so the 'local' line in pg_hba.conf does *not* apply to it. - Note that this will result in the password being sent unencrypted from - ownCloud to the PostgreSQL server. For more details, see - http://www.postgresql.org/docs/9.3/static/auth-pg-hba-conf.html. - -4. You also need to allow the web server to communicate with the database by - TCP/IP: SELinux disallows this by default. Run: - # setsebool -P httpd_can_network_connect_db on - -Now you can launch the ownCloud setup screen, select PostgreSQL in the advanced -settings and fill in your credentials. - -References -========== - -https://fedoraproject.org/wiki/PostgreSQL -http://www.postgresql.org/docs -http://doc.nextcloud.org/server/7.0/admin_manual/configuration/configuration_database.html diff --git a/nextcloud-systemd-timer.service b/nextcloud-systemd-timer.service deleted file mode 100644 index a7efaae..0000000 --- a/nextcloud-systemd-timer.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Cron for nextcloud background jobs - -[Service] -# https://docs.nextcloud.com/server/25/admin_manual/configuration_server/background_jobs_configuration.html#systemd -Type=oneshot -User=apache -KillMode=process -ExecStart=/usr/bin/php -f /usr/share/nextcloud/cron.php - - diff --git a/nextcloud-systemd-timer.timer b/nextcloud-systemd-timer.timer deleted file mode 100644 index cfaf4b7..0000000 --- a/nextcloud-systemd-timer.timer +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=This triggers the nextcloud cron service - -[Timer] -OnBootSec=5min -OnUnitInactiveSec=15min - -[Install] -WantedBy=timers.target - diff --git a/nextcloud.spec b/nextcloud.spec deleted file mode 100644 index ba9376f..0000000 --- a/nextcloud.spec +++ /dev/null @@ -1,385 +0,0 @@ -%if 0%{?fedora} -%global distro fedora -%else -%global distro epel -%endif - -Name: nextcloud -Version: 29.0.16 -Release: %autorelease -Summary: Private file sync and share server -# Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. -License: AGPL-3.0-or-later AND LicenseRef-Callaway-MIT AND LicenseRef-Callaway-BSD AND Apache-2.0 AND WTFPL AND LicenseRef-Callaway-CC-BY-SA AND GPL-3.0-or-later AND Adobe-2006 -URL: http://nextcloud.com -Source0: https://download.nextcloud.com/server/releases/%{name}-%{version}.tar.bz2 - -# basic nextcloud config.php, nextcloud's -# initial setup will fill out other settings appropriately -Source1: %{name}-config.php -# Systemd timer for background jobs -Source2: %{name}-systemd-timer.service -Source3: %{name}-systemd-timer.timer -# httpd config files -Source100: %{name}-httpd.conf -Source101: %{name}-access-httpd.conf.avail -Source102: %{name}-auth-any.inc -Source103: %{name}-auth-local.inc -Source104: %{name}-auth-none.inc -Source105: %{name}-defaults.inc -# nginx/php-fpm config files -Source200: %{name}-default-nginx.conf -Source201: %{name}-conf-nginx.conf -Source202: %{name}-php-fpm.conf -Source203: %{name}-php.ini -# packaging notes and doc -Source300: %{name}-README.fedora -Source301: %{name}-mysql.txt -Source302: %{name}-postgresql.txt -Source303: %{name}-MIGRATION.fedora - -# Remove updater version check, we know that updates across more than one -# version are possible -Patch0: 0000-disable-update-version-check.patch -# Change occ shebang to /usr/bin/php -Patch1: 0001-mangle-shebang.patch -# Add the ability to exclude files we specify from the nextcloud integrity checker -Patch2: nextcloud-integritycheck-exclusion.patch - -BuildArch: noarch - -# Set this to the minimum supported php version Nextcloud will run on -# Exists to prevent accidental building on distros with outdated php's -BuildRequires: php(language) >= 8.0 -BuildRequires: systemd-rpm-macros - -# Auto-generate Provides from bundled php-composer libraries -BuildRequires: composer-generators - -# expand pear macros on install -BuildRequires: php-pear - -# Require one webserver and database backend -Requires: %{name}-webserver = %{version}-%{release} -Requires: %{name}-database = %{version}-%{release} -Requires: php-bcmath -# Require php CLI for occ command -Requires: php-cli -# Core PHP libs/extensions required by OC core -Requires: php-curl -Requires: php-dom -Requires: php-exif -Requires: php-fileinfo -Requires: php-filter -Requires: php-gd -Requires: php-gmp -Requires: php-iconv -Requires: php-intl -Requires: php-json -Requires: php-ldap -Requires: php-mbstring -Requires: php-openssl -Requires: php-pcre -Requires: php-pdo -Requires: php-pecl-apcu -Requires: php-pecl-imagick -Requires: php-pecl-memcached -Requires: (php-pecl-redis6 or php-pecl-redis5) -Requires: php-process -Requires: php-session -Requires: php-simplexml -Requires: php-smbclient -Requires: php-spl -Recommends: php-sodium -Requires: php-opcache -Requires: php-xmlwriter -Requires: php-zip -# For systemd support during install/uninstall -%{?systemd_requires} -# the CA cert bundle is linked to from the config dir -Requires: %{_sysconfdir}/pki/tls/certs/ca-bundle.crt - -# jquery-ui-multiselect bundled via user_ldap app -Provides: bundled(jquery-ui-multiselect) = 1.13 -# zxcvbn bundled via core -Provides: bundled(zxcvbn) = 4.4.2 - -%description -NextCloud gives you universal access to your files through a web interface or -WebDAV. It also provides a platform to easily view & sync your contacts, -calendars and bookmarks across all your devices and enables basic editing right -on the web. NextCloud is extendable via a simple but powerful API for -applications and plugins. - - -%package httpd -Summary: Httpd integration for NextCloud -Provides: %{name}-webserver = %{version}-%{release} -Requires: %{name} = %{version}-%{release} -# PHP dependencies -Requires: php-fpm httpd - -%description httpd -%{summary}. - - -%package nginx -Summary: Nginx integration for NextCloud -Provides: %{name}-webserver = %{version}-%{release} -Requires: %{name} = %{version}-%{release} -# PHP dependencies -Requires: php-fpm nginx - -%description nginx -%{summary}. - - -%package mysql -Summary: MySQL database support for NextCloud -Provides: %{name}-database = %{version}-%{release} -Requires: %{name} = %{version}-%{release} -# From getSupportedDatabases, mysql => pdo, mysql -Requires: php-mysqlnd - -%description mysql -This package ensures the necessary dependencies are in place for NextCloud to -work with MySQL / MariaDB databases. It does not require a MySQL / MariaDB -server to be installed, as you may well wish to use a remote database -server. - -If you want the database to be on the same system as NextCloud itself, you must -also install and enable a MySQL / MariaDB server package. See README.mysql for -more details. - - -%package postgresql -Summary: PostgreSQL database support for NextCloud -Provides: %{name}-database = %{version}-%{release} -Requires: %{name} = %{version}-%{release} -# From getSupportedDatabases, pgsql => function, pg_connect -Requires: php-pgsql - -%description postgresql -This package ensures the necessary dependencies are in place for NextCloud to -work with a PostgreSQL database. It does not require the PostgreSQL server -package to be installed, as you may well wish to use a remote database -server. - -If you want the database to be on the same system as NextCloud itself, you must -also install and enable the PostgreSQL server package. See README.postgresql -for more details. - - -%package sqlite -Summary: SQLite 3 database support for NextCloud -Provides: %{name}-database = %{version}-%{release} -Requires: %{name} = %{version}-%{release} -# From getSupportedDatabases, pgsql => class, SQLite3 - -%description sqlite -This package ensures the necessary dependencies are in place for NextCloud to -work with an SQLite 3 database stored on the local system. - - -%prep -%autosetup -n %{name} -p1 - -# patch backup files and .git stuff -find . -name \*.orig -type f -delete -print -find . -name .gitignore -type f -delete -print -find . -name .github -type d -prune -exec rm -r {} \; -print - -# fix CLI upgrade advise on splash screen -sed -i -e 's#\./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' core/templates/update.admin.php - -# prepare package doc -cp %{SOURCE300} README.%{distro} -cp %{SOURCE301} README.mysql -cp %{SOURCE302} README.postgresql -cp %{SOURCE303} MIGRATION.%{distro} - -# point the reader to the correct README filename -sed -i 's/distro/%{distro}/g' README.%{distro} - -# Locate license files and put them sensibly in place -# get rid of all composer licenses -find -wholename "*/composer/LICENSE" -exec mv {} composer-LICENSE \; - -# Deal with licenses automatically -find . -mindepth 2 \( -name '*LICENSE*' -o -name '*LICENCE*' \) | { while read a ; do mv "$a" $(echo $a | sed "s_^./__" | tr "/ " "__" )-LICENSE ; done ; } -find . -mindepth 2 -name '*COPYING*' | { while read a ; do mv "$a" $(echo $a | sed "s_^./__" | tr "/ " "__" )-COPYING ; done ; } - -# case-sensitive list of partial matches to exclude from the nextcloud integrity checker -# include readme, license, other docs, and any files we move or patch during the build -excludedFilenames=" -README -readme -LICENSE -LICENCE -license -copying -COPYING -AUTHORS -htaccess -gitignore -user.ini -update.admin.php -Updater.php -occ -Checker.php -" - -# nextcloud source files use tabs rather than spaces, ew -tabs=" " -cr=" -" - -# Add quotes, commas, and escaped newlines -for f in $excludedFilenames; do - formattedlist="$formattedlist$tabs'$f',\\$cr" -done - -# look for our sed placeholder we patched in earlier, then insert our formatted list of keywords -sed -i "s|//sedplaceholder|${formattedlist}|" lib/private/IntegrityCheck/Checker.php - -# Build nextcloud-defaults.inc from upstream .htaccess. We will install it later. -cat .htaccess >> %{SOURCE105} - -%check -# Make sure there are no license files left over -: Check for leftover license files -find . -mindepth 2 \( -name '*LICENSE*' -o -name '*LICENCE*' -o -name '*COPYING*' \) -nb=$( find . -mindepth 2 \( -name '*LICENSE*' -o -name '*LICENCE*' -o -name '*COPYING*' \) | wc -l ) -if [ $nb -gt 0 ] - then - false Found unexpected licenses to verify -fi - - -%build -# Nothing to build - -%install -install -dm 755 %{buildroot}%{_datadir}/%{name} - -# create nextcloud datadir -mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/data -# create writable app dir for appstore -mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/apps -# create nextcloud sysconfdir -mkdir -p %{buildroot}%{_sysconfdir}/%{name} - -# install content -for d in $(find . -mindepth 1 -maxdepth 1 -type d | grep -v config); do - cp -a "$d" %{buildroot}%{_datadir}/%{name} -done - -for f in {*.php,*.html,robots.txt}; do - install -pm 644 "$f" %{buildroot}%{_datadir}/%{name} -done - -# occ should be executable -install -pm 755 occ %{buildroot}%{_datadir}/%{name} - -# symlink config dir -ln -s ../../../%{_sysconfdir}/%{name} %{buildroot}%{_datadir}/%{name}/config - -# nextcloud looks for ca-bundle.crt in config dir -ln -s ../pki/tls/certs/ca-bundle.crt %{buildroot}%{_sysconfdir}/%{name}/ca-bundle.crt - -# set default config -install -pm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/config.php - -# httpd config -install -Dpm 644 %{SOURCE100} \ - %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}.conf -install -Dpm 644 %{SOURCE101} \ - %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}-access.conf.avail -install -Dpm 644 %{SOURCE102} %{SOURCE103} %{SOURCE104} %{SOURCE105} \ - %{buildroot}%{_sysconfdir}/httpd/conf.d/ - -# nginx config -install -Dpm 644 %{SOURCE200} \ - %{buildroot}%{_sysconfdir}/nginx/default.d/%{name}.conf -install -Dpm 644 %{SOURCE201} \ - %{buildroot}%{_sysconfdir}/nginx/conf.d/%{name}.conf - -# php-fpm config -install -Dpm 644 %{SOURCE202} \ - %{buildroot}%{_sysconfdir}/php-fpm.d/%{name}.conf - -# php.ini config -install -Dpm 644 %{SOURCE203} \ - %{buildroot}%{_sysconfdir}/php.d/60-%{name}.ini - -# Install the systemd timer -install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/nextcloud-cron.service -install -Dpm 644 %{SOURCE3} %{buildroot}%{_unitdir}/nextcloud-cron.timer - -# If there's a new installation activate the installation wizard -%post -INSTALLED=$(grep -c secret /etc/nextcloud/config.php) -if [ "${INSTALLED}" -eq "0" ]; then - echo "First time installation, enabling installation wizard" - touch %{_sysconfdir}/%{name}/CAN_INSTALL - chown apache:apache %{_sysconfdir}/%{name}/CAN_INSTALL -fi - -/usr/bin/systemctl restart php-fpm.service > /dev/null 2>&1 || : - -%post httpd -/usr/bin/systemctl reload httpd.service > /dev/null 2>&1 || : -/usr/bin/systemctl reload php-fpm.service > /dev/null 2>&1 || : - -%postun httpd -if [ $1 -eq 0 ]; then - /usr/bin/systemctl reload httpd.service > /dev/null 2>&1 || : - /usr/bin/systemctl reload php-fpm.service > /dev/null 2>&1 || : -fi - -%post nginx -/usr/bin/systemctl reload nginx.service > /dev/null 2>&1 || : -/usr/bin/systemctl reload php-fpm.service > /dev/null 2>&1 || : - -%postun nginx -if [ $1 -eq 0 ]; then - /usr/bin/systemctl reload nginx.service > /dev/null 2>&1 || : - /usr/bin/systemctl reload php-fpm.service > /dev/null 2>&1 || : -fi - -%files -%doc AUTHORS README.%{distro} MIGRATION.%{distro} config/config.sample.php -%license *-LICENSE -%dir %attr(-,apache,apache) %{_sysconfdir}/%{name} -# contains sensitive data (dbpassword, passwordsalt) -%config(noreplace) %attr(0600,apache,apache) %{_sysconfdir}/%{name}/config.php -%config(noreplace) %{_sysconfdir}/php.d/60-%{name}.ini -# need the symlink in confdir but it's not config -%{_sysconfdir}/%{name}/ca-bundle.crt -%{_datadir}/%{name} -%dir %attr(0755,apache,apache) %{_localstatedir}/lib/%{name} -# user data must not be world readable -%dir %attr(0750,apache,apache) %{_localstatedir}/lib/%{name}/data -%attr(-,apache,apache) %{_localstatedir}/lib/%{name}/apps -%{_unitdir}/nextcloud-cron.service -%{_unitdir}/nextcloud-cron.timer - -%files httpd -%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf -%{_sysconfdir}/httpd/conf.d/%{name}-access.conf.avail -%{_sysconfdir}/httpd/conf.d/%{name}*.inc -%config(noreplace) %{_sysconfdir}/php-fpm.d/%{name}.conf - -%files nginx -%config(noreplace) %{_sysconfdir}/nginx/default.d/%{name}.conf -%config(noreplace) %{_sysconfdir}/nginx/conf.d/%{name}.conf -%config(noreplace) %{_sysconfdir}/php-fpm.d/%{name}.conf - -%files mysql -%doc README.mysql -%files postgresql -%doc README.postgresql -%files sqlite - - -%changelog -%autochangelog diff --git a/plans/base.fmf b/plans/base.fmf deleted file mode 100644 index 58299cc..0000000 --- a/plans/base.fmf +++ /dev/null @@ -1,12 +0,0 @@ -summary: Basic occ functionality -discover: - how: fmf - url: https://src.fedoraproject.org/tests/nextcloud -prepare: - how: install - package: nextcloud -environment: - PACKAGES: nextcloud - VERSION: 20.0.2 RC1 -execute: - how: tmt diff --git a/sources b/sources deleted file mode 100644 index 9913ad0..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -SHA512 (nextcloud-29.0.16.tar.bz2) = e786dec5973f8184b20915b3e0ec80c316c636c70537932e7302ccc905389cda6b344ef73d44fa7ce74b75d36ee1f9a6f1f8851c29faf29774d1bd3d3cb05a00 -SHA512 (nextcloud-31.0.4.tar.bz2) = 85535638556b9f727989cc1baceec8a89ef52a6f7dc132ad807326492ffc904bc3f462afea18dd0749bb8c194ef57932dcbfd494e8290a6f7b0f5d224e69429d diff --git a/utils/get-bundled-versions.py b/utils/get-bundled-versions.py deleted file mode 100755 index 40fb247..0000000 --- a/utils/get-bundled-versions.py +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/env python - -import os -import json - -for root, dirs, files in os.walk("apps"): - for file in files: - if file == 'composer.lock': - with open(os.path.join(root, file)) as f: - lockdata = json.load(f) - try: - for i in lockdata['packages']: - print("Provides: bundled(php-composer(" + i['name'] + ")) = " + i['version'].strip('v')) - except KeyError: - pass - -for root, dirs, files in os.walk("3rdparty"): - for file in files: - if file == 'composer.lock': - with open(os.path.join(root, file)) as f: - lockdata = json.load(f) - try: - for i in lockdata['packages']: - print("Provides: bundled(php-composer(" + i['name'] + ")) = " + i['version'].strip('v')) - except KeyError: - pass diff --git a/utils/get-composer-requires.py b/utils/get-composer-requires.py deleted file mode 100755 index da48e8a..0000000 --- a/utils/get-composer-requires.py +++ /dev/null @@ -1,109 +0,0 @@ -#!/bin/env python - -import os -import json -import re -import subprocess -from colorama import Fore, Style - -defaultconstraint = 2 -excludes = ('php') -basedir = '..' -srcdir = os.path.join(basedir, 'nextcloud') -outdir = basedir -jsonfiles = ('3rdparty/composer.json', 'apps/files_external/3rdparty/composer.json') - -constraintmap = ('any', 'loose', 'strict', 'exact') - -def eval_version(version, constraint=3): - version = version.replace('v', '') - if version == '*': - constraint = 0 - version = '0' - elif version.startswith('^'): - constraint = 1 - version = version.strip('^') - elif version.startswith('~'): - constraint = 2 - version = version.strip('~') - - if re.search('[^.0-9]', version): - print('Unparseable version:', version) - version = '0.0.0' - constraint = 3 - - return version, constraint - -def get_requires(name, version, constraint): - splitver = version.split('.') - - if constraint == 0: - requires = 'php-composer(' + name + ')' - elif constraint == 1: - wipe = False - for i in range(0, len(splitver)): - if splitver[i] == '0' or wipe: - splitver[i] = '0' - else: - splitver[i] = str(int(splitver[i]) + 1) - wipe = True - requires = '(php-composer(' + name + ') >= ' + version + ' with php-composer(' + name + ') < ' + '.'.join(splitver) + ')' - elif constraint == 2: - splitver[-1] = '0' - splitver[-2] = str(int(splitver[-2]) + 1) - requires = '(php-composer(' + name + ') >= ' + version + ' with php-composer(' + name + ') < ' + '.'.join(splitver) + ')' - else: - requires = 'php-composer(' + name + ') = ' + version - return requires - -def repoquery(query): - stdout = subprocess.run(['dnf', 'repoquery', '-q', '--whatprovides', requires], stdout=subprocess.PIPE, universal_newlines=True, check = True).stdout - return stdout - -requirefile = open(os.path.join(outdir, 'require.pkgtmp'), 'w') -requirefile.write('# PHP composer dependencies\n') - -providefile = open(os.path.join(outdir, 'provide.pkgtmp'), 'w') -providefile.write('# Bundled libraries\n') - - -for file in jsonfiles: - requirefile.write(f"# From {file}\n") - providefile.write(f"# From {file}\n") - - with open(os.path.join(srcdir, file)) as f: - jsondata = json.load(f) - packages = jsondata['require'].items() - - print(f"\n{Style.BRIGHT}Parsing '{file}'...{Style.RESET_ALL}") - for name, verrange in packages: - if name in excludes: - print(f"{name} {verrange} -> in exclude list, skipping.") - continue - - version, constraint = eval_version(verrange, defaultconstraint) - - requires = get_requires(name, version, constraint) - package = repoquery(requires) - - color = Fore.GREEN - found = True - while len(package) == 0: - color = Fore.YELLOW - constraint -= 1 - if constraint < 0: - constraint = 0 - color = Fore.RED - package = 'none\n' - found = False - break - requires = get_requires(name, version, constraint) - package = repoquery(requires) - - print(f"{name} {verrange} -> {Style.BRIGHT}{color}{package.rstrip()}{Style.RESET_ALL} ({constraintmap[constraint]})") - - if found: - requirefile.write(f"Requires: {requires}\n") - else: - providefile.write(f"Provides: bundled(php-composer({name})) = {version}\n") - From c34e89c698b02e65b7169b178e263f0f63095ce0 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sun, 23 Nov 2025 19:43:04 -0600 Subject: [PATCH 26/41] 32.0.2 release RHBZ#2416087 RHBZ#2415750 RHBZ#2415751 RHBZ#2415752 RHBZ#2415753 --- 0000-disable-update-version-check.patch | 6 ++-- bodhi.template.last | 44 +++++++++++++++++++++++++ nextcloud.spec | 2 +- sources | 3 +- 4 files changed, 50 insertions(+), 5 deletions(-) create mode 100644 bodhi.template.last diff --git a/0000-disable-update-version-check.patch b/0000-disable-update-version-check.patch index 6c84ac2..4a77733 100644 --- a/0000-disable-update-version-check.patch +++ b/0000-disable-update-version-check.patch @@ -1,5 +1,7 @@ ---- a/lib/private/Updater.php 2025-10-23 13:34:14.000000000 -0500 -+++ b/lib/private/Updater.new.php 2025-10-25 15:04:23.345653512 -0500 +diff --git a/lib/private/Updater.php b/lib/private/Updater.php +index 5a14bb17507..38dcb55db7f 100644 +--- a/lib/private/Updater.php ++++ b/lib/private/Updater.php @@ -174,10 +174,13 @@ $this->config->setAppValue('core', 'vendor', $currentVendor); } diff --git a/bodhi.template.last b/bodhi.template.last new file mode 100644 index 0000000..25aead3 --- /dev/null +++ b/bodhi.template.last @@ -0,0 +1,44 @@ +[ nextcloud-31.0.7-1.fc41 ] + +# bugfix, security, enhancement, newpackage (required) +type=bugfix + +# testing, stable +request=testing + +# Bug numbers: 1234,9876 +bugs=2372407,2383716 + +# Severity: low, medium, high, urgent +# This is required for security updates. +severity=unspecified + +display_name= + + +# Here is where you give an explanation of your update. +# Content can span multiple lines, as long as they are indented deeper than +# the first line. For example, +# notes=first line +# second line +# and so on +notes=31.0.7 release, fix link to cert bundle RHBZ#2372407 RHBZ#2383716 + +# Enable request automation based on the stable/unstable karma thresholds +autokarma=True +stable_karma=3 +unstable_karma=-3 + +# Automatically close bugs when this marked as stable +close_bugs=True + +# Suggest that users performs one of the following actions after the update: +# unspecified, restart, logout +# The default value is unspecified +suggest=unspecified + +# A boolean to require that all of the bugs in your update have been confirmed by testers. +require_bugs=True + +# A boolean to require that this update passes all test cases before reaching stable. +require_testcases=True diff --git a/nextcloud.spec b/nextcloud.spec index 1a2448c..3e3feae 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 32.0.1 +Version: 32.0.2 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index d555484..c882ebb 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (nextcloud-29.0.16.tar.bz2) = e786dec5973f8184b20915b3e0ec80c316c636c70537932e7302ccc905389cda6b344ef73d44fa7ce74b75d36ee1f9a6f1f8851c29faf29774d1bd3d3cb05a00 -SHA512 (nextcloud-32.0.1.tar.bz2) = 60d38187896537c4736eee381d2f579b35e376c931590a63d0cf5690c0d9b553dda3ba575a06e7448ac156d41aae10f1f02b8e0f2ef3d99275049f38acc987f6 +SHA512 (nextcloud-32.0.2.tar.bz2) = b99679a6e57930beda2fd76cc77e0daffff42d8f47714cd2877c5fcea50875f421895e491c591148907734196c2db00d0f57e798f52f2ae5680ad999022144f1 From d67faf73acf1a3b4de8df970f0732d491831838a Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Fri, 12 Dec 2025 08:30:53 -0600 Subject: [PATCH 27/41] 32.0.3 release, fixes RHBZ# 2420196 RHBZ# 2420197 RHBZ# 2420198 RHBZ# 2421368 --- bodhi.template.last | 44 -------------------------------------------- nextcloud.spec | 2 +- sources | 2 +- 3 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 bodhi.template.last diff --git a/bodhi.template.last b/bodhi.template.last deleted file mode 100644 index 25aead3..0000000 --- a/bodhi.template.last +++ /dev/null @@ -1,44 +0,0 @@ -[ nextcloud-31.0.7-1.fc41 ] - -# bugfix, security, enhancement, newpackage (required) -type=bugfix - -# testing, stable -request=testing - -# Bug numbers: 1234,9876 -bugs=2372407,2383716 - -# Severity: low, medium, high, urgent -# This is required for security updates. -severity=unspecified - -display_name= - - -# Here is where you give an explanation of your update. -# Content can span multiple lines, as long as they are indented deeper than -# the first line. For example, -# notes=first line -# second line -# and so on -notes=31.0.7 release, fix link to cert bundle RHBZ#2372407 RHBZ#2383716 - -# Enable request automation based on the stable/unstable karma thresholds -autokarma=True -stable_karma=3 -unstable_karma=-3 - -# Automatically close bugs when this marked as stable -close_bugs=True - -# Suggest that users performs one of the following actions after the update: -# unspecified, restart, logout -# The default value is unspecified -suggest=unspecified - -# A boolean to require that all of the bugs in your update have been confirmed by testers. -require_bugs=True - -# A boolean to require that this update passes all test cases before reaching stable. -require_testcases=True diff --git a/nextcloud.spec b/nextcloud.spec index 3e3feae..a218dcb 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 32.0.2 +Version: 32.0.3 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index c882ebb..af1201e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-32.0.2.tar.bz2) = b99679a6e57930beda2fd76cc77e0daffff42d8f47714cd2877c5fcea50875f421895e491c591148907734196c2db00d0f57e798f52f2ae5680ad999022144f1 +SHA512 (nextcloud-32.0.3.tar.bz2) = fd06cd687ddfcb0baac2e0b03db690d1b4f9119e28c5cfbd26d911b214240f8273d7a805540afe83f7cc92f1377487c82fe65eb0b22ad9028410652ec55381fb From cd2bac1d17a835a19febbedb3c901aa35102d71f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 22:05:49 +0000 Subject: [PATCH 28/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 44fa2177d734f9cd1970bf258bc0d9bdec4f07ef Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 17 Jan 2026 09:16:59 -0600 Subject: [PATCH 29/41] 32.0.5 Release RHBZ#2430382 --- nextcloud.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud.spec b/nextcloud.spec index a218dcb..e8ec719 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 32.0.3 +Version: 32.0.5 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. From c4d346f41d7e3c7a73a89f208286a21ebc6003a6 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 17 Jan 2026 09:32:35 -0600 Subject: [PATCH 30/41] 32.0.5 Release RHBZ#2430382 --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index af1201e..89dd67a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-32.0.3.tar.bz2) = fd06cd687ddfcb0baac2e0b03db690d1b4f9119e28c5cfbd26d911b214240f8273d7a805540afe83f7cc92f1377487c82fe65eb0b22ad9028410652ec55381fb +SHA512 (nextcloud-32.0.5.tar.bz2) = 2fbae319f5208c34415c4663078489f86d2ff9c1ecc1b7a0ebb85d07088ded6903302baf20a990355c9ff7139579fe85bb97909b9e013271ec4465c04f6306b9 From 5fb288a672722ddc9310f84e372cede87e210dff Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 21 Feb 2026 16:07:58 -0600 Subject: [PATCH 31/41] 32.0.6 release RHBZ#2440650 --- nextcloud.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index e8ec719..baeabf3 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 32.0.5 +Version: 32.0.6 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index 89dd67a..382e415 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-32.0.5.tar.bz2) = 2fbae319f5208c34415c4663078489f86d2ff9c1ecc1b7a0ebb85d07088ded6903302baf20a990355c9ff7139579fe85bb97909b9e013271ec4465c04f6306b9 +SHA512 (nextcloud-32.0.6.tar.bz2) = f68b80a5444452594e37ca81721c8b529f268db874a2fac104bb27b0ec7a7aa529240b3ea6e3b24c5ef596b4490558e6c426c8aa79df4a2bb11ba37303e91de4 From a31e3cccd8b957affa085837dc47a3421a5170be Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sun, 29 Mar 2026 15:42:22 -0500 Subject: [PATCH 32/41] 33.0.1 release RHBZ#2451773 --- nextcloud.spec | 5 +---- sources | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index baeabf3..22e49c6 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 32.0.6 +Version: 33.0.1 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. @@ -190,9 +190,6 @@ find . -name \*.orig -type f -delete -print find . -name .gitignore -type f -delete -print find . -name .github -type d -prune -exec rm -r {} \; -print -# fix CLI upgrade advise on splash screen -sed -i -e 's#\./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' core/templates/update.admin.php - # prepare package doc cp %{SOURCE300} README.%{distro} cp %{SOURCE301} README.mysql diff --git a/sources b/sources index 382e415..12129b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-32.0.6.tar.bz2) = f68b80a5444452594e37ca81721c8b529f268db874a2fac104bb27b0ec7a7aa529240b3ea6e3b24c5ef596b4490558e6c426c8aa79df4a2bb11ba37303e91de4 +SHA512 (nextcloud-33.0.1.tar.bz2) = ba9bcd79005a6aede0750203e062edf68791cf8929aee1d8ff42cfb8636d6aa691b53b72d8bbafc6924fb469aae7d6ea9f8a6c7d1c0ec2ae868853130f404deb From 0224438526693f5f6827fe9f6d7444443eca8278 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 18 Apr 2026 07:49:00 -0500 Subject: [PATCH 33/41] fix cli upgrade advice --- nextcloud.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nextcloud.spec b/nextcloud.spec index 22e49c6..a4d356f 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -190,6 +190,9 @@ find . -name \*.orig -type f -delete -print find . -name .gitignore -type f -delete -print find . -name .github -type d -prune -exec rm -r {} \; -print +# fix CLI upgrade advice on splash screen +sed -i -e 's#\./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' core/src/views/UpdaterAdmin.vue + # prepare package doc cp %{SOURCE300} README.%{distro} cp %{SOURCE301} README.mysql From 5c14182672567d934cf490385f85467c051bb432 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 2 May 2026 11:06:29 -0500 Subject: [PATCH 34/41] 33.0.3 Release RHBZ#2454311 --- nextcloud.spec | 4 ++-- sources | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index a4d356f..492d018 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 33.0.1 +Version: 33.0.3 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. @@ -191,7 +191,7 @@ find . -name .gitignore -type f -delete -print find . -name .github -type d -prune -exec rm -r {} \; -print # fix CLI upgrade advice on splash screen -sed -i -e 's#\./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' core/src/views/UpdaterAdmin.vue +sed -i -e 's#\./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' dist/9396-9396.js.map # prepare package doc cp %{SOURCE300} README.%{distro} diff --git a/sources b/sources index 12129b9..2d982a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-33.0.1.tar.bz2) = ba9bcd79005a6aede0750203e062edf68791cf8929aee1d8ff42cfb8636d6aa691b53b72d8bbafc6924fb469aae7d6ea9f8a6c7d1c0ec2ae868853130f404deb +SHA512 (nextcloud-33.0.3.tar.bz2) = c41aea23c0b45acfca8bf16101acb4c3559ab6179ac75f668a3c8bb7f3d3029fb539278e1e0e49e405fc0dfa905b15dfa58ec52866f9fd3e57aed07f65d33f66 From 796f9d876b38b71d5b6b90a3c5cd9d2579876b62 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Thu, 28 May 2026 13:32:26 -0500 Subject: [PATCH 35/41] 33.0.4 Release RHBZ#2482794 --- nextcloud.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index 492d018..fc39390 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 33.0.3 +Version: 33.0.4 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index 2d982a8..a4e16a9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-33.0.3.tar.bz2) = c41aea23c0b45acfca8bf16101acb4c3559ab6179ac75f668a3c8bb7f3d3029fb539278e1e0e49e405fc0dfa905b15dfa58ec52866f9fd3e57aed07f65d33f66 +SHA512 (nextcloud-33.0.4.tar.bz2) = feec88f83d9babe2db5e5a12948a3e62da2ffe69efae950ae8b8a4dea6b0c9ac5ae66966891e7bf1cc015cb38f2c46922479c497fbf8ecdd33d60459d07599e3 From b701ace299de643e7eed810f088dddd094f6ae23 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Mon, 8 Jun 2026 09:23:08 -0500 Subject: [PATCH 36/41] 33.0.5 Release --- nextcloud.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index fc39390..818c9c5 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 33.0.4 +Version: 33.0.5 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index a4e16a9..ef5ff3e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-33.0.4.tar.bz2) = feec88f83d9babe2db5e5a12948a3e62da2ffe69efae950ae8b8a4dea6b0c9ac5ae66966891e7bf1cc015cb38f2c46922479c497fbf8ecdd33d60459d07599e3 +SHA512 (nextcloud-33.0.5.tar.bz2) = 495608dd47435cbaa9283f5a168d633bbbb9edfbe216bf867e16826a60c33334d95d2ae484eb3a3b74271012dd65c9bd8a840c3a229e7a5bfb3caf934a40f8d0 From db98a32e0976669cc464ff2f69d8b0b69e586662 Mon Sep 17 00:00:00 2001 From: "Brian J. Murrell" Date: Tue, 9 Jun 2026 22:31:01 +0000 Subject: [PATCH 37/41] Dynamically determine which .map file to update the occ upgrade command in Currently, the .map file in which the message exists to inform the user how to run the occ upgrade command is hard-coded. This can change from release to release and thus is quite fragile. Instead, figure out which file to update by searching for the "occ upgrade" command in all of the .map files and use the result of that search in the update command. Signed-off-by: Brian J. Murrell --- nextcloud.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nextcloud.spec b/nextcloud.spec index 818c9c5..6c9d878 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -191,7 +191,12 @@ find . -name .gitignore -type f -delete -print find . -name .github -type d -prune -exec rm -r {} \; -print # fix CLI upgrade advice on splash screen -sed -i -e 's#\./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' dist/9396-9396.js.map +if ! file=$(grep -l 'occ upgrade' dist/*.map); then + echo "Could not find the occ upgrade instructions in dist/*.map" + exit 1 +fi +echo "Updating occ upgrade instructions in $file" +sed -i -e 's#\./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' $file # prepare package doc cp %{SOURCE300} README.%{distro} From f0ed8f15a9ff2e5dcd7f02fe8a9f67f47524ead6 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Fri, 26 Jun 2026 14:53:11 -0500 Subject: [PATCH 38/41] 33.0.6 release --- nextcloud.spec | 4 ++-- sources | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index 6c9d878..9583da9 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 33.0.5 +Version: 33.0.6 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. @@ -47,7 +47,7 @@ BuildArch: noarch # Set this to the minimum supported php version Nextcloud will run on # Exists to prevent accidental building on distros with outdated php's -BuildRequires: php(language) >= 8.1 +BuildRequires: php(language) >= 8.2 BuildRequires: systemd-rpm-macros BuildRequires: sed diff --git a/sources b/sources index ef5ff3e..2336b55 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-33.0.5.tar.bz2) = 495608dd47435cbaa9283f5a168d633bbbb9edfbe216bf867e16826a60c33334d95d2ae484eb3a3b74271012dd65c9bd8a840c3a229e7a5bfb3caf934a40f8d0 +SHA512 (nextcloud-33.0.6.tar.bz2) = a72a7b9134a031800e45bf14f71821df855ebad7f00a19c96ddbed438143cea7d03f03e84a5ef196c5da00a8f75b2645b453e794b0df399b820db94aba73c1c5 From eb3b5fd33ec19d93b282c3282d9eb069100ada7a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jul 2026 09:32:38 +0000 Subject: [PATCH 39/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From 4f892068ec2e95acfd5f8cc5342a318114c65c8f Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Thu, 23 Jul 2026 15:22:49 -0500 Subject: [PATCH 40/41] 34.0.2 release RHBZ#2506423 --- nextcloud.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index 9583da9..aca470b 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 33.0.6 +Version: 34.0.2 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index 2336b55..bcdec3c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-33.0.6.tar.bz2) = a72a7b9134a031800e45bf14f71821df855ebad7f00a19c96ddbed438143cea7d03f03e84a5ef196c5da00a8f75b2645b453e794b0df399b820db94aba73c1c5 +SHA512 (nextcloud-34.0.2.tar.bz2) = fa763a0c9cdd1c49e1bb6496b410fb76188bc5c32122ef0beab0ea436c276c335e73a276c61d2f25e1bc4b864ab08e2d2985bf67651cebd99abc4d1a6956b025 From 9c7ef9445decf514ece2a652c1d5dd639fc4924e Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sun, 16 Aug 2026 15:57:47 -0500 Subject: [PATCH 41/41] 34.0.3 release RHBZ#2515297 --- nextcloud.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud.spec b/nextcloud.spec index aca470b..2b4260b 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -5,7 +5,7 @@ %endif Name: nextcloud -Version: 34.0.2 +Version: 34.0.3 Release: %autorelease Summary: Private file sync and share server # Automatically converted from old format: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe - review is highly recommended. diff --git a/sources b/sources index bcdec3c..95997de 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nextcloud-34.0.2.tar.bz2) = fa763a0c9cdd1c49e1bb6496b410fb76188bc5c32122ef0beab0ea436c276c335e73a276c61d2f25e1bc4b864ab08e2d2985bf67651cebd99abc4d1a6956b025 +SHA512 (nextcloud-34.0.3.tar.bz2) = 3463dbbdeae5275a0791b115cf86aed41c5a138fdd19bb32ec12837a6698106b6f172e24fb1264a2d4e20b2b805bcf7841b2338e4e02f1fd5394fbed830cc695