]> git.pld-linux.org Git - packages/asa.git/blame - asa-PLD.patch
- plugins go to /usr/lib/jabber,
[packages/asa.git] / asa-PLD.patch
CommitLineData
f8908886 1diff -ruN asa-0.1.4.old/ApaSMSAgent.pl asa-0.1.4/ApaSMSAgent.pl
2--- asa-0.1.4.old/ApaSMSAgent.pl 2005-02-11 13:47:10.167567640 +0100
3+++ asa-0.1.4/ApaSMSAgent.pl 2005-02-11 13:48:14.599772456 +0100
4@@ -5,7 +5,7 @@
5 # optimizations/cleanups for faster and saner, strict code
6
7 use constant VERSION => "0.1.4";
8-use constant CONFIG_FILE => "config.xml";
9+use constant CONFIG_FILE => "/etc/jabber/asa.xml";
10 use constant DEVEL_RUN => 0; # useful when testing, things are seen as 'away' in DEVEL_RUN mode
11
12 use XML::Stream; # for config files, etc
13diff -ruN asa-0.1.4.old/config.xml asa-0.1.4/config.xml
14--- asa-0.1.4.old/config.xml 2005-02-11 13:47:10.168567488 +0100
15+++ asa-0.1.4/config.xml 2005-02-11 13:51:19.518660512 +0100
16@@ -4,19 +4,19 @@
17 <!-- server's address to connect to as a component -->
18 <server>127.0.0.1</server>
19 <!-- server port to connect to -->
20- <port>1234567</port>
21+ <port>5347</port>
22 <!-- component authentication password -->
23- <password></password>
24+ <password>secret</password>
25 <!-- agent's verbosity level -->
26- <verbose>4</verbose>
27+ <verbose>0</verbose>
28 <!-- the directory where plugins for SMS gateways are placed -->
29- <plugin_dir>./plugins/</plugin_dir>
6cf7f205 30+ <plugin_dir>/usr/lib/jabber/asa/plugins/</plugin_dir>
f8908886 31 <!-- a filename prefix for files containing per-user phone numbers MLDBM/SDB database -->
32- <users_numbers_file>./storage/numbers-storage.mldbm</users_numbers_file>
33+ <users_numbers_file>/var/lib/jabber/asa/storage/numbers-storage.mldbm</users_numbers_file>
34 <!-- above hash/file access cache size, higher values improve performance -->
35 <numbers_tiehash_cache>1024K</numbers_tiehash_cache>
36 <!-- a filename prefix for files containing per-user priority preferences MLDBM/SDB database -->
37- <users_prio_prefs_file>./storage/prio-prefs-storage.mldbm</users_prio_prefs_file>
38+ <users_prio_prefs_file>/var/lib/jabber/asa/storage/prio-prefs-storage.mldbm</users_prio_prefs_file>
39 <!-- above hash/file access cache size, higher values improve performance -->
40 <prio_prefs_tiehash_cache>1024K</prio_prefs_tiehash_cache>
41 <!-- ugly list of pretty admins :) -->
42@@ -35,16 +35,16 @@
43 <!-- plugins' own options and settings -->
44 <plugins>
45 <MiastoPlusa>
46- <accounts_file>./storage/accounts-MiastoPlusa.mldbm</accounts_file>
47+ <accounts_file>/var/lib/jabber/asa/storage/accounts-MiastoPlusa.mldbm</accounts_file>
48 </MiastoPlusa>
49 <IdeaMbox>
50- <accounts_file>./storage/accounts-IdeaMbox.mldbm</accounts_file>
51+ <accounts_file>/var/lib/jabber/asa/storage/accounts-IdeaMbox.mldbm</accounts_file>
52 </IdeaMbox>
53 <EraOmnix_Podstawowa>
54- <accounts_file>./storage/accounts-EraOmnix_Podstawowa.mldbm</accounts_file>
55+ <accounts_file>/var/lib/jabber/asa/storage/accounts-EraOmnix_Podstawowa.mldbm</accounts_file>
56 </EraOmnix_Podstawowa>
57 <EraOmnix_Platna>
58- <accounts_file>./storage/accounts-EraOmnix_Platna.mldbm</accounts_file>
59+ <accounts_file>/var/lib/jabber/asa/storage/accounts-EraOmnix_Platna.mldbm</accounts_file>
60 </EraOmnix_Platna>
61 </plugins>
62 </config>
This page took 0.072087 seconds and 4 git commands to generate.