diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2004-04-16 22:12:51 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2004-04-16 22:12:51 +0000 |
commit | 243858f2dfa515e6089438e44597fe26c86648ee (patch) | |
tree | 3aba99b5f9b03cd046af573c789b10a5c4980b8d /net-misc/asterisk | |
parent | (Manifest recommit) (diff) | |
download | gentoo-2-243858f2dfa515e6089438e44597fe26c86648ee.tar.gz gentoo-2-243858f2dfa515e6089438e44597fe26c86648ee.tar.bz2 gentoo-2-243858f2dfa515e6089438e44597fe26c86648ee.zip |
fix broken voicemail webapp (#46182)
Diffstat (limited to 'net-misc/asterisk')
-rw-r--r-- | net-misc/asterisk/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-0.7.2.ebuild | 17 |
2 files changed, 16 insertions, 6 deletions
diff --git a/net-misc/asterisk/ChangeLog b/net-misc/asterisk/ChangeLog index 8ee85a4a2dbf..d8933d2a29c6 100644 --- a/net-misc/asterisk/ChangeLog +++ b/net-misc/asterisk/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/asterisk # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.13 2004/03/16 00:37:00 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.14 2004/04/16 22:12:51 stkn Exp $ + + 17 Apr 2004; Stefan Knoblich <stkn@gentoo.org> asterisk-0.7.2.ebuild: + Fix broken voicemail webapp (#46182) 16 Mar 2004; Stefan Knoblich <stkn@gentoo.org> asterisk-0.7.2.ebuild: asterisk-0.7.2 depends on zaptel/zapata >=0.8.1 now diff --git a/net-misc/asterisk/asterisk-0.7.2.ebuild b/net-misc/asterisk/asterisk-0.7.2.ebuild index 1bf835a9ac78..8fbf14a209d4 100644 --- a/net-misc/asterisk/asterisk-0.7.2.ebuild +++ b/net-misc/asterisk/asterisk-0.7.2.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-0.7.2.ebuild,v 1.5 2004/03/16 00:37:00 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-0.7.2.ebuild,v 1.6 2004/04/16 22:12:51 stkn Exp $ IUSE="doc alsa mysql gtk mmx nopri nozaptel noiax vhosts" -inherit eutils webapp +inherit eutils webapp-apache DESCRIPTION="Asterisk: A Modular Open Source PBX System" HOMEPAGE="http://www.asterisk.org/" @@ -27,8 +27,15 @@ DEPEND="virtual/glibc >=net-libs/zapata-0.8.1 )" pkg_setup() { - webapp-pkg_setup - einfo "Voicemail webapp will be installed into: ${ROOT}${HTTPD_ROOT}" + NO_WEBSERVER=0 + + webapp-detect || NO_WEBSERVER=1 + webapp-pkg_setup "${NO_WEBSERVER}" + if [ $NO_WEBSERVER -eq 0 ]; then + einfo "Voicemail webapp will be installed into: ${ROOT}${HTTPD_ROOT}" + else + einfo "Skipping installation of Voicemail webapp" + fi } src_unpack() { @@ -69,7 +76,7 @@ src_install() { emake -j1 DESTDIR=${D} progdocs # voicemail webapp - if [ -z $NO_WEBSERVER ]; then + if [ $NO_WEBSERVER -eq 0 ]; then einfo "Installing voicemail webapp" insinto ${HTTPD_CGIBIN} doins contrib/scripts/vmail.cgi |