mirror of
https://src.fedoraproject.org/rpms/nextcloud.git
synced 2025-01-10 10:51:54 +01:00
Update nextcloud to 28.0.5 and PR #11
PR #11 Many issues fixed by aviram: - Better HTTPS handling in Apache configs - Better cron job compatibility with APC - Better nextcloud-systemd-timer.service
This commit is contained in:
parent
5fe8e1ea11
commit
662a74cdbf
@ -73,4 +73,6 @@ Options -Indexes
|
|||||||
<FilesMatch "\.(css|js)$">
|
<FilesMatch "\.(css|js)$">
|
||||||
Header set Cache-Control "max-age=7200, public"
|
Header set Cache-Control "max-age=7200, public"
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
# https://docs.nextcloud.com/server/25/admin_manual/installation/harden_server.html#enable-http-strict-transport-security
|
||||||
|
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
1
nextcloud-php.ini
Normal file
1
nextcloud-php.ini
Normal file
@ -0,0 +1 @@
|
|||||||
|
apc.enable_cli=1
|
@ -2,7 +2,10 @@
|
|||||||
Description=Cron for nextcloud background jobs
|
Description=Cron for nextcloud background jobs
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
# https://docs.nextcloud.com/server/25/admin_manual/configuration_server/background_jobs_configuration.html#systemd
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/php -f /usr/share/nextcloud/cron.php
|
|
||||||
User=apache
|
User=apache
|
||||||
|
KillMode=process
|
||||||
|
ExecStart=/usr/bin/php -f /usr/share/nextcloud/cron.php
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: nextcloud
|
Name: nextcloud
|
||||||
Version: 28.0.4
|
Version: 28.0.5
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: Private file sync and share server
|
Summary: Private file sync and share server
|
||||||
License: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe
|
License: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe
|
||||||
@ -24,6 +24,7 @@ Source105: %{name}-defaults.inc
|
|||||||
Source200: %{name}-default-nginx.conf
|
Source200: %{name}-default-nginx.conf
|
||||||
Source201: %{name}-conf-nginx.conf
|
Source201: %{name}-conf-nginx.conf
|
||||||
Source202: %{name}-php-fpm.conf
|
Source202: %{name}-php-fpm.conf
|
||||||
|
Source203: %{name}-php.ini
|
||||||
# packaging notes and doc
|
# packaging notes and doc
|
||||||
Source300: %{name}-README.fedora
|
Source300: %{name}-README.fedora
|
||||||
Source301: %{name}-mysql.txt
|
Source301: %{name}-mysql.txt
|
||||||
@ -377,6 +378,10 @@ install -Dpm 644 %{SOURCE201} \
|
|||||||
install -Dpm 644 %{SOURCE202} \
|
install -Dpm 644 %{SOURCE202} \
|
||||||
%{buildroot}%{_sysconfdir}/php-fpm.d/%{name}.conf
|
%{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 the systemd timer
|
||||||
install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/nextcloud-cron.service
|
install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/nextcloud-cron.service
|
||||||
install -Dpm 644 %{SOURCE3} %{buildroot}%{_unitdir}/nextcloud-cron.timer
|
install -Dpm 644 %{SOURCE3} %{buildroot}%{_unitdir}/nextcloud-cron.timer
|
||||||
@ -418,6 +423,7 @@ fi
|
|||||||
%dir %attr(-,apache,apache) %{_sysconfdir}/%{name}
|
%dir %attr(-,apache,apache) %{_sysconfdir}/%{name}
|
||||||
# contains sensitive data (dbpassword, passwordsalt)
|
# contains sensitive data (dbpassword, passwordsalt)
|
||||||
%config(noreplace) %attr(0600,apache,apache) %{_sysconfdir}/%{name}/config.php
|
%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
|
# need the symlink in confdir but it's not config
|
||||||
%{_sysconfdir}/%{name}/ca-bundle.crt
|
%{_sysconfdir}/%{name}/ca-bundle.crt
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (nextcloud-28.0.4.tar.bz2) = bb26831d9143ab5ea06ffdf9f2c98c5851c26c23002c6124c9443cd2636d7a102e5da053e0fbd0e7ed6da634d292deeaa0219038b6def4bf302e922b48135fb2
|
SHA512 (nextcloud-28.0.5.tar.bz2) = a6f25e6ddced8087366537793c28869a6bbda0d165aa4d99858745fdfab7679a717e82cab17f72b73105bbeca917d58ff5a9e19ec820b688b5f85397de76457f
|
||||||
|
Loading…
Reference in New Issue
Block a user