summaryrefslogtreecommitdiff
path: root/kolab-webclient/mnemo
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-01-22 21:19:15 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-01-22 21:19:15 (GMT)
commit5ff83f9672e80da8bb1656e4832c17be7d02f8f7 (patch)
tree113a070f115599436140defb14cecee9ee3174d0 /kolab-webclient/mnemo
parent7d695c4e268fd0c46d4311e92edbc98dd7687ff9 (diff)
downloadserver-5ff83f9672e80da8bb1656e4832c17be7d02f8f7.tar.gz
Add mnemo and nag.
Diffstat (limited to 'kolab-webclient/mnemo')
-rw-r--r--kolab-webclient/mnemo/configuration/mnemo-2.2.3/conf.php13
-rw-r--r--kolab-webclient/mnemo/mnemo.spec8
-rw-r--r--kolab-webclient/mnemo/templates/mnemo-2.2.3/webclient-mnemo_conf.php.template6
-rw-r--r--kolab-webclient/mnemo/templates/mnemo-2.2.3/webclient-mnemo_prefs.php.template6
4 files changed, 28 insertions, 5 deletions
diff --git a/kolab-webclient/mnemo/configuration/mnemo-2.2.3/conf.php b/kolab-webclient/mnemo/configuration/mnemo-2.2.3/conf.php
new file mode 100644
index 0000000..2cfda07
--- /dev/null
+++ b/kolab-webclient/mnemo/configuration/mnemo-2.2.3/conf.php
@@ -0,0 +1,13 @@
+<?php
+/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
+// $Horde: mnemo/config/conf.xml,v 1.17.10.1 2007/12/20 14:17:38 jan Exp $
+$conf['storage']['driver'] = 'kolab';
+$conf['utils']['gnupg'] = '/usr/bin/gpg';
+$conf['menu']['print'] = true;
+$conf['menu']['import_export'] = true;
+$conf['menu']['apps'] = array();
+/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
+if (file_exists(dirname(__FILE__) . '/conf.local.php')) {
+ require(dirname(__FILE__) . '/conf.local.php');
+}
+
diff --git a/kolab-webclient/mnemo/mnemo.spec b/kolab-webclient/mnemo/mnemo.spec
index 34f699d..fe07b86 100644
--- a/kolab-webclient/mnemo/mnemo.spec
+++ b/kolab-webclient/mnemo/mnemo.spec
@@ -1,7 +1,7 @@
# Macros
%define V_package mnemo
%define V_version 2.2.3
-%define V_release 20100119
+%define V_release 20100122
# Package Information
Name: %{V_package}
@@ -19,6 +19,7 @@ Source0: http://ftp.horde.org/pub/%{V_package}/%{V_package}-h3-%{V_version}.tar.
Source1: webclient-mnemo_conf.php.template
Source2: webclient-mnemo_prefs.php.template
Source3: 10-kolab_conf_base.php
+Source4: conf.php
# List of Patches
Patch0: package.patch
@@ -30,7 +31,7 @@ BuildRoot: %{l_buildroot}
#Pre requisites
BuildPreReq: OpenPKG, openpkg >= 20070603
BuildPreReq: php, php::with_pear = yes
-PreReq: horde-3.3.6
+PreReq: horde >= 3.3.6
AutoReq: no
AutoReqProv: no
@@ -78,13 +79,14 @@ functionality to the Palm Memo application.
$RPM_BUILD_ROOT%{l_prefix}/etc/kolab/templates
%{l_shtool} install -c -m 644 %{l_value -s -a} %{S:3} $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/mnemo/config/conf.d/
+ %{l_shtool} install -c -m 644 %{l_value -s -a} %{S:4} $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/mnemo/config/
sed -i -e 's#@@@horde_confdir@@@#%{l_prefix}/var/kolab/www/client/mnemo/config#' $RPM_BUILD_ROOT%{l_prefix}/etc/kolab/templates/*.php.template
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
'%config %{l_prefix}/etc/kolab/templates/webclient-mnemo_conf.php.template' \
'%config %{l_prefix}/etc/kolab/templates/webclient-mnemo_prefs.php.template' \
-# '%defattr(-,%{l_nusr},%{l_ngrp})' %{l_prefix}/var/kolab/www/client/mnemo/config/conf.php
+ '%defattr(-,%{l_nusr},%{l_ngrp})' %{l_prefix}/var/kolab/www/client/mnemo/config/conf.php
%clean
rm -rf $RPM_BUILD_ROOT
diff --git a/kolab-webclient/mnemo/templates/mnemo-2.2.3/webclient-mnemo_conf.php.template b/kolab-webclient/mnemo/templates/mnemo-2.2.3/webclient-mnemo_conf.php.template
index c3a18b1..a2e8387 100644
--- a/kolab-webclient/mnemo/templates/mnemo-2.2.3/webclient-mnemo_conf.php.template
+++ b/kolab-webclient/mnemo/templates/mnemo-2.2.3/webclient-mnemo_conf.php.template
@@ -1,9 +1,13 @@
KOLAB_META_START
-TARGET=@@@mnemo_confdir@@@/conf.local.php
+TARGET=@@@mnemo_confdir@@@/conf.d/20-kolab_local.php
PERMISSIONS=0400
OWNERSHIP=@@@webserver_usr@@@:@@@webserver_grp@@@
KOLAB_META_END
<?php
+/*
+@@@warning@@@
+*/
+
/* This file can be used to customize your kolab-webclient installation. */
/* Anything you add to this configuration file will override settings */
/* from @@@mnemo_confdir@@@/conf.php
diff --git a/kolab-webclient/mnemo/templates/mnemo-2.2.3/webclient-mnemo_prefs.php.template b/kolab-webclient/mnemo/templates/mnemo-2.2.3/webclient-mnemo_prefs.php.template
index 6417c2a..900cb49 100644
--- a/kolab-webclient/mnemo/templates/mnemo-2.2.3/webclient-mnemo_prefs.php.template
+++ b/kolab-webclient/mnemo/templates/mnemo-2.2.3/webclient-mnemo_prefs.php.template
@@ -1,9 +1,13 @@
KOLAB_META_START
-TARGET=@@@mnemo_confdir@@@/prefs.local.php
+TARGET=@@@mnemo_confdir@@@/prefs.d/20-kolab_local.php
PERMISSIONS=0400
OWNERSHIP=@@@webserver_usr@@@:@@@webserver_grp@@@
KOLAB_META_END
<?php
+/*
+@@@warning@@@
+*/
+
/* This file can be used to customize your kolab-webclient installation. */
/* Anything you add to this configuration file will override settings */
/* from @@@mnemo_confdir@@@/prefs.php