From: Gustavo Zacarias Date: Wed, 17 Jan 2007 18:55:23 +0000 (+0000) Subject: Verbump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e8298c5b965c55ba8fb7f58b6b51a476fe9518b3;p=gentoo.git Verbump Package-Manager: portage-2.1.1-r2 --- diff --git a/net-misc/asterisk-addons/ChangeLog b/net-misc/asterisk-addons/ChangeLog index c082fe5a19c0..4277fc9776ff 100644 --- a/net-misc/asterisk-addons/ChangeLog +++ b/net-misc/asterisk-addons/ChangeLog @@ -1,6 +1,12 @@ # 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.9 2007/01/10 22:46:12 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/ChangeLog,v 1.10 2007/01/17 18:55:23 gustavoz Exp $ + +*asterisk-addons-1.2.5 (17 Jan 2007) + + 17 Jan 2007; Gustavo Zacarias + +asterisk-addons-1.2.5.ebuild: + Verbump 10 Jan 2007; Gustavo Zacarias -files/asterisk-addons-1.2.0-gentoo-ooh323c.diff, diff --git a/net-misc/asterisk-addons/Manifest b/net-misc/asterisk-addons/Manifest index 886b01ed9927..0898658a1127 100644 --- a/net-misc/asterisk-addons/Manifest +++ b/net-misc/asterisk-addons/Manifest @@ -26,15 +26,20 @@ MD5 46cefa8dc3aa8a97c973f54cd08f0ace files/sqlite-3.2.1-data-corruption.patch 65 RMD160 06f79a07f5dfb12967ebc233544b0807ac8114af files/sqlite-3.2.1-data-corruption.patch 6529 SHA256 7b42e48387045ab466a0d7f936099de0d1597b0cf593fb28705a46c1b6e76b81 files/sqlite-3.2.1-data-corruption.patch 6529 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 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 MD5 cf78ce66165cde6f9ad6c5eb3a4dcbef asterisk-addons-1.2.4.ebuild 4359 RMD160 bab61ed5678a36e4b91338da82a97bfba87f5640 asterisk-addons-1.2.4.ebuild 4359 SHA256 b186f32491f8f97d7fb557b677177e50c07a3ff1c64380eb9de72866fe42ac27 asterisk-addons-1.2.4.ebuild 4359 -MISC ChangeLog 2359 RMD160 2d0f9a8f9c72d32af73f9729b7ce36e173e953a8 SHA1 d7d3c4532715a3fb5e296556dc10335821e07ce7 SHA256 37ec4428c2fe40829833c404ec0c81ad55671b6546072183989df2a1bb96fee5 -MD5 717a7d0cbc028c5126d9619b8276bd83 ChangeLog 2359 -RMD160 2d0f9a8f9c72d32af73f9729b7ce36e173e953a8 ChangeLog 2359 -SHA256 37ec4428c2fe40829833c404ec0c81ad55671b6546072183989df2a1bb96fee5 ChangeLog 2359 +EBUILD asterisk-addons-1.2.5.ebuild 4361 RMD160 ef44ca1ec94166bbfecdf61bcad9ad11ae7ccf1b SHA1 a3713bb052afb4754fd9674dab98ff8fbf197a84 SHA256 7647f11a3511105f1af418efe7f17df96b46b63e1ce2dab65c2e6ee57ec9a9f1 +MD5 db312fe2f4e84f81b01f856d4977887a asterisk-addons-1.2.5.ebuild 4361 +RMD160 ef44ca1ec94166bbfecdf61bcad9ad11ae7ccf1b asterisk-addons-1.2.5.ebuild 4361 +SHA256 7647f11a3511105f1af418efe7f17df96b46b63e1ce2dab65c2e6ee57ec9a9f1 asterisk-addons-1.2.5.ebuild 4361 +MISC ChangeLog 2496 RMD160 333cef2157a2f005a68f09135d63998401055141 SHA1 db6f3cc1970b74f6f7bf5fa4e04305d6e5fce2e6 SHA256 36f750b08e21929c4b7e1686525e645e27e5b9687dbc1c7d950c94a40077522a +MD5 bb5b6acef61fd486d64475479adfd3e5 ChangeLog 2496 +RMD160 333cef2157a2f005a68f09135d63998401055141 ChangeLog 2496 +SHA256 36f750b08e21929c4b7e1686525e645e27e5b9687dbc1c7d950c94a40077522a ChangeLog 2496 MISC metadata.xml 248 RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e SHA1 10bea6cd152e9f0ecb627eaacc19980a9d5f5dc4 SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248 RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e metadata.xml 248 @@ -42,10 +47,13 @@ SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b metadata MD5 4366f55c15cd0977255a599b96ebb87b files/digest-asterisk-addons-1.2.4 506 RMD160 d5fd18ccd92e188fe316a1eb645051144045a02b files/digest-asterisk-addons-1.2.4 506 SHA256 feaa2746b646c2360505300a19941e2fb5b2c47b6743e3fc5c4afdffd7b2b465 files/digest-asterisk-addons-1.2.4 506 +MD5 a1c2b7069cecd74d5541bc89c1378f4a files/digest-asterisk-addons-1.2.5 506 +RMD160 094d6f93972c76edf847c09efd5fa628141b44b4 files/digest-asterisk-addons-1.2.5 506 +SHA256 1de401169e2b01e625750da3f6ccd7614fd5ae3205bd3b0946977da51cff40cb files/digest-asterisk-addons-1.2.5 506 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux) -iD8DBQFFpWy6KRy60XGEcJIRAg2TAJ0QM38NWrUZ+uh7FfKWF7YSAnrIvwCgoMQ9 -8qgMAGIdvXFQG2027eqVn80= -=NOAV +iD8DBQFFrnEkKRy60XGEcJIRAs5nAJsGuR1r9r1yWLNlTlToIs40ViMG+wCgoN8v +RDUcoBtOvGNlk+IO3DbIfDg= +=n9Jm -----END PGP SIGNATURE----- diff --git a/net-misc/asterisk-addons/asterisk-addons-1.2.5.ebuild b/net-misc/asterisk-addons/asterisk-addons-1.2.5.ebuild new file mode 100644 index 000000000000..27a2f4d3bb87 --- /dev/null +++ b/net-misc/asterisk-addons/asterisk-addons-1.2.5.ebuild @@ -0,0 +1,179 @@ +# 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/files/digest-asterisk-addons-1.2.5 b/net-misc/asterisk-addons/files/digest-asterisk-addons-1.2.5 new file mode 100644 index 000000000000..a046dbfaa591 --- /dev/null +++ b/net-misc/asterisk-addons/files/digest-asterisk-addons-1.2.5 @@ -0,0 +1,6 @@ +MD5 2bc743cb622986873b5fd5be0f013034 asterisk-addons-1.2.5.tar.gz 756698 +RMD160 9579ea43f71b819cf69c59644d19109d08f079c1 asterisk-addons-1.2.5.tar.gz 756698 +SHA256 b9ae7fcdff71be4b267f62c6f72546dce837875b29bb0d07d8b9883e4e2f14f1 asterisk-addons-1.2.5.tar.gz 756698 +MD5 ccf3831c2f67452d444c5e5e2c7ca6f0 sqlite-3.2.1.tar.gz 1351842 +RMD160 3b4cfc1fca27d4df369220d15eb5e28777bd99da sqlite-3.2.1.tar.gz 1351842 +SHA256 daba70d5d7666ff8091a7a9322a1a2d88889043d50e136ed7d3e726d751001a7 sqlite-3.2.1.tar.gz 1351842