summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2006-06-13 13:34:13 +0000
committerStefan Knoblich <stkn@gentoo.org>2006-06-13 13:34:13 +0000
commitbac24dc5e40ce92f7e34fe8bffc405f0c8e5d49f (patch)
tree14da19348e8eb646c9c733ed4126a89da02b632a /net-misc/asterisk
parentRemove old asterisk-1.2 ebuilds. (diff)
downloadgentoo-2-bac24dc5e40ce92f7e34fe8bffc405f0c8e5d49f.tar.gz
gentoo-2-bac24dc5e40ce92f7e34fe8bffc405f0c8e5d49f.tar.bz2
gentoo-2-bac24dc5e40ce92f7e34fe8bffc405f0c8e5d49f.zip
Remove old asterisk-1.2 ebuilds.
(Portage version: 2.1) (Unsigned Manifest commit)
Diffstat (limited to 'net-misc/asterisk')
-rw-r--r--net-misc/asterisk/Manifest28
-rw-r--r--net-misc/asterisk/asterisk-1.2.7_p1-r1.ebuild530
-rw-r--r--net-misc/asterisk/asterisk-1.2.7_p1.ebuild529
-rw-r--r--net-misc/asterisk/files/digest-asterisk-1.2.7_p115
-rw-r--r--net-misc/asterisk/files/digest-asterisk-1.2.7_p1-r112
5 files changed, 4 insertions, 1110 deletions
diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest
index b039343423c1..d1b3947269cb 100644
--- a/net-misc/asterisk/Manifest
+++ b/net-misc/asterisk/Manifest
@@ -127,10 +127,6 @@ DIST asterisk-1.0.11.1.tar.gz 9642342 RMD160 052732640d4e7aac61a03443affaa348bd7
DIST asterisk-1.0.7.tar.gz 9591705 RMD160 bb738f0e3d100314fa7497c9ee81f8a022e536bb SHA1 7e91d6771901c34f6bbd8e0bbc3ca15173654c87 SHA256 552dd71917475eaf1866665d091909c2c50865d84c62ab35383f443141e08a74
DIST asterisk-1.0.8.tar.gz 9604563 RMD160 6f1e63804ce4a2ec90a61571bf946d6b64dcea76 SHA1 b45587a09d01726cd337ea7afc77ab3c53dcb0b5 SHA256 26807ac82aa45758e538276301273c4493e1f4fdb2ba433bd732ab21d2340e9a
DIST asterisk-1.0.9.tar.gz 9604582 RMD160 2e48dc00a3c290cc6b418ab0aee42feb93d9e76a SHA1 62edb29222e4a801893d1f23b73def8555ac2c47 SHA256 27e9437b3e6297f1a5e171b96e818c1ffa51dba78afe61277f5c3540809d2653
-DIST asterisk-1.2.5-genericjb-20060228.patch.gz 14864 RMD160 857811e1882d3a9b88cd3e511eb5b0cdaa9a0a40 SHA1 5870dc811fdafaad15c42a74b5518263f35113a5 SHA256 eb95782962cd158e5ced8342e0822fd3d9c196c07c5465aab8c549acc2eb4acb
-DIST asterisk-1.2.7-patches-1.0.tar.bz2 8330 RMD160 1e699108a1016f9c2e0291c02638c750ff9465e9 SHA1 e293ff81ccbd6e9f4b188ee66130c6165db82c19 SHA256 4e3f69063d160edef35ade7e86f2a7d5408c6937d4c7487c6ed6043fb3c12d2c
-DIST asterisk-1.2.7.1-bristuff-0.3.0-PRE-1n.diff.bz2 81710 RMD160 1ab7df2785fc7fd7859f7e55cc1ab643519249bf SHA1 b2bc3fb05a8201011cc1f482752bb80764ab0299 SHA256 8e6e00e4273a7d96bde834c872b598f18e3328c01172940975fa93bf726f70b6
-DIST asterisk-1.2.7.1.tar.gz 10554037 RMD160 28c1d5c3ac6db52d7d315f59d391a655b77338fd SHA1 070a5ca9aaac5fd11544955e4261d5f38b765911 SHA256 c561ec886a779a59c78cbeffda457f2a07535ddceb371561c54adc6ee60d984a
DIST asterisk-1.2.9.1-bristuff-0.3.0-PRE-1p.diff.gz 101646 RMD160 d36f6cd71d7442e8c8e2c9d3c2d28d4d0460b9a0 SHA1 2844b4d2fa0c1925f74b45e92bf8bc0b2ad03d8b SHA256 70a7ab0cb1480254015802c296ce370b6c28d84a5e961422dc8be7e33ef29c54
DIST asterisk-1.2.9.1-patches-1.0.tar.bz2 7146 RMD160 b7a0ba75ccfdae1364b44dc1f40f32f95451c10c SHA1 64e686e3e6f176a109faaba09a57cd23390b6122 SHA256 f5ab925d76da82c3952b3c86f615a6cec08adfdc1b60985b6b86f5d4d7aab1b2
DIST asterisk-1.2.9.1.tar.gz 10568287 RMD160 d512d3560812bc267a4d372cc96f989e26d7042a SHA1 dbb3f84aa33856654bfc937dce853f524a5aa6d6 SHA256 6569080ee10a6dd9b554fc04a33641bc0964abc0502f797cdfefadafe2b6e71d
@@ -142,8 +138,6 @@ DIST bristuff-0.2.0-RC8h.tar.gz 150270 RMD160 a958bc8418618ca892f0fbdb8d8cf20337
DIST bristuff-0.2.0-RC8n.tar.gz 143979 RMD160 922b6b807bb48aa690412de3916eeb54c1454486 SHA1 83342bebe9a2c5804ea81edc2c80d5675366b3b5 SHA256 a92d9d8e9777c0637d2db0375794fe011fd8ecf1461f0b8e6587c74670da637c
DIST bristuff-0.2.0-RC8q.tar.gz 152037 RMD160 aaa9ca23eaeb74abc96dd7240f67e7886d4d6ad9 SHA1 27a6f56f47aa7ee5459d2625da7cff310909764e SHA256 8ba7a1e1e6ee8e9d77853d6d790d0de5deced7c11679b9b0e108cca817ed9728
DIST bristuff-0.2.0-RC8r.tar.gz 194888 RMD160 d5dd31b9e4dcf30af6d2a62deb285a83f8a54019 SHA1 fc16a64e191d3f2720220f3ecbba3c55cece4654 SHA256 99f9da320d6335413384d12310e5ae9815572281c99d5908706022b6a4d6cb03
-DIST bristuff-0.3.0-PRE-1n.tar.gz 248488 RMD160 3da3043a88551578b4495ae8e54ffb6a4f3bfd2c SHA1 c4aa937dffa7dec4ffed1c08bc228f6521c52306 SHA256 31b894bdd2741e309dfed23963db1cda3d74a8d616de8df9f1281b5558aa27f1
-DIST bristuff-0.3.0-PRE-1o.tar.gz 252770 RMD160 60f1656a815bd1ff7d86ca7cb657c1d850a84804 SHA1 fd215b07533532c04f60212284a4cd1d6f18d5ba SHA256 aec95d12959181b601d7d10f05bb16eff715859dc8ea9fbb10e670296f61b6e9
DIST bristuff-0.3.0-PRE-1p.tar.gz 254003 RMD160 e87c0289bc598b52b962d192bc54008edc9b38a9 SHA1 5372bf13be0f5c7dd36046a8ac1cf5ed0fbb1f0b SHA256 d7dbb352ac68d64458919b94f815c8c97418c54fa8ae5411084370325528c164
EBUILD asterisk-1.0.10-r2.ebuild 14790 RMD160 f98c910b4a05d8f8c52d49ad8c195a8635b1be7b SHA1 18232089eea9af79d514ae44358e857abe54f034 SHA256 dba69c1e42c8f4a1d81cb48b264e1e59e7ca8d84d6576be12be16210e6f4f2f5
MD5 bb0a1e5098f140166d38b18999f996f7 asterisk-1.0.10-r2.ebuild 14790
@@ -165,22 +159,14 @@ EBUILD asterisk-1.0.9-r4.ebuild 13965 RMD160 5a09429e96ec494e217a11eb174225c84c0
MD5 9a4b789a2035ac22e1af8d08f602e386 asterisk-1.0.9-r4.ebuild 13965
RMD160 5a09429e96ec494e217a11eb174225c84c0c9b2b asterisk-1.0.9-r4.ebuild 13965
SHA256 ea43e113fa541640f6cd3d1abec0841c611255df5938456e55871548b2973296 asterisk-1.0.9-r4.ebuild 13965
-EBUILD asterisk-1.2.7_p1-r1.ebuild 13078 RMD160 9b2d41b5f2c6ef3eb9ac5acdff662daccf166543 SHA1 740356f1a413788f5887d71e94d6946b1f1526f8 SHA256 136621d72b4cab03d22be1db2e2ba1be0ce876d6612b9933d69ded2ff3ce7f39
-MD5 e1361e7202773e2aba3ada9784068ed1 asterisk-1.2.7_p1-r1.ebuild 13078
-RMD160 9b2d41b5f2c6ef3eb9ac5acdff662daccf166543 asterisk-1.2.7_p1-r1.ebuild 13078
-SHA256 136621d72b4cab03d22be1db2e2ba1be0ce876d6612b9933d69ded2ff3ce7f39 asterisk-1.2.7_p1-r1.ebuild 13078
-EBUILD asterisk-1.2.7_p1.ebuild 13073 RMD160 32f7e2d427dc53d76f007f7b07361c962d17ec80 SHA1 9e21f3e9f94e3af8531dfc7c0c13f498f85c7b5d SHA256 4ae20f0889bcf4eae2b16d10765e1abf99effc4462f5fa78d6d7d96e9967e8c1
-MD5 09d2b6905923ef8beadadb6fc592d62c asterisk-1.2.7_p1.ebuild 13073
-RMD160 32f7e2d427dc53d76f007f7b07361c962d17ec80 asterisk-1.2.7_p1.ebuild 13073
-SHA256 4ae20f0889bcf4eae2b16d10765e1abf99effc4462f5fa78d6d7d96e9967e8c1 asterisk-1.2.7_p1.ebuild 13073
EBUILD asterisk-1.2.9_p1.ebuild 13214 RMD160 80ebeabac948a3d5c887eb9a3e9d57db2b41c56a SHA1 fb2f95ed6a05f651569194f361f773133734657a SHA256 c1b90df3bab436d255b063b6243386faa68971b34aa246b2521d32c1f436e260
MD5 094a21660abe50b8d546338a31c26096 asterisk-1.2.9_p1.ebuild 13214
RMD160 80ebeabac948a3d5c887eb9a3e9d57db2b41c56a asterisk-1.2.9_p1.ebuild 13214
SHA256 c1b90df3bab436d255b063b6243386faa68971b34aa246b2521d32c1f436e260 asterisk-1.2.9_p1.ebuild 13214
-MISC ChangeLog 24586 RMD160 e8c7172070621eba836fd267c2cac959a1219c2d SHA1 de6378089c3ad9659c5c25c0f4a4bd2f152a60e9 SHA256 23caedbe2807facf922b8d61ee800ecfe56170853d1e21139e344210502b19b7
-MD5 22fcaceee1ed7504e20c9dcfe08eb037 ChangeLog 24586
-RMD160 e8c7172070621eba836fd267c2cac959a1219c2d ChangeLog 24586
-SHA256 23caedbe2807facf922b8d61ee800ecfe56170853d1e21139e344210502b19b7 ChangeLog 24586
+MISC ChangeLog 24729 RMD160 e0c7c07c0d380804adb6fc94ce3a8a5fdb40f345 SHA1 66aa4a4fc8e7b2e77570dec26f8f945eb7e4e4d2 SHA256 b03542937c39d8572ac7dbf33f6da7f134c4d058724ed68926ca8376a8f239a3
+MD5 e94c3013e83eb1a54c44af1196c0aeb7 ChangeLog 24729
+RMD160 e0c7c07c0d380804adb6fc94ce3a8a5fdb40f345 ChangeLog 24729
+SHA256 b03542937c39d8572ac7dbf33f6da7f134c4d058724ed68926ca8376a8f239a3 ChangeLog 24729
MISC metadata.xml 384 RMD160 f5de78add5676233b8e0b9e111eab08970443582 SHA1 0441844fb3a715d6979e6c548147ada23d73fec2 SHA256 674224368cb2be6f72655cd67ee19d4d2d0f3425d560aff22b698269e0adc6d8
MD5 488aea6fbdb7537394cc049b0ff9e5d5 metadata.xml 384
RMD160 f5de78add5676233b8e0b9e111eab08970443582 metadata.xml 384
@@ -200,12 +186,6 @@ SHA256 c9c331989779b72908a891abb8204fe36a9294c6100480446e417f5110e5fd65 files/di
MD5 e9e9701fad77824bcfdff1f02b9634e3 files/digest-asterisk-1.0.9-r4 768
RMD160 a3a8772f22b856f9f1cea758a10caecca24c326f files/digest-asterisk-1.0.9-r4 768
SHA256 4a05fc2f217e415d6c30a83923be93e674c46727935eaa9abcdb72220b8cdd43 files/digest-asterisk-1.0.9-r4 768
-MD5 03e2e55422979c602afee0c184679bba files/digest-asterisk-1.2.7_p1 1421
-RMD160 b19af990bfbc3ebb1844df64cac8bee4de099c73 files/digest-asterisk-1.2.7_p1 1421
-SHA256 3a6bbda099f4b784b79a5a188cebe4f2d2957a221011cddb9cbebbb8039cba60 files/digest-asterisk-1.2.7_p1 1421
-MD5 3a878785e0bfd7506a08ed743908c6ef files/digest-asterisk-1.2.7_p1-r1 1102
-RMD160 0bdb153ef12b34793321689b23e54a55275631c3 files/digest-asterisk-1.2.7_p1-r1 1102
-SHA256 e54dc1ae7753e9b31d8b924fa8974178bdd2f87609a6ecff6658b86941a4204a files/digest-asterisk-1.2.7_p1-r1 1102
MD5 0d67e9f20541b9c0f58eda0078838832 files/digest-asterisk-1.2.9_p1 1123
RMD160 a6f98a8587800b17bf455b1d98e6e245adfd4de8 files/digest-asterisk-1.2.9_p1 1123
SHA256 cba582b08ef45f966a57d3e9ef4c23c95f1af7a3ee36c6858e5d028030189163 files/digest-asterisk-1.2.9_p1 1123
diff --git a/net-misc/asterisk/asterisk-1.2.7_p1-r1.ebuild b/net-misc/asterisk/asterisk-1.2.7_p1-r1.ebuild
deleted file mode 100644
index 80cda2b38ac2..000000000000
--- a/net-misc/asterisk/asterisk-1.2.7_p1-r1.ebuild
+++ /dev/null
@@ -1,530 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.2.7_p1-r1.ebuild,v 1.1 2006/05/06 14:48:07 stkn Exp $
-
-inherit eutils
-
-IUSE="alsa bri curl debug doc genericjb gtk h323 hardened lowmem mmx mysql \
- nosamples odbc osp postgres pri speex sqlite ssl ukcid zaptel"
-
-#IUSE="alsa bri curl debug doc gtk genericjb h323 hardened lowmem mmx mysql \
-# nosamples odbc osp postgres pri speex sqlite ssl t38 ukcid zaptel"
-
-BRI_VERSION="0.3.0-PRE-1o"
-AST_PATCHES="1.2.7-patches-1.0"
-T38_PATCHES="1.2.4-t38-20060216"
-JB_PATCHES="1.2.5-genericjb-20060228"
-
-## NOTE:
-#
-#
-
-MY_P="${P/_p/.}"
-
-DESCRIPTION="Asterisk: A Modular Open Source PBX System"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="http://ftp.digium.com/pub/asterisk/${MY_P}.tar.gz
- http://www.netdomination.org/pub/asterisk/${PN}-${AST_PATCHES}.tar.bz2
- genericjb? ( http://www.netdomination.org/pub/asterisk/${PN}-${JB_PATCHES}.patch.gz )
- bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz )"
-
-# t38? ( http://www.netdomination.org/pub/asterisk/${PN}-${T38_PATCHES}.tar.bz2 )
-# bri? ( http://www.netdomination.org/pub/asterisk/${MY_P}-bristuff-${BRI_VERSION}.diff.bz2
-# http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz )"
-
-
-S="${WORKDIR}/${MY_P}"
-S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
-
-RDEPEND="dev-libs/newt
- media-sound/sox
- media-sound/mpg123
- ssl? ( dev-libs/openssl )
- gtk? ( =x11-libs/gtk+-1.2* )
- pri? ( >=net-libs/libpri-1.2.2 )
- h323? ( >=dev-libs/pwlib-1.8.3
- >=net-libs/openh323-1.15.0 )
- alsa? ( media-libs/alsa-lib )
- curl? ( net-misc/curl )
- odbc? ( dev-db/unixODBC )
- mysql? ( dev-db/mysql )
- speex? ( media-libs/speex )
- sqlite? ( <dev-db/sqlite-3.0.0 )
- zaptel? ( >=net-misc/zaptel-1.2.5 )
- postgres? ( dev-db/postgresql )
- osp? ( >=net-libs/osptoolkit-3.3.4 )
- bri? ( >=net-libs/libpri-1.2.2
- >=net-misc/zaptel-1.2.5 )"
-
-DEPEND="${RDEPEND}
- sys-devel/flex
- sys-devel/bison
- doc? ( app-doc/doxygen )"
-
-
-#
-# List of modules to ignore during scan (because they have been removed in 1.2.x)
-#
-SCAN_IGNORE_MODS="
- app_qcall
- chan_modem
- chan_modem_i4l
- chan_modem_bestdata
- chan_modme_aopen"
-
-#
-# shortcuts
-#
-is_ast10update() {
- return $(has_version "=net-misc/asterisk-1.0*")
-}
-
-is_astupdate() {
- if ! is_ast10update; then
- return $(has_version "<net-misc/asterisk-${PV}")
- fi
- return 0
-}
-
-#
-# Display a nice countdown...
-#
-countdown() {
- local n
-
- ebeep
-
- n=${1:-10}
- while [[ $n -gt 0 ]]; do
- echo -en " Waiting $n second(s)...\r"
- sleep 1
- (( n-- ))
- done
-}
-
-#
-# Scan for asterisk-1.0.x modules that will have to be updated
-#
-scan_modules() {
- local modules_list=""
- local n
-
- for x in $(ls -1 ${ROOT}usr/lib/asterisk/modules/*.so); do
- echo -en "Scanning.... $(basename ${x}) \r"
-
- # skip blacklisted modules
- hasq $(basename ${x//.so}) ${SCAN_IGNORE_MODS} && continue
-
- if $(readelf -s "${x}" | grep -q "\(ast_load\|ast_destroy\)$"); then
- modules_list="${modules_list} $(basename ${x//.so})"
- fi
- done
-
- if [[ -n "${modules_list}" ]]; then
- echo " ========================================================"
- ewarn "Please update or unmerge the following modules:"
- echo
-
- n=0
- for x in ${modules_list}; do
- ewarn " - ${x}"
- (( n++ ))
- done
-
- echo
- ewarn "Warning: $n outdated module(s) found!"
- ewarn "Warning: asterisk may not work if you don't update them!"
- echo " ========================================================"
- echo
- einfo "You can use the \"asterisk-updater\" script to update the modules"
- echo
- countdown
- echo
- return 1
- else
- einfo "No asterisk-1.0.x modules found!"
- return 0
- fi
-}
-
-pkg_setup() {
- local checkfailed=0 waitaftermsg=0
-
- if is_ast10update; then
- ewarn " Asterisk UPGRADE Warning"
- ewarn ""
- ewarn "- Please read ${ROOT}usr/share/doc/${PF}/UPGRADE.txt.gz after the installation!"
- ewarn ""
- ewarn " Asterisk UPGRADE Warning"
- echo
- waitaftermsg=1
- fi
-
-# if use t38; then
-# ewarn "********************** Experimental Feature **************************"
-# ewarn "Please note that T.38 pass-through support is experimental and may not"
-# ewarn "be included in newer versions!"
-# echo
-# waitaftermsg=1
-# fi
-
- if use genericjb; then
- ewarn "********************** Experimental Feature **************************"
- ewarn "Please note that generic jitterbuffer support is experimental and may not"
- ewarn "be included in newer versions!"
- echo
- waitaftermsg=1
- fi
-
- if [[ $waitaftermsg -eq 1 ]]; then
- einfo "Press Ctrl+C to abort"
- echo
- countdown
- fi
-
- #
- # Regular checks
- #
- einfo "Running some pre-flight checks..."
- echo
-
- # check if zaptel has been compiled with ukcid too
- if use ukcid; then
- if ! built_with_use net-misc/zaptel ukcid; then
- eerror "- ukcid: Re-emerge zaptel with \"ukcid\" useflag enabled!"
- checkfailed=1
- fi
- fi
-
- # check if zaptel and libpri have been built with bri enabled
- if use bri; then
- if ! built_with_use net-misc/zaptel bri; then
- eerror "- bri: Re-emerge zaptel with \"bri\" useflag enabled!"
- heckfailed=1
- fi
-
- if ! built_with_use net-libs/libpri bri; then
- eerror "- bri: Re-emerge libpri with \"bri\" useflag enabled!"
- checkfailed=1
- fi
- fi
-
- # stop here if checks failed
- [[ $checkfailed -eq 1 ]] && \
- die "Pre-flight check failed, see messages for more information!"
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- #
- # gentoo patchset
- #
- for x in $(grep -v "^#\| \+" ${WORKDIR}/patches/patches.list); do
- epatch ${WORKDIR}/patches/${x}
- done
-
- if use mmx; then
- if ! use hardened; then
- einfo "Enabling mmx optimization"
- sed -i -e "s:^#\(K6OPT[\t ]\+= -DK6OPT\):\1:" \
- Makefile
- else
- ewarn "Hardened use-flag is set, not enabling mmx optimization for codec_gsm!"
- fi
- fi
-
- if ! use debug; then
- einfo "Disabling debug support"
- sed -i -e "s:^\(DEBUG=\):#\1:" \
- Makefile
- fi
-
- if ! use ssl; then
- einfo "Disabling crypto support"
- sed -i -e "s:^#\(NOCRYPTO=yes\):\1:" \
- Makefile
- fi
-
- #
- # uclibc patch
- #
- if use elibc_uclibc; then
- einfo "Patching asterisk for uclibc..."
- epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-uclibc-dns.diff
- epatch ${FILESDIR}/1.2.0/${PN}-1.2.1-uclibc-getloadavg.diff
- fi
-
- #
- # ukcid patch from http://www.lusyn.com/asterisk/
- #
- if use ukcid; then
- einfo "Patching asterisk for UK Callerid..."
- epatch ${FILESDIR}/1.2.0/${PN}-1.2.0_beta-ukcid.patch
- fi
-
- #
- # BRI patches
- #
- if use bri; then
- einfo "Patching asterisk w/ BRI stuff"
-
-# epatch ${WORKDIR}/${MY_P}-bristuff-${BRI_VERSION}.diff
- epatch ${S_BRI}/patches/asterisk.patch
- fi
-
- #
- # T.38 pass-through patch (asterisk bug #5090)
- #
-# if use t38; then
-# einfo "T.38 experimental pass-through support (ast #5090)"
-# epatch ${WORKDIR}/asterisk-${T38_PATCHES}-udptl.patch
-#
-# if use bri; then
-# epatch ${WORKDIR}/asterisk-${T38_PATCHES}-bri.patch
-# else
-# epatch ${WORKDIR}/asterisk-${T38_PATCHES}-nobri.patch
-# fi
-# fi
-
- #
- # Generic jitterbuffer (asterisk bug #3854)
- #
- if use genericjb; then
- einfo "Generic jitterbuffer (ast #3854)"
- epatch ${WORKDIR}/${PN}-${JB_PATCHES}.patch
-
- sed -i -e "s:^\(GENERIC_JB = \)#-DAST_JB:\1 -DAST_JB:" \
- Makefile
- fi
-}
-
-src_compile() {
- local myopts
-
- use lowmem && \
- myopts="-DLOW_MEMORY"
-
- if use h323; then
- einfo "Building H.323 wrapper lib..."
- make -C channels/h323 \
- NOTRACE=1 \
- PWLIBDIR=/usr/share/pwlib \
- OPENH323DIR=/usr/share/openh323 \
- libchanh323.a Makefile.ast || die "Make h323 failed"
- fi
-
- einfo "Building Asterisk..."
- make \
- NOTRACE=1 \
- OPTIMIZE="${CFLAGS}" \
- PWLIBDIR=/usr/share/pwlib \
- OPENH323DIR=/usr/share/openh323 \
- OPTIONS="${myopts}" || die "Make failed"
-
- # create api docs
- use doc && \
- make progdocs
-
- # build bristuff's ISDNguard
- use bri && \
- make -C ${S_BRI}/ISDNguard
-}
-
-src_install() {
-
- # install asterisk
- make DESTDIR=${D} install || die "Make install failed"
- make DESTDIR=${D} samples || die "Failed to create sample files"
-
- # remove bristuff capi
- use bri && \
- rm -f ${D}usr/lib/asterisk/modules/{app,chan}_capi*.so 2>/dev/null
-
- # remove installed sample files if nosamples flag is set
- if use nosamples; then
- einfo "Skipping installation of sample files..."
- rm -rf ${D}var/spool/asterisk/voicemail/default
- rm -f ${D}var/lib/asterisk/mohmp3/*
- rm -f ${D}var/lib/asterisk/sounds/demo-*
- rm -f ${D}var/lib/asterisk/agi-bin/*
- else
- einfo "Sample files have been installed"
- keepdir /var/spool/asterisk/voicemail/default/1234/INBOX
- fi
-
- # move sample configuration files to doc directory
- if is_ast10update; then
- einfo "Updating from old (pre-1.2) asterisk version, new configuration files have been installed"
- einfo "into ${ROOT}etc/asterisk, use etc-update or dispatch-conf to update them"
- elif has_version "net-misc/asterisk"; then
- einfo "Configuration samples have been moved to: $ROOT/usr/share/doc/${PF}/conf"
- insinto /usr/share/doc/${PF}/conf
- doins ${D}etc/asterisk/*.conf* /usr/share/doc/${PF}/conf
- rm -f ${D}etc/asterisk/*.conf* 2>/dev/null
- fi
-
- # don't delete these directories, even if they are empty
- for x in voicemail meetme system dictate monitor tmp; do
- keepdir /var/spool/asterisk/${x}
- done
- keepdir /var/lib/asterisk/sounds/priv-callerintros
- keepdir /var/lib/asterisk/mohmp3
- keepdir /var/lib/asterisk/agi-bin
- keepdir /var/log/asterisk/cdr-csv
- keepdir /var/log/asterisk/cdr-custom
- keepdir /var/run/asterisk
-
- # install asterisk.h, a lot of external modules need this
- insinto /usr/include/asterisk
- doins include/asterisk.h
-
- # install astgenkey, astxs, safe_asterisk and manpages
- dobin contrib/scripts/astxs
- dosbin contrib/scripts/astgenkey
- dosbin contrib/scripts/safe_asterisk
- doman contrib/scripts/safe_asterisk.8
- doman contrib/scripts/astgenkey.8
-
- newinitd ${FILESDIR}/1.2.0/asterisk.rc6 asterisk
- newconfd ${FILESDIR}/1.2.0/asterisk.confd asterisk
-
- # install standard docs...
- dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm
- dodoc SECURITY doc/CODING-GUIDELINES doc/linkedlists.README UPGRADE.txt
- dodoc doc/README.*
- dodoc doc/*.txt
-
- docinto scripts
- dodoc contrib/scripts/*
-
- docinto utils
- dodoc contrib/utils/*
-
- docinto configs
- dodoc configs/*
-
- # install api docs
- if use doc; then
- insinto /usr/share/doc/${PF}/api/html
- doins doc/api/html/*
- fi
-
- # install ISDNguard
- if use bri; then
- cd ${S_BRI}/ISDNguard
- dosbin ISDNguard
-
- docinto ISDNguard
- dodoc INSTALL.ISDNguard
-
- cd ${S}
- fi
-
- insinto /usr/share/doc/${PF}/cgi
- doins contrib/scripts/vmail.cgi
- doins images/*.gif
-
- # install asterisk-updater
- dosbin ${FILESDIR}/1.2.0/asterisk-updater
-}
-
-pkg_preinst() {
- enewgroup asterisk
- enewuser asterisk -1 -1 /var/lib/asterisk asterisk
-}
-
-pkg_postinst() {
- einfo "Fixing permissions"
- for x in spool run lib log; do
- chown -R asterisk:asterisk ${ROOT}var/${x}/asterisk
- chmod -R u=rwX,g=rX,o= ${ROOT}var/${x}/asterisk
- done
-
- chown -R root:asterisk ${ROOT}etc/asterisk
- chmod -R u=rwX,g=rX,o= ${ROOT}etc/asterisk
- echo
-
- #
- # Announcements, warnings, reminders...
- #
- einfo "Asterisk has been installed"
- einfo ""
- einfo "If you want to know more about asterisk, visit these sites:"
- einfo "http://www.asteriskdocs.org/"
- einfo "http://www.voip-info.org/wiki-Asterisk"
- echo
- einfo "http://asterisk.xvoip.com/"
- einfo "http://junghanns.net/asterisk/"
- einfo "http://www.automated.it/guidetoasterisk.htm"
- echo
- einfo "Gentoo VoIP IRC Channel:"
- einfo "#gentoo-voip @ irc.freenode.net"
- echo
- echo
-
- #
- # Warning about 1.0 -> 1.2 changes...
- #
- if is_ast10update; then
- ewarn ""
- ewarn "- Please read ${ROOT}usr/share/doc/${PF}/UPGRADE.txt.gz before continuing"
- ewarn ""
- fi
-
- if is_astupdate; then
- ewarn ""
- ewarn " - The initgroups patch has been dropped, please update your"
- ewarn " \"conf.d/asterisk\" and \"init.d/asterisk\" file!"
- ewarn ""
- fi
-
-# if use t38; then
-# ewarn "********************** Experimental Feature **************************"
-# ewarn "Please note that T.38 pass-through support is experimental and may not"
-# ewarn "be included in newer versions!"
-# echo
-# fi
- if use genericjb; then
- ewarn "********************** Experimental Feature **************************"
- ewarn "Please note that generic jitterbuffer support is experimental and may not"
- ewarn "be included in newer versions!"
- echo
- fi
-
- # scan for old modules
- if is_ast10update; then
- einfo "Asterisk has been updated from pre-1.2.x, scanning for old modules"
- scan_modules
- fi
-}
-
-pkg_config() {
- einfo "Do you want to reset file permissions and ownerships (y/N)?"
-
- read tmp
- tmp="$(echo $tmp | tr [:upper:] [:lower:])"
-
- if [[ "$tmp" = "y" ]] ||\
- [[ "$tmp" = "yes" ]]
- then
- einfo "Resetting permissions to defaults..."
-
- for x in spool run lib log; do
- chown -R asterisk:asterisk ${ROOT}var/${x}/asterisk
- chmod -R u=rwX,g=rX,o= ${ROOT}var/${x}/asterisk
- done
-
- chown -R root:asterisk ${ROOT}etc/asterisk
- chmod -R u=rwX,g=rX,o= ${ROOT}etc/asterisk
-
- einfo "done"
- else
- einfo "skipping"
- fi
-}
diff --git a/net-misc/asterisk/asterisk-1.2.7_p1.ebuild b/net-misc/asterisk/asterisk-1.2.7_p1.ebuild
deleted file mode 100644
index 163de7faf9cc..000000000000
--- a/net-misc/asterisk/asterisk-1.2.7_p1.ebuild
+++ /dev/null
@@ -1,529 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.2.7_p1.ebuild,v 1.1 2006/04/16 01:04:44 stkn Exp $
-
-inherit eutils
-
-IUSE="alsa bri curl debug doc genericjb gtk h323 hardened lowmem mmx mysql \
- nosamples odbc osp postgres pri speex sqlite ssl ukcid zaptel"
-
-#IUSE="alsa bri curl debug doc gtk genericjb h323 hardened lowmem mmx mysql \
-# nosamples odbc osp postgres pri speex sqlite ssl t38 ukcid zaptel"
-
-BRI_VERSION="0.3.0-PRE-1n"
-AST_PATCHES="1.2.7-patches-1.0"
-#T38_PATCHES="1.2.4-t38-20060216"
-JB_PATCHES="1.2.5-genericjb-20060228"
-
-## NOTE:
-#
-
-MY_P="${P/_p/.}"
-
-DESCRIPTION="Asterisk: A Modular Open Source PBX System"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="http://ftp.digium.com/pub/asterisk/${MY_P}.tar.gz
- http://www.netdomination.org/pub/asterisk/${PN}-${AST_PATCHES}.tar.bz2
- genericjb? ( http://www.netdomination.org/pub/asterisk/${PN}-${JB_PATCHES}.patch.gz )
- bri? ( http://www.netdomination.org/pub/asterisk/${MY_P}-bristuff-${BRI_VERSION}.diff.bz2
- http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz )"
-
-# t38? ( http://www.netdomination.org/pub/asterisk/${PN}-${T38_PATCHES}.tar.bz2 )
-# bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz )"
-
-
-S="${WORKDIR}/${MY_P}"
-S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
-
-RDEPEND="dev-libs/newt
- media-sound/sox
- media-sound/mpg123
- ssl? ( dev-libs/openssl )
- gtk? ( =x11-libs/gtk+-1.2* )
- pri? ( >=net-libs/libpri-1.2.2 )
- h323? ( >=dev-libs/pwlib-1.8.3
- >=net-libs/openh323-1.15.0 )
- alsa? ( media-libs/alsa-lib )
- curl? ( net-misc/curl )
- odbc? ( dev-db/unixODBC )
- mysql? ( dev-db/mysql )
- speex? ( media-libs/speex )
- sqlite? ( <dev-db/sqlite-3.0.0 )
- zaptel? ( >=net-misc/zaptel-1.2.5 )
- postgres? ( dev-db/postgresql )
- osp? ( >=net-libs/osptoolkit-3.3.4 )
- bri? ( >=net-libs/libpri-1.2.2
- >=net-misc/zaptel-1.2.5 )"
-
-DEPEND="${RDEPEND}
- sys-devel/flex
- sys-devel/bison
- doc? ( app-doc/doxygen )"
-
-
-#
-# List of modules to ignore during scan (because they have been removed in 1.2.x)
-#
-SCAN_IGNORE_MODS="
- app_qcall
- chan_modem
- chan_modem_i4l
- chan_modem_bestdata
- chan_modme_aopen"
-
-#
-# shortcuts
-#
-is_ast10update() {
- return $(has_version "=net-misc/asterisk-1.0*")
-}
-
-is_astupdate() {
- if ! is_ast10update; then
- return $(has_version "<net-misc/asterisk-${PV}")
- fi
- return 0
-}
-
-#
-# Display a nice countdown...
-#
-countdown() {
- local n
-
- ebeep
-
- n=${1:-10}
- while [[ $n -gt 0 ]]; do
- echo -en " Waiting $n second(s)...\r"
- sleep 1
- (( n-- ))
- done
-}
-
-#
-# Scan for asterisk-1.0.x modules that will have to be updated
-#
-scan_modules() {
- local modules_list=""
- local n
-
- for x in $(ls -1 ${ROOT}usr/lib/asterisk/modules/*.so); do
- echo -en "Scanning.... $(basename ${x}) \r"
-
- # skip blacklisted modules
- hasq $(basename ${x//.so}) ${SCAN_IGNORE_MODS} && continue
-
- if $(readelf -s "${x}" | grep -q "\(ast_load\|ast_destroy\)$"); then
- modules_list="${modules_list} $(basename ${x//.so})"
- fi
- done
-
- if [[ -n "${modules_list}" ]]; then
- echo " ========================================================"
- ewarn "Please update or unmerge the following modules:"
- echo
-
- n=0
- for x in ${modules_list}; do
- ewarn " - ${x}"
- (( n++ ))
- done
-
- echo
- ewarn "Warning: $n outdated module(s) found!"
- ewarn "Warning: asterisk may not work if you don't update them!"
- echo " ========================================================"
- echo
- einfo "You can use the \"asterisk-updater\" script to update the modules"
- echo
- countdown
- echo
- return 1
- else
- einfo "No asterisk-1.0.x modules found!"
- return 0
- fi
-}
-
-pkg_setup() {
- local checkfailed=0 waitaftermsg=0
-
- if is_ast10update; then
- ewarn " Asterisk UPGRADE Warning"
- ewarn ""
- ewarn "- Please read ${ROOT}usr/share/doc/${PF}/UPGRADE.txt.gz after the installation!"
- ewarn ""
- ewarn " Asterisk UPGRADE Warning"
- echo
- waitaftermsg=1
- fi
-
-# if use t38; then
-# ewarn "********************** Experimental Feature **************************"
-# ewarn "Please note that T.38 pass-through support is experimental and may not"
-# ewarn "be included in newer versions!"
-# echo
-# waitaftermsg=1
-# fi
-
- if use genericjb; then
- ewarn "********************** Experimental Feature **************************"
- ewarn "Please note that generic jitterbuffer support is experimental and may not"
- ewarn "be included in newer versions!"
- echo
- waitaftermsg=1
- fi
-
- if [[ $waitaftermsg -eq 1 ]]; then
- einfo "Press Ctrl+C to abort"
- echo
- countdown
- fi
-
- #
- # Regular checks
- #
- einfo "Running some pre-flight checks..."
- echo
-
- # check if zaptel has been compiled with ukcid too
- if use ukcid; then
- if ! built_with_use net-misc/zaptel ukcid; then
- eerror "- ukcid: Re-emerge zaptel with \"ukcid\" useflag enabled!"
- checkfailed=1
- fi
- fi
-
- # check if zaptel and libpri have been built with bri enabled
- if use bri; then
- if ! built_with_use net-misc/zaptel bri; then
- eerror "- bri: Re-emerge zaptel with \"bri\" useflag enabled!"
- heckfailed=1
- fi
-
- if ! built_with_use net-libs/libpri bri; then
- eerror "- bri: Re-emerge libpri with \"bri\" useflag enabled!"
- checkfailed=1
- fi
- fi
-
- # stop here if checks failed
- [[ $checkfailed -eq 1 ]] && \
- die "Pre-flight check failed, see messages for more information!"
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- #
- # gentoo patchset
- #
- for x in $(grep -v "^#\| \+" ${WORKDIR}/patches/patches.list); do
- epatch ${WORKDIR}/patches/${x}
- done
-
- if use mmx; then
- if ! use hardened; then
- einfo "Enabling mmx optimization"
- sed -i -e "s:^#\(K6OPT[\t ]\+= -DK6OPT\):\1:" \
- Makefile
- else
- ewarn "Hardened use-flag is set, not enabling mmx optimization for codec_gsm!"
- fi
- fi
-
- if ! use debug; then
- einfo "Disabling debug support"
- sed -i -e "s:^\(DEBUG=\):#\1:" \
- Makefile
- fi
-
- if ! use ssl; then
- einfo "Disabling crypto support"
- sed -i -e "s:^#\(NOCRYPTO=yes\):\1:" \
- Makefile
- fi
-
- #
- # uclibc patch
- #
- if use elibc_uclibc; then
- einfo "Patching asterisk for uclibc..."
- epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-uclibc-dns.diff
- epatch ${FILESDIR}/1.2.0/${PN}-1.2.1-uclibc-getloadavg.diff
- fi
-
- #
- # ukcid patch from http://www.lusyn.com/asterisk/
- #
- if use ukcid; then
- einfo "Patching asterisk for UK Callerid..."
- epatch ${FILESDIR}/1.2.0/${PN}-1.2.0_beta-ukcid.patch
- fi
-
- #
- # BRI patches
- #
- if use bri; then
- einfo "Patching asterisk w/ BRI stuff"
-
- epatch ${WORKDIR}/${MY_P}-bristuff-${BRI_VERSION}.diff
-# epatch ${S_BRI}/patches/asterisk.patch
- fi
-
- #
- # T.38 pass-through patch (asterisk bug #5090)
- #
-# if use t38; then
-# einfo "T.38 experimental pass-through support (ast #5090)"
-# epatch ${WORKDIR}/asterisk-${T38_PATCHES}-udptl.patch
-#
-# if use bri; then
-# epatch ${WORKDIR}/asterisk-${T38_PATCHES}-bri.patch
-# else
-# epatch ${WORKDIR}/asterisk-${T38_PATCHES}-nobri.patch
-# fi
-# fi
-
- #
- # Generic jitterbuffer (asterisk bug #3854)
- #
- if use genericjb; then
- einfo "Generic jitterbuffer (ast #3854)"
- epatch ${WORKDIR}/${PN}-${JB_PATCHES}.patch
-
- sed -i -e "s:^\(GENERIC_JB = \)#-DAST_JB:\1 -DAST_JB:" \
- Makefile
- fi
-}
-
-src_compile() {
- local myopts
-
- use lowmem && \
- myopts="-DLOW_MEMORY"
-
- if use h323; then
- einfo "Building H.323 wrapper lib..."
- make -C channels/h323 \
- NOTRACE=1 \
- PWLIBDIR=/usr/share/pwlib \
- OPENH323DIR=/usr/share/openh323 \
- libchanh323.a Makefile.ast || die "Make h323 failed"
- fi
-
- einfo "Building Asterisk..."
- make \
- NOTRACE=1 \
- OPTIMIZE="${CFLAGS}" \
- PWLIBDIR=/usr/share/pwlib \
- OPENH323DIR=/usr/share/openh323 \
- OPTIONS="${myopts}" || die "Make failed"
-
- # create api docs
- use doc && \
- make progdocs
-
- # build bristuff's ISDNguard
- use bri && \
- make -C ${S_BRI}/ISDNguard
-}
-
-src_install() {
-
- # install asterisk
- make DESTDIR=${D} install || die "Make install failed"
- make DESTDIR=${D} samples || die "Failed to create sample files"
-
- # remove bristuff capi
- use bri && \
- rm -f ${D}usr/lib/asterisk/modules/{app,chan}_capi*.so 2>/dev/null
-
- # remove installed sample files if nosamples flag is set
- if use nosamples; then
- einfo "Skipping installation of sample files..."
- rm -rf ${D}var/spool/asterisk/voicemail/default
- rm -f ${D}var/lib/asterisk/mohmp3/*
- rm -f ${D}var/lib/asterisk/sounds/demo-*
- rm -f ${D}var/lib/asterisk/agi-bin/*
- else
- einfo "Sample files have been installed"
- keepdir /var/spool/asterisk/voicemail/default/1234/INBOX
- fi
-
- # move sample configuration files to doc directory
- if is_ast10update; then
- einfo "Updating from old (pre-1.2) asterisk version, new configuration files have been installed"
- einfo "into ${ROOT}etc/asterisk, use etc-update or dispatch-conf to update them"
- elif has_version "net-misc/asterisk"; then
- einfo "Configuration samples have been moved to: $ROOT/usr/share/doc/${PF}/conf"
- insinto /usr/share/doc/${PF}/conf
- doins ${D}etc/asterisk/*.conf* /usr/share/doc/${PF}/conf
- rm -f ${D}etc/asterisk/*.conf* 2>/dev/null
- fi
-
- # don't delete these directories, even if they are empty
- for x in voicemail meetme system dictate monitor tmp; do
- keepdir /var/spool/asterisk/${x}
- done
- keepdir /var/lib/asterisk/sounds/priv-callerintros
- keepdir /var/lib/asterisk/mohmp3
- keepdir /var/lib/asterisk/agi-bin
- keepdir /var/log/asterisk/cdr-csv
- keepdir /var/log/asterisk/cdr-custom
- keepdir /var/run/asterisk
-
- # install asterisk.h, a lot of external modules need this
- insinto /usr/include/asterisk
- doins include/asterisk.h
-
- # install astgenkey, astxs, safe_asterisk and manpages
- dobin contrib/scripts/astxs
- dosbin contrib/scripts/astgenkey
- dosbin contrib/scripts/safe_asterisk
- doman contrib/scripts/safe_asterisk.8
- doman contrib/scripts/astgenkey.8
-
- newinitd ${FILESDIR}/1.2.0/asterisk.rc6 asterisk
- newconfd ${FILESDIR}/1.2.0/asterisk.confd asterisk
-
- # install standard docs...
- dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm
- dodoc SECURITY doc/CODING-GUIDELINES doc/linkedlists.README UPGRADE.txt
- dodoc doc/README.*
- dodoc doc/*.txt
-
- docinto scripts
- dodoc contrib/scripts/*
-
- docinto utils
- dodoc contrib/utils/*
-
- docinto configs
- dodoc configs/*
-
- # install api docs
- if use doc; then
- insinto /usr/share/doc/${PF}/api/html
- doins doc/api/html/*
- fi
-
- # install ISDNguard
- if use bri; then
- cd ${S_BRI}/ISDNguard
- dosbin ISDNguard
-
- docinto ISDNguard
- dodoc INSTALL.ISDNguard
-
- cd ${S}
- fi
-
- insinto /usr/share/doc/${PF}/cgi
- doins contrib/scripts/vmail.cgi
- doins images/*.gif
-
- # install asterisk-updater
- dosbin ${FILESDIR}/1.2.0/asterisk-updater
-}
-
-pkg_preinst() {
- enewgroup asterisk
- enewuser asterisk -1 -1 /var/lib/asterisk asterisk
-}
-
-pkg_postinst() {
- einfo "Fixing permissions"
- for x in spool run lib log; do
- chown -R asterisk:asterisk ${ROOT}var/${x}/asterisk
- chmod -R u=rwX,g=rX,o= ${ROOT}var/${x}/asterisk
- done
-
- chown -R root:asterisk ${ROOT}etc/asterisk
- chmod -R u=rwX,g=rX,o= ${ROOT}etc/asterisk
- echo
-
- #
- # Announcements, warnings, reminders...
- #
- einfo "Asterisk has been installed"
- einfo ""
- einfo "If you want to know more about asterisk, visit these sites:"
- einfo "http://www.asteriskdocs.org/"
- einfo "http://www.voip-info.org/wiki-Asterisk"
- echo
- einfo "http://asterisk.xvoip.com/"
- einfo "http://junghanns.net/asterisk/"
- einfo "http://www.automated.it/guidetoasterisk.htm"
- echo
- einfo "Gentoo VoIP IRC Channel:"
- einfo "#gentoo-voip @ irc.freenode.net"
- echo
- echo
-
- #
- # Warning about 1.0 -> 1.2 changes...
- #
- if is_ast10update; then
- ewarn ""
- ewarn "- Please read ${ROOT}usr/share/doc/${PF}/UPGRADE.txt.gz before continuing"
- ewarn ""
- fi
-
- if is_astupdate; then
- ewarn ""
- ewarn " - The initgroups patch has been dropped, please update your"
- ewarn " \"conf.d/asterisk\" and \"init.d/asterisk\" file!"
- ewarn ""
- fi
-
-# if use t38; then
-# ewarn "********************** Experimental Feature **************************"
-# ewarn "Please note that T.38 pass-through support is experimental and may not"
-# ewarn "be included in newer versions!"
-# echo
-# fi
- if use genericjb; then
- ewarn "********************** Experimental Feature **************************"
- ewarn "Please note that generic jitterbuffer support is experimental and may not"
- ewarn "be included in newer versions!"
- echo
- fi
-
- # scan for old modules
- if is_ast10update; then
- einfo "Asterisk has been updated from pre-1.2.x, scanning for old modules"
- scan_modules
- fi
-}
-
-pkg_config() {
- einfo "Do you want to reset file permissions and ownerships (y/N)?"
-
- read tmp
- tmp="$(echo $tmp | tr [:upper:] [:lower:])"
-
- if [[ "$tmp" = "y" ]] ||\
- [[ "$tmp" = "yes" ]]
- then
- einfo "Resetting permissions to defaults..."
-
- for x in spool run lib log; do
- chown -R asterisk:asterisk ${ROOT}var/${x}/asterisk
- chmod -R u=rwX,g=rX,o= ${ROOT}var/${x}/asterisk
- done
-
- chown -R root:asterisk ${ROOT}etc/asterisk
- chmod -R u=rwX,g=rX,o= ${ROOT}etc/asterisk
-
- einfo "done"
- else
- einfo "skipping"
- fi
-}
diff --git a/net-misc/asterisk/files/digest-asterisk-1.2.7_p1 b/net-misc/asterisk/files/digest-asterisk-1.2.7_p1
deleted file mode 100644
index c003fb1aa407..000000000000
--- a/net-misc/asterisk/files/digest-asterisk-1.2.7_p1
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 7d1509b8871dc21598644d15eeb5dec5 asterisk-1.2.5-genericjb-20060228.patch.gz 14864
-RMD160 857811e1882d3a9b88cd3e511eb5b0cdaa9a0a40 asterisk-1.2.5-genericjb-20060228.patch.gz 14864
-SHA256 eb95782962cd158e5ced8342e0822fd3d9c196c07c5465aab8c549acc2eb4acb asterisk-1.2.5-genericjb-20060228.patch.gz 14864
-MD5 1658bc78dd14c1f6cf4885f581c62143 asterisk-1.2.7-patches-1.0.tar.bz2 8330
-RMD160 1e699108a1016f9c2e0291c02638c750ff9465e9 asterisk-1.2.7-patches-1.0.tar.bz2 8330
-SHA256 4e3f69063d160edef35ade7e86f2a7d5408c6937d4c7487c6ed6043fb3c12d2c asterisk-1.2.7-patches-1.0.tar.bz2 8330
-MD5 a00cfbd2b80f64a01eaab23735285c18 asterisk-1.2.7.1-bristuff-0.3.0-PRE-1n.diff.bz2 81710
-RMD160 1ab7df2785fc7fd7859f7e55cc1ab643519249bf asterisk-1.2.7.1-bristuff-0.3.0-PRE-1n.diff.bz2 81710
-SHA256 8e6e00e4273a7d96bde834c872b598f18e3328c01172940975fa93bf726f70b6 asterisk-1.2.7.1-bristuff-0.3.0-PRE-1n.diff.bz2 81710
-MD5 5c4b473eee2fbc2cb9e346f0564ef970 asterisk-1.2.7.1.tar.gz 10554037
-RMD160 28c1d5c3ac6db52d7d315f59d391a655b77338fd asterisk-1.2.7.1.tar.gz 10554037
-SHA256 c561ec886a779a59c78cbeffda457f2a07535ddceb371561c54adc6ee60d984a asterisk-1.2.7.1.tar.gz 10554037
-MD5 a0c78e7676acbc06b26d2c68ef3e0c86 bristuff-0.3.0-PRE-1n.tar.gz 248488
-RMD160 3da3043a88551578b4495ae8e54ffb6a4f3bfd2c bristuff-0.3.0-PRE-1n.tar.gz 248488
-SHA256 31b894bdd2741e309dfed23963db1cda3d74a8d616de8df9f1281b5558aa27f1 bristuff-0.3.0-PRE-1n.tar.gz 248488
diff --git a/net-misc/asterisk/files/digest-asterisk-1.2.7_p1-r1 b/net-misc/asterisk/files/digest-asterisk-1.2.7_p1-r1
deleted file mode 100644
index bdc73eb172d3..000000000000
--- a/net-misc/asterisk/files/digest-asterisk-1.2.7_p1-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 7d1509b8871dc21598644d15eeb5dec5 asterisk-1.2.5-genericjb-20060228.patch.gz 14864
-RMD160 857811e1882d3a9b88cd3e511eb5b0cdaa9a0a40 asterisk-1.2.5-genericjb-20060228.patch.gz 14864
-SHA256 eb95782962cd158e5ced8342e0822fd3d9c196c07c5465aab8c549acc2eb4acb asterisk-1.2.5-genericjb-20060228.patch.gz 14864
-MD5 1658bc78dd14c1f6cf4885f581c62143 asterisk-1.2.7-patches-1.0.tar.bz2 8330
-RMD160 1e699108a1016f9c2e0291c02638c750ff9465e9 asterisk-1.2.7-patches-1.0.tar.bz2 8330
-SHA256 4e3f69063d160edef35ade7e86f2a7d5408c6937d4c7487c6ed6043fb3c12d2c asterisk-1.2.7-patches-1.0.tar.bz2 8330
-MD5 5c4b473eee2fbc2cb9e346f0564ef970 asterisk-1.2.7.1.tar.gz 10554037
-RMD160 28c1d5c3ac6db52d7d315f59d391a655b77338fd asterisk-1.2.7.1.tar.gz 10554037
-SHA256 c561ec886a779a59c78cbeffda457f2a07535ddceb371561c54adc6ee60d984a asterisk-1.2.7.1.tar.gz 10554037
-MD5 93bb8a5661aaf3022cf4a102ea061f83 bristuff-0.3.0-PRE-1o.tar.gz 252770
-RMD160 60f1656a815bd1ff7d86ca7cb657c1d850a84804 bristuff-0.3.0-PRE-1o.tar.gz 252770
-SHA256 aec95d12959181b601d7d10f05bb16eff715859dc8ea9fbb10e670296f61b6e9 bristuff-0.3.0-PRE-1o.tar.gz 252770