summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-06-24 16:49:19 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-06-24 16:49:19 +0000
commitdd98505b5df70f1ebde4c26a0c1d3393056be24a (patch)
tree21621b19ac309a43998e5f17183db02887a981cd /net-misc
parentAdded 1.0.7 security fix to non-root backport ebuilds, restoring ~* keywords (diff)
downloadgentoo-2-dd98505b5df70f1ebde4c26a0c1d3393056be24a.tar.gz
gentoo-2-dd98505b5df70f1ebde4c26a0c1d3393056be24a.tar.bz2
gentoo-2-dd98505b5df70f1ebde4c26a0c1d3393056be24a.zip
Removing old ebuilds without security update
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/asterisk/ChangeLog6
-rw-r--r--net-misc/asterisk/asterisk-1.0.5-r1.ebuild259
-rw-r--r--net-misc/asterisk/asterisk-1.0.5.ebuild231
-rw-r--r--net-misc/asterisk/asterisk-1.0.6.ebuild319
-rw-r--r--net-misc/asterisk/asterisk-1.0.7.ebuild353
-rw-r--r--net-misc/asterisk/files/digest-asterisk-1.0.53
-rw-r--r--net-misc/asterisk/files/digest-asterisk-1.0.5-r13
-rw-r--r--net-misc/asterisk/files/digest-asterisk-1.0.63
-rw-r--r--net-misc/asterisk/files/digest-asterisk-1.0.73
9 files changed, 5 insertions, 1175 deletions
diff --git a/net-misc/asterisk/ChangeLog b/net-misc/asterisk/ChangeLog
index 673ff0d306d8..73ac0b27c133 100644
--- a/net-misc/asterisk/ChangeLog
+++ b/net-misc/asterisk/ChangeLog
@@ -1,6 +1,10 @@
# 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.59 2005/06/24 16:46:21 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.60 2005/06/24 16:49:19 stkn Exp $
+
+ 24 Jun 2005; Stefan Knoblich <stkn@gentoo.org> -asterisk-1.0.5-r1.ebuild,
+ -asterisk-1.0.5.ebuild, -asterisk-1.0.6.ebuild, -asterisk-1.0.7.ebuild:
+ Removing old ebuilds without security update.
24 Jun 2005; Stefan Knoblich <stkn@gentoo.org> asterisk-1.0.5-r2.ebuild,
asterisk-1.0.6-r1.ebuild:
diff --git a/net-misc/asterisk/asterisk-1.0.5-r1.ebuild b/net-misc/asterisk/asterisk-1.0.5-r1.ebuild
deleted file mode 100644
index bf416d975484..000000000000
--- a/net-misc/asterisk/asterisk-1.0.5-r1.ebuild
+++ /dev/null
@@ -1,259 +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-1.0.5-r1.ebuild,v 1.4 2005/05/30 03:17:48 solar Exp $
-
-IUSE="alsa doc gtk mmx mysql pri zaptel resperl debug postgres vmdbmysql vmdbpostgres"
-
-inherit eutils
-
-ADDONS_VERSION="1.0.4"
-SOUNDS_VERSION="1.0.2"
-
-DESCRIPTION="Asterisk: A Modular Open Source PBX System"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="ftp://ftp.asterisk.org/pub/telephony/asterisk/${P}.tar.gz
- ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-addons-${ADDONS_VERSION}.tar.gz
- ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-sounds-${SOUNDS_VERSION}.tar.gz"
-
-S=${WORKDIR}/${P}
-S_ADDONS=${WORKDIR}/${PN}-addons-${ADDONS_VERSION}
-S_SOUNDS=${WORKDIR}/${PN}-sounds-${SOUNDS_VERSION}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~hppa ~amd64"
-
-DEPEND="dev-libs/newt
- media-sound/mpg123
- media-sound/sox
- doc? ( app-doc/doxygen )
- gtk? ( =x11-libs/gtk+-1.2* )
- pri? ( >=net-libs/libpri-1.0.3 )
- alsa? ( media-libs/alsa-lib )
- mysql? ( dev-db/mysql )
- zaptel? ( >=net-misc/zaptel-1.0.3 )
- resperl? ( dev-lang/perl
- >=net-misc/zaptel-1.0.3 )
- postgres? ( dev-db/postgresql )
- vmdbmysql? ( dev-db/mysql )
- vmdbpostgres? ( dev-db/postgresql )"
-
-
-pkg_setup() {
- einfo "Running some pre-flight checks..."
- if use resperl; then
- # res_perl pre-flight check...
- if ! $(perl -V | grep -q "usemultiplicity=define"); then
- eerror "Embedded perl add-on needs Perl with built-in threads support"
- eerror "(rebuild perl with ithreads use-flag enabled)"
- die "Perl w/o threads support..."
- fi
- einfo "Perl with ithreads support found"
- fi
-
-
- # mysql and postgres voicemail support are mutually exclusive..
- if use vmdbmysql && use vmdbpostgres; then
- eerror "MySQL and PostgreSQL Voicemail support are mutually exclusive... choose one!"
- die "Conflicting use-flags"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # set cflags & mmx optimization
- sed -i -e "s:^\(OPTIMIZE+=\).*:\1 ${CFLAGS}:" \
- -e "s:^\(CFLAGS+=\$(shell if \$(CC)\):#\1:" \
- Makefile
-
- # gsm codec still uses -fomit-frame-pointer, and other codecs have their
- # own flags. We only change the arch.
- sed -i -e "s:^OPTIMIZE+=.*:OPTIMIZE+=${CFLAGS}:" codecs/gsm/Makefile
-
- if use mmx; then
- einfo "enabling mmx optimization"
- sed -i -e "s:^#\(K6OPT.*\):\1:" Makefile
- sed -i -e "s:^#\(K6OPT[\t ]\+= -DK6OPT\):\1:" codecs/gsm/Makefile
- fi
-
- if ! use debug; then
- einfo "disabling debugging"
- sed -i -e "s:^\(DEBUG=\):#\1:" Makefile
- fi
-
- # change image path in voicemail cgi
- sed -i -e "s:^\(\$astpath = \).*:\1 \"/asterisk\";:" contrib/scripts/vmail.cgi
-
- #
- # embedded perl
- #
- if use resperl; then
- einfo "Patching asterisk for embedded perl support..."
- epatch ${S_ADDONS}/res_perl/astmake.diff
-
- # create necessary .c file
- perl -MExtUtils::Embed -e xsinit || die "Could not create perlxsi.c"
-
- sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:" \
- ${S_ADDONS}/res_perl/Makefile \
- Makefile
- sed -i -e "s:^ASTSRC.*:ASTSRC = ${S}:" \
- -e "s:\$(ASTLIBDIR)/modules/\(res_musiconhold.so\):${S}/res/\1:" \
- ${S_ADDONS}/res_perl/Makefile
- fi
-
- #
- # uclibc patch
- #
- if use elibc_uclibc; then
- einfo "Patching asterisk for uclibc..."
- epatch ${FILESDIR}/1.0.0/${P}-uclibc-dns.diff
- fi
-
- #
- # other patches
- #
-
- # asterisk-config
- epatch ${FILESDIR}/1.0.0/${P}-astcfg-0.0.2.diff
-
- # fix include path for speex >= 1.1.0
- epatch ${FILESDIR}/1.0.0/${P}-speex.diff
-
- # hppa build fix
- epatch ${FILESDIR}/1.0.0/${P}-hppa.patch
-
- #
- # database voicemail support
- #
- if use postgres; then
- sed -i -e "s:^#\(APPS+=app_sql_postgres.so\):\1:" \
- -e "s:/usr/local/pgsql/include:/usr/include/postgresql/pgsql:" \
- -e "s:/usr/local/pgsql/lib:/usr/lib/postgresql:" \
- apps/Makefile
- fi
-
- if use vmdbpostgres; then
- einfo "Enabling PostgreSQL voicemail support"
- sed -i -e "s:^\(USE_POSTGRES_VM_INTERFACE\).*:\1=1:" \
- -e "s:/usr/local/pgsql/include:/usr/include/postgresql/pgsql:" \
- -e "s:/usr/local/pgsql/lib:/usr/lib/postgresql:" \
- apps/Makefile
-
- # patch app_voicemail.c
- sed -i -e "s:^#include <postgresql/libpq-fe\.h>:#include \"libpq-fe\.h\":" \
- apps/app_voicemail.c
-
- elif use vmdbmysql; then
- einfo "Enabling MySQL voicemail support"
- sed -i -e "s:^\(USE_MYSQL_VM_INTERFACE\).*:\1=1:" \
- -e "s:^\(CFLAGS+=-DUSEMYSQLVM\):\1 -I${S_ADDONS}:" \
- apps/Makefile
- fi
-
- #
- # asterisk add-ons
- #
- cd ${S_ADDONS}
- sed -i -e "s:-I../asterisk:-I${S} -I${S}/include:" Makefile
- sed -i -e "s:^OPTIMIZE+=.*:OPTIMIZE+=${CFLAGS}:" \
- -e "s:^\(CFLAGS=\)\(.*\):\1-I${S}/include -fPIC \2:" \
- format_mp3/Makefile
-}
-
-src_compile() {
- # build asterisk first...
- einfo "Building Asterisk..."
- cd ${S}
- emake -j1 || die "Make failed"
-
- #
- # add-ons
- #
- einfo "Building additional stuff..."
- cd ${S_ADDONS}
- emake -j1 || die "Make failed"
-
- if use resperl; then
- cd ${S_ADDONS}/res_perl
- emake -j1 || die "Building embedded perl failed"
- fi
-}
-
-src_install() {
- emake -j1 DESTDIR=${D} install || die "Make install failed"
- emake -j1 DESTDIR=${D} samples || die "Make install samples failed"
-
- # install addmailbox and astgenkey
- dosbin contrib/scripts/addmailbox
- dosbin contrib/scripts/astgenkey
-
- # documentation
- use doc && \
- emake -j1 DESTDIR=${D} progdocs
-
-# rem # 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}/1.0.0/asterisk.rc6 asterisk
-
- insinto /etc/conf.d
- newins ${FILESDIR}/1.0.0/asterisk.confd asterisk
-
- # don't delete these, even if they are empty
- keepdir /var/spool/asterisk/voicemail/default/1234/INBOX
- keepdir /var/log/asterisk/cdr-csv
-
- # install standard docs...
- dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm SECURITY
-
- docinto scripts
- dodoc contrib/scripts/*
- docinto firmware/iax
- dodoc contrib/firmware/iax/*
-
- insinto /usr/share/doc/${PF}/cgi
- doins contrib/scripts/vmail.cgi
- for i in "images/*.gif"; do
- doins $i
- done
-
- #
- # sounds + add-ons
- #
-
- # install additional sounds...
- einfo "Installing additional sounds..."
- cd ${S_SOUNDS}
- emake -j1 DESTDIR=${D} install || die "Make install failed"
-
- # install additional modules...
- einfo "Installing additional modules..."
- cd ${S_ADDONS}
- emake -j1 INSTALL_PREFIX=${D} install || die "Make install failed"
-
- if use resperl; then
- cd ${S_ADDONS}/res_perl
-
- # copy plugin because -rpath and stuff only works for lib*.* files and we don't want
- # res_perl.so to look at the wrong places... (ugly but works)
- cp ${S}/res/res_musiconhold.so . || die "Could not copy musiconhold plugin, needed by res_perl!"
- emake -j1 INSTALL_PREFIX=${D} install || die "Installation of perl AST_API 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/asterisk-1.0.5.ebuild b/net-misc/asterisk/asterisk-1.0.5.ebuild
deleted file mode 100644
index 640fb868d346..000000000000
--- a/net-misc/asterisk/asterisk-1.0.5.ebuild
+++ /dev/null
@@ -1,231 +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-1.0.5.ebuild,v 1.3 2005/05/30 03:17:48 solar Exp $
-
-IUSE="alsa doc gtk mmx mysql pri zaptel resperl debug"
-
-inherit eutils
-
-DESCRIPTION="Asterisk: A Modular Open Source PBX System"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="ftp://ftp.asterisk.org/pub/telephony/asterisk/${P}.tar.gz
- ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-addons-1.0.4.tar.gz
- ftp://ftp.asterisk.org/pub/telephony/asterisk/${PN}-sounds-1.0.1.tar.gz"
-
-S=${WORKDIR}/${P}
-S_ADDONS=${WORKDIR}/${PN}-addons-1.0.4
-S_SOUNDS=${WORKDIR}/${PN}-sounds-1.0.1
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc"
-
-DEPEND="dev-libs/newt
- media-sound/mpg123
- media-sound/sox
- doc? ( app-doc/doxygen )
- gtk? ( =x11-libs/gtk+-1.2* )
- pri? ( >=net-libs/libpri-1.0.3 )
- alsa? ( media-libs/alsa-lib )
- mysql? ( dev-db/mysql )
- zaptel? ( >=net-misc/zaptel-1.0.3 )
- resperl? ( dev-lang/perl
- >=net-misc/zaptel-1.0.3 )"
-
-
-changes_message() {
- ewarn "Important changes since 1.0.0:"
- ewarn ""
- ewarn "- Voicemail Webapp has been removed!"
- ewarn " (files are in /usr/share/doc/${PF}/cgi/ if you really need them)"
- ewarn ""
- ewarn "- Zaptel and PRI support are now disabled by default (see emerge -pv asterisk)"
- ewarn ""
- ewarn "- Support for embedded perl in the extensions file has been added"
- ewarn " (res_perl from asterisk-addons; \"resperl\" use-flag)"
- ewarn ""
- ewarn "- Should build with uclibc now (untested / experimental)"
- ewarn ""
-}
-
-pkg_setup() {
- changes_message
- ebeep
- epause 10
-
- einfo "Running some pre-flight checks..."
- if use resperl; then
- # res_perl pre-flight check...
- if ! $(perl -V | grep -q "usemultiplicity=define"); then
- eerror "Embedded perl add-on needs Perl with built-in threads support"
- eerror "(rebuild perl with ithreads use-flag enabled)"
- die "Perl w/o threads support..."
- fi
- einfo "Perl with ithreads support found"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # set cflags & mmx optimization
- sed -i -e "s:^\(OPTIMIZE+=\).*:\1 ${CFLAGS}:" Makefile
- # asterisk wants to set -march itself
- sed -i -e "s:^\(CFLAGS+=\$(shell if \$(CC)\):#\1:" Makefile
- # gsm codec still uses -fomit-frame-pointer, and other codecs have their
- # own flags. We only change the arch.
- sed -i -e "s:^OPTIMIZE+=.*:OPTIMIZE+=${CFLAGS}:" codecs/gsm/Makefile
-
- if use mmx; then
- einfo "enabling mmx optimization"
- sed -i -e "s:^#\(K6OPT.*\):\1:" Makefile
- fi
-
- if ! use debug; then
- einfo "disabling debugging"
- sed -i -e "s:^\(DEBUG=\):#\1:" Makefile
- fi
-
- # change image path in voicemail cgi
- sed -i -e "s:^\(\$astpath = \).*:\1 \"/asterisk\";:" contrib/scripts/vmail.cgi
-
- #
- # embedded perl
- #
- if use resperl; then
- einfo "Patching asterisk for embedded perl support..."
- epatch ${S_ADDONS}/res_perl/astmake.diff
-
- # create necessary .c file
- perl -MExtUtils::Embed -e xsinit || die "Could not create perlxsi.c"
-
- sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:" \
- ${S_ADDONS}/res_perl/Makefile \
- Makefile
- sed -i -e "s:^ASTSRC.*:ASTSRC = ${S}:" \
- -e "s:\$(ASTLIBDIR)/modules/\(res_musiconhold.so\):${S}/res/\1:" \
- ${S_ADDONS}/res_perl/Makefile
-
-## needs more testing...
-# # move perl stuff into /usr/lib/asterisk and symlink it
-# # with /etc/asterisk/perl (solves config protection trouble)
-# sed -i -e "s:\$(ASTETCDIR)/perl:\$(ASTLIBDIR)/perl:g" \
-# -e "s:\(mkdir \$(ASTLIBDIR)/perl \):\1; ln -s \$(subst \$(INSTALL_PREFIX),,\$(ASTLIBDIR))/perl \$(ASTETCDIR)/perl :" \
-# ${S_ADDONS}/res_perl/Makefile
- fi
-
- #
- # uclibc patch
- #
- if use elibc_uclibc; then
- einfo "Patching asterisk for uclibc..."
- epatch ${FILESDIR}/1.0.0/asterisk-uclibc-dns.diff
- fi
-
- #
- # other patches
- #
-
- #
- # asterisk add-ons
- #
- cd ${S_ADDONS}
- sed -i -e "s:^OPTIMIZE+=.*:OPTIMIZE+=${CFLAGS}:" format_mp3/Makefile
- sed -i -e "s:^\(CFLAGS=\)\(.*\):\1-I${S}/include \2:" format_mp3/Makefile
- sed -i -e "s:-I../asterisk:-I${S} -I${S}/include:" Makefile
-}
-
-src_compile() {
- # build asterisk first...
- einfo "Building Asterisk..."
- cd ${S}
- emake -j1 || die "Make failed"
-
- #
- # add-ons
- #
- einfo "Building additional stuff..."
- cd ${S_ADDONS}
- emake -j1 || die "Make failed"
-
- if use resperl; then
- cd ${S_ADDONS}/res_perl
- emake -j1 || die "Building embedded perl failed"
- fi
-}
-
-src_install() {
- emake -j1 DESTDIR=${D} install || die "Make install failed"
- emake -j1 DESTDIR=${D} samples || die "Make install samples failed"
-
- # install addmailbox and astgenkey
- dosbin contrib/scripts/addmailbox
- dosbin contrib/scripts/astgenkey
-
- # documentation
- use doc && \
- emake -j1 DESTDIR=${D} progdocs
-
- # 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}/1.0.0/asterisk.rc6 asterisk
-
- insinto /etc/conf.d
- newins ${FILESDIR}/1.0.0/asterisk.confd asterisk
-
- # don't delete these, even if they are empty
- keepdir /var/spool/asterisk/voicemail/default/1234/INBOX
- keepdir /var/log/asterisk/cdr-csv
-
- # install standard docs...
- dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm SECURITY
-
- docinto scripts
- dodoc contrib/scripts/*
- docinto firmware/iax
- dodoc contrib/firmware/iax/*
-
- insinto /usr/share/doc/${PF}/cgi
- doins contrib/scripts/vmail.cgi
- for i in "images/*.gif"; do
- doins $i
- done
-
- #
- # sounds + add-ons
- #
-
- # install additional sounds...
- einfo "Installing additional sounds..."
- cd ${S_SOUNDS}
- emake -j1 DESTDIR=${D} install || die "Make install failed"
-
- # install additional modules...
- einfo "Installing additional modules..."
- cd ${S_ADDONS}
- emake -j1 INSTALL_PREFIX=${D} install || die "Make install failed"
-
- if use resperl; then
- cd ${S_ADDONS}/res_perl
- emake -j1 INSTALL_PREFIX=${D} install || die "Installation of perl AST_API 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/"
- echo
-
- changes_message
-}
diff --git a/net-misc/asterisk/asterisk-1.0.6.ebuild b/net-misc/asterisk/asterisk-1.0.6.ebuild
deleted file mode 100644
index 84864cd02724..000000000000
--- a/net-misc/asterisk/asterisk-1.0.6.ebuild
+++ /dev/null
@@ -1,319 +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-1.0.6.ebuild,v 1.4 2005/05/30 03:17:48 solar Exp $
-
-IUSE="alsa doc gtk mmx mysql pri zaptel debug postgres vmdbmysql vmdbpostgres bri hardened speex"
-
-inherit eutils
-
-ADDONS_VERSION="1.0.6"
-BRI_VERSION="0.2.0-RC7k"
-
-DESCRIPTION="Asterisk: A Modular Open Source PBX System"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="ftp://ftp.asterisk.org/pub/telephony/${PN}/${P}.tar.gz
- ftp://ftp.asterisk.org/pub/telephony/${PN}/${PN}-addons-${ADDONS_VERSION}.tar.gz
- bri? ( http://www.junghanns.net/${PN}/downloads/bristuff-${BRI_VERSION}.tar.gz )"
-
-S=${WORKDIR}/${P}
-S_ADDONS=${WORKDIR}/${PN}-addons-${ADDONS_VERSION}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~hppa ~amd64"
-
-DEPEND="dev-libs/newt
- media-sound/mpg123
- media-sound/sox
- doc? ( app-doc/doxygen )
- gtk? ( =x11-libs/gtk+-1.2* )
- pri? ( >=net-libs/libpri-1.0.3 )
- bri? ( >=net-libs/libpri-1.0.6
- >=net-misc/zaptel-1.0.6 )
- alsa? ( media-libs/alsa-lib )
- mysql? ( dev-db/mysql )
- speex? ( media-libs/speex )
- zaptel? ( >=net-misc/zaptel-1.0.3 )
- postgres? ( dev-db/postgresql )
- vmdbmysql? ( dev-db/mysql )
- vmdbpostgres? ( dev-db/postgresql )"
-
-# resperl? ( dev-lang/perl
-# >=net-misc/zaptel-1.0.3 )
-
-pkg_setup() {
- einfo "Running some pre-flight checks..."
-# if use resperl; then
-# # res_perl pre-flight check...
-# if ! $(perl -V | grep -q "usemultiplicity=define"); then
-# eerror "Embedded perl add-on needs Perl with built-in threads support"
-# eerror "(rebuild perl with ithreads use-flag enabled)"
-# die "Perl w/o threads support..."
-# fi
-# einfo "Perl with ithreads support found"
-# fi
-
-
- # mysql and postgres voicemail support are mutually exclusive..
- if use vmdbmysql && use vmdbpostgres; then
- eerror "MySQL and PostgreSQL Voicemail support are mutually exclusive... choose one!"
- die "Conflicting use-flags"
- fi
-
- # check if zaptel and libpri have been built with bri enabled
- if use bri; then
- if ! built_with_use zaptel bri; then
- eerror "Re-emerge zaptel with bri use-flag enabled!"
- die "Zaptel without bri support detected"
- fi
-
- if ! built_with_use libpri bri; then
- eerror "Re-emerge libpri with bri use-flag enabled!"
- die "Libpri without bri support detected"
- fi
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # set cflags & mmx optimization
- sed -i -e "s:^\(OPTIMIZE+=\).*:\1 ${CFLAGS}:" \
- -e "s:^\(CFLAGS+=\$(shell if \$(CC)\):#\1:" \
- Makefile
-
- # gsm codec still uses -fomit-frame-pointer, and other codecs have their
- # own flags. We only change the arch.
- sed -i -e "s:^OPTIMIZE+=.*:OPTIMIZE=${CFLAGS}:" \
- -e "s:^CFLAGS[\t ]\++=:CFLAGS =:" \
- codecs/gsm/Makefile
-
- # hppa patch for gsm codec
- epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-hppa.patch
-
- if use mmx; then
- if ! use hardened; then
- einfo "Enabling mmx optimization"
- sed -i -e "s:^#\(K6OPT[\t ]\+= -DK6OPT\):\1:" \
- codecs/gsm/Makefile
- else
- ewarn "Hardened use-flag is set, not enabling mmx optimization for codec_gsm!"
-
- fi
- fi
- if ! use mmx || use hardened; then
- # don't build + link asm mmx object file
- # without this codec_gsm.so will include text relocations
- sed -i -e "/k6opt\.\(s\|o\)/ d" \
- codecs/gsm/Makefile
- fi
-
- if ! use debug; then
- einfo "Disabling debugging"
- sed -i -e "s:^\(DEBUG=\):#\1:" Makefile
- fi
-
- # change image path in voicemail cgi
- sed -i -e "s:^\(\$astpath = \).*:\1 \"/asterisk\";:" contrib/scripts/vmail.cgi
-
- #
- # embedded perl
- #
-# if use resperl; then
-# einfo "Patching asterisk for embedded perl support..."
-# epatch ${S_ADDONS}/res_perl/astmake.diff
-#
-# # create necessary .c file
-# perl -MExtUtils::Embed -e xsinit || die "Could not create perlxsi.c"
-#
-# cd ${S_ADDONS}
-# # asterisk-1.0.6 changed two channel functions
-# epatch ${FILESDIR}/1.0.0/${P}-resperl.diff
-#
-# # fix perl path
-# sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:" \
-# res_perl/Makefile \
-# ${S}/Makefile
-# sed -i -e "s:^ASTSRC.*:ASTSRC = ${S}:" \
-# -e "s:\$(ASTLIBDIR)/modules/\(res_musiconhold.so\):\1:" \
-# -e "s:\(res_musiconhold.so \$(LDFLAGS)\):\1 -Wl,-rpath,/usr/lib/asterisk/modules/:" \
-# res_perl/Makefile
-#
-# cd ${S}
-# fi
-
- #
- # uclibc patch
- #
- if use elibc_uclibc; then
- einfo "Patching asterisk for uclibc..."
- epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-uclibc-dns.diff
- fi
-
- #
- # other patches
- #
-
- # asterisk-config
- epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-astcfg-0.0.2.diff
-
- # fix include path for speex >= 1.1.0
- epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-speex.diff
-
- #
- # database voicemail support
- #
- if use postgres; then
- sed -i -e "s:^#\(APPS+=app_sql_postgres.so\):\1:" \
- -e "s:/usr/local/pgsql/include:/usr/include/postgresql/pgsql:" \
- -e "s:/usr/local/pgsql/lib:/usr/lib/postgresql:" \
- apps/Makefile
- fi
-
- if use vmdbpostgres; then
- einfo "Enabling PostgreSQL voicemail support"
- sed -i -e "s:^\(USE_POSTGRES_VM_INTERFACE\).*:\1=1:" \
- -e "s:/usr/local/pgsql/include:/usr/include/postgresql/pgsql:" \
- -e "s:/usr/local/pgsql/lib:/usr/lib/postgresql:" \
- apps/Makefile
-
- # patch app_voicemail.c
- sed -i -e "s:^#include <postgresql/libpq-fe\.h>:#include \"libpq-fe\.h\":" \
- apps/app_voicemail.c
-
- elif use vmdbmysql; then
- einfo "Enabling MySQL voicemail support"
- sed -i -e "s:^\(USE_MYSQL_VM_INTERFACE\).*:\1=1:" \
- -e "s:^\(CFLAGS+=-DUSEMYSQLVM\):\1 -I${S_ADDONS}:" \
- apps/Makefile
- fi
-
- #
- # asterisk add-ons
- #
- cd ${S_ADDONS}
- sed -i -e "s:-I../asterisk:-I${S} -I${S}/include:" Makefile
- sed -i -e "s:^OPTIMIZE+=.*:OPTIMIZE+=${CFLAGS}:" \
- -e "s:^\(CFLAGS=\)\(.*\):\1-I${S}/include -fPIC \2:" \
- format_mp3/Makefile
-
-
- #
- # BRI patches
- #
- if use bri; then
- cd ${S}
- einfo "Patching asterisk w/ BRI stuff"
- epatch ${WORKDIR}/bristuff-${BRI_VERSION}/patches/asterisk.patch
- fi
-
- #
- # Revived snmp plugin support
- #
-# if use snmp; then
-# cd ${S}
-# einfo "Patching snmp plugin helper functions"
-# epatch ${FILESDIR}/1.0.0/ast-ax-snmp-1.0.6.diff
-# fi
-}
-
-src_compile() {
- # build asterisk first...
- einfo "Building Asterisk..."
- cd ${S}
- emake -j1 || die "Make failed"
-
- #
- # add-ons
- #
- einfo "Building additional stuff..."
- cd ${S_ADDONS}
- emake -j1 || die "Make failed"
-
-# if use resperl; then
-# cd ${S_ADDONS}/res_perl
-#
-# # copy plugin because -rpath and stuff only works for lib*.* files and we don't want
-# # res_perl.so to look at the wrong places... (ugly but works)
-# cp ${S}/res/res_musiconhold.so . || die "Could not copy musiconhold plugin, needed by res_perl!"
-#
-# emake -j1 || die "Building embedded perl failed"
-# fi
-}
-
-src_install() {
- emake -j1 DESTDIR=${D} install || die "Make install failed"
- emake -j1 DESTDIR=${D} samples || die "Make install samples failed"
-
- # install addmailbox and astgenkey
- dosbin contrib/scripts/addmailbox
- dosbin contrib/scripts/astgenkey
-
- # documentation
- use doc && \
- emake -j1 DESTDIR=${D} progdocs
-
-# rem # 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}/1.0.0/asterisk.rc6 asterisk
-
- insinto /etc/conf.d
- newins ${FILESDIR}/1.0.0/asterisk.confd asterisk
-
- # don't delete these, even if they are empty
- keepdir /var/spool/asterisk/voicemail/default/1234/INBOX
- keepdir /var/spool/asterisk/tmp
- keepdir /var/log/asterisk/cdr-csv
-
- # install standard docs...
- dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm SECURITY
-
- docinto scripts
- dodoc contrib/scripts/*
- docinto firmware/iax
- dodoc contrib/firmware/iax/*
-
- insinto /usr/share/doc/${PF}/cgi
- doins contrib/scripts/vmail.cgi
- for i in "images/*.gif"; do
- doins $i
- done
-
- #
- # add-ons
- #
-
- # install additional modules...
- einfo "Installing additional modules..."
- cd ${S_ADDONS}
- emake -j1 INSTALL_PREFIX=${D} install || die "Make install failed"
-
-# if use resperl; then
-# cd ${S_ADDONS}/res_perl
-# emake -j1 INSTALL_PREFIX=${D} install || die "Installation of perl AST_API 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.asteriskdocs.org/"
- einfo "http://www.voip-info.org/wiki-Asterisk"
- echo
- einfo "http://asterisk.xvoip.com/"
- einfo "http://junghanns.net/asterisk/"
- einfo "http://www.automated.it/guidetoasterisk.htm"
- echo
- einfo "Gentoo VoIP IRC Channel:"
- einfo "#gentoo-voip @ irc.freenode.net"
- echo
- ewarn "Additional sounds have been split-out into"
- ewarn "net-misc/asterisk-sounds"
-}
diff --git a/net-misc/asterisk/asterisk-1.0.7.ebuild b/net-misc/asterisk/asterisk-1.0.7.ebuild
deleted file mode 100644
index 36c9dae320f5..000000000000
--- a/net-misc/asterisk/asterisk-1.0.7.ebuild
+++ /dev/null
@@ -1,353 +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-1.0.7.ebuild,v 1.8 2005/05/30 03:17:48 solar Exp $
-
-IUSE="alsa doc gtk mmx mysql pri zaptel debug postgres vmdbmysql vmdbpostgres bri hardened speex resperl"
-
-inherit eutils perl-module
-
-ADDONS_VERSION="1.0.7"
-BRI_VERSION="0.2.0-RC7k"
-
-DESCRIPTION="Asterisk: A Modular Open Source PBX System"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="ftp://ftp.asterisk.org/pub/telephony/${PN}/${P}.tar.gz
- ftp://ftp.asterisk.org/pub/telephony/${PN}/${PN}-addons-${ADDONS_VERSION}.tar.gz
- bri? ( http://www.junghanns.net/${PN}/downloads/bristuff-${BRI_VERSION}.tar.gz )"
-
-S=${WORKDIR}/${P}
-S_ADDONS=${WORKDIR}/${PN}-addons-${ADDONS_VERSION}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~hppa ~amd64 ~ppc"
-
-DEPEND="dev-libs/newt
- media-sound/mpg123
- media-sound/sox
- doc? ( app-doc/doxygen )
- gtk? ( =x11-libs/gtk+-1.2* )
- pri? ( >=net-libs/libpri-1.0.3 )
- bri? ( >=net-libs/libpri-1.0.6
- >=net-misc/zaptel-1.0.6 )
- alsa? ( media-libs/alsa-lib )
- mysql? ( dev-db/mysql )
- speex? ( media-libs/speex )
- zaptel? ( >=net-misc/zaptel-1.0.3 )
- postgres? ( dev-db/postgresql )
- vmdbmysql? ( dev-db/mysql )
- vmdbpostgres? ( dev-db/postgresql )
- resperl? ( dev-lang/perl
- >=net-misc/zaptel-1.0.3 )"
-
-pkg_setup() {
- einfo "Running some pre-flight checks..."
- if use resperl; then
- # res_perl pre-flight check...
- if ! $(perl -V | grep -q "usemultiplicity=define") ||\
- ! built_with_use perl ithreads || ! built_with_use libperl ithreads
- then
- eerror "Embedded perl add-on needs Perl and libperl with built-in threads support"
- eerror "(rebuild perl and libperl with ithreads use-flag enabled)"
- die "Perl w/o threads support..."
- fi
- einfo "Perl with ithreads support found"
- fi
-
-
- # mysql and postgres voicemail support are mutually exclusive..
- if use vmdbmysql && use vmdbpostgres; then
- eerror "MySQL and PostgreSQL Voicemail support are mutually exclusive... choose one!"
- die "Conflicting use-flags"
- fi
-
- # check if zaptel and libpri have been built with bri enabled
- if use bri; then
- if ! built_with_use zaptel bri; then
- eerror "Re-emerge zaptel with bri use-flag enabled!"
- die "Zaptel without bri support detected"
- fi
-
- if ! built_with_use libpri bri; then
- eerror "Re-emerge libpri with bri use-flag enabled!"
- die "Libpri without bri support detected"
- fi
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # set cflags & mmx optimization
- sed -i -e "s:^\(OPTIMIZE+=\).*:\1 ${CFLAGS}:" \
- -e "s:^\(CFLAGS+=\$(shell if \$(CC)\):#\1:" \
- Makefile
-
- # gsm codec still uses -fomit-frame-pointer, and other codecs have their
- # own flags. We only change the arch.
- sed -i -e "s:^OPTIMIZE+=.*:OPTIMIZE=${CFLAGS}:" \
- -e "s:^CFLAGS[\t ]\++=:CFLAGS =:" \
- codecs/gsm/Makefile
-
- # hppa patch for gsm codec
- epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-hppa.patch
-
- if use mmx; then
- if ! use hardened; then
- einfo "Enabling mmx optimization"
- sed -i -e "s:^#\(K6OPT[\t ]\+= -DK6OPT\):\1:" \
- codecs/gsm/Makefile
- else
- ewarn "Hardened use-flag is set, not enabling mmx optimization for codec_gsm!"
-
- fi
- fi
- if ! use mmx || use hardened; then
- # don't build + link asm mmx object file
- # without this codec_gsm.so will include text relocations
- sed -i -e "/k6opt\.\(s\|o\)/ d" \
- codecs/gsm/Makefile
- fi
-
- if ! use debug; then
- einfo "Disabling debugging"
- sed -i -e "s:^\(DEBUG=\):#\1:" Makefile
- fi
-
- # change image path in voicemail cgi
- sed -i -e "s:^\(\$astpath = \).*:\1 \"/asterisk\";:" contrib/scripts/vmail.cgi
-
- #
- # embedded perl
- #
- if use resperl; then
- einfo "Patching asterisk for embedded perl support..."
- epatch ${S_ADDONS}/res_perl/astmake.diff
-
- # create necessary .c file
- /usr/bin/perl -MExtUtils::Embed -e xsinit || die "Could not create perlxsi.c"
-
- cd ${S_ADDONS}
-
- # fix perl path, source location and remove res_musiconhold
- sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:" \
- res_perl/Makefile \
- ${S}/Makefile \
- res_perl/INC/*.pm
- sed -i -e "s:^ASTSRC.*:ASTSRC = ${S}:" \
- -e "s:\$(ASTLIBDIR)/modules/res_musiconhold.so::" \
- res_perl/Makefile
-
- if use bri; then
- epatch ${FILESDIR}/1.0.0/res_perl-1.0.7-bristuff-0.2.0.diff
- fi
-
- cd ${S}
- fi
-
- #
- # uclibc patch
- #
- if use elibc_uclibc; then
- einfo "Patching asterisk for uclibc..."
- epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-uclibc-dns.diff
- fi
-
- #
- # other patches
- #
-
- # asterisk-config
- epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-astcfg-0.0.2.diff
-
- #
- # database voicemail support
- #
- if use postgres; then
- sed -i -e "s:^#\(APPS+=app_sql_postgres.so\):\1:" \
- -e "s:/usr/local/pgsql/include:/usr/include/postgresql/pgsql:" \
- -e "s:/usr/local/pgsql/lib:/usr/lib/postgresql:" \
- apps/Makefile
- fi
-
- if use vmdbpostgres; then
- einfo "Enabling PostgreSQL voicemail support"
- sed -i -e "s:^\(USE_POSTGRES_VM_INTERFACE\).*:\1=1:" \
- -e "s:/usr/local/pgsql/include:/usr/include/postgresql/pgsql:" \
- -e "s:/usr/local/pgsql/lib:/usr/lib/postgresql:" \
- apps/Makefile
-
- # patch app_voicemail.c
- sed -i -e "s:^#include <postgresql/libpq-fe\.h>:#include \"libpq-fe\.h\":" \
- apps/app_voicemail.c
-
- elif use vmdbmysql; then
- einfo "Enabling MySQL voicemail support"
- sed -i -e "s:^\(USE_MYSQL_VM_INTERFACE\).*:\1=1:" \
- -e "s:^\(CFLAGS+=-DUSEMYSQLVM\):\1 -I${S_ADDONS}:" \
- apps/Makefile
- fi
-
- #
- # asterisk add-ons
- #
- cd ${S_ADDONS}
- sed -i -e "s:-I../asterisk:-I${S} -I${S}/include:" Makefile
- sed -i -e "s:^OPTIMIZE+=.*:OPTIMIZE+=${CFLAGS}:" \
- -e "s:^\(CFLAGS=\)\(.*\):\1-I${S}/include -fPIC \2:" \
- format_mp3/Makefile
-
-
- #
- # BRI patches
- #
- if use bri; then
- cd ${S}
- einfo "Patching asterisk w/ BRI stuff"
-
- # fix patch for new asterisk version...
- sed -i -e "s:^\([+-]\)1.0.6:\1${PV}:" \
- ${WORKDIR}/bristuff-${BRI_VERSION}/patches/asterisk.patch
-
- epatch ${WORKDIR}/bristuff-${BRI_VERSION}/patches/asterisk.patch
- fi
-
- #
- # Revived snmp plugin support
- #
-# if use snmp; then
-# cd ${S}
-# einfo "Patching snmp plugin helper functions"
-# epatch ${FILESDIR}/1.0.0/ast-ax-snmp-1.0.6.diff
-# fi
-}
-
-src_compile() {
- # build asterisk first...
- einfo "Building Asterisk..."
- cd ${S}
- emake -j1 || die "Make failed"
-
- # create api docs
- use doc && \
- emake -j1 progdocs
-
- #
- # add-ons
- #
- einfo "Building additional stuff..."
- cd ${S_ADDONS}
- emake -j1 || die "Make failed"
-
- if use resperl; then
- cd ${S_ADDONS}/res_perl
- emake -j1 || die "Building embedded perl failed"
- fi
-}
-
-src_install() {
- emake -j1 DESTDIR=${D} install || die "Make install failed"
- emake -j1 DESTDIR=${D} samples || die "Make install samples failed"
-
- # install addmailbox and astgenkey
- dosbin contrib/scripts/addmailbox
- dosbin contrib/scripts/astgenkey
-
-# rem # 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}/1.0.0/asterisk.rc6 asterisk
-
- insinto /etc/conf.d
- newins ${FILESDIR}/1.0.0/asterisk.confd asterisk
-
- # don't delete these, even if they are empty
- keepdir /var/spool/asterisk/voicemail/default/1234/INBOX
- keepdir /var/spool/asterisk/tmp
- keepdir /var/log/asterisk/cdr-csv
-
- # install standard docs...
- dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm
- dodoc SECURITY doc/CODING-GUIDELINES doc/linkedlists.README
- dodoc doc/README.*
- dodoc doc/*.txt
-
- docinto scripts
- dodoc contrib/scripts/*
- docinto firmware/iax
- dodoc contrib/firmware/iax/*
-
- # install api docs
- if use doc; then
- insinto /usr/share/doc/${PF}/api/html
- doins doc/api/html/*
- fi
-
- insinto /usr/share/doc/${PF}/cgi
- doins contrib/scripts/vmail.cgi
- for i in "images/*.gif"; do
- doins $i
- done
-
- #
- # add-ons
- #
-
- # install additional modules...
- einfo "Installing additional modules..."
- cd ${S_ADDONS}
- emake -j1 INSTALL_PREFIX=${D} install || die "Make install failed"
-
- if use resperl; then
- perlinfo
-
- cd ${S_ADDONS}/res_perl
- emake -j1 INSTALL_PREFIX=${D} install || die "Installation of perl AST_API failed"
-
- # move AstApiBase.so to a proper place
- dodir ${VENDOR_LIB}/auto/AstAPIBase
- mv ${D}/etc/asterisk/perl/AstAPIBase.so ${D}${VENDOR_LIB}/auto/AstAPIBase
-
- # move *.pm files to other location
- dodir ${VENDOR_LIB}/AstAPI
- dodir ${VENDOR_LIB}/AstAPIBase
- for x in AstAPI.pm AstConfig.pm LoadFile.pm PerlSwitch.pm WebServer.pm; do
- mv ${D}/etc/asterisk/perl/${x} ${D}${VENDOR_LIB}/AstAPI
- dosed "s/^use[\t ]\+${x/.pm/};/use AstAPI::${x/.pm/};/" /etc/asterisk/perl/asterisk_init.pm
- done
- mv ${D}/etc/asterisk/perl/AstAPIBase.pm ${D}${VENDOR_LIB}/AstAPIBase
- dosed "s/^use[\t ]\+AstAPI;/use AstAPI::AstAPI;/" /etc/asterisk/perl/asterisk_init.pm
- dosed "s/^use[\t ]\+AstAPIBase;/use AstAPIBase::AstAPIBase;/" ${VENDOR_LIB}/AstAPI/AstAPI.pm
-
- # move apps + htdocs to a proper place
- dodir /var/lib/asterisk/perl
- mv ${D}/etc/asterisk/perl/{apps,htdocs} ${D}/var/lib/asterisk/perl
-
- # fix locations
- sed -i -e "s:/etc/asterisk/perl:/var/lib/asterisk/perl:" \
- ${D}${VENDOR_LIB}/AstAPI/LoadFile.pm ${D}${VENDOR_LIB}/AstAPI/WebServer.pm
- 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.asteriskdocs.org/"
- einfo "http://www.voip-info.org/wiki-Asterisk"
- echo
- einfo "http://asterisk.xvoip.com/"
- einfo "http://junghanns.net/asterisk/"
- einfo "http://www.automated.it/guidetoasterisk.htm"
- echo
- einfo "Gentoo VoIP IRC Channel:"
- einfo "#gentoo-voip @ irc.freenode.net"
- echo
- ewarn "Additional sounds have been split-out into"
- ewarn "net-misc/asterisk-sounds"
-}
diff --git a/net-misc/asterisk/files/digest-asterisk-1.0.5 b/net-misc/asterisk/files/digest-asterisk-1.0.5
deleted file mode 100644
index 787b7a8c30fc..000000000000
--- a/net-misc/asterisk/files/digest-asterisk-1.0.5
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 efabd43ac70ada3bdc97a57027c670a3 asterisk-1.0.5.tar.gz 9586778
-MD5 22e51b14b4712ad9179a085f9738ec08 asterisk-addons-1.0.4.tar.gz 73516
-MD5 2b7180a182a9122e88c734392e51556e asterisk-sounds-1.0.1.tar.gz 1702221
diff --git a/net-misc/asterisk/files/digest-asterisk-1.0.5-r1 b/net-misc/asterisk/files/digest-asterisk-1.0.5-r1
deleted file mode 100644
index a62685085728..000000000000
--- a/net-misc/asterisk/files/digest-asterisk-1.0.5-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 efabd43ac70ada3bdc97a57027c670a3 asterisk-1.0.5.tar.gz 9586778
-MD5 22e51b14b4712ad9179a085f9738ec08 asterisk-addons-1.0.4.tar.gz 73516
-MD5 a406c0f2e1bba8b614cd5416601dbd03 asterisk-sounds-1.0.2.tar.gz 3170474
diff --git a/net-misc/asterisk/files/digest-asterisk-1.0.6 b/net-misc/asterisk/files/digest-asterisk-1.0.6
deleted file mode 100644
index 3632af547735..000000000000
--- a/net-misc/asterisk/files/digest-asterisk-1.0.6
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 c16efa9a64564763a0d9e3e1e9350c8d asterisk-1.0.6.tar.gz 9589123
-MD5 b51cc29a7e1f748c46395589c9d22291 asterisk-addons-1.0.6.tar.gz 73631
-MD5 b07d5f949b90677a2925ba2dd50593cb bristuff-0.2.0-RC7k.tar.gz 114265
diff --git a/net-misc/asterisk/files/digest-asterisk-1.0.7 b/net-misc/asterisk/files/digest-asterisk-1.0.7
deleted file mode 100644
index 20f5d89a7563..000000000000
--- a/net-misc/asterisk/files/digest-asterisk-1.0.7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 4cc3c1e4a1b12e0e4c748326ad153291 asterisk-1.0.7.tar.gz 9591705
-MD5 e2a94a7c2e97de18b3cdc4dd42709c11 asterisk-addons-1.0.7.tar.gz 73646
-MD5 b07d5f949b90677a2925ba2dd50593cb bristuff-0.2.0-RC7k.tar.gz 114265