]> git.pld-linux.org Git - packages/asterisk.git/blobdiff - FHS-paths.patch
- fix building with modern autotools
[packages/asterisk.git] / FHS-paths.patch
index 2612cc12942022d2aa57a74f9f3668c9cc79e5c5..ee880ea838b52603716b641e6b452e4c7e0e2f6a 100644 (file)
@@ -1,6 +1,6 @@
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/agi/DialAnMp3.agi asterisk-14.5.0/agi/DialAnMp3.agi
---- asterisk-14.5.0.orig/agi/DialAnMp3.agi     2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/agi/DialAnMp3.agi  2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/agi/DialAnMp3.agi asterisk-16.15.0/agi/DialAnMp3.agi
+--- asterisk-16.15.0.org/agi/DialAnMp3.agi     2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/agi/DialAnMp3.agi 2020-11-27 12:44:43.374449817 +0100
 @@ -17,7 +17,7 @@
        print STDERR " -- $i = $AGI{$i}\n";
  }
@@ -10,9 +10,9 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/agi/DialAnMp3.agi
  
  sub checkresult {
        my ($res) = @_;
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/agi/jukebox.agi asterisk-14.5.0/agi/jukebox.agi
---- asterisk-14.5.0.orig/agi/jukebox.agi       2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/agi/jukebox.agi    2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/agi/jukebox.agi asterisk-16.15.0/agi/jukebox.agi
+--- asterisk-16.15.0.org/agi/jukebox.agi       2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/agi/jukebox.agi   2020-11-27 12:44:43.374449817 +0100
 @@ -17,7 +17,7 @@
  #
  # Uses festival to list off all your MP3 music files over a channel in
@@ -22,9 +22,9 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/agi/jukebox.agi as
  #
  # Invocation Example:
  #   exten => 68742,1,Answer()
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/agi/numeralize asterisk-14.5.0/agi/numeralize
---- asterisk-14.5.0.orig/agi/numeralize        2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/agi/numeralize     2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/agi/numeralize asterisk-16.15.0/agi/numeralize
+--- asterisk-16.15.0.org/agi/numeralize        2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/agi/numeralize    2020-11-27 12:44:43.374449817 +0100
 @@ -6,7 +6,7 @@
  
  $mp3dir="/usr/media/mpeg3";
@@ -34,9 +34,9 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/agi/numeralize ast
  sub process_dir {
        my ($dir) = @_;
        my $file;
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/festival.conf.sample asterisk-14.5.0/configs/samples/festival.conf.sample
---- asterisk-14.5.0.orig/configs/samples/festival.conf.sample  2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/configs/samples/festival.conf.sample       2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/configs/samples/festival.conf.sample asterisk-16.15.0/configs/samples/festival.conf.sample
+--- asterisk-16.15.0.org/configs/samples/festival.conf.sample  2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/festival.conf.sample      2020-11-27 12:44:43.374449817 +0100
 @@ -21,7 +21,7 @@
  ; THIS DIRECTORY *MUST* EXIST and must be writable from the asterisk process.
  ; Defaults to /tmp/
@@ -46,9 +46,9 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/fe
  ;
  ; Festival command to send to the server.
  ; Defaults to: (tts_textasterisk "%s" 'file)(quit)\n
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/http.conf.sample asterisk-14.5.0/configs/samples/http.conf.sample
---- asterisk-14.5.0.orig/configs/samples/http.conf.sample      2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/configs/samples/http.conf.sample   2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/configs/samples/http.conf.sample asterisk-16.15.0/configs/samples/http.conf.sample
+--- asterisk-16.15.0.org/configs/samples/http.conf.sample      2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/http.conf.sample  2020-11-27 12:44:43.374449817 +0100
 @@ -5,7 +5,7 @@
  ; Note about Asterisk documentation:
  ;   If Asterisk was installed from a tarball, then the HTML documentation should
@@ -58,7 +58,7 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/ht
  ;   HTTP server is enabled in this file by setting the "enabled", "bindaddr",
  ;   and "bindport" options, then you should be able to view the documentation
  ;   remotely by browsing to:
-@@ -121,6 +121,6 @@
+@@ -127,6 +127,6 @@
  ; config permission to POST files.
  ;
  ; In this example, if the prefix option is set to "asterisk", then using the
@@ -67,9 +67,9 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/ht
 +; POST URL: /asterisk/uploads will put files in /var/spool/asterisk/uploads/.
 +;uploads = /var/spool/asterisk/uploads/
  ;
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/iax.conf.sample asterisk-14.5.0/configs/samples/iax.conf.sample
---- asterisk-14.5.0.orig/configs/samples/iax.conf.sample       2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/configs/samples/iax.conf.sample    2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/configs/samples/iax.conf.sample asterisk-16.15.0/configs/samples/iax.conf.sample
+--- asterisk-16.15.0.org/configs/samples/iax.conf.sample       2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/iax.conf.sample   2020-11-27 12:44:43.374449817 +0100
 @@ -531,8 +531,8 @@
  ; authentication is used, "inkeys" is a list of acceptable public keys on the
  ; local system that can be used to authenticate the remote peer, separated by
@@ -81,10 +81,10 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/ia
  ; keys should always be 3DES encrypted.
  ;
  ;
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/musiconhold.conf.sample asterisk-14.5.0/configs/samples/musiconhold.conf.sample
---- asterisk-14.5.0.orig/configs/samples/musiconhold.conf.sample       2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/configs/samples/musiconhold.conf.sample    2017-06-09 14:40:59.000000000 +0200
-@@ -35,7 +35,7 @@
+diff -urN asterisk-16.15.0.org/configs/samples/musiconhold.conf.sample asterisk-16.15.0/configs/samples/musiconhold.conf.sample
+--- asterisk-16.15.0.org/configs/samples/musiconhold.conf.sample       2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/musiconhold.conf.sample   2020-11-27 12:44:43.377783255 +0100
+@@ -36,7 +36,7 @@
  ; The path specified can be either an absolute path (starts with '/'),
  ; or a relative path; relative paths are interpreted as being relative
  ; to the 'astdatalibdir' in asterisk.conf, which defaults to
@@ -93,7 +93,7 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/mu
  ;
  ; NOTE:
  ; If you are not using "autoload" in modules.conf, then you
-@@ -79,7 +79,7 @@
+@@ -102,7 +102,7 @@
  ;mode=custom
  ; Note that with mode=custom, a directory is not required, such as when reading
  ; from a stream.
@@ -102,16 +102,18 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/mu
  ;application=/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s
  
  ;[ulawstream]
-@@ -95,5 +95,5 @@
+@@ -118,7 +118,7 @@
  ; choice
  ;[solaris]
  ;mode=custom
 -;directory=/var/lib/asterisk/mohmp3
 +;directory=/usr/share/asterisk/mohmp3
  ;application=/site/sw/bin/madplay -Q -o raw:- --mono -R 8000 -a -12
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/osp.conf.sample asterisk-14.5.0/configs/samples/osp.conf.sample
---- asterisk-14.5.0.orig/configs/samples/osp.conf.sample       2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/configs/samples/osp.conf.sample    2017-06-09 14:40:59.000000000 +0200
+ ; By default, when res_musiconhold reloads or unloads, it sends a HUP signal
+diff -urN asterisk-16.15.0.org/configs/samples/osp.conf.sample asterisk-16.15.0/configs/samples/osp.conf.sample
+--- asterisk-16.15.0.org/configs/samples/osp.conf.sample       2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/osp.conf.sample   2020-11-27 12:44:43.377783255 +0100
 @@ -45,8 +45,8 @@
  ;source=domain name or [IP address in brackets]
  ;
@@ -123,9 +125,9 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/os
  ;
  ; Specify the private key file name.
  ; If this parameter is unspecified or not present, the default name will be the
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/phoneprov.conf.sample asterisk-14.5.0/configs/samples/phoneprov.conf.sample
---- asterisk-14.5.0.orig/configs/samples/phoneprov.conf.sample 2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/configs/samples/phoneprov.conf.sample      2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/configs/samples/phoneprov.conf.sample asterisk-16.15.0/configs/samples/phoneprov.conf.sample
+--- asterisk-16.15.0.org/configs/samples/phoneprov.conf.sample 2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/phoneprov.conf.sample     2020-11-27 12:44:43.377783255 +0100
 @@ -136,7 +136,7 @@
  ${MAC}-phone.cfg => 000000000000-phone.cfg   ; (relative to AST_DATA_DIR/phoneprov)
  config/${MAC} => polycom.xml                 ; Dynamic Filename => template file
@@ -135,9 +137,9 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/ph
  
  ;snom 300, 320, 360, 370, 820, 821, 870 support
  snom-${MAC}.xml => snom-mac.xml
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/res_config_sqlite.conf.sample asterisk-14.5.0/configs/samples/res_config_sqlite.conf.sample
---- asterisk-14.5.0.orig/configs/samples/res_config_sqlite.conf.sample 2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/configs/samples/res_config_sqlite.conf.sample      2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/configs/samples/res_config_sqlite.conf.sample asterisk-16.15.0/configs/samples/res_config_sqlite.conf.sample
+--- asterisk-16.15.0.org/configs/samples/res_config_sqlite.conf.sample 2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/res_config_sqlite.conf.sample     2020-11-27 12:44:43.377783255 +0100
 @@ -1,7 +1,7 @@
  [general]
  
@@ -147,9 +149,9 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/re
  
  ; Both config_table and cdr_table are optional. If config_table is omitted,
  ; you must specify it in extconfig.conf. If it is both provided here and in
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/contrib/scripts/astgenkey asterisk-14.5.0/contrib/scripts/astgenkey
---- asterisk-14.5.0.orig/contrib/scripts/astgenkey     2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/contrib/scripts/astgenkey  2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/contrib/scripts/astgenkey asterisk-16.15.0/contrib/scripts/astgenkey
+--- asterisk-16.15.0.org/contrib/scripts/astgenkey     2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/contrib/scripts/astgenkey 2020-11-27 12:44:43.377783255 +0100
 @@ -29,7 +29,7 @@
        echo "in PEM format for use by Asterisk.  You will be asked to"
        echo "enter a passcode for your key multiple times.  Please"
@@ -159,9 +161,9 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/contrib/scripts/as
        echo "to use them, and any private keys (.key files) will"
        echo "need to be initialized at runtime either by running"
        echo "Asterisk with the '-i' option, or with the 'keys init'"
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/contrib/scripts/astgenkey.8 asterisk-14.5.0/contrib/scripts/astgenkey.8
---- asterisk-14.5.0.orig/contrib/scripts/astgenkey.8   2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/contrib/scripts/astgenkey.8        2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/contrib/scripts/astgenkey.8 asterisk-16.15.0/contrib/scripts/astgenkey.8
+--- asterisk-16.15.0.org/contrib/scripts/astgenkey.8   2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/contrib/scripts/astgenkey.8       2020-11-27 12:44:43.377783255 +0100
 @@ -87,7 +87,7 @@
  .RE
  
@@ -184,9 +186,9 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/contrib/scripts/as
  .RS
  .RE
  
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/contrib/utils/README.rawplayer asterisk-14.5.0/contrib/utils/README.rawplayer
---- asterisk-14.5.0.orig/contrib/utils/README.rawplayer        2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/contrib/utils/README.rawplayer     2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/contrib/utils/README.rawplayer asterisk-16.15.0/contrib/utils/README.rawplayer
+--- asterisk-16.15.0.org/contrib/utils/README.rawplayer        2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/contrib/utils/README.rawplayer    2020-11-27 12:44:43.377783255 +0100
 @@ -16,7 +16,7 @@
  sox -c 1 track01.wav -t raw -r 8000 -c 1 -s -w track01.raw
  
@@ -196,9 +198,9 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/contrib/utils/READ
  and set up a class in musiconhold.conf like so:
  
  [classes]
-diff -urN asterisk-15.3.0-orig/pbx/ael/ael-test/ael-test3/extensions.ael asterisk-15.3.0/pbx/ael/ael-test/ael-test3/extensions.ael
---- asterisk-15.3.0-orig/pbx/ael/ael-test/ael-test3/extensions.ael     2018-03-15 17:31:26.000000000 +0100
-+++ asterisk-15.3.0/pbx/ael/ael-test/ael-test3/extensions.ael  2018-03-25 10:02:28.491840053 +0200
+diff -urN asterisk-16.15.0.org/pbx/ael/ael-test/ael-test3/extensions.ael asterisk-16.15.0/pbx/ael/ael-test/ael-test3/extensions.ael
+--- asterisk-16.15.0.org/pbx/ael/ael-test/ael-test3/extensions.ael     2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/pbx/ael/ael-test/ael-test3/extensions.ael 2020-11-27 12:44:43.377783255 +0100
 @@ -2049,7 +2049,7 @@
  
  macro callerid-liar()
@@ -313,9 +315,9 @@ diff -urN asterisk-15.3.0-orig/pbx/ael/ael-test/ael-test3/extensions.ael asteris
                goto s|loopback;
        }
        762 => {
-diff -urN asterisk-15.3.0-orig/pbx/ael/ael-test/ael-vtest13/extensions.ael asterisk-15.3.0/pbx/ael/ael-test/ael-vtest13/extensions.ael
---- asterisk-15.3.0-orig/pbx/ael/ael-test/ael-vtest13/extensions.ael   2018-03-15 17:31:26.000000000 +0100
-+++ asterisk-15.3.0/pbx/ael/ael-test/ael-vtest13/extensions.ael        2018-03-25 10:01:53.053291285 +0200
+diff -urN asterisk-16.15.0.org/pbx/ael/ael-test/ael-vtest13/extensions.ael asterisk-16.15.0/pbx/ael/ael-test/ael-vtest13/extensions.ael
+--- asterisk-16.15.0.org/pbx/ael/ael-test/ael-vtest13/extensions.ael   2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/pbx/ael/ael-test/ael-vtest13/extensions.ael       2020-11-27 12:44:43.377783255 +0100
 @@ -2048,7 +2048,7 @@
  
  macro callerid-liar()
@@ -430,10 +432,9 @@ diff -urN asterisk-15.3.0-orig/pbx/ael/ael-test/ael-vtest13/extensions.ael aster
                goto s|loopback;
        }
        762 => {
-
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/pbx/ael/ael-test/ref.ael-vtest13 asterisk-14.5.0/pbx/ael/ael-test/ref.ael-vtest13
---- asterisk-14.5.0.orig/pbx/ael/ael-test/ref.ael-vtest13      2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/pbx/ael/ael-test/ref.ael-vtest13   2017-06-09 14:40:59.000000000 +0200
+diff -urN asterisk-16.15.0.org/pbx/ael/ael-test/ref.ael-vtest13 asterisk-16.15.0/pbx/ael/ael-test/ref.ael-vtest13
+--- asterisk-16.15.0.org/pbx/ael/ael-test/ref.ael-vtest13      2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/pbx/ael/ael-test/ref.ael-vtest13  2020-11-27 12:44:43.381116692 +0100
 @@ -2182,7 +2182,7 @@
  
  
@@ -527,22 +528,10 @@ diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/pbx/ael/ael-test/r
  exten => 761,3,Goto(s,loopback)
  exten => 762,1,agi(tts-riddle.agi)
  exten => 762,2,Background(gsm/what-time-it-is2)
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/UPGRADE-1.4.txt asterisk-14.5.0/UPGRADE-1.4.txt
---- asterisk-14.5.0.orig/UPGRADE-1.4.txt       2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/UPGRADE-1.4.txt    2017-06-09 14:40:59.000000000 +0200
-@@ -92,7 +92,7 @@
- WARNING: Asterisk 1.4 supports a new layout for sound files in multiple languages;
- instead of the alternate-language files being stored in subdirectories underneath
- the existing files (for French, that would be digits/fr, letters/fr, phonetic/fr,
--etc.) the new layout creates one directory under /var/lib/asterisk/sounds for the
-+etc.) the new layout creates one directory under /usr/share/asterisk/sounds for the
- language itself, then places all the sound files for that language under that
- directory and its subdirectories. This is the layout that will be created if you
- select non-English languages to be installed via menuselect, HOWEVER Asterisk does
-diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/utils/ael_main.c asterisk-14.5.0/utils/ael_main.c
---- asterisk-14.5.0.orig/utils/ael_main.c      2017-05-30 19:50:46.000000000 +0200
-+++ asterisk-14.5.0/utils/ael_main.c   2017-06-09 14:41:43.000000000 +0200
-@@ -532,7 +532,7 @@
+diff -urN asterisk-16.15.0.org/utils/ael_main.c asterisk-16.15.0/utils/ael_main.c
+--- asterisk-16.15.0.org/utils/ael_main.c      2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/utils/ael_main.c  2020-11-27 12:44:43.381116692 +0100
+@@ -525,7 +525,7 @@
                strcpy(config_dir, "/etc/asterisk");
                localized_use_conf_dir();
        }
This page took 0.047729 seconds and 4 git commands to generate.