asterisk-gui: move packages to packages-abandoned repository.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
This commit is contained in:
Jiri Slachta 2015-02-16 13:05:24 +01:00
parent cbd99498fd
commit 49ab639f56
9 changed files with 0 additions and 298 deletions

View file

@ -1,76 +0,0 @@
#
# Copyright (C) 2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk11-gui
PKG_VERSION:=2.1.0-rc1
PKG_RELEASE:=4
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk-gui/releases/
PKG_SOURCE:=asterisk-gui-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=055bf2aaba365e696198925d039ac3cb
PKG_BUILD_DIR:=$(BUILD_DIR)/asterisk11-gui-$(PKG_VERSION)
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/asterisk11-gui
SECTION:=admin
CATEGORY:=Administration
TITLE:=Asterisk GUI for Asterisk 11.x
DEPENDS:=+@PACKAGE_asterisk11 +asterisk11-app-exec +asterisk11-app-system
VERSION:=$(PKG_VERSION)
endef
define Package/asterisk11-gui/description
Asterisk11 GUI is a framework for the creation of graphical interfaces
for configuring Asterisk-11.x package.
endef
EXTRA_CFLAGS:=$(TARGET_CPPFLAGS)
EXTRA_LDFLAGS:=$(TARGET_LDFLAGS)
define Build/Prepare
rm -rf $(PKG_BUILD_DIR)/
mkdir -p $(PKG_BUILD_DIR)/
$(TAR) -xzf $(DL_DIR)/$(PKG_SOURCE) -C $(PKG_BUILD_DIR) --strip 1
$(Build/Patch)
endef
define Build/Configure
( cd $(PKG_BUILD_DIR); ./bootstrap.sh )
$(call Build/Configure/Default, \
--build=$(GNU_HOST_NAME) \
--host=$(GNU_TARGET_NAME) \
--target=$(GNU_TARGET_NAME) \
--prefix=/usr \
--disable-nls \
--disable-static \
--localstatedir="/usr" \
--sysconfdir="/etc" \
)
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)"
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
endef
define Package/asterisk11-gui/install
$(INSTALL_DIR) $(1)/etc/asterisk/
$(CP) ./files/gui_* $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/static-http
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/static-http/* $(1)/usr/lib/asterisk/static-http
$(INSTALL_DIR) $(1)/usr/lib/asterisk/scripts
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/scripts/* $(1)/usr/lib/asterisk/scripts
$(INSTALL_DIR) $(1)/usr/lib/asterisk/gui_backups
endef
$(eval $(call BuildPackage,asterisk11-gui))

View file

@ -1,41 +0,0 @@
;
; Asterisk Builtin mini-HTTP server
;
;
[general]
;
; Whether HTTP interface is enabled or not. Default is no.
;
enabled=yes
;
; Whether Asterisk should serve static content from http-static
; Default is no.
;
enablestatic=yes
;
; Address to bind to. Default is 0.0.0.0
;
bindaddr=0.0.0.0
;
; Port to bind to (default is 8088)
;
bindport=8088
;
; Prefix allows you to specify a prefix for all requests
; to the server. The default is "asterisk" so that all
; requests must begin with /asterisk
;
;prefix=asterisk
; The post_mappings section maps URLs to real paths on the filesystem. If a
; POST is done from within an authenticated manager session to one of the
; configured POST mappings, then any files in the POST will be placed in the
; configured directory.
;
;[post_mappings]
;
; In this example, if the prefix option is set to "asterisk", then using the
; POST URL: /asterisk/uploads will put files in /var/lib/asterisk/uploads/.
;uploads = /var/lib/asterisk/uploads/
;

View file

@ -1,21 +0,0 @@
;
; Asterisk Call Management support
;
; By default asterisk will listen on localhost only.
[general]
enabled = yes
webenabled=yes
port = 5038
bindaddr = 0.0.0.0
; No access is allowed by default.
; To set a password, create a file in /etc/asterisk/manager.d
; use creative permission games to allow other serivces to create their own
; files
#[admin]
# secret = securePassword
# read = system,call,log,verbose,command,agent,config
# write = system,call,log,verbose,command,agent,config

View file

@ -1,78 +0,0 @@
#
# Copyright (C) 2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk18-gui
PKG_VERSION:=2.1.0-rc1
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk-gui/releases/
PKG_SOURCE:=asterisk-gui-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=055bf2aaba365e696198925d039ac3cb
PKG_BUILD_DIR:=$(BUILD_DIR)/asterisk18-gui-$(PKG_VERSION)
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/asterisk18-gui
SECTION:=admin
CATEGORY:=Administration
TITLE:=Asterisk GUI for Asterisk 1.8.x
DEPENDS:=+@PACKAGE_asterisk18 +asterisk18-chan-local +asterisk18-app-exec +asterisk18-app-system
VERSION:=$(PKG_VERSION)
endef
define Package/asterisk18-gui/description
Asterisk18 GUI is a framework for the creation of graphical interfaces
for configuring Asterisk-1.8.x package.
endef
EXTRA_CFLAGS:=$(TARGET_CPPFLAGS)
EXTRA_LDFLAGS:=$(TARGET_LDFLAGS)
define Build/Prepare
rm -rf $(PKG_BUILD_DIR)/
mkdir -p $(PKG_BUILD_DIR)/
$(TAR) -xzf $(DL_DIR)/$(PKG_SOURCE) -C $(PKG_BUILD_DIR) --strip 1
$(Build/Patch)
endef
define Build/Configure
( cd $(PKG_BUILD_DIR); ./bootstrap.sh )
$(call Build/Configure/Default, \
--build=$(GNU_HOST_NAME) \
--host=$(GNU_TARGET_NAME) \
--target=$(GNU_TARGET_NAME) \
--prefix=/usr \
--disable-nls \
--disable-static \
--localstatedir="/usr" \
--sysconfdir="/etc" \
)
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)"
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
endef
define Package/asterisk18-gui/install
$(INSTALL_DIR) $(1)/etc/asterisk/
$(CP) ./files/gui_* $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) ./files/asterisk-gui.init $(1)/etc/init.d/asterisk-gui
$(INSTALL_DIR) $(1)/usr/lib/asterisk/static-http
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/static-http/* $(1)/usr/lib/asterisk/static-http
$(INSTALL_DIR) $(1)/usr/lib/asterisk/scripts
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/scripts/* $(1)/usr/lib/asterisk/scripts
$(INSTALL_DIR) $(1)/usr/lib/asterisk/gui_backups
endef
$(eval $(call BuildPackage,asterisk18-gui))

View file

@ -1,20 +0,0 @@
#!/bin/sh /etc/rc.common
START=99
start() {
[ ! -L /var/lib/asterisk ] && {
mkdir /var/lib -p
ln -sf /usr/lib/asterisk /var/lib/asterisk
}
}
stop() {
[ -L /var/lib/asterisk ] && {
rm /var/lib/asterisk
}
}
restart() {
stop
start
}

View file

@ -1,41 +0,0 @@
;
; Asterisk Builtin mini-HTTP server
;
;
[general]
;
; Whether HTTP interface is enabled or not. Default is no.
;
enabled=yes
;
; Whether Asterisk should serve static content from http-static
; Default is no.
;
enablestatic=yes
;
; Address to bind to. Default is 0.0.0.0
;
bindaddr=0.0.0.0
;
; Port to bind to (default is 8088)
;
bindport=8088
;
; Prefix allows you to specify a prefix for all requests
; to the server. The default is "asterisk" so that all
; requests must begin with /asterisk
;
;prefix=asterisk
; The post_mappings section maps URLs to real paths on the filesystem. If a
; POST is done from within an authenticated manager session to one of the
; configured POST mappings, then any files in the POST will be placed in the
; configured directory.
;
;[post_mappings]
;
; In this example, if the prefix option is set to "asterisk", then using the
; POST URL: /asterisk/uploads will put files in /var/lib/asterisk/uploads/.
;uploads = /var/lib/asterisk/uploads/
;

View file

@ -1,21 +0,0 @@
;
; Asterisk Call Management support
;
; By default asterisk will listen on localhost only.
[general]
enabled = yes
webenabled=yes
port = 5038
bindaddr = 0.0.0.0
; No access is allowed by default.
; To set a password, create a file in /etc/asterisk/manager.d
; use creative permission games to allow other serivces to create their own
; files
#[admin]
# secret = securePassword
# read = system,call,log,verbose,command,agent,config
# write = system,call,log,verbose,command,agent,config