summaryrefslogtreecommitdiff
path: root/package/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'package/asterisk')
-rw-r--r--package/asterisk/Makefile34
-rw-r--r--package/asterisk/files/asterisk-chan-bluetooth.conffiles (renamed from package/asterisk/ipkg/asterisk-chan-bluetooth.conffiles)0
-rw-r--r--package/asterisk/files/asterisk-chan-h323.conffiles (renamed from package/asterisk/ipkg/asterisk-chan-h323.conffiles)0
-rw-r--r--package/asterisk/files/asterisk-chan-iax2.conffiles (renamed from package/asterisk/ipkg/asterisk-chan-iax2.conffiles)0
-rw-r--r--package/asterisk/files/asterisk-chan-mgcp.conffiles (renamed from package/asterisk/ipkg/asterisk-chan-mgcp.conffiles)0
-rw-r--r--package/asterisk/files/asterisk-chan-skinny.conffiles (renamed from package/asterisk/ipkg/asterisk-chan-skinny.conffiles)0
-rw-r--r--package/asterisk/files/asterisk-meetme.conffiles (renamed from package/asterisk/ipkg/asterisk-meetme.conffiles)0
-rw-r--r--package/asterisk/files/asterisk-pbx-dundi.conffiles (renamed from package/asterisk/ipkg/asterisk-pbx-dundi.conffiles)0
-rw-r--r--package/asterisk/files/asterisk-pgsql.conffiles (renamed from package/asterisk/ipkg/asterisk-pgsql.conffiles)0
-rw-r--r--package/asterisk/files/asterisk-voicemail.conffiles (renamed from package/asterisk/ipkg/asterisk-voicemail.conffiles)0
-rw-r--r--package/asterisk/files/asterisk.conffiles (renamed from package/asterisk/ipkg/asterisk.conffiles)0
-rw-r--r--package/asterisk/files/asterisk.init3
-rw-r--r--package/asterisk/files/asterisk.postinst (renamed from package/asterisk/ipkg/asterisk.postinst)0
-rw-r--r--package/asterisk/ipkg/asterisk-chan-bluetooth.control5
-rw-r--r--package/asterisk/ipkg/asterisk-chan-h323.control5
-rw-r--r--package/asterisk/ipkg/asterisk-chan-iax2.control5
-rw-r--r--package/asterisk/ipkg/asterisk-chan-mgcp.control5
-rw-r--r--package/asterisk/ipkg/asterisk-chan-misdn.control5
-rw-r--r--package/asterisk/ipkg/asterisk-chan-skinny.control5
-rw-r--r--package/asterisk/ipkg/asterisk-codec-gsm.control5
-rw-r--r--package/asterisk/ipkg/asterisk-codec-speex.control5
-rw-r--r--package/asterisk/ipkg/asterisk-meetme.control5
-rw-r--r--package/asterisk/ipkg/asterisk-pbx-dundi.control5
-rw-r--r--package/asterisk/ipkg/asterisk-pgsql.control5
-rw-r--r--package/asterisk/ipkg/asterisk-res-agi.control5
-rw-r--r--package/asterisk/ipkg/asterisk-sounds.control5
-rw-r--r--package/asterisk/ipkg/asterisk-sqlite.control5
-rw-r--r--package/asterisk/ipkg/asterisk-voicemail.control5
-rw-r--r--package/asterisk/ipkg/asterisk.control5
29 files changed, 20 insertions, 97 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index dcda8b77a..f4b0b9f23 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -9,21 +9,25 @@ PKG_NAME:= asterisk
PKG_VERSION:= 1.4.24.1
PKG_RELEASE:= 1
PKG_MD5SUM:= 2b74744350f420b3a94d5323c489426f
-MASTER_SITES:= http://downloads.digium.com/pub/telephony/asterisk/releases/
+PKG_DESCR:= Open Source PBX
+PKG_SECTION:= net
+PKG_DEPENDS:= libncurses libpthread
+PKG_URL:= http://www.asterisk.org
+PKG_SITES:= http://downloads.digium.com/pub/telephony/asterisk/releases/
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,ASTERISK,asterisk,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,ASTERISK_PGSQL,asterisk-pgsql,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,ASTERISK_VOICEMAIL,asterisk-voicemail,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,ASTERISK_SOUNDS,asterisk-sounds,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,ASTERISK_CHAN_MGCP,asterisk-chan-mgcp,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,ASTERISK_CHAN_SKINNY,asterisk-chan-skinny,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,ASTERISK_CHAN_IAX2,asterisk-chan-iax2,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,ASTERISK_CODEC_SPEEX,asterisk-codec-speex,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,ASTERISK_CODEC_GSM,asterisk-codec-gsm,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,ASTERISK_PBX_DUNDI,asterisk-pbx-dundi,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,ASTERISK_RES_AGI,asterisk-res-agi,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(eval $(call PKG_template,ASTERISK,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ASTERISK_PGSQL,asterisk-pgsql,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ASTERISK_VOICEMAIL,asterisk-voicemail,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ASTERISK_SOUNDS,asterisk-sounds,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ASTERISK_CHAN_MGCP,asterisk-chan-mgcp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ASTERISK_CHAN_SKINNY,asterisk-chan-skinny,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ASTERISK_CHAN_IAX2,asterisk-chan-iax2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ASTERISK_CODEC_SPEEX,asterisk-codec-speex,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ASTERISK_CODEC_GSM,asterisk-codec-gsm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ASTERISK_PBX_DUNDI,asterisk-pbx-dundi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ASTERISK_RES_AGI,asterisk-res-agi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
SUB_INSTALLS-y:=
SUB_INSTALLS-m:=
@@ -166,8 +170,6 @@ do-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
)
${INSTALL_DATA} ./files/modules.conf $(IDIR_ASTERISK)/etc/asterisk/
$(SED) 's|/var/lib/asterisk|/usr/lib/asterisk|g' $(WRKINST)/etc/asterisk/musiconhold.conf
- ${INSTALL_DIR} $(IDIR_ASTERISK)/etc/init.d
- ${INSTALL_BIN} ./files/asterisk.init $(IDIR_ASTERISK)/etc/init.d/asterisk
asterisk-pgsql-install:
${INSTALL_DIR} $(IDIR_ASTERISK_PGSQL)/etc/asterisk
@@ -187,7 +189,7 @@ asterisk-voicemail-install:
${INSTALL_DATA} $(WRKBUILD)/configs/voicemail.conf.sample $(IDIR_ASTERISK_VOICEMAIL)/etc/asterisk/voicemail.conf
${CP} $(WRKBUILD)/apps/*voicemail.so $(IDIR_ASTERISK_VOICEMAIL)/usr/lib/asterisk/modules/
${INSTALL_BIN} $(WRKBUILD)/res/res_adsi.so $(IDIR_ASTERISK_VOICEMAIL)/usr/lib/asterisk/modules/
- install -d -m0755 $(IDIR_ASTERISK_VOICEMAIL)/usr/lib/asterisk/sounds
+ ${INSTALL_DIR} $(IDIR_ASTERISK_VOICEMAIL)/usr/lib/asterisk/sounds
$(CP) $(WRKBUILD)/sounds/vm-*.gsm $(IDIR_ASTERISK_VOICEMAIL)/usr/lib/asterisk/sounds/
asterisk-chan-mgcp-install:
@@ -211,7 +213,7 @@ asterisk-chan-iax2-install:
asterisk-codec-speex-install:
${INSTALL_DIR} $(IDIR_ASTERISK_CODEC_SPEEX)/usr/lib/asterisk/modules
- install -m0755 $(WRKBUILD)/codecs/codec_speex.so $(IDIR_ASTERISK_CODEC_SPEEX)/usr/lib/asterisk/modules/
+ ${INSTALL_BIN} $(WRKBUILD)/codecs/codec_speex.so $(IDIR_ASTERISK_CODEC_SPEEX)/usr/lib/asterisk/modules/
asterisk-codec-gsm-install:
${INSTALL_DIR} $(IDIR_ASTERISK_CODEC_GSM)/usr/lib/asterisk/modules/
diff --git a/package/asterisk/ipkg/asterisk-chan-bluetooth.conffiles b/package/asterisk/files/asterisk-chan-bluetooth.conffiles
index 40a085235..40a085235 100644
--- a/package/asterisk/ipkg/asterisk-chan-bluetooth.conffiles
+++ b/package/asterisk/files/asterisk-chan-bluetooth.conffiles
diff --git a/package/asterisk/ipkg/asterisk-chan-h323.conffiles b/package/asterisk/files/asterisk-chan-h323.conffiles
index fc0858a61..fc0858a61 100644
--- a/package/asterisk/ipkg/asterisk-chan-h323.conffiles
+++ b/package/asterisk/files/asterisk-chan-h323.conffiles
diff --git a/package/asterisk/ipkg/asterisk-chan-iax2.conffiles b/package/asterisk/files/asterisk-chan-iax2.conffiles
index f46a87327..f46a87327 100644
--- a/package/asterisk/ipkg/asterisk-chan-iax2.conffiles
+++ b/package/asterisk/files/asterisk-chan-iax2.conffiles
diff --git a/package/asterisk/ipkg/asterisk-chan-mgcp.conffiles b/package/asterisk/files/asterisk-chan-mgcp.conffiles
index 40a81df8e..40a81df8e 100644
--- a/package/asterisk/ipkg/asterisk-chan-mgcp.conffiles
+++ b/package/asterisk/files/asterisk-chan-mgcp.conffiles
diff --git a/package/asterisk/ipkg/asterisk-chan-skinny.conffiles b/package/asterisk/files/asterisk-chan-skinny.conffiles
index eaf9b6def..eaf9b6def 100644
--- a/package/asterisk/ipkg/asterisk-chan-skinny.conffiles
+++ b/package/asterisk/files/asterisk-chan-skinny.conffiles
diff --git a/package/asterisk/ipkg/asterisk-meetme.conffiles b/package/asterisk/files/asterisk-meetme.conffiles
index 1caab1d4d..1caab1d4d 100644
--- a/package/asterisk/ipkg/asterisk-meetme.conffiles
+++ b/package/asterisk/files/asterisk-meetme.conffiles
diff --git a/package/asterisk/ipkg/asterisk-pbx-dundi.conffiles b/package/asterisk/files/asterisk-pbx-dundi.conffiles
index ab116b5d1..ab116b5d1 100644
--- a/package/asterisk/ipkg/asterisk-pbx-dundi.conffiles
+++ b/package/asterisk/files/asterisk-pbx-dundi.conffiles
diff --git a/package/asterisk/ipkg/asterisk-pgsql.conffiles b/package/asterisk/files/asterisk-pgsql.conffiles
index 8b5cffe40..8b5cffe40 100644
--- a/package/asterisk/ipkg/asterisk-pgsql.conffiles
+++ b/package/asterisk/files/asterisk-pgsql.conffiles
diff --git a/package/asterisk/ipkg/asterisk-voicemail.conffiles b/package/asterisk/files/asterisk-voicemail.conffiles
index 1c80f057a..1c80f057a 100644
--- a/package/asterisk/ipkg/asterisk-voicemail.conffiles
+++ b/package/asterisk/files/asterisk-voicemail.conffiles
diff --git a/package/asterisk/ipkg/asterisk.conffiles b/package/asterisk/files/asterisk.conffiles
index 5f805dedb..5f805dedb 100644
--- a/package/asterisk/ipkg/asterisk.conffiles
+++ b/package/asterisk/files/asterisk.conffiles
diff --git a/package/asterisk/files/asterisk.init b/package/asterisk/files/asterisk.init
index fcbb52612..01a4edd51 100644
--- a/package/asterisk/files/asterisk.init
+++ b/package/asterisk/files/asterisk.init
@@ -1,5 +1,6 @@
#!/bin/sh
-#FWINIT 60
+#PKG asterisk
+#INIT 60
. /etc/rc.conf
case $1 in
diff --git a/package/asterisk/ipkg/asterisk.postinst b/package/asterisk/files/asterisk.postinst
index 1186b2645..1186b2645 100644
--- a/package/asterisk/ipkg/asterisk.postinst
+++ b/package/asterisk/files/asterisk.postinst
diff --git a/package/asterisk/ipkg/asterisk-chan-bluetooth.control b/package/asterisk/ipkg/asterisk-chan-bluetooth.control
deleted file mode 100644
index c79d038bb..000000000
--- a/package/asterisk/ipkg/asterisk-chan-bluetooth.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-chan-bluetooth
-Priority: optional
-Section: net
-Description: Bluetooth HandsFreeProfile support for Asterisk
-Depends: asterisk, bluez-libs
diff --git a/package/asterisk/ipkg/asterisk-chan-h323.control b/package/asterisk/ipkg/asterisk-chan-h323.control
deleted file mode 100644
index f3a18ba99..000000000
--- a/package/asterisk/ipkg/asterisk-chan-h323.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-chan-h323
-Priority: optional
-Section: net
-Description: H.323 support for Asterisk
-Depends: asterisk, libpthread, uclibc++
diff --git a/package/asterisk/ipkg/asterisk-chan-iax2.control b/package/asterisk/ipkg/asterisk-chan-iax2.control
deleted file mode 100644
index 55f71f446..000000000
--- a/package/asterisk/ipkg/asterisk-chan-iax2.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-chan-iax2
-Priority: optional
-Section: net
-Description: Asterisk Channel for the Inter Asterisk Protocol
-Depends: asterisk
diff --git a/package/asterisk/ipkg/asterisk-chan-mgcp.control b/package/asterisk/ipkg/asterisk-chan-mgcp.control
deleted file mode 100644
index 78ea3b649..000000000
--- a/package/asterisk/ipkg/asterisk-chan-mgcp.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-chan-mgcp
-Priority: optional
-Section: net
-Description: a Media Gateway Control Protocol implementation for Asterisk
-Depends: asterisk
diff --git a/package/asterisk/ipkg/asterisk-chan-misdn.control b/package/asterisk/ipkg/asterisk-chan-misdn.control
deleted file mode 100644
index bcc7f384e..000000000
--- a/package/asterisk/ipkg/asterisk-chan-misdn.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-chan-misdn
-Priority: optional
-Section: net
-Depends: asterisk
-Description: Asterisk Channel for the mISDN ISDN systems
diff --git a/package/asterisk/ipkg/asterisk-chan-skinny.control b/package/asterisk/ipkg/asterisk-chan-skinny.control
deleted file mode 100644
index 3933e33db..000000000
--- a/package/asterisk/ipkg/asterisk-chan-skinny.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-chan-skinny
-Priority: optional
-Section: net
-Description: a Skinny Client Control Protocol implementation for Asterisk
-Depends: asterisk
diff --git a/package/asterisk/ipkg/asterisk-codec-gsm.control b/package/asterisk/ipkg/asterisk-codec-gsm.control
deleted file mode 100644
index f26044d2b..000000000
--- a/package/asterisk/ipkg/asterisk-codec-gsm.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-codec-gsm
-Priority: optional
-Section: net
-Description: a GSM Codec Translator for Asterisk
-Depends: asterisk
diff --git a/package/asterisk/ipkg/asterisk-codec-speex.control b/package/asterisk/ipkg/asterisk-codec-speex.control
deleted file mode 100644
index 61eb088f7..000000000
--- a/package/asterisk/ipkg/asterisk-codec-speex.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-codec-speex
-Priority: optional
-Section: net
-Description: a Speex/PCM16 Codec Translator for Asterisk
-Depends: asterisk, libspeex
diff --git a/package/asterisk/ipkg/asterisk-meetme.control b/package/asterisk/ipkg/asterisk-meetme.control
deleted file mode 100644
index 8b031d210..000000000
--- a/package/asterisk/ipkg/asterisk-meetme.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-meetme
-Priority: optional
-Section: net
-Description: MeetMe support files for asterisk
-Depends: asterisk
diff --git a/package/asterisk/ipkg/asterisk-pbx-dundi.control b/package/asterisk/ipkg/asterisk-pbx-dundi.control
deleted file mode 100644
index 6579e2594..000000000
--- a/package/asterisk/ipkg/asterisk-pbx-dundi.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-pbx-dundi
-Priority: optional
-Section: net
-Description: Distributed Universal Number Discovery (DUNDi) support for Asterisk
-Depends: asterisk
diff --git a/package/asterisk/ipkg/asterisk-pgsql.control b/package/asterisk/ipkg/asterisk-pgsql.control
deleted file mode 100644
index beece08a5..000000000
--- a/package/asterisk/ipkg/asterisk-pgsql.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-pgsql
-Priority: optional
-Section: net
-Description: PostgreSQL modules for Asterisk
-Depends: asterisk, libpq, zlib
diff --git a/package/asterisk/ipkg/asterisk-res-agi.control b/package/asterisk/ipkg/asterisk-res-agi.control
deleted file mode 100644
index 44f7170aa..000000000
--- a/package/asterisk/ipkg/asterisk-res-agi.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-res-agi
-Priority: optional
-Section: net
-Description: Asterisk Gateway Interface module
-Depends: asterisk
diff --git a/package/asterisk/ipkg/asterisk-sounds.control b/package/asterisk/ipkg/asterisk-sounds.control
deleted file mode 100644
index a63bbef10..000000000
--- a/package/asterisk/ipkg/asterisk-sounds.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-sounds
-Priority: optional
-Section: net
-Description: a sounds collection for Asterisk
-Depends: asterisk
diff --git a/package/asterisk/ipkg/asterisk-sqlite.control b/package/asterisk/ipkg/asterisk-sqlite.control
deleted file mode 100644
index 3968dd19d..000000000
--- a/package/asterisk/ipkg/asterisk-sqlite.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-sqlite
-Priority: optional
-Section: net
-Description: SQLite modules for Asterisk
-Depends: asterisk, libsqlite
diff --git a/package/asterisk/ipkg/asterisk-voicemail.control b/package/asterisk/ipkg/asterisk-voicemail.control
deleted file mode 100644
index c7b51311c..000000000
--- a/package/asterisk/ipkg/asterisk-voicemail.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk-voicemail
-Priority: optional
-Section: net
-Description: VoiceMail related modules for Asterisk
-Depends: asterisk
diff --git a/package/asterisk/ipkg/asterisk.control b/package/asterisk/ipkg/asterisk.control
deleted file mode 100644
index 13075d791..000000000
--- a/package/asterisk/ipkg/asterisk.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: asterisk
-Priority: optional
-Section: net
-Depends: libncurses, libpthread
-Description: An open source PBX