Projects
Kolab:3.4
kolab-freebusy
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 23
View file
kolab-freebusy.spec
Changed
@@ -32,6 +32,8 @@ Source0: http://mirror.kolabsys.com/pub/releases/%{name}-%{version}+dep.tar.gz Source1: kolab-freebusy.logrotate +Patch0: kolab-freebusy-1.0.4-config.patch + BuildArch: noarch %if 0%{?suse_version} @@ -55,6 +57,8 @@ %prep %setup -q +%patch0 -p1 + %build %install
View file
kolab-freebusy-1.0.4-config.patch
Added
@@ -0,0 +1,19 @@ +commit 92f8c8a6bb883d7778af2a9670ca1fc5853991eb +Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> +Date: Thu May 22 14:02:12 2014 +0200 + + Only prepend the base directory if it in fact is an absolute path, with basedir ../config we got ../config/../config/config.ini, which realpath() chokes on + +diff --git a/lib/Kolab/Config.php b/lib/Kolab/Config.php +index 2aa49bb..c83e146 100644 +--- a/lib/Kolab/Config.php ++++ b/lib/Kolab/Config.php +@@ -112,7 +112,7 @@ class Config + */ + protected function resolve_path($file, $use_env) + { +- if ($file[0] != '/') { ++ if ($file[0] != '/' && $this->basedir[0] == '/') { + $file = realpath($this->basedir . '/' . $file); + } +
View file
debian.series
Changed
@@ -0,0 +1,1 @@ +kolab-freebusy-1.0.4-config.patch -p1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.