diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-07-12 18:34:56 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-07-12 18:34:56 +0200 |
commit | 46a1fc5cd56def1c6c370c4f9d8a0c46c89fdd8e (patch) | |
tree | 3fb8e740f48838d50a0b602bbf53b2818f8006e5 | |
parent | 2ce0398ff187a0f7412a844a0730c00e971d5128 (diff) |
owncloud: sync with Fedora
-rw-r--r-- | owncloud-README.fedora | 8 | ||||
-rw-r--r-- | owncloud.spec | 13 |
2 files changed, 19 insertions, 2 deletions
diff --git a/owncloud-README.fedora b/owncloud-README.fedora index df97145..7c75cfa 100644 --- a/owncloud-README.fedora +++ b/owncloud-README.fedora @@ -44,6 +44,9 @@ and user for ownCloud 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/owncloud/config.php'. Until @@ -86,6 +89,11 @@ If you want to use external files (eg remote smb/cifs server) the httpd_can_netw 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 diff --git a/owncloud.spec b/owncloud.spec index 1e8ea57..cd2a2cb 100644 --- a/owncloud.spec +++ b/owncloud.spec @@ -9,7 +9,7 @@ # Name: owncloud Version: 9.0.3 -Release: 1%{?dist} +Release: 3%{?dist} Summary: Private file sync and share server Group: Applications/Internet @@ -371,7 +371,8 @@ Group: Applications/Internet Provides: %{name}-database = %{version}-%{release} Requires: %{name} = %{version}-%{release} -Requires: php-mysql +# From getSupportedDatabases, mysql => pdo, mysql +Requires: php-pdo_mysql %description mysql This package ensures the necessary dependencies are in place for ownCloud to @@ -390,6 +391,7 @@ Group: Applications/Internet Provides: %{name}-database = %{version}-%{release} Requires: %{name} = %{version}-%{release} +# From getSupportedDatabases, pgsql => function, pg_connect Requires: php-pgsql %description postgresql @@ -409,6 +411,7 @@ Group: Applications/Internet Provides: %{name}-database = %{version}-%{release} Requires: %{name} = %{version}-%{release} +# From getSupportedDatabases, pgsql => class, SQLite3 Requires: php-sqlite3 php-pcre %description sqlite @@ -738,6 +741,12 @@ rm -rf %{buildroot} %changelog +* Tue Jul 12 2016 James Hogarth <james.hogarth@gmail.com> - 9.0.3-3 +- Added selinux remote DB details to readme bz#1349700 + +* Mon Jul 4 2016 Remi Collet <remi@fedoraproject.org> - 9.0.3-2 +- mysql support uses pdo_mysql (not mysql extension) + * Wed Jun 29 2016 Remi Collet <remi@fedoraproject.org> - 9.0.3-1 - Update to 9.0.3 |