summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajiv Aaron Manglani <rajiv@gentoo.org>2008-02-21 04:07:47 +0000
committerRajiv Aaron Manglani <rajiv@gentoo.org>2008-02-21 04:07:47 +0000
commit8ccaa76d93b2204799a9a121279cc97ff76683d2 (patch)
tree4b7f560a4866d30d8fa74a8ae743d372870472ce /net-misc
parentAdding slang to package.use for app-misc/mc since we ship with USE=unicode al... (diff)
downloadgentoo-2-8ccaa76d93b2204799a9a121279cc97ff76683d2.tar.gz
gentoo-2-8ccaa76d93b2204799a9a121279cc97ff76683d2.tar.bz2
gentoo-2-8ccaa76d93b2204799a9a121279cc97ff76683d2.zip
version bump and security fix, bug #196122. cleanup old ebuilds.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/asterisk-addons/ChangeLog11
-rw-r--r--net-misc/asterisk-addons/asterisk-addons-1.2.4.ebuild179
-rw-r--r--net-misc/asterisk-addons/asterisk-addons-1.2.5.ebuild179
-rw-r--r--net-misc/asterisk-addons/asterisk-addons-1.2.8.ebuild (renamed from net-misc/asterisk-addons/asterisk-addons-1.2.5-r1.ebuild)24
4 files changed, 19 insertions, 374 deletions
diff --git a/net-misc/asterisk-addons/ChangeLog b/net-misc/asterisk-addons/ChangeLog
index b7fae8230f6a..5fceea748ed1 100644
--- a/net-misc/asterisk-addons/ChangeLog
+++ b/net-misc/asterisk-addons/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/asterisk-addons
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/ChangeLog,v 1.12 2007/10/11 20:35:28 sbriesen Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/ChangeLog,v 1.13 2008/02/21 04:07:47 rajiv Exp $
+
+*asterisk-addons-1.2.8 (21 Feb 2008)
+
+ 21 Feb 2008; Rajiv Aaron Manglani <rajiv@gentoo.org>
+ -asterisk-addons-1.2.4.ebuild, -asterisk-addons-1.2.5.ebuild,
+ -asterisk-addons-1.2.5-r1.ebuild, +asterisk-addons-1.2.8.ebuild:
+ version bump and security fix, bug #196122. cleanup old ebuilds.
11 Oct 2007; Stefan Briesenick <sbriesen@gentoo.org>
asterisk-addons-1.2.5-r1.ebuild:
diff --git a/net-misc/asterisk-addons/asterisk-addons-1.2.4.ebuild b/net-misc/asterisk-addons/asterisk-addons-1.2.4.ebuild
deleted file mode 100644
index fb7f805cac69..000000000000
--- a/net-misc/asterisk-addons/asterisk-addons-1.2.4.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/asterisk-addons-1.2.4.ebuild,v 1.4 2007/01/04 16:40:45 drizzt Exp $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-
-inherit eutils flag-o-matic autotools
-
-IUSE="elibc_uclibc mysql sqlite h323"
-SQLITE_PV="3.2.1"
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="Additional Plugins for Asterisk"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="http://ftp.digium.com/pub/asterisk/${MY_P}.tar.gz
- sqlite? ( http://www.sqlite.org/sqlite-${SQLITE_PV}.tar.gz )"
-
-S=${WORKDIR}/${MY_P}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~sparc ~x86"
-
-DEPEND=">=net-misc/asterisk-1.2.0
- mysql? ( virtual/mysql )"
-
-pkg_setup() {
- local n dosleep=0
- einfo "Running pre-flight checks..."
-
- if use h323 && built_with_use net-misc/asterisk h323; then
- echo
- ewarn "h323: Emerging ${PN} with the h323 flag enabled will overwrite asterisk's chan_h323.so!"
- ewarn "h323: Be sure to upgrade ${ROOT}etc/asterisk/h323.conf afterwards!"
- dosleep=1
- fi
-
- if use sqlite && built_with_use net-misc/asterisk sqlite; then
- echo
- ewarn "sqlite: Emerging ${PN} with the sqlite flag enabled will overwrite asterisk's res_sqlite.so!"
- ewarn "sqlite: Be sure to upgrade ${ROOT}etc/asterisk/res_sqlite.conf afterwards!"
- dosleep=1
- fi
-
- echo
- if [[ $dosleep -gt 0 ]]; then
- ebeep
- n=10
- while [[ $n -gt 0 ]]; do
- echo -en " Waiting $n seconds...\r"
- sleep 1
- (( n-- ))
- done
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- #
- # gentoo patchset
- #
- epatch ${FILESDIR}/${PN}-1.2.0-gentoo-base.diff
- epatch ${FILESDIR}/${PN}-1.2.0-gentoo-res_sqlite3.diff
- epatch ${FILESDIR}/${PN}-1.2.2-gentoo-format_mp3.diff
- epatch ${FILESDIR}/${PN}-1.2.3-gentoo-ooh323c.diff
-
- # patch from jaervosz for uclibc
- use elibc_uclibc && \
- epatch ${FILESDIR}/${PN}-1.2.2-uclibc.diff
-
- # patch sqlite
- if use sqlite; then
- cd ${WORKDIR}/sqlite-${SQLITE_PV}
-
- epatch ${FILESDIR}/sqlite-${SQLITE_PV}-data-corruption.patch
- epunt_cxx
- fi
-
- # rebuild ooh323c configure
- if use h323; then
- cd ${S}/asterisk-ooh323c
- eautoreconf
- fi
-}
-
-src_compile() {
- append-flags -fPIC
-
- emake -j1 OPTIMIZE="${CFLAGS}" || die "Make failed"
-
- if use sqlite; then
- cd ${WORKDIR}/sqlite-${SQLITE_PV}
- econf --enable-threadsafe || die ""
- emake || die ""
-
- cd ${S}
- emake -j1 -C res_sqlite3 \
- SQLITEDIR=${WORKDIR}/sqlite-${SQLITE_PV} || die "Make res_sqlite failed"
- fi
-
- if use h323; then
- cd ${S}/asterisk-ooh323c
- econf || die "econf failed"
- emake || die "emake failed"
- fi
-}
-
-src_install() {
- make DESTDIR=${D} install || die "Make install failed"
-
- if use sqlite; then
- make -C res_sqlite3 \
- DESTDIR=${D} install || die "Make install res_sqlite3 failed"
- fi
-
- if use h323; then
- make -C asterisk-ooh323c \
- DESTDIR=${D} install || die "Make instal ooh323c failed"
- fi
-
- # install standard docs...
- dodoc README
- dodoc doc/cdr_mysql.txt
-
- insinto /usr/share/doc/${PF}
- doins configs/*.sample
-
- if use sqlite; then
- cd ${S}/res_sqlite3
- docinto res_sqlite3
- dodoc README
- insinto /usr/share/doc/${PF}/res_sqlite3
- doins res_sqlite.conf dialplan.sql
- keepdir /var/lib/asterisk/sqlite
- fi
-
- if use h323; then
- cd ${S}/asterisk-ooh323c
- docinto chan_ooh323c
- dodoc AUTHORS INSTALL NEWS README COPYING ChangeLog
- dodoc h323.conf.sample extensions.conf.sample
-
- insinto /etc/asterisk
- newins h323.conf.sample h323.conf
- fi
-
- cd ${S}
-
- if use mysql; then
- insinto /etc/asterisk
- newins configs/cdr_mysql.conf.sample cdr_mysql.conf
- newins configs/res_mysql.conf.sample res_mysql.conf
- fi
-
- einfo "Fixing permissions"
- chown -R root:asterisk ${D}etc/asterisk
- chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
-
-# chown -R asterisk:asterisk ${D}var/lib/asterisk
-# chmod -R u=rwX,g=rX,o= ${D}var/lib/asterisk
-}
-
-pkg_postinst() {
- #
- # Announcements, warnings, reminders...
- #
- einfo "********* Some notes from the asterisk-addons-1.2.4 readme: **********"
- echo
- ewarn "\"Using res_config_mysql at the same time as res_config_odbc can create"
- ewarn "system instability on some systems. Please load only one or the other.\""
- echo
- ewarn "\"format_mp3 can cause Asterisk to crash on certain mp3 files (notably"
- ewarn "8k files made with lame) due to bugs in mpglib. If you must use this"
- ewarn "module, use it only with mp3's you know will work with it.\""
-}
diff --git a/net-misc/asterisk-addons/asterisk-addons-1.2.5.ebuild b/net-misc/asterisk-addons/asterisk-addons-1.2.5.ebuild
deleted file mode 100644
index 27a2f4d3bb87..000000000000
--- a/net-misc/asterisk-addons/asterisk-addons-1.2.5.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/asterisk-addons-1.2.5.ebuild,v 1.1 2007/01/17 18:55:23 gustavoz Exp $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-
-inherit eutils flag-o-matic autotools
-
-IUSE="elibc_uclibc mysql sqlite h323"
-SQLITE_PV="3.2.1"
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="Additional Plugins for Asterisk"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="http://ftp.digium.com/pub/asterisk/${MY_P}.tar.gz
- sqlite? ( http://www.sqlite.org/sqlite-${SQLITE_PV}.tar.gz )"
-
-S=${WORKDIR}/${MY_P}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~sparc ~x86"
-
-DEPEND=">=net-misc/asterisk-1.2.0
- mysql? ( virtual/mysql )"
-
-pkg_setup() {
- local n dosleep=0
- einfo "Running pre-flight checks..."
-
- if use h323 && built_with_use net-misc/asterisk h323; then
- echo
- ewarn "h323: Emerging ${PN} with the h323 flag enabled will overwrite asterisk's chan_h323.so!"
- ewarn "h323: Be sure to upgrade ${ROOT}etc/asterisk/h323.conf afterwards!"
- dosleep=1
- fi
-
- if use sqlite && built_with_use net-misc/asterisk sqlite; then
- echo
- ewarn "sqlite: Emerging ${PN} with the sqlite flag enabled will overwrite asterisk's res_sqlite.so!"
- ewarn "sqlite: Be sure to upgrade ${ROOT}etc/asterisk/res_sqlite.conf afterwards!"
- dosleep=1
- fi
-
- echo
- if [[ $dosleep -gt 0 ]]; then
- ebeep
- n=10
- while [[ $n -gt 0 ]]; do
- echo -en " Waiting $n seconds...\r"
- sleep 1
- (( n-- ))
- done
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- #
- # gentoo patchset
- #
- epatch ${FILESDIR}/${PN}-1.2.0-gentoo-base.diff
- epatch ${FILESDIR}/${PN}-1.2.0-gentoo-res_sqlite3.diff
- epatch ${FILESDIR}/${PN}-1.2.2-gentoo-format_mp3.diff
- epatch ${FILESDIR}/${PN}-1.2.3-gentoo-ooh323c.diff
-
- # patch from jaervosz for uclibc
- use elibc_uclibc && \
- epatch ${FILESDIR}/${PN}-1.2.2-uclibc.diff
-
- # patch sqlite
- if use sqlite; then
- cd ${WORKDIR}/sqlite-${SQLITE_PV}
-
- epatch ${FILESDIR}/sqlite-${SQLITE_PV}-data-corruption.patch
- epunt_cxx
- fi
-
- # rebuild ooh323c configure
- if use h323; then
- cd ${S}/asterisk-ooh323c
- eautoreconf
- fi
-}
-
-src_compile() {
- append-flags -fPIC
-
- emake -j1 OPTIMIZE="${CFLAGS}" || die "Make failed"
-
- if use sqlite; then
- cd ${WORKDIR}/sqlite-${SQLITE_PV}
- econf --enable-threadsafe || die ""
- emake || die ""
-
- cd ${S}
- emake -j1 -C res_sqlite3 \
- SQLITEDIR=${WORKDIR}/sqlite-${SQLITE_PV} || die "Make res_sqlite failed"
- fi
-
- if use h323; then
- cd ${S}/asterisk-ooh323c
- econf || die "econf failed"
- emake || die "emake failed"
- fi
-}
-
-src_install() {
- make DESTDIR=${D} install || die "Make install failed"
-
- if use sqlite; then
- make -C res_sqlite3 \
- DESTDIR=${D} install || die "Make install res_sqlite3 failed"
- fi
-
- if use h323; then
- make -C asterisk-ooh323c \
- DESTDIR=${D} install || die "Make instal ooh323c failed"
- fi
-
- # install standard docs...
- dodoc README
- dodoc doc/cdr_mysql.txt
-
- insinto /usr/share/doc/${PF}
- doins configs/*.sample
-
- if use sqlite; then
- cd ${S}/res_sqlite3
- docinto res_sqlite3
- dodoc README
- insinto /usr/share/doc/${PF}/res_sqlite3
- doins res_sqlite.conf dialplan.sql
- keepdir /var/lib/asterisk/sqlite
- fi
-
- if use h323; then
- cd ${S}/asterisk-ooh323c
- docinto chan_ooh323c
- dodoc AUTHORS INSTALL NEWS README COPYING ChangeLog
- dodoc h323.conf.sample extensions.conf.sample
-
- insinto /etc/asterisk
- newins h323.conf.sample h323.conf
- fi
-
- cd ${S}
-
- if use mysql; then
- insinto /etc/asterisk
- newins configs/cdr_mysql.conf.sample cdr_mysql.conf
- newins configs/res_mysql.conf.sample res_mysql.conf
- fi
-
- einfo "Fixing permissions"
- chown -R root:asterisk ${D}etc/asterisk
- chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
-
-# chown -R asterisk:asterisk ${D}var/lib/asterisk
-# chmod -R u=rwX,g=rX,o= ${D}var/lib/asterisk
-}
-
-pkg_postinst() {
- #
- # Announcements, warnings, reminders...
- #
- einfo "********* Some notes from the asterisk-addons-1.2.5 readme: **********"
- echo
- ewarn "\"Using res_config_mysql at the same time as res_config_odbc can create"
- ewarn "system instability on some systems. Please load only one or the other.\""
- echo
- ewarn "\"format_mp3 can cause Asterisk to crash on certain mp3 files (notably"
- ewarn "8k files made with lame) due to bugs in mpglib. If you must use this"
- ewarn "module, use it only with mp3's you know will work with it.\""
-}
diff --git a/net-misc/asterisk-addons/asterisk-addons-1.2.5-r1.ebuild b/net-misc/asterisk-addons/asterisk-addons-1.2.8.ebuild
index e3ce042a240d..2733a3a24062 100644
--- a/net-misc/asterisk-addons/asterisk-addons-1.2.5-r1.ebuild
+++ b/net-misc/asterisk-addons/asterisk-addons-1.2.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/asterisk-addons-1.2.5-r1.ebuild,v 1.2 2007/10/11 20:35:28 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/asterisk-addons-1.2.8.ebuild,v 1.1 2008/02/21 04:07:47 rajiv Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -14,7 +14,7 @@ MY_P="${P/_/-}"
DESCRIPTION="Additional Plugins for Asterisk"
HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="http://ftp.digium.com/pub/asterisk/${MY_P}.tar.gz
+SRC_URI="http://downloads.digium.com/pub/asterisk/old-releases/${MY_P}.tar.gz
sqlite? ( http://www.sqlite.org/sqlite-${SQLITE_PV}.tar.gz )"
S=${WORKDIR}/${MY_P}
@@ -142,7 +142,7 @@ src_install() {
if use h323; then
cd ${S}/asterisk-ooh323c
docinto chan_ooh323c
- dodoc AUTHORS INSTALL NEWS README COPYING ChangeLog
+ dodoc AUTHORS INSTALL NEWS README ChangeLog
dodoc h323.conf.sample extensions.conf.sample
insinto /etc/asterisk
@@ -157,19 +157,15 @@ src_install() {
newins configs/res_mysql.conf.sample res_mysql.conf
fi
- einfo "Fixing permissions"
- chown -R root:asterisk ${D}etc/asterisk
- chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
-
-# chown -R asterisk:asterisk ${D}var/lib/asterisk
-# chmod -R u=rwX,g=rX,o= ${D}var/lib/asterisk
+ if use h323 || use mysql; then
+ einfo "Fixing permissions"
+ chown -R root:asterisk ${D}etc/asterisk
+ chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
+ fi
}
pkg_postinst() {
- #
- # Announcements, warnings, reminders...
- #
- einfo "********* Some notes from the asterisk-addons-1.2.5 readme: **********"
+ einfo "********* Some notes from the asterisk-addons readme: **********"
echo
ewarn "\"Using res_config_mysql at the same time as res_config_odbc can create"
ewarn "system instability on some systems. Please load only one or the other.\""