]> git.pld-linux.org Git - packages/eventum.git/commitdiff
Up to 3.9.7; Add /var/spool/eventum directory auto/th/eventum-3.9.7-1
authorElan Ruusamäe <glen@delfi.ee>
Fri, 13 Nov 2020 23:52:39 +0000 (01:52 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 13 Nov 2020 23:56:02 +0000 (01:56 +0200)
eventum-paths.patch
eventum.spec

index 509e46ae558aed9e62697a78b9a3351673fe79d9..1807677fc54cd6217aeccbfc3bc0a0dc5e12ac14 100644 (file)
@@ -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
index 102f94be108470bf0df820f791d5f497bf280a64..f7f7cf96a2cd42d9d4c8ba1ffe8d0672b432161a 100644 (file)
@@ -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
This page took 0.04077 seconds and 4 git commands to generate.