Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server-packages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiacomo Sanchietti <giacomo.sanchietti@nethesis.it>2018-03-06 10:49:44 +0300
committerGitHub <noreply@github.com>2018-03-06 10:49:44 +0300
commit28a42b246527f12379c40d1a7a6a3a7869d0b9bc (patch)
tree44624c76993fdf465c1f3dbc061048c673dbc4eb
parentddbafa7fb7492403ab9f9d6b2693b938d0daddf5 (diff)
parent458032c8584f52a3bb53fb71ecf13647ed1ff912 (diff)
Merge pull request #18 from alepolidori/issue5427
Upgrade to release 13.0.0
-rw-r--r--centos/README.md5
-rw-r--r--centos/nextcloud.conf4
-rw-r--r--centos/nextcloud.spec20
3 files changed, 19 insertions, 10 deletions
diff --git a/centos/README.md b/centos/README.md
index 5ccc186..7bd105d 100644
--- a/centos/README.md
+++ b/centos/README.md
@@ -29,9 +29,8 @@ You need to enable EPEL repository.
The administrator can enable extra features installing following RPMs (from centos-sclo-sclo repository):
-* rh-php56-php-mcrypt
-* sclo-php56-php-smbclient
-* rh-php56-php-imap
+* sclo-php71-php-smbclient
+* rh-php71-php-imap
SELinux
-------
diff --git a/centos/nextcloud.conf b/centos/nextcloud.conf
index 451171d..cf398a8 100644
--- a/centos/nextcloud.conf
+++ b/centos/nextcloud.conf
@@ -8,6 +8,10 @@ Alias /nextcloud "/usr/share/nextcloud/"
Dav off
</IfModule>
+ <IfModule mod_headers.c>
+ Header always set Strict-Transport-Security "max-age=15552000"
+ </IfModule>
+
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9000"
</FilesMatch>
diff --git a/centos/nextcloud.spec b/centos/nextcloud.spec
index c798d41..3ba076a 100644
--- a/centos/nextcloud.spec
+++ b/centos/nextcloud.spec
@@ -1,4 +1,4 @@
-%define nextcloud_version 12.0.5
+%define nextcloud_version 13.0.0
%define apache_serverroot /usr/share
%define apache_confdir /etc/httpd/conf.d
@@ -27,14 +27,21 @@ BuildRequires: httpd
Requires: httpd
# Required php packages
-Requires: rh-php56, rh-php56-php-fpm
-Requires: rh-php56-php-gd, rh-php56-php-pdo, rh-php56-php-pear, rh-php56-php-mbstring, rh-php56-php-xml
+Requires: rh-php71
+Requires: rh-php71-php-fpm
+Requires: rh-php71-php-gd
+Requires: rh-php71-php-pdo
+Requires: rh-php71-php-mbstring
+
# Recommended php packages
-Requires: rh-php56-php-intl
+Requires: rh-php71-php-intl
+Requires: rh-php71-php-mcrypt
+
# Required php packages for specific apps
-Requires: rh-php56-php-ldap
+Requires: rh-php71-php-ldap
+
# Required php packages for MariaDB
-Requires: rh-php56-php-mysqlnd
+Requires: rh-php71-php-pdo_mysql
%description
@@ -82,7 +89,6 @@ cp %{SOURCE1} %{buildroot}/etc/httpd/conf.d
%attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/l10n
%attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/*.php
%attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/AUTHORS
-%attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/db_structure.xml
%attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/index.html
%attr(0755,%{nc_user},%{nc_group}) %{nc_dir}/robots.txt
%attr(0644,%{nc_user},%{nc_group}) %{nc_dir}/.htaccess