asterisk-11.x: update to 11.15.0, remove /etc/default/asterisk

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
This commit is contained in:
Jiri Slachta 2014-12-21 14:32:06 +01:00
parent 81e1a4cc91
commit 819dc60012
4 changed files with 4 additions and 13 deletions

View file

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk11 PKG_NAME:=asterisk11
PKG_VERSION:=11.14.1 PKG_VERSION:=11.15.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/ PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
PKG_MD5SUM:=ce0afa11f304221fe2e4f6efecbba548 PKG_MD5SUM:=71e8c2e207255f7ef12b81b7f0da30ea
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING LICENSE PKG_LICENSE_FILES:=COPYING LICENSE
@ -117,7 +117,6 @@ define Package/asterisk11/conffiles
/etc/asterisk/sip_notify.conf /etc/asterisk/sip_notify.conf
/etc/asterisk/udptl.conf /etc/asterisk/udptl.conf
/etc/asterisk/users.conf /etc/asterisk/users.conf
/etc/default/asterisk
/etc/init.d/asterisk /etc/init.d/asterisk
endef endef
@ -135,8 +134,6 @@ $(call Package/asterisk11/install/sbin,$(1),safe_asterisk)
$(call Package/asterisk11/install/sbin,$(1),astgenkey) $(call Package/asterisk11/install/sbin,$(1),astgenkey)
$(foreach m,$(AST_CFG_FILES),$(call Package/asterisk11/install/conffile,$(1),$(m));) $(foreach m,$(AST_CFG_FILES),$(call Package/asterisk11/install/conffile,$(1),$(m));)
$(foreach m,$(AST_EMB_MODULES),$(call Package/asterisk11/install/module,$(1),$(m));) $(foreach m,$(AST_EMB_MODULES),$(call Package/asterisk11/install/module,$(1),$(m));)
$(INSTALL_DIR) $(1)/etc/default
$(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
$(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk $(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
endef endef

View file

@ -1,4 +0,0 @@
## startup options for /etc/init.d/asterisk
ENABLE_ASTERISK="yes"
OPTIONS=""

View file

@ -5,12 +5,10 @@ START=99
APP=asterisk APP=asterisk
OPTIONS= OPTIONS=
DEST= DEST=
DEFAULT=$DEST/etc/default/$APP
BIN_FILE=$DEST/usr/sbin/$APP BIN_FILE=$DEST/usr/sbin/$APP
PID_FILE=$DEST/var/run/$APP/$APP.pid PID_FILE=$DEST/var/run/$APP/$APP.pid
start() { start() {
[ -f $DEFAULT ] && . $DEFAULT
[ -d $DEST/var/run/asterisk ] || mkdir -p $DEST/var/run/asterisk [ -d $DEST/var/run/asterisk ] || mkdir -p $DEST/var/run/asterisk
[ -d $DEST/var/log/asterisk ] || mkdir -p $DEST/var/log/asterisk [ -d $DEST/var/log/asterisk ] || mkdir -p $DEST/var/log/asterisk
[ -d $DEST/var/spool/asterisk ] || mkdir -p $DEST/var/spool/asterisk [ -d $DEST/var/spool/asterisk ] || mkdir -p $DEST/var/spool/asterisk

View file

@ -1,5 +1,5 @@
--- asterisk-11.4.0/res/Makefile 2013-02-04 20:50:52.000000000 +0100 --- a/res/Makefile
+++ asterisk11-new/res/Makefile 2013-06-02 13:51:22.269684111 +0200 +++ b/res/Makefile
@@ -75,7 +75,7 @@ dist-clean:: @@ -75,7 +75,7 @@ dist-clean::
rm -f pjproject/build.mak rm -f pjproject/build.mak