upgrade asterisk-1.6.x to 1.6.2.0-rc6; add app_system package
authorHans Zandbelt <hans.zandbelt@gmail.com>
Sat, 28 Nov 2009 15:54:33 +0000 (15:54 +0000)
committerHans Zandbelt <hans.zandbelt@gmail.com>
Sat, 28 Nov 2009 15:54:33 +0000 (15:54 +0000)
SVN-Revision: 18581

net/asterisk-1.6.x/Makefile

index 9642a6a..719840e 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=asterisk
-PKG_VERSION:=1.6.2.0-beta4
+PKG_VERSION:=1.6.2.0-rc6
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/
-PKG_MD5SUM:=a1f658207ed618056294e04d69077509
+PKG_MD5SUM:=770a80d306ccc928481ff9030d7fec38
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -149,6 +149,17 @@ $(call Package/asterisk16/Default/description)
  support to Asterisk.
 endef
 
+define Package/asterisk16-app-system
+$(call Package/asterisk16/Default)
+  TITLE:=System exec support
+  DEPENDS:= +asterisk16
+endef
+
+define Package/asterisk16-app-system/description
+$(call Package/asterisk16/Default/description)
+ This package provides support for executing system commands in Asterisk.
+endef
+
 CONFIGURE_ARGS+= \
        --without-curl \
        --without-curses \
@@ -370,6 +381,11 @@ define Package/asterisk16-chan-gtalk/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_jabber.so $(1)/usr/lib/asterisk/modules/
 endef
 
+define Package/asterisk16-app-system/install
+       $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_system.so $(1)/usr/lib/asterisk/modules/
+endef
+
 $(eval $(call BuildPackage,asterisk16))
 $(eval $(call BuildPackage,asterisk16-voicemail))
 $(eval $(call BuildPackage,asterisk16-sounds))
@@ -380,3 +396,4 @@ $(eval $(call BuildPackage,asterisk16-cdr))
 $(eval $(call BuildPackage,asterisk16-res-musiconhold))
 $(eval $(call BuildPackage,asterisk16-format-g729))
 $(eval $(call BuildPackage,asterisk16-chan-gtalk))
+$(eval $(call BuildPackage,asterisk16-app-system))