Projects
Kolab:Winterfell
guam
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
guam.spec
Changed
@@ -29,6 +29,10 @@ # From 3e4a3da61124e9c79b7f7f49516e6e86aa072051 Source0: guam-0.8.tar.gz +# Remove patches as soon as 0.7.2 drops +Patch0001: 0001-Stop-switching-to-user-group-guam.-Ref.-T971.patch +Patch0002: 0002-Set-HOME-environment-variable.patch + BuildRequires: erlang BuildRequires: erlang-eimap >= 0.1.5 BuildRequires: erlang-goldrush @@ -69,6 +73,9 @@ %prep %setup -q +%patch0001 -p1 +%patch0002 -p1 + %build rebar compile mkdir -p deps
View file
0001-Stop-switching-to-user-group-guam.-Ref.-T971.patch
Added
@@ -0,0 +1,29 @@ +From bdea873af6dde6b1ab8c33fa45738a0b92f2fa14 Mon Sep 17 00:00:00 2001 +From: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen@kolabsys.com> +Date: Tue, 2 Feb 2016 14:06:28 +0100 +Subject: [PATCH 1/2] Stop switching to user/group guam. Ref. T971 + +--- + guam.service | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/guam.service b/guam.service +index 3fac8c6..591daf3 100644 +--- a/guam.service ++++ b/guam.service +@@ -7,8 +7,10 @@ ExecStart=/usr/sbin/guam foreground + Restart=always + StandardOutput=syslog + SyslogIdentifier=guam +-User=guam +-Group=guam ++ ++# No proper setuid/setgid in guam yet. See T971. ++#User=guam ++#Group=guam + + [Install] + WantedBy=multi-user.target +-- +2.4.3 +
View file
0002-Set-HOME-environment-variable.patch
Added
@@ -0,0 +1,24 @@ +From b69774ffd6ea41f2c6851654cc8c3e2e550bf4b9 Mon Sep 17 00:00:00 2001 +From: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen@kolabsys.com> +Date: Thu, 4 Feb 2016 09:13:44 +0100 +Subject: [PATCH 2/2] Set HOME environment variable + +--- + guam.service | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/guam.service b/guam.service +index 591daf3..c21da29 100644 +--- a/guam.service ++++ b/guam.service +@@ -7,6 +7,7 @@ ExecStart=/usr/sbin/guam foreground + Restart=always + StandardOutput=syslog + SyslogIdentifier=guam ++Environment=HOME=/opt/kolab_guam/ + + # No proper setuid/setgid in guam yet. See T971. + #User=guam +-- +2.4.3 +
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
.