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