Browse Source

upgrading package: owncloud 10.3.1 -> 10.3.2

master
parent
commit
9917b98078
  1. 56
      owncloud/owncloud.patch
  2. 4
      owncloud/owncloud.spec

56
owncloud/owncloud.patch

@ -1,46 +1,46 @@
Index: owncloud/config/config.sample.php Index: owncloud/config/config.sample.php
--- owncloud/config/config.sample.php.orig 2019-10-15 12:57:13.000000000 +0200 --- owncloud/config/config.sample.php.orig 2019-12-05 17:07:35.000000000 +0100
+++ owncloud/config/config.sample.php 2019-10-17 20:44:36.376895000 +0200 +++ owncloud/config/config.sample.php 2019-12-10 20:37:51.946696000 +0100
@@ -80,7 +80,7 @@ @@ -80,7 +80,7 @@
* directory. The SQLite database is also stored here, when you use SQLite. * The SQLite database is also stored here, when you use SQLite.
* (SQLite is not available in ownCloud Enterprise Edition) * (SQLite is not available in ownCloud Enterprise Edition)
*/ */
-'datadirectory' => '/var/www/owncloud/data', -'datadirectory' => '/var/www/owncloud/data',
+'datadirectory' => '@l_prefix@/var/owncloud/data', +'datadirectory' => '@l_prefix@/var/owncloud/data',
/** /**
* The current version number of your ownCloud installation. This is set up * Current version number of your ownCloud installation
@@ -758,13 +758,13 @@ @@ -800,13 +800,13 @@
array ( 'apps_paths' => [
0 => 0 =>
array ( [
- 'path' => OC::$SERVERROOT.'/apps', - 'path' => OC::$SERVERROOT.'/apps',
+ 'path' => '@l_prefix@/lib/owncloud/apps', + 'path' => '@l_prefix@/lib/owncloud/apps',
'url' => '/apps', 'url' => '/apps',
'writable' => false, 'writable' => false,
), ],
1 => 1 =>
array ( [
- 'path' => OC::$SERVERROOT.'/apps-external', - 'path' => OC::$SERVERROOT.'/apps-external',
+ 'path' => '@l_prefix@/lib/owncloud/apps-external', + 'path' => '@l_prefix@/lib/owncloud/apps-external',
'url' => '/apps-external', 'url' => '/apps-external',
'writable' => true, 'writable' => true,
), ],
@@ -1123,7 +1123,7 @@ @@ -1182,7 +1182,7 @@
* encryption in MySQL or specify a custom wait timeout on a cheap hoster. * encryption in MySQL or specify a custom wait timeout on a cheap hoster.
*/ */
'dbdriveroptions' => array( 'dbdriveroptions' => [
- PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem', - PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
+ /* PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem', */ + /* PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem', */
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800' PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800'
), ],
@@ -1301,7 +1301,7 @@ @@ -1377,7 +1377,7 @@
* Where `mount.json` file should be stored, defaults to `data/mount.json` * Define the location of `mount.json`
* in the ownCloud directory. * Defaults to `data/mount.json` in the ownCloud directory.
*/ */
-'mount_file' => '/var/www/owncloud/data/mount.json', -'mount_file' => '/var/www/owncloud/data/mount.json',
+'mount_file' => '@l_prefix@/var/owncloud/data/mount.json', +'mount_file' => '@l_prefix@/var/owncloud/data/mount.json',
/** /**
* When `true`, prevent ownCloud from changing the cache due to changes in the * Prevent cache changes due to changes in the filesystem

4
owncloud/owncloud.spec

@ -31,8 +31,8 @@ Distribution: OpenPKG Community
Class: PLUS Class: PLUS
Group: Web Group: Web
License: AGPL License: AGPL
Version: 10.3.1 Version: 10.3.2
Release: 20191113 Release: 20191210
# package options # package options
%option with_ldap no %option with_ldap no

Loading…
Cancel
Save