[packages/eventum] Up to 3.9.7; Add /var/spool/eventum directory
glen
glen at pld-linux.org
Sat Nov 14 01:53:54 CET 2020
commit 64359d1c7f92a4e4c65330e408b283f28285e540
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Nov 14 01:52:39 2020 +0200
Up to 3.9.7; Add /var/spool/eventum directory
eventum-paths.patch | 14 ++++++++------
eventum.spec | 7 ++++---
2 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/eventum.spec b/eventum.spec
index 102f94b..f7f7cf9 100644
--- a/eventum.spec
+++ b/eventum.spec
@@ -9,12 +9,12 @@
Summary: Eventum Issue / Bug tracking system
Summary(pl.UTF-8): Eventum - system śledzenia spraw/błędów
Name: eventum
-Version: 3.9.6
+Version: 3.9.7
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.xz
-# Source0-md5: 51f2e1f129090df2aac2a9e7d3931317
+# Source0-md5: 8b40e94661bac1e2d1af654eea84f26c
#Source0: https://github.com/eventum/eventum/releases/download/snapshot/%{name}-%{version}-%{subver}-g%{githash}.tar.xz
Source1: %{name}-apache.conf
Source2: %{name}-mail-queue.cron
@@ -326,7 +326,7 @@ rm -rf $RPM_BUILD_ROOT
install -d \
$RPM_BUILD_ROOT{%{_webappdir}/{custom_field,templates,workflow},%{_sysconfdir},%{_bindir},%{_sbindir},%{_libdir}} \
$RPM_BUILD_ROOT/etc/{rc.d/init.d,cron.d,logrotate.d,sysconfig} \
- $RPM_BUILD_ROOT/var/{run,lib}/%{name} \
+ $RPM_BUILD_ROOT/var/{run,lib,spool}/%{name} \
$RPM_BUILD_ROOT/var/log/{archive/,}%{name} \
$RPM_BUILD_ROOT/var/lib/%{name}/{routed_{emails,drafts,notes},storage} \
$RPM_BUILD_ROOT/var/cache/%{name}/doctrine/proxies \
@@ -511,6 +511,7 @@ fi
%dir /var/lib/%{name}
%dir %attr(730,root,http) /var/run/%{name}
+%dir %attr(730,root,http) /var/spool/%{name}
%dir %attr(730,root,http) /var/cache/%{name}
%dir %attr(730,root,http) /var/cache/%{name}/doctrine
%dir %attr(730,root,http) /var/cache/%{name}/doctrine/proxies
diff --git a/eventum-paths.patch b/eventum-paths.patch
index 509e46a..1807677 100644
--- a/eventum-paths.patch
+++ b/eventum-paths.patch
@@ -1,22 +1,24 @@
---- eventum-3.9.6/src/Config/Paths.php~ 2020-08-21 18:50:08.000000000 +0300
-+++ eventum-3.9.6/src/Config/Paths.php 2020-10-14 14:34:44.081698316 +0300
-@@ -22,19 +22,17 @@
+--- eventum-3.9.7/src/Config/Paths.php~ 2020-10-01 16:09:15.000000000 +0300
++++ eventum-3.9.7/src/Config/Paths.php 2020-11-14 01:54:53.491837117 +0200
+@@ -22,20 +22,16 @@
public const APP_PUBLIC_PATH = APP_PATH . '/htdocs';
public const APP_INC_PATH = APP_PATH . '/lib/eventum';
- // "/var" path for writable data
- private const APP_VAR_PATH = APP_PATH . '/var';
+- public const APP_SPOOL_PATH = self::APP_VAR_PATH . '/spool';
- public const APP_CACHE_PATH = self::APP_VAR_PATH . '/cache';
++ public const APP_SPOOL_PATH = '/var/spool/eventum';
+ public const APP_CACHE_PATH = '/var/cache/eventum';
// define other paths
public const APP_TPL_PATH = APP_PATH . '/templates';
public const APP_TPL_COMPILE_PATH = self::APP_CACHE_PATH . '/smarty';
- public const APP_LOG_PATH = self::APP_VAR_PATH . '/log';
-+ public const APP_LOG_PATH = '/var/log/eventum';
- /** @deprecated */
- public const APP_ERROR_LOG = self::APP_LOG_PATH . '/errors.log';
+- /** @deprecated */
+- public const APP_ERROR_LOG = self::APP_LOG_PATH . '/errors.log';
- public const APP_LOCKS_PATH = self::APP_VAR_PATH . '/lock';
++ public const APP_LOG_PATH = '/var/log/eventum';
+ public const APP_LOCKS_PATH = '/var/run/eventum';
// fonts directory for phplot
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/64359d1c7f92a4e4c65330e408b283f28285e540
More information about the pld-cvs-commit
mailing list