summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-01-27 20:06:50 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-01-27 20:06:50 +0000
commitced016e257d43f3535003bc76fbb039ad8b218db (patch)
treeca9b26b1e48c9e79ee03fccc55ed439be7014637 /net-misc/asterisk
parentVersion bump; fix bug #79755. Remove ebuilds for old versions. (diff)
downloadgentoo-2-ced016e257d43f3535003bc76fbb039ad8b218db.tar.gz
gentoo-2-ced016e257d43f3535003bc76fbb039ad8b218db.tar.bz2
gentoo-2-ced016e257d43f3535003bc76fbb039ad8b218db.zip
removing old versions
Diffstat (limited to 'net-misc/asterisk')
-rw-r--r--net-misc/asterisk/ChangeLog8
-rw-r--r--net-misc/asterisk/asterisk-0.2.0.ebuild33
-rw-r--r--net-misc/asterisk/asterisk-0.5.0.ebuild142
-rw-r--r--net-misc/asterisk/files/0.5.0/asterisk-0.5.0-Makefile-samples.patch45
-rw-r--r--net-misc/asterisk/files/0.5.0/asterisk-0.5.0-makefile-fix.diff39
-rw-r--r--net-misc/asterisk/files/0.5.0/asterisk.confd10
-rw-r--r--net-misc/asterisk/files/0.5.0/asterisk.rc620
-rw-r--r--net-misc/asterisk/files/digest-asterisk-0.2.01
-rw-r--r--net-misc/asterisk/files/digest-asterisk-0.5.01
9 files changed, 7 insertions, 292 deletions
diff --git a/net-misc/asterisk/ChangeLog b/net-misc/asterisk/ChangeLog
index 7b9072d8da72..a3fb39361ec3 100644
--- a/net-misc/asterisk/ChangeLog
+++ b/net-misc/asterisk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/asterisk
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.30 2005/01/25 05:17:44 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.31 2005/01/27 20:05:02 stkn Exp $
+
+ 27 Jan 2005; Stefan Knoblich <stkn@gentoo.org>
+ -files/0.5.0/asterisk-0.5.0-Makefile-samples.patch,
+ -files/0.5.0/asterisk-0.5.0-makefile-fix.diff, -files/0.5.0/asterisk.confd,
+ -files/0.5.0/asterisk.rc6, -asterisk-0.2.0.ebuild, -asterisk-0.5.0.ebuild:
+ removing old versions
24 Jan 2005; Brian Jackson <iggy@gentoo.org> asterisk-1.0.1.ebuild,
asterisk-1.0.2.ebuild, asterisk-1.0.3.ebuild:
diff --git a/net-misc/asterisk/asterisk-0.2.0.ebuild b/net-misc/asterisk/asterisk-0.2.0.ebuild
deleted file mode 100644
index aabb90b67647..000000000000
--- a/net-misc/asterisk/asterisk-0.2.0.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-0.2.0.ebuild,v 1.13 2005/01/25 05:17:44 iggy Exp $
-
-IUSE="doc"
-
-DESCRIPTION="Asterisk - Full PBX in Software"
-HOMEPAGE="http://www.asterisk.org"
-SRC_URI="ftp://ftp.asterisk.org/pub/telephony/${PN}/old-releases/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86"
-
-DEPEND="virtual/libc
- =sys-apps/sed-4*
- doc? ( app-doc/doxygen )"
-
-src_compile() {
-
- emake -j1 || die
-
- # One small error in Makefile
- sed -i 's:mkdir -p /etc/asterisk:mkdir -p $(INSTALL_PREFIX)/etc/asterisk:' \
- ${S}/Makefile
-}
-
-src_install () {
-
- make INSTALL_PREFIX=${D} install || die
- make INSTALL_PREFIX=${D} samples || die
- use doc && make INSTALL_PREFIX=${D} progdocs
-}
diff --git a/net-misc/asterisk/asterisk-0.5.0.ebuild b/net-misc/asterisk/asterisk-0.5.0.ebuild
deleted file mode 100644
index 347bacabe517..000000000000
--- a/net-misc/asterisk/asterisk-0.5.0.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-0.5.0.ebuild,v 1.8 2005/01/25 05:17:44 iggy Exp $
-
-IUSE="doc alsa mysql gtk mmx nopri nozaptel noiax"
-
-inherit eutils webapp-apache
-
-DESCRIPTION="Asterisk: A Modular Open Source PBX System"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-
-DEPEND="virtual/libc
- media-sound/mpg123
- doc? ( app-doc/doxygen )
- alsa? ( media-libs/alsa-lib )
- mysql? ( dev-db/mysql )
- gtk? ( =x11-libs/gtk+-1.2* )
- !noiax? ( >=net-libs/iax-0.2.2 )
- !nopri? ( >=net-libs/libpri-0.4 )
- !nozaptel? ( >=net-misc/zaptel-0.7
- >=net-libs/zapata-0.7 )"
-
-webapp-detect || NO_WEBSERVER=1
-
-pkg_setup() {
- if [ -z $NO_WEBSERVER ]; then
- webapp-pkg_setup "${NO_WEBSERVER}"
- einfo "Voicemail webapp will be installed into: ${ROOT}${HTTPD_ROOT}"
- else
- ewarn "Voicemail webapp will _not_ be installed"
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/${PV}/${P}-Makefile-samples.patch
-
- # fix some symlinks created during installation
- epatch ${FILESDIR}/${PV}/${P}-makefile-fix.diff
-
- # set cflags & mmx optimization
- sed -i -e "s:^\(OPTIMIZE=\).*:\1 ${CFLAGS}:" Makefile
-
- if use mmx; then
- einfo "enabling mmx optimization"
- sed -i -e "s:^#\(K6OPT.*\):\1:" Makefile
- fi
-
- # change image path in voicemail cgi
- sed -i -e "s:^\(\$astpath = \).*:\1 \"/asterisk\";:" vmail.cgi
-
- #
- # additional plugins
- #
-
-# # include h323 extension
-# if ! use noh323; then
-# # i know, this is really hard ;)
-# cd ${WORKDIR}/asterisk-oh323-${H323_VERSION}
-# epatch ${FILESDIR}/${PV}/${P}-oh323-${H323_VERSION}.diff
-# sed -i -e "s:^\(ASTERISKSRCDIR\).*:\1 = ${S}:" Makefile
-# fi
-}
-
-src_compile() {
- # build asterisk first...
- einfo "Building Asterisk..."
- cd ${S}
- emake -j1 || die "Make failed"
-
- einfo "Building additional plugins..."
-# # h323 extension
-# if ! use noh323; then
-# cd ${WORKDIR}/asterisk-oh323-${H323_VERSION}
-# emake -j1 || die "Building h323 extension failed"
-# fi
-}
-
-src_install() {
- emake -j1 INSTALL_PREFIX=${D} install || die "Make install failed"
- emake -j1 INSTALL_PREFIX=${D} samples || die "Make install samples failed"
-
- # install addmailbox
- dosbin addmailbox
-
- # documentation
- use doc && \
- emake -j1 INSTALL_PREFIX=${D} progdocs
-
- # voicemail webapp
- if [ -z $NO_WEBSERVER ]; then
- einfo "Installing voicemail webapp"
- insinto ${HTTPD_CGIBIN}
- doins vmail.cgi
- fperms 1755 ${HTTPD_CGIBIN}/vmail.cgi
-
- insinto ${HTTPD_ROOT}/asterisk
- for i in "images/*.gif"; do
- doins $i
- done
- fi
-
- # install necessary files
- dodir /etc/env.d
- echo "LD_LIBRARY_PATH=\"/usr/lib/asterisk\"" > ${D}/etc/env.d/25asterisk
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/${PV}/asterisk.rc6 asterisk
-
- insinto /etc/conf.d
- newins ${FILESDIR}/${PV}/asterisk.confd asterisk
-
- #
- # install plugins
- #
- einfo "Installing additional plugins..."
-
-# # h323 extension
-# if ! use noh323; then
-# cd ${WORKDIR}/asterisk-oh323-${H323_VERSION}
-# emake -j1 DESTDIR=${D} install || die "h323 extension make install failed"
-# fi
-}
-
-pkg_postinst() {
- einfo "Asterisk has been installed"
- einfo ""
- einfo "to add new Mailboxes use: /usr/sbin/addmailbox"
- einfo ""
- einfo "If you want to know more about asterisk, visit these sites:"
- einfo "http://www.automated.it/guidetoasterisk.htm"
- einfo "http://asterisk.xvoip.com/"
- einfo "http://www.voip-info.org/wiki-Asterisk"
- einfo "http://ns1.jnetdns.de/jn/relaunch/asterisk/"
-}
diff --git a/net-misc/asterisk/files/0.5.0/asterisk-0.5.0-Makefile-samples.patch b/net-misc/asterisk/files/0.5.0/asterisk-0.5.0-Makefile-samples.patch
deleted file mode 100644
index 517360155d41..000000000000
--- a/net-misc/asterisk/files/0.5.0/asterisk-0.5.0-Makefile-samples.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- asterisk/Makefile.orig 2003-10-06 21:47:55.000000000 -0400
-+++ asterisk/Makefile 2003-10-06 21:48:40.000000000 -0400
-@@ -150,7 +150,7 @@
- @echo " + $(MAKE) install +"
- @echo " +-------------------------------------------+"
-
--all: depend asterisk subdirs
-+all: depend configs/asterisk.conf.sample asterisk subdirs
-
- editline/config.h:
- cd editline && unset CFLAGS LIBS && ./configure ; \
-@@ -243,6 +243,17 @@
- done
- mkdir -p $(AGI_DIR)
-
-+# Added for Gentoo to pick up the proper directories.
-+configs/asterisk.conf.sample:
-+ echo "[directories]" > configs/asterisk.conf.sample
-+ echo "astetcdir => $(ASTETCDIR)" >> configs/asterisk.conf.sample
-+ echo "astmoddir => $(MODULES_DIR)" >> configs/asterisk.conf.sample
-+ echo "astvarlibdir => $(ASTVARLIBDIR)" >> configs/asterisk.conf.sample
-+ echo "astagidir => $(AGI_DIR)" >> configs/asterisk.conf.sample
-+ echo "astspooldir => $(ASTSPOOLDIR)" >> configs/asterisk.conf.sample
-+ echo "astrundir => $(ASTVARRUNDIR)" >> configs/asterisk.conf.sample
-+ echo "astlogdir => $(ASTLOGDIR)" >> configs/asterisk.conf.sample
-+
- update:
- @if [ -d CVS ]; then \
- echo "Updating from CVS..." ; \
-@@ -326,14 +337,7 @@
- fi ; \
- install $$x $(ASTETCDIR)/`basename $$x .sample` ;\
- done
-- echo "[directories]" > $(ASTETCDIR)/asterisk.conf
-- echo "astetcdir => $(ASTETCDIR)" >> $(ASTETCDIR)/asterisk.conf
-- echo "astmoddir => $(MODULES_DIR)" >> $(ASTETCDIR)/asterisk.conf
-- echo "astvarlibdir => $(ASTVARLIBDIR)" >> $(ASTETCDIR)/asterisk.conf
-- echo "astagidir => $(AGI_DIR)" >> $(ASTETCDIR)/asterisk.conf
-- echo "astspooldir => $(ASTSPOOLDIR)" >> $(ASTETCDIR)/asterisk.conf
-- echo "astrundir => $(ASTVARRUNDIR)" >> $(ASTETCDIR)/asterisk.conf
-- echo "astlogdir => $(ASTLOGDIR)" >> $(ASTETCDIR)/asterisk.conf
-+
- for x in sounds/demo-*; do \
- if grep -q "^%`basename $$x`%" sounds.txt; then \
- install $$x $(ASTVARLIBDIR)/sounds ; \
diff --git a/net-misc/asterisk/files/0.5.0/asterisk-0.5.0-makefile-fix.diff b/net-misc/asterisk/files/0.5.0/asterisk-0.5.0-makefile-fix.diff
deleted file mode 100644
index 4049d7fefb82..000000000000
--- a/net-misc/asterisk/files/0.5.0/asterisk-0.5.0-makefile-fix.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- Makefile.orig 2003-09-02 02:33:42.000000000 +0200
-+++ Makefile 2004-01-09 03:08:03.490328624 +0100
-@@ -269,15 +280,15 @@
- mkdir -p $(ASTSPOOLDIR)/voicemail/default; \
- rm -f $(ASTSPOOLDIR)/vm; \
- fi
-- ln -s $(ASTSPOOLDIR)/voicemail/default $(ASTSPOOLDIR)/vm
-+ ln -s $(subst $(INSTALL_PREFIX),,$(ASTSPOOLDIR))/voicemail/default $(ASTSPOOLDIR)/vm
- rm -f $(MODULES_DIR)/chan_ixj.so
- rm -f $(MODULES_DIR)/chan_tor.so
- mkdir -p $(ASTVARLIBDIR)/sounds
- mkdir -p $(ASTLOGDIR)/cdr-csv
- mkdir -p $(ASTVARLIBDIR)/keys
- install -m 644 keys/iaxtel.pub $(ASTVARLIBDIR)/keys
-- ( cd $(ASTVARLIBDIR)/sounds ; ln -s $(ASTSPOOLDIR)/vm . )
-- ( cd $(ASTVARLIBDIR)/sounds ; ln -s $(ASTSPOOLDIR)/voicemail . )
-+ ( cd $(ASTVARLIBDIR)/sounds ; ln -s $(subst $(INSTALL_PREFIX),,$(ASTSPOOLDIR))/vm . )
-+ ( cd $(ASTVARLIBDIR)/sounds ; ln -s $(subst $(INSTALL_PREFIX),,$(ASTSPOOLDIR))/voicemail . )
- @echo " +---- Asterisk Installation Complete -------+"
- @echo " + +"
- @echo " + YOU MUST READ THE SECURITY DOCUMENT +"
-@@ -340,13 +344,13 @@
- install $$x $(ASTVARLIBDIR)/mohmp3 ; \
- done
- mkdir -p $(ASTSPOOLDIR)/voicemail/default/1234/INBOX
-- :> $(ASTVARLIBDIR)/sounds/voicemail/default/1234/unavail.gsm
-+ :> $(ASTSPOOLDIR)/voicemail/default/1234/unavail.gsm
- for x in vm-theperson digits/1 digits/2 digits/3 digits/4 vm-isunavail; do \
-- cat $(ASTVARLIBDIR)/sounds/$$x.gsm >> $(ASTVARLIBDIR)/sounds/voicemail/default/1234/unavail.gsm ; \
-+ cat $(ASTVARLIBDIR)/sounds/$$x.gsm >> $(ASTSPOOLDIR)/voicemail/default/1234/unavail.gsm ; \
- done
-- :> $(ASTVARLIBDIR)/sounds/voicemail/default/1234/busy.gsm
-+ :> $(ASTSPOOLDIR)/voicemail/default/1234/busy.gsm
- for x in vm-theperson digits/1 digits/2 digits/3 digits/4 vm-isonphone; do \
-- cat $(ASTVARLIBDIR)/sounds/$$x.gsm >> $(ASTVARLIBDIR)/sounds/voicemail/default/1234/busy.gsm ; \
-+ cat $(ASTVARLIBDIR)/sounds/$$x.gsm >> $(ASTSPOOLDIR)/voicemail/default/1234/busy.gsm ; \
- done
-
- webvmail:
diff --git a/net-misc/asterisk/files/0.5.0/asterisk.confd b/net-misc/asterisk/files/0.5.0/asterisk.confd
deleted file mode 100644
index 5461637a4ce9..000000000000
--- a/net-misc/asterisk/files/0.5.0/asterisk.confd
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/files/0.5.0/asterisk.confd,v 1.3 2004/07/14 23:54:29 agriffis Exp $
-
-#
-# see "asterisk -h" for a list of options
-#
-#
-
-#OPTIONS=""
diff --git a/net-misc/asterisk/files/0.5.0/asterisk.rc6 b/net-misc/asterisk/files/0.5.0/asterisk.rc6
deleted file mode 100644
index fcde364f288d..000000000000
--- a/net-misc/asterisk/files/0.5.0/asterisk.rc6
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/files/0.5.0/asterisk.rc6,v 1.3 2004/07/14 23:54:29 agriffis Exp $
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting asterisk PBX"
- /usr/sbin/asterisk ${OPTIONS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping asterisk PBX"
- /usr/sbin/asterisk -r -x "STOP NOW" 2>/dev/null
- eend $?
-}
diff --git a/net-misc/asterisk/files/digest-asterisk-0.2.0 b/net-misc/asterisk/files/digest-asterisk-0.2.0
deleted file mode 100644
index 5cbd38ebc217..000000000000
--- a/net-misc/asterisk/files/digest-asterisk-0.2.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a9d6b5f0c34dc7fff0806949144713ab asterisk-0.2.0.tar.gz 1881664
diff --git a/net-misc/asterisk/files/digest-asterisk-0.5.0 b/net-misc/asterisk/files/digest-asterisk-0.5.0
deleted file mode 100644
index e9fba8409f5b..000000000000
--- a/net-misc/asterisk/files/digest-asterisk-0.5.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6daf4091a62933d74fb8650f00b22374 asterisk-0.5.0.tar.gz 2723070