summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2011-02-27 19:21:57 +0000
committerTony Vroon <chainsaw@gentoo.org>2011-02-27 19:21:57 +0000
commita10ff73da4c25261e271b2eddc5b388652dadfe4 (patch)
tree6874ca053e10fc33e94cba5d07b3390b268978f5 /net-misc
parentRemove insecure ebuilds now that security stabilisation has been completed. A... (diff)
downloadhistorical-a10ff73da4c25261e271b2eddc5b388652dadfe4.tar.gz
historical-a10ff73da4c25261e271b2eddc5b388652dadfe4.tar.bz2
historical-a10ff73da4c25261e271b2eddc5b388652dadfe4.zip
Asterisk 1.2 has been removed from portage; clean up accordingly.
Package-Manager: portage-2.1.9.41/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/asterisk-addons/ChangeLog7
-rw-r--r--net-misc/asterisk-addons/Manifest13
-rw-r--r--net-misc/asterisk-addons/asterisk-addons-1.2.9.ebuild173
3 files changed, 10 insertions, 183 deletions
diff --git a/net-misc/asterisk-addons/ChangeLog b/net-misc/asterisk-addons/ChangeLog
index 0345ab4dfb56..706f25c39ad0 100644
--- a/net-misc/asterisk-addons/ChangeLog
+++ b/net-misc/asterisk-addons/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/asterisk-addons
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/ChangeLog,v 1.19 2010/08/20 18:14:22 chainsaw Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/ChangeLog,v 1.20 2011/02/27 19:21:57 chainsaw Exp $
+
+ 27 Feb 2011; Tony Vroon <chainsaw@gentoo.org> -asterisk-addons-1.2.9.ebuild:
+ Asterisk 1.2 has been removed from portage; clean up accordingly.
20 Aug 2010; <chainsaw@gentoo.org> -asterisk-addons-1.6.1.2.ebuild:
Remove version dependent upon Asterisk 1.6.1; this branch has been removed
diff --git a/net-misc/asterisk-addons/Manifest b/net-misc/asterisk-addons/Manifest
index 1cb895f53c6d..df96d1264e93 100644
--- a/net-misc/asterisk-addons/Manifest
+++ b/net-misc/asterisk-addons/Manifest
@@ -13,17 +13,14 @@ AUX asterisk-addons-1.6.2.0-parallel-make.diff 2613 RMD160 2bbf713f9d926b5246931
AUX asterisk-addons-1.6.2.0-respect-destdir.diff 541 RMD160 8f65b2dc46befed1adebea146c469597633705e1 SHA1 f22051f9bd8820fd767fe409543f3c572cb09e5e SHA256 bb7f8262f46c4bf98527d76e5c80a6ff06e07d46baff86c77c6a62e1bf77e39f
AUX asterisk-addons-1.6.2.0-uclibc.diff 1527 RMD160 2c55274420645cc0494c35e7f1298cf67db2c516 SHA1 523f761dd60b8dfc4612204bad34bebb870a690c SHA256 6e52864ed2315510cfbe984793a2defb24d541a24d736da730164a2b2b98b261
AUX sqlite-3.2.1-data-corruption.patch 6529 RMD160 06f79a07f5dfb12967ebc233544b0807ac8114af SHA1 73203e5145119b9ad070596271793ea36e0bd651 SHA256 7b42e48387045ab466a0d7f936099de0d1597b0cf593fb28705a46c1b6e76b81
-DIST asterisk-addons-1.2.9.tar.gz 762705 RMD160 329125af2567fe96255c5f70092a2d2196b7db81 SHA1 719b45b99e5cc622d5ddc2035bea9e31fd4a491e SHA256 13df280ca14e9573b3a72de4c1ac75424939add981337cfd1c73a99444f75dc4
DIST asterisk-addons-1.6.2.0.tar.gz 866439 RMD160 e35c7e8d3a77f36cea568892e5641ee029521733 SHA1 7343a7acb34ba0ffd48fd1404a143824fce70dcd SHA256 d3fac696a28350f324cd9bf86272f6068e5ea65e4966180faa4471c8b38fff03
-DIST sqlite-3.2.1.tar.gz 1351842 RMD160 3b4cfc1fca27d4df369220d15eb5e28777bd99da SHA1 df9b8a28bb64a29df8b2411b6b8b746b04d742eb SHA256 daba70d5d7666ff8091a7a9322a1a2d88889043d50e136ed7d3e726d751001a7
-EBUILD asterisk-addons-1.2.9.ebuild 4316 RMD160 0dae2f36a0bd8d81a77eea21bd1d25ec9f73bfcd SHA1 ff3e907908295f43cf628141fe6ab2b18af6b9ac SHA256 ee3c5491c637f09f090b785f6520178944c88ced0f2aa32393d3e83ea8ac61d3
EBUILD asterisk-addons-1.6.2.0.ebuild 1496 RMD160 7d744227d4a2dc77ae06f89a52d7042172195765 SHA1 a6560d5ceca72c41989d934d7bc88f7e3d033aa7 SHA256 fb622b4b13b22b1bdc3688a049f06fcd5f654bebf43f3b2e40edb96162c91a7f
-MISC ChangeLog 4893 RMD160 956fd025f056224a8fc2bf03f23afd6f4870ba00 SHA1 fc4fcf3a1832d4ba0bfb092f61b166b4f9e98d9e SHA256 4d626c0ac95f8405f7a23cbfc52c41d96f51856101e8e751378cdb76b402281f
+MISC ChangeLog 5041 RMD160 13f0a51428b96ebc14e4e078e2a1c3394193d5dc SHA1 948efb24f9c327058fa3793ef6b0ec9c73c19f96 SHA256 152e10f335f3fa177fcf0bfdb303a5db072b023811cf24c6d95388ba698c680f
MISC metadata.xml 347 RMD160 500132e360b39cc8f2a4c2763e242d700df81467 SHA1 dbbf70e51895671da71c708ed95f4d049adea12b SHA256 ecf7b68234022ca3ad594155e153417bf2d9aae54c18ff067ccc8f4db0e4e19a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAkxuxgcACgkQp5vW4rUFj5qvBQCfbEg+7KLV4OlpSw24ymL8AH7+
-4YMAoIfVydjkDX1Bl/uNJVQaqT08ceWx
-=fehK
+iEYEARECAAYFAk1qpE8ACgkQp5vW4rUFj5rBGwCcCufppQR9xIOLAQv6RIpWPFaM
+yRoAnjMQKRDnmh/0MJ0DsW+3tLYo/2aK
+=VFKg
-----END PGP SIGNATURE-----
diff --git a/net-misc/asterisk-addons/asterisk-addons-1.2.9.ebuild b/net-misc/asterisk-addons/asterisk-addons-1.2.9.ebuild
deleted file mode 100644
index b0d6bb0f6f57..000000000000
--- a/net-misc/asterisk-addons/asterisk-addons-1.2.9.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2009 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.9.ebuild,v 1.1 2009/05/01 15:43:59 chainsaw Exp $
-
-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://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}
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~sparc ~x86"
-
-RDEPEND="=net-misc/asterisk-1.2*
- 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
- if use elibc_uclibc; then
- epatch "${FILESDIR}/${PN}-1.2.2-uclibc.diff"
- epatch "${FILESDIR}/${PN}-1.2.4-uclibc.diff"
- fi
- # 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 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
-
- 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() {
- 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.\""
- 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.\""
-}