1 Author: <joerg@dorchain.net>
2 Description: Replace all occurences of local in pathnames
3 Index: lcr-1.6~20090906/Makefile.am
4 ===================================================================
5 --- lcr-1.6~20090906.orig/Makefile.am 2009-09-07 13:35:03.834457538 +0200
6 +++ lcr-1.6~20090906/Makefile.am 2009-09-07 13:36:12.292950699 +0200
8 ## the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
9 ## Boston, MA 02110-1301, USA.
11 -INSTALLdir = $(DESTDIR)/usr/local/lcr
12 +INSTALLdir = $(DESTDIR)/usr/share/lcr
14 pkglogdir=$(localstatedir)/log/@PACKAGE@
15 -pkgsysconfdir=$(sysconfdir)/@PACKAGE@
16 +pkgsysconfdir=/etc/@PACKAGE@
18 -#CONFIGdir=$(DESTDIR)$(pkgsysconfdir)
19 +CONFIGdir=$(DESTDIR)$(pkgsysconfdir)
20 #SHAREdir=$(DESTDIR)$(pkgdatadir)
21 -#LOGdir=$(DESTDIR)$(pkglogdir)
22 +LOGdir=$(DESTDIR)$(pkglogdir)
23 #EXTENSIONdir=$(DESTDIR)$(localstatedir)/lib/lcr
25 -CONFIGdir=$(INSTALLdir)
26 +#CONFIGdir=$(INSTALLdir)
27 SHAREdir=$(INSTALLdir)
29 +#LOGdir=$(INSTALLdir)
30 EXTENSIONdir=$(INSTALLdir)/extensions
32 astmoddir = $(DESTDIR)/usr/lib/asterisk/modules
33 Index: lcr-1.6~20090906/genrc.c
34 ===================================================================
35 --- lcr-1.6~20090906.orig/genrc.c 2009-09-07 13:35:03.878459355 +0200
36 +++ lcr-1.6~20090906/genrc.c 2009-09-07 13:36:12.292950699 +0200
41 - printf("\nWhere do you like to load the modules from, enter 0 for default, 1 for\n'/usr/local/lcr/modules/' or the full path.\n[0 | 1 | <path>]: "); fflush(stdout);
42 + printf("\nWhere do you like to load the modules from, enter 0 for default, 1 for\n'/usr/lib/lcr/modules/' or the full path.\n[0 | 1 | <path>]: "); fflush(stdout);
44 if (!strcmp(input, "0"))
46 if (!strcmp(input, "1"))
47 - SCPY(input, "/usr/local/lcr/modules");
48 + SCPY(input, "/usr/lib/lcr/modules");
49 if (input[0]) if (input[strlen(input)-1] != '/')
52 Index: lcr-1.6~20090906/options.c
53 ===================================================================
54 --- lcr-1.6~20090906.orig/options.c 2009-09-07 13:35:03.898459331 +0200
55 +++ lcr-1.6~20090906/options.c 2009-09-07 13:36:12.296951419 +0200
59 struct options options = {
60 - "/usr/local/lcr/log", /* log file */
61 + "/var/log/lcr/log", /* log file */
62 0x0000, /* debug mode */
64 "0", /* national prefix */
65 Index: lcr-1.6~20090906/default/options.conf
66 ===================================================================
67 --- lcr-1.6~20090906.orig/default/options.conf 2009-09-07 13:35:03.858458743 +0200
68 +++ lcr-1.6~20090906/default/options.conf 2009-09-07 13:36:12.296951419 +0200
71 # The log file can be used to track actions by the LCR. Omit the parameter
72 # to turn off log file. By default, log file is located inside the directory
73 -# "/usr/local/lcr/log".
74 -#log /usr/local/lcr/log
75 +# "/var/log/lcr/log".
76 +#log /var/log/lcr/log
78 # Use "alaw" (default) or "ulaw" samples.