diff options
author | Koen Kooi <koen@openembedded.org> | 2007-08-10 15:50:27 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-08-10 15:50:27 +0000 |
commit | 47b357cc80d9050b2506f5eb9626414ea9b373c1 (patch) | |
tree | 84298702732a5ac2e207084ea768162014de20db /packages/asterisk/asterisk-1.4.7 | |
parent | c765e80d6f02fa7f10b03d32d8a6b87923c2d64f (diff) |
asterisk: make 1.4.10 build on arm and fix packaging
Diffstat (limited to 'packages/asterisk/asterisk-1.4.7')
-rw-r--r-- | packages/asterisk/asterisk-1.4.7/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/asterisk/asterisk-1.4.7/Makefile.patch | 20 | ||||
-rw-r--r-- | packages/asterisk/asterisk-1.4.7/init | 77 | ||||
-rw-r--r-- | packages/asterisk/asterisk-1.4.7/logrotate | 12 | ||||
-rw-r--r-- | packages/asterisk/asterisk-1.4.7/sounds.xml.patch | 18 | ||||
-rw-r--r-- | packages/asterisk/asterisk-1.4.7/volatiles | 7 |
6 files changed, 0 insertions, 134 deletions
diff --git a/packages/asterisk/asterisk-1.4.7/.mtn2git_empty b/packages/asterisk/asterisk-1.4.7/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 --- a/packages/asterisk/asterisk-1.4.7/.mtn2git_empty +++ /dev/null diff --git a/packages/asterisk/asterisk-1.4.7/Makefile.patch b/packages/asterisk/asterisk-1.4.7/Makefile.patch deleted file mode 100644 index a6d630949e..0000000000 --- a/packages/asterisk/asterisk-1.4.7/Makefile.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- asterisk-1.4.5/Makefile 2007-05-24 15:05:08.000000000 -0400 -+++ asterisk-1.4.5/Makefile.new 2007-06-17 05:36:44.000000000 -0400 -@@ -115,7 +115,7 @@ else - ASTSBINDIR=$(sbindir) - ASTSPOOLDIR=$(localstatedir)/spool/asterisk - ASTLOGDIR=$(localstatedir)/log/asterisk -- ASTVARRUNDIR=$(localstatedir)/run -+ ASTVARRUNDIR=$(localstatedir)/run/asterisk - ASTMANDIR=$(mandir) - ifeq ($(OSARCH),FreeBSD) - ASTVARLIBDIR=$(prefix)/share/asterisk -@@ -468,7 +468,7 @@ oldmodcheck: - echo " WARNING WARNING WARNING" ;\ - fi - --install: datafiles bininstall $(SUBDIRS_INSTALL) -+install: datafiles bininstall $(SUBDIRS_INSTALL) samples - @if [ -x /usr/sbin/asterisk-post-install ]; then \ - /usr/sbin/asterisk-post-install $(DESTDIR) . ; \ - fi diff --git a/packages/asterisk/asterisk-1.4.7/init b/packages/asterisk/asterisk-1.4.7/init deleted file mode 100644 index f26ad38db3..0000000000 --- a/packages/asterisk/asterisk-1.4.7/init +++ /dev/null @@ -1,77 +0,0 @@ -#! /bin/sh -# -# This is an init script for openembedded -# Copy it to /etc/init.d/openpbx and type -# > update-rc.d asterisk defaults 60 -# -asterisk=/usr/sbin/asterisk -pidfile=/var/run/asterisk/asterisk.pid -asterisk_args="-npqT -U asterisk -G asterisk" - -test -x "$asterisk" || exit 0 - -case "$1" in - start) - echo -n "Starting Asterisk" - start-stop-daemon --start --quiet --exec $asterisk -- $asterisk_args - echo "." - ;; - stop) - echo -n "Stopping Asterisk" - $asterisk -rx "stop gracefully" - sleep 4 - if [ -f $pidfile ]; then - start-stop-daemon --stop --quiet --pidfile $pidfile - fi - echo "." - ;; - force-stop) - echo -n "Stopping Asterisk" - $asterisk -rx "stop now" - sleep 2 - if [ -f $pidfile ]; then - start-stop-daemon --stop --quiet --pidfile $pidfile - fi - echo "." - ;; - restart) - echo -n "Restarting Asterisk" - if [ -f $pidfile ]; then - $asterisk -rx "restart gracefully" - sleep 2 - else - start-stop-daemon --start --quiet --exec $asterisk -- $asterisk_args - fi - echo "." - ;; - force-restart) - echo -n "Forcibly Restarting Asterisk" - if [ -f $pidfile ]; then - $asterisk -rx "restart now" - sleep 2 - else - start-stop-daemon --start --quiet --exec $asterisk -- $asterisk_args - fi - echo "." - ;; - reload) - echo -n "Reloading Asterisk Configuration" - if [ -f $pidfile ]; then - $asterisk -rx "reload" - else - start-stop-daemon --start --quiet --exec $asterisk -- $asterisk_args - fi - echo "." - ;; - logger-reload) - if [ -f $pidfile ]; then - $asterisk -rx "logger reload" - fi - ;; - *) - echo "Usage: /etc/init.d/asterisk {start|stop|force-stop|restart|force-restart|reload|logger-reload}" - exit 1 -esac - -exit 0 - diff --git a/packages/asterisk/asterisk-1.4.7/logrotate b/packages/asterisk/asterisk-1.4.7/logrotate deleted file mode 100644 index dfd25ee55c..0000000000 --- a/packages/asterisk/asterisk-1.4.7/logrotate +++ /dev/null @@ -1,12 +0,0 @@ -/var/log/asterisk/cdr-csv/Master.csv /var/log/asterisk/cdr-custom/Master.csv /var/log/asterisk/queue_log /var/log/asterisk/event_log /var/log/asterisk/messages { - daily - missingok - compress - delaycompress - rotate 30 - sharedscripts - postrotate - /etc/init.d/asterisk logger-reload - endscript -} - diff --git a/packages/asterisk/asterisk-1.4.7/sounds.xml.patch b/packages/asterisk/asterisk-1.4.7/sounds.xml.patch deleted file mode 100644 index b549fea132..0000000000 --- a/packages/asterisk/asterisk-1.4.7/sounds.xml.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- asterisk-1.4.4/sounds/sounds.xml 2007-05-24 17:00:45.000000000 -0400 -+++ asterisk-1.4.4/sounds/sounds.xml.new 2007-05-25 13:23:41.000000000 -0400 -@@ -6,7 +6,6 @@ - <member name="CORE-SOUNDS-EN-ALAW" displayname="English, a-Law format"> - </member> - <member name="CORE-SOUNDS-EN-GSM" displayname="English, GSM format" > -- <defaultenabled>yes</defaultenabled> - </member> - <member name="CORE-SOUNDS-EN-G729" displayname="English, G.729 format"> - </member> -@@ -39,7 +38,6 @@ - </category> - <category name="MENUSELECT_MOH" displayname="Music On Hold File Packages" positive_output="yes"> - <member name="MOH-FREEPLAY-WAV" displayname="FreePlay Music On Hold Files, WAV format" > -- <defaultenabled>yes</defaultenabled> - </member> - <member name="MOH-FREEPLAY-ULAW" displayname="FreePlay Music On Hold Files, mu-Law format" > - </member> diff --git a/packages/asterisk/asterisk-1.4.7/volatiles b/packages/asterisk/asterisk-1.4.7/volatiles deleted file mode 100644 index c68e786c90..0000000000 --- a/packages/asterisk/asterisk-1.4.7/volatiles +++ /dev/null @@ -1,7 +0,0 @@ -d asterisk asterisk 0775 /var/run/asterisk none -d asterisk asterisk 0775 /var/lib/asterisk none -d asterisk asterisk 0775 /var/log/asterisk none -d asterisk asterisk 0775 /var/log/asterisk/cdr-csv none -d asterisk asterisk 0775 /var/log/asterisk/cdr-custom none -d asterisk asterisk 0775 /var/spool/asterisk/outgoing none -d asterisk asterisk 0775 /var/spool/asterisk/voicemail none |