removed asterisk-gui, fixed asterisk rc.d file

This commit is contained in:
Kevin Mihelich 2011-03-30 11:57:49 -04:00
parent 3666dfc4fe
commit 698adb8592
3 changed files with 4 additions and 25 deletions

View file

@ -1,21 +0,0 @@
# Maintainer: Tony Lambiris <tony@libpcap.net>
plugrel=1
pkgname=asterisk-gui
pkgver=2.0.4
pkgrel=1
pkgdesc="The official GUI for Asterisk PBX systems."
arch=(i686 x86_64)
url="http://downloads.asterisk.org/pub/telephony/asterisk-gui/releases/"
license=('GPL')
depends=('asterisk')
source=(http://downloads.asterisk.org/pub/telephony/asterisk-gui/releases/$pkgname-$pkgver.tar.gz)
md5sums=('3d6fd503c37317c132db9c4c883dbb73')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR="$pkgdir" install
}

View file

@ -3,11 +3,11 @@
# PlugApps: pepe le dog
# - added --build option to configure
plugrel=1
plugrel=2
pkgname=asterisk
pkgver=1.8.2.3
pkgrel=1
pkgrel=1.${plugrel}
pkgdesc="A complete PBX solution"
arch=('i686' 'x86_64')
url="http://www.asterisk.org"
@ -20,7 +20,7 @@ source=(http://downloads.digium.com/pub/asterisk/releases/asterisk-$pkgver.tar.g
asterisk.logrotated)
install=$pkgname.install
md5sums=('e394b63dd71c07497620dc12883e0b80'
'300efd73ec5e627889786deace5a2094'
'59146273738605f1e011d8e7bed3561a'
'486e07a0a1405ea25ec5b1736034653e')
build() {

View file

@ -8,7 +8,7 @@ PID=`pidof -o %PPID /usr/sbin/asterisk`
case "$1" in
start)
stat_busy "Starting Asterisk"
[ -z "$PID" ] && /usr/sbin/asterisk -G asterisk -U asterisk
[ -z "$PID" ] && cd /var/lib/asterisk && /usr/sbin/asterisk -G asterisk -U asterisk
if [ $? -gt 0 ]; then
stat_fail
else