summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2004-06-26 11:57:43 +0000
committerStefan Knoblich <stkn@gentoo.org>2004-06-26 11:57:43 +0000
commita6f1a404986e16b8199ea185015d1ff4287f57f8 (patch)
treef83910495a20ca31ba098988537fd6e51e1d4fb4 /net-misc
parentRemoved hard dependency to flim and added an advisory to install flim to pkg_... (diff)
downloadhistorical-a6f1a404986e16b8199ea185015d1ff4287f57f8.tar.gz
historical-a6f1a404986e16b8199ea185015d1ff4287f57f8.tar.bz2
historical-a6f1a404986e16b8199ea185015d1ff4287f57f8.zip
Removing asterisk-0.7.2 for security reasons (format string buffer vulnerability, see http://www.securityfocus.com/bid/10569)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/asterisk/ChangeLog7
-rw-r--r--net-misc/asterisk/asterisk-0.7.2.ebuild124
-rw-r--r--net-misc/asterisk/files/0.7.2/asterisk-0.7.2-makefile-fix.diff11
-rw-r--r--net-misc/asterisk/files/0.7.2/asterisk.confd10
-rw-r--r--net-misc/asterisk/files/0.7.2/asterisk.rc620
-rw-r--r--net-misc/asterisk/files/digest-asterisk-0.7.21
6 files changed, 6 insertions, 167 deletions
diff --git a/net-misc/asterisk/ChangeLog b/net-misc/asterisk/ChangeLog
index 188ff55c0559..bd885726292a 100644
--- a/net-misc/asterisk/ChangeLog
+++ b/net-misc/asterisk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/asterisk
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.17 2004/06/24 23:34:54 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.18 2004/06/26 11:57:43 stkn Exp $
+
+ 26 Jun 2004; <stkn@gentoo.org> files/0.7.2/asterisk-0.7.2-makefile-fix.diff,
+ files/0.7.2/asterisk.confd, files/0.7.2/asterisk.rc6:
+ Removed asterisk-0.7.2, see http://www.securityfocus.com/bid/10569 for more
+ information
14 Jun 2004; Aron Griffis <agriffis@gentoo.org> asterisk-0.5.0.ebuild,
asterisk-0.7.2.ebuild, asterisk-0.9.0.ebuild:
diff --git a/net-misc/asterisk/asterisk-0.7.2.ebuild b/net-misc/asterisk/asterisk-0.7.2.ebuild
deleted file mode 100644
index f14c2ed3fe21..000000000000
--- a/net-misc/asterisk/asterisk-0.7.2.ebuild
+++ /dev/null
@@ -1,124 +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/asterisk-0.7.2.ebuild,v 1.8 2004/06/24 23:34:54 agriffis Exp $
-
-IUSE="doc alsa mysql gtk mmx nopri nozaptel noiax vhosts"
-
-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/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-
-DEPEND="virtual/glibc
- media-sound/mpg123
- dev-libs/newt
- 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.8.1
- >=net-libs/zapata-0.8.1 )"
-
-pkg_setup() {
- 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() {
- unpack ${A}
-
- cd ${S}
- 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\";:" contrib/scripts/vmail.cgi
-}
-
-src_compile() {
- # build asterisk first...
- einfo "Building Asterisk..."
- cd ${S}
- emake -j1 || die "Make failed"
-}
-
-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
-
- # voicemail webapp
- if [ $NO_WEBSERVER -eq 0 ]; then
- einfo "Installing voicemail webapp"
- insinto ${HTTPD_CGIBIN}
- doins contrib/scripts/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
-
- # 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 SECURITY
-
- docinto scripts
- dodoc contrib/scripts/*.pl
- dodoc contrib/scripts/*.sql
-}
-
-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.7.2/asterisk-0.7.2-makefile-fix.diff b/net-misc/asterisk/files/0.7.2/asterisk-0.7.2-makefile-fix.diff
deleted file mode 100644
index 8ddaca108453..000000000000
--- a/net-misc/asterisk/files/0.7.2/asterisk-0.7.2-makefile-fix.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- asterisk-0.7.2/Makefile.orig 2004-02-14 02:38:48.000000000 +0100
-+++ asterisk-0.7.2/Makefile 2004-02-14 02:39:58.000000000 +0100
-@@ -397,7 +397,7 @@
- for x in vm-theperson digits/1 digits/2 digits/3 digits/4 vm-isunavail; do \
- cat $(DESTDIR)$(ASTVARLIBDIR)/sounds/$$x.gsm >> $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/unavail.gsm ; \
- done
-- :> $(DESTDIR)$(ASTVARLIBDIR)/sounds/voicemail/default/1234/busy.gsm
-+ :> $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/busy.gsm
- for x in vm-theperson digits/1 digits/2 digits/3 digits/4 vm-isonphone; do \
- cat $(DESTDIR)$(ASTVARLIBDIR)/sounds/$$x.gsm >> $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/busy.gsm ; \
- done
diff --git a/net-misc/asterisk/files/0.7.2/asterisk.confd b/net-misc/asterisk/files/0.7.2/asterisk.confd
deleted file mode 100644
index 0340fe5df6e9..000000000000
--- a/net-misc/asterisk/files/0.7.2/asterisk.confd
+++ /dev/null
@@ -1,10 +0,0 @@
-# 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/files/0.7.2/asterisk.confd,v 1.2 2004/03/06 03:27:48 vapier Exp $
-
-#
-# see "asterisk -h" for a list of options
-#
-#
-
-#OPTIONS=""
diff --git a/net-misc/asterisk/files/0.7.2/asterisk.rc6 b/net-misc/asterisk/files/0.7.2/asterisk.rc6
deleted file mode 100644
index 7d99ecde2159..000000000000
--- a/net-misc/asterisk/files/0.7.2/asterisk.rc6
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/runscript
-# 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/files/0.7.2/asterisk.rc6,v 1.2 2004/03/06 03:27:48 vapier 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.7.2 b/net-misc/asterisk/files/digest-asterisk-0.7.2
deleted file mode 100644
index 3887f8e3d1f1..000000000000
--- a/net-misc/asterisk/files/digest-asterisk-0.7.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a1f9485f5f85a4e4129782b6e642e236 asterisk-0.7.2.tar.gz 2779788