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
commit2c572f6111ef28c10a885265818f0ecaff19b7b0 (patch)
treec7401ce02af71c403f5c227191339a962cfb4d07 /net-misc/asterisk-addons
parentAdding slang to package.use for app-misc/mc since we ship with USE=unicode al... (diff)
downloadhistorical-2c572f6111ef28c10a885265818f0ecaff19b7b0.tar.gz
historical-2c572f6111ef28c10a885265818f0ecaff19b7b0.tar.bz2
historical-2c572f6111ef28c10a885265818f0ecaff19b7b0.zip
version bump and security fix, bug #196122. cleanup old ebuilds.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-misc/asterisk-addons')
-rw-r--r--net-misc/asterisk-addons/ChangeLog11
-rw-r--r--net-misc/asterisk-addons/Manifest9
-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
5 files changed, 22 insertions, 380 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/Manifest b/net-misc/asterisk-addons/Manifest
index 8b29542c35fd..b1ccfa8797a6 100644
--- a/net-misc/asterisk-addons/Manifest
+++ b/net-misc/asterisk-addons/Manifest
@@ -5,11 +5,8 @@ AUX asterisk-addons-1.2.2-uclibc.diff 569 RMD160 015f80c0efc2fda1b7b7c324f5c94cc
AUX asterisk-addons-1.2.3-gentoo-ooh323c.diff 1465 RMD160 b584cb11b208e6a384bdefa47219d0425ded3357 SHA1 3c531e0ffa330e15298249eab7d0319ef0acdcd0 SHA256 2d661f6d051326d9cdb48bb02c08f27de6c0c001cfffae0afeaf5ca5672e2a47
AUX asterisk-addons-1.2.4-uclibc.diff 886 RMD160 2018dbe61d12279359dc98cea428feaa8f69b58b SHA1 fb7f54a8a8e51064bf1b50bfe4f0efbc46d5f557 SHA256 b8c0be41e6058e863cb89152319be9defd38b8b8975f64e43303f0efc968524e
AUX sqlite-3.2.1-data-corruption.patch 6529 RMD160 06f79a07f5dfb12967ebc233544b0807ac8114af SHA1 73203e5145119b9ad070596271793ea36e0bd651 SHA256 7b42e48387045ab466a0d7f936099de0d1597b0cf593fb28705a46c1b6e76b81
-DIST asterisk-addons-1.2.4.tar.gz 755656 RMD160 30418aa6e6dbfe26b841e96e352a1acf0049fbca SHA1 62708981225f271a994d4d1f071a2ad64574141f SHA256 e32d11bf19d01ef01d4017f1e98c5701b94683e05ce51f3d45abe24598f692af
-DIST asterisk-addons-1.2.5.tar.gz 756698 RMD160 9579ea43f71b819cf69c59644d19109d08f079c1 SHA1 cc5296af344835ae9a720302dff342b82f5916ca SHA256 b9ae7fcdff71be4b267f62c6f72546dce837875b29bb0d07d8b9883e4e2f14f1
+DIST asterisk-addons-1.2.8.tar.gz 761218 RMD160 379f7b0ae6ad27a8c30000f88d0ab0dd0f04bf09 SHA1 a93ba0825b9fd0cc2f991111792f267d2a64f620 SHA256 939e082e4e778933be1939f0b44321399dbc9af0965f7759ce01dd5a54044c73
DIST sqlite-3.2.1.tar.gz 1351842 RMD160 3b4cfc1fca27d4df369220d15eb5e28777bd99da SHA1 df9b8a28bb64a29df8b2411b6b8b746b04d742eb SHA256 daba70d5d7666ff8091a7a9322a1a2d88889043d50e136ed7d3e726d751001a7
-EBUILD asterisk-addons-1.2.4.ebuild 4359 RMD160 bab61ed5678a36e4b91338da82a97bfba87f5640 SHA1 d27024105c1fa483d2f9ac89f90301b399c2336d SHA256 b186f32491f8f97d7fb557b677177e50c07a3ff1c64380eb9de72866fe42ac27
-EBUILD asterisk-addons-1.2.5-r1.ebuild 4423 RMD160 f4a23a4e08568624a197610b0ebb5ea1cb6fe674 SHA1 92fb40f4ec171bff665ac43144afa22c4f956d47 SHA256 cf920d6f95484055c14ea2cdd24147d76cb07165a5d7a5848d4b9cef184d5c3b
-EBUILD asterisk-addons-1.2.5.ebuild 4361 RMD160 ef44ca1ec94166bbfecdf61bcad9ad11ae7ccf1b SHA1 a3713bb052afb4754fd9674dab98ff8fbf197a84 SHA256 7647f11a3511105f1af418efe7f17df96b46b63e1ce2dab65c2e6ee57ec9a9f1
-MISC ChangeLog 2884 RMD160 d6fa0255184d0b170694889963bc18988d3ddc37 SHA1 38e833bf0c23322cda82cff6c959ccb656a75f68 SHA256 a2785463c2edc899ed81dcc90dc6e4b5491f3c603f1d6cd3936974a39e7d8a8c
+EBUILD asterisk-addons-1.2.8.ebuild 4313 RMD160 fa7b573826a34aa8bb5823010650d64e4606d3d2 SHA1 aa4e4b79f70d42169af2af7c1936a57049bfa4d1 SHA256 8ca4b80546b97ade2da30bcd29619969e0e1da4ab2a630d285dec80b9736aa90
+MISC ChangeLog 3173 RMD160 85231da8f9cc7f19378d9477e5b24bc98b3c0c5a SHA1 88e269a1219b92f20cd7a14707e352a6fb01aa1f SHA256 1bce132c01acd1ba3e45aade7e24d0e97d29584fecaef74e5395424e41b45c61
MISC metadata.xml 248 RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e SHA1 10bea6cd152e9f0ecb627eaacc19980a9d5f5dc4 SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b
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.\""