[packages/eventum] up to 3.3.1

glen glen at pld-linux.org
Mon Oct 9 22:23:46 CEST 2017


commit 9dd475ab38020970343d4ef4737403d4a967afd7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Oct 9 23:21:11 2017 +0300

    up to 3.3.1

 eventum-paths.patch | 31 ++++++++++---------------------
 eventum.spec        |  4 ++--
 2 files changed, 12 insertions(+), 23 deletions(-)
---
diff --git a/eventum.spec b/eventum.spec
index 3321d07..00096f8 100644
--- a/eventum.spec
+++ b/eventum.spec
@@ -10,12 +10,12 @@
 Summary:	Eventum Issue / Bug tracking system
 Summary(pl.UTF-8):	Eventum - system śledzenia spraw/błędów
 Name:		eventum
-Version:	3.3.0
+Version:	3.3.1
 Release:	%{?subver:1.%{subver}.%{?githash:g%{githash}.}}%{rel}
 License:	GPL v2+
 Group:		Applications/WWW
 Source0:	https://github.com/eventum/eventum/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	20ad2c39360c60a047b088a588e36452
+# Source0-md5:	62d9f390647f3f789c41a5a2ebbdb78f
 #Source0:	https://github.com/eventum/eventum/releases/download/snapshot/%{name}-%{version}-%{subver}-g%{githash}.tar.gz
 Source1:	%{name}-apache.conf
 Source2:	%{name}-mail-queue.cron
diff --git a/eventum-paths.patch b/eventum-paths.patch
index 6baaa05..fc897ac 100644
--- a/eventum-paths.patch
+++ b/eventum-paths.patch
@@ -59,25 +59,14 @@
  
  if (!defined('SPHINX_LOG_PATH')) {
      define('SPHINX_LOG_PATH', '/var/log/sphinx/');
---- eventum-3.3.0/src/Attachment/StorageManager.php~	2017-07-19 23:14:28.000000000 +0300
-+++ eventum-3.3.0/src/Attachment/StorageManager.php	2017-10-08 15:47:26.170890911 +0300
-@@ -50,7 +50,7 @@
-         $mount_config = [
-             'pdo' => $this->getPdoAdapter(),
-             'legacy' => new Filesystem(new EventumLegacyAdapter()),
--            'local' => new Filesystem(new Local(APP_PATH . '/var/storage/')),
-+            'local' => new Filesystem(new Local('/var/lib/eventum/storage')),
-         ];
+--- eventum-3.3.1/src/Attachment/StorageManager.php~	2017-10-08 15:53:56.000000000 +0300
++++ eventum-3.3.1/src/Attachment/StorageManager.php	2017-10-09 23:22:00.162142738 +0300
+@@ -32,7 +32,7 @@
+      *
+      * @var string
+      */
+-    const STORAGE_PATH = APP_PATH . '/var/storage/';
++    const STORAGE_PATH = '/var/lib/eventum/storage/';
  
-         foreach ($setup['adapters'] as $adapter_name => $adapter_config) {
---- eventum-3.3.0/contrib/migrate_storage_adapter.php~	2017-10-05 04:42:47.000000000 +0300
-+++ eventum-3.3.0/contrib/migrate_storage_adapter.php	2017-10-08 15:50:45.151352787 +0300
-@@ -124,7 +124,7 @@
- 
-         if ($this->target_adapter === 'local') {
-             // try to set the timestamp on the filesystem to match what is stored in the database
--            $fs_path = str_replace('local://', APP_PATH . '/var/storage/', $new_path);
-+            $fs_path = str_replace('local://', '/var/lib/eventum/storage/', $new_path);
-             $created_date = strtotime($file['iat_created_date']);
-             touch($fs_path, $created_date);
-         }
+     /**
+      * @var MountManager
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/9dd475ab38020970343d4ef4737403d4a967afd7



More information about the pld-cvs-commit mailing list