summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2014-03-11 15:07:09 +0000
committerAgostino Sarubbo <ago@gentoo.org>2014-03-11 15:07:09 +0000
commit1f5d2356f71d606df994f6a4fbb6f774326788d9 (patch)
treef1b4be61f6b3840a0da3dbfd41e803f99b826f48 /net-misc/asterisk
parentStable for x86, wrt bug #504180 (diff)
downloadhistorical-1f5d2356f71d606df994f6a4fbb6f774326788d9.tar.gz
historical-1f5d2356f71d606df994f6a4fbb6f774326788d9.tar.bz2
historical-1f5d2356f71d606df994f6a4fbb6f774326788d9.zip
Remove old
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x7194459F
Diffstat (limited to 'net-misc/asterisk')
-rw-r--r--net-misc/asterisk/ChangeLog6
-rw-r--r--net-misc/asterisk/Manifest32
-rw-r--r--net-misc/asterisk/asterisk-1.8.25.0.ebuild313
-rw-r--r--net-misc/asterisk/asterisk-11.7.0.ebuild318
4 files changed, 19 insertions, 650 deletions
diff --git a/net-misc/asterisk/ChangeLog b/net-misc/asterisk/ChangeLog
index 097699d07df5..224738b83c96 100644
--- a/net-misc/asterisk/ChangeLog
+++ b/net-misc/asterisk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/asterisk
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.476 2014/03/11 15:05:57 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.477 2014/03/11 15:07:08 ago Exp $
+
+ 11 Mar 2014; Agostino Sarubbo <ago@gentoo.org> -asterisk-1.8.25.0.ebuild,
+ -asterisk-11.7.0.ebuild:
+ Remove old
11 Mar 2014; Agostino Sarubbo <ago@gentoo.org> asterisk-1.8.26.1.ebuild,
asterisk-11.8.1.ebuild:
diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest
index 4c0af0982c0e..3849ffe246f7 100644
--- a/net-misc/asterisk/Manifest
+++ b/net-misc/asterisk/Manifest
@@ -14,36 +14,32 @@ AUX 1.8.0/asterisk.initd6 9237 SHA256 6b8deed78f84e1d7dc1a08d38a233921f4a3d24213
AUX 1.8.0/asterisk.initd7 9382 SHA256 7951901371035da2cb958d029ddbd8af276a5de7becd01c9bd36d0c4576461f8 SHA512 44dc81f3b3cab8e65344dcb2767fdd6b573f9ee587c78afa6873995a019b60c1c8bfda1c9f3baf6b5e71ae76ca62fff53e5f2e27deaeb4f88fc78bfd54593707 WHIRLPOOL dfd7f5c4c7fe5c65181a30259bf96f5a813548733b298e9c41319812d4cd47035147616264d4bb91193fcfe81f6ea9fcdbb288a3759b9e86041116885613637b
AUX 1.8.0/find_call_ids.sh 1078 SHA256 185d0f55f54d044eb4b4dc64954e5191f8b993d139749bfe869e34f3ecff9d09 SHA512 1690eb3ea9eb51711df9fd7c121dbc520a2a15870fa06523f096968386ca68a132a46e361b9d19367c7089cd9ad18132ed02ef0aedd990d5939550182a3366c9 WHIRLPOOL f123f60557066707d0c276451af32f5561abb8db7e8d4eeb3a2da871ae0245108e42d28c7ff77d228a963e5f5326f7382b0ac54f92fc1bfeec2c085b9b237a15
AUX 1.8.0/find_call_sip_trace.sh 1115 SHA256 e1ebeb1dab05f552f89f380719d319cdf579cb6aeb86a9010e13e14c57f55985 SHA512 e679f3953b2e397d7c80bb2f0ca3db848f07ba97ca139c87224de4467f8172034eb4372e5ddd68116774a7b9d5fd48aa30d809e2af2c6e6e0747762c69090b6a WHIRLPOOL 8c30be245556b37dd45dd5ff5cf5c3141050f60c3e286631520f8114e167c6bd4f7930be21e57e93fd183ab65dfbd3b95b8e342808870979b67977f3ce189ebf
-DIST asterisk-1.8.25.0.tar.gz 29473304 SHA256 b218de8a7db9af370890b12c63863343f5459ae7a4ce23d386ec159c10241670 SHA512 5922ba50b4587bd376d553a6c4d63ff0e27dac515eda233b7a986dcd7ffde1a4c9548a52fb8f38d19592ff510fa5ec5456a4bdff18ab2c2d60d5540a47756cba WHIRLPOOL 46366557afb516cde5f65f90c58b6708942cdc5f570c1b0cea13a0083306e40a033213db52d8f44b63ab9c70a75df9e15e304918f9760503d0e95667e98e53bd
DIST asterisk-1.8.26.1.tar.gz 29484354 SHA256 f7e61845c5f5f79a46a81139000c7e6b17f05fe5c97ab5cd1a40f5d81ec1b1cb SHA512 7ceab17ab1e819aba8c7012448f22d2c53305a6c3c961371655d177e0df415495d0a05ad7c2bd85587b2ff1ef540ece4fb9ab673dc04903514c4273006535653 WHIRLPOOL f3a3afc04290fd2243d8a238094766446e4c5b1fe1a7f3a14757ebcbce865d2ad8d3bf91623c0011ad9ea499669a938395b006bc5f085e199bda1d94bf567a75
-DIST asterisk-11.7.0.tar.gz 34779538 SHA256 4fb283b96447f5d871632a14069f35643c8c34d08d6ec5fedf0ae3df30e0c397 SHA512 cd7ee59f9133fbd088b30c0495ac4d94cb0ca273015681340eeb4192ee1c510b59c8290255fc2df81f070369ff2ca56073fdee3f39e0b0186d95bb85f9ad1bd6 WHIRLPOOL b22d05bbcbcc9ef9045a684f7e9a7fc3937f25b5940e3f15b285b9ea3eb319d1d093a818b3eadaf3665ac6c4c578d97fc639c699062522ee6c20554e9b51fee1
DIST asterisk-11.8.1.tar.gz 34794750 SHA256 216eaf3af703ef08cf18fb996e5a7da4082c1883e5b74ec15ab609f2d4a0f818 SHA512 f0c44126d9a31b5943d4da20dbf92cbe75a29fbb9dc9390ae8d39a4bd046268b245c852cd990c3db0f1690b95bd7f13b07978e1d08ee7a837ba6b04d988ccf86 WHIRLPOOL 33801f7d9fff2fdf7b9df370a61f80bf4023b64de5f79226f805f01b26f3ec2dd362ba7af4b214ef5a1729d4bae2ad1dd8893fed5a8a39adbe744194364456f3
DIST asterisk-12.1.1.tar.gz 56483961 SHA256 c53f51b2dea22ca5b2f042562cfc9e021f9dbda64293ef3652f569f86f65b4ba SHA512 7308db6537b1eb9e97276a46862b65c28f715fcba05c1b1ed15c76984165ad10d4747c00731d9435cdab38111ad97a115d8c05ca85d5283443f351c9b2324c62 WHIRLPOOL 6e83c6ceee01f6d01bbced6264e22b88ba3d2431156e8456ef7cc0c48db96b10639d50cfc10047ae15f7b6326a2cb0328cd54952b43f656be2e4d830d87e6ace
DIST gentoo-asterisk-patchset-1.17.tar.bz2 31552 SHA256 fa1c202a42a9b2b3c8e1f90df05f8c8e818688347ad62d38c1bd2daa69d58af4 SHA512 84d5cd12894f452a4f17f95531321f2e15f745391965f6351de5af52e2ac3b580c50552cf04d656f91fdc7db69c0ebd9e2cf210143f57c8a9fb0d2745477ce00 WHIRLPOOL 54c98f94acd95519087c4a6c62269c5f1c41a250eea4f9def40c01e968be6bc2b4e85cc18a16367a8af02c217a5088718e0bc0f55e03aebc29aa5247a2d03274
DIST gentoo-asterisk-patchset-3.7.tar.bz2 7068 SHA256 7633a3ea22cab8aa83da8499b7eb9d2703ee6c4a4e4fd9f135bd39d313a33cda SHA512 f45753e1f065a78040344a2006ef1f6c14efc6b0187fe4ccf71ed8f30b1f20a1fec58cb14751a5806f06e7ae9269344e267121865b04af146388f9acdbfbd4e7 WHIRLPOOL a6ba6682411c6cf0344c0919441a4b2259769cbc101e39ada748540668aa4e42794008c9d3917452bf30242abe232f44b6ce7fc7f91ef1c8889c6664512d04f9
DIST gentoo-asterisk-patchset-3.9.tar.bz2 7857 SHA256 d41b2c47a56040e3eb55b9354f05df6857f6efc60b35c081b8cdf50a8f6eed50 SHA512 97c49fdfb874e89a07abc0b129c9db0113a77feecd6bb1fea9b00a1f82161a9799f7a280fd2f6fc11c5e1e6984fc8374354967307f8e1b2d3a9fa713d350453c WHIRLPOOL ce7367cca3e6516d0e1fdb758f3463670b1cc2dad5a82abb3c3b1b3dc25ef07bc917ac0184e58674a02e88ffc6ac0b770f217a6870011791758e6612febf09f6
-EBUILD asterisk-1.8.25.0.ebuild 9190 SHA256 5294b37c14c3c0c18960a523e51d962ada04c373027121ec119796bc17a4c299 SHA512 98304f69d7146635e2cf7599bdbf1f57fae8d79b016f6747a74cc83315ddd7d858ae3339396bf1708f72565ebe7264796be547658b4e4cecd3d89cb0ea4d5c3f WHIRLPOOL 5261a953c89ccc6251b340ec54ea28d497254422d554bad97113a847bd4a3a6cf9d98ff1baecfc4d4ed420d789f2127aa9e08cec831269e36fbf8ea317d4b27e
EBUILD asterisk-1.8.26.1.ebuild 9187 SHA256 1e38ae7b1cf30c83abc3ca7c44c8757f3235e2360159ca5a1841c77291fc8644 SHA512 0cd72011211854e40279556b6c84b15deb0463105c6768a62d22690c8ee351df8b86c3d865e171f6b2bbf822e6c1969a79f1b5b829999317d506d8fd6081259c WHIRLPOOL 62b7c5e6218bb82508ec0119c6785330718ab0c585fe0ee848f9606df11ab451ab6119db1fe083c241c3215c05af768095d9190a694e0fbb2ce9d3c11f1e85aa
-EBUILD asterisk-11.7.0.ebuild 9433 SHA256 32986326ff2a5c0c5042076194058a4cc1b7fe67bb2ca6e821ab4a177f70c264 SHA512 6eae25fce777e00b3efe49c33cc76ef8b7d7373b892b81f3280ebdc55071be87bff1465a19a99579ad1b28796d74eb6f46424a345e00ca6367d45b29e451e4a5 WHIRLPOOL d6fac40d2b4896bbfc60ad861d6d06047965f48bab04b0ce36252a02f8e8f841fd87a4de0e40e4a3440e4721ddbb7a27eed76d9cec80ba08acb834dfbc3069cb
EBUILD asterisk-11.8.1.ebuild 9430 SHA256 76d3ec471b4d636fbe20c8d07435a91320fb2026731b19188c5cf3ef6029ae57 SHA512 8d07b14750d324d445a71faab8a594593eec7a237a3123357313c4807c5432ff6bb8fa82c65b4fb044f7c2b7d5dd0e5363f1bc7424fa6bcb0387c2c47cc99a3e WHIRLPOOL 138ff17a13f0f78cd87c199d2dcd4b291f63e1118010c3138112f4aa72015e670ba062fd2f04d09715981aa6aa4cb061e7cd691a0aca08fa71f87ab1fe21043d
EBUILD asterisk-12.1.1.ebuild 9514 SHA256 e11bed06c0477675bf223cf8d8987653b72c2a1ddad5d780d4662316feabe8c4 SHA512 6b2a45ce1914774fd60fc4088c95235803f8a3d7df0bc7d90f8cea97103c315bddef2cc82ede6bd1ea59609b9f182a3db32c01036fb287c42bff5bf0217a6c90 WHIRLPOOL 36ed75a1e076ac1514dac28767a330ff10049ce146bf76d5dbf45942b1937286dddb9f73671bc6a4f45f7f423b0f115aed477eb3c0f71e595367e4568e4626ee
-MISC ChangeLog 12139 SHA256 4bed355575321155dd91e9aa37a7a1604f23978ee79020f23f0d8567a68f36a7 SHA512 e9acaf5095ad7f7b377cd976bbed0ab4fde6420ef9b79f3d0b3b676b5739b757493250f73b05239523700805ea20af7fc79499d987acf0e00df035e83725df2e WHIRLPOOL 3bc5578a208e76041bc48ff08ec9bfc78f4aad67830c60f0e8d7c915bdaff2c14e0a552a8654822e273f90efbff785f3283ce081bbcf9a8594a026b983d6eba7
+MISC ChangeLog 12256 SHA256 97655d783be472f421e21caf4893a05bee5ff95e874b9d77c180541ce27cf49e SHA512 eedbbf1aea613abff06214f6ea4ba8f87524ff0519584777d81ec69737c5e8082f1eabc3970fe65e165618840be5abb1263352e69f498b938c9eb2a5cdb76b34 WHIRLPOOL 05137b0ef3829df8f38237b266875ca9a34cb2756072aca86f55497fee210c8da550fcf8df5d84bc157d39a42a042a0af02d584ab871fbd77a2c4b06e5fcbfa9
MISC ChangeLog-2012 113409 SHA256 6beb419f0c2e63641c73f2c14bd0c3a6a319c65bca8be526aa441fac2104fc9c SHA512 08c037acd578b9c3c387a80e45e80a68c4da84e63fced30215f22ec14eb6e223348d8e7d68f4decdf8a2d8cd0933b3f7fa3adddf7cd80bb407498b3e2868d917 WHIRLPOOL be0f2192531f7477545ccc0f10d9a50f36228e8d8d0e2773ccce3799c2d1b5e1b7be70d96502f759c7c878f88efd83122fc9230374c40c8963fe0bc7ff014b87
MISC metadata.xml 1183 SHA256 f92828f92cf3e0ce3581e031e3ecdc26336481db45fe6ea7b91e79fc3e58032c SHA512 9b00df0793f68988b4b7b2da778b05cd183e663a96c92b5f96ac1e09ba34a96a5155deb0639638e499701e5cf76de6cc6736f757a48608c2accf14e3ff633c14 WHIRLPOOL d5e4bd47714fa34285733f9c3ed2dff0fa65f33daeda7276428e7eaf0cd44ef59351f67f590ecab38305e77b9c3683c368ad764f323f3d9891b3414600aa4211
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTHyZWAAoJELp701BxlEWfY5oP/0zvL/Mq0BGysSJoMSRVKjTY
-3EGY184QjZEcDzGS6nxfZ+ppouWSzYKvAlt2rY2CxXqj6Yp1ihnZ/boIvm4Pp4Ud
-Hrs5lZgij+vfR+vRqT0DorDOhs0bHeeUbcPkvspgXhS86wp9coImlsNK9dww5XHA
-yZQK1Fr1Z0ZCeEPkyJUCf/h9fbSpyPfSxr3eze0ms2vRwuMX7AEkXrb8anUoKjjb
-jF8fP/cmYpZqoKR4W4Zl0qQAqQ8csB49eskS/MhpTV+IDGZRtLeynvCxoxKviuEn
-+kkVe2Sq7ooXWDtuDEfcPr2NPfPLQ39FeM2RhNXlf/B+GnSpzFSNFsLB89dmJaZa
-vvlLoEmza5wS/h9Iz/Jelw0JKlP9f51AWJOjEGiKJ/kB7AUbMQRbzHd1lxvOju+o
-RzhBOaUkU2NQMcI/PcP0ONq57e+6/l/F6TiD54Sw8KDEJP6yx7x3yYPLM1HhJSlN
-5S6e2+PBQg58WJNBQ1SlFicCHyIYY2KYKyqd+hg7tQXCJDXbg6UFPztNjuJTOjX6
-L93Nw82lq+oQlriKy8kA25f5LmkreX8fNR9GQsyZtgs5p1xUDH1gTUxeIXO+6tG5
-ZEJlMbFcQd9AenKbr4a8ibo0RjZDZG/ADYrxnar456qyXVdrCKvwOALJ+g/PppD1
-19BMYm6YmVJ5DFGGej9F
-=SrxC
+iQIcBAEBCAAGBQJTHyaeAAoJELp701BxlEWfPE0P/jjQfTMiq0nmlpydOZaZg57N
+dGE37RPKmAncKqm0zVUqH4V+mESqdUnHroPmOnZ03X4VzbaLyaoyXTFkbWvapDYG
+9tJ5XSE1leZ5x6p0vArnnKnrEy7pE0Wxe6y5RSWQMctkx5q/gWK8p10gXOgAufRE
+Aj9BSvl3qMNYgQ+lBlDn/PjmLJQy1T7J7RVoaSqP3vPskN4jtLmCdV4kVbt0p6Mn
+4FBNDsyuw4JFVgVxxoxhZlQxjPFkqfD2CX9Nl2dc2/OPaFyAPQ5jg4Q9ZtUEDijl
+bO6YEtdPBjSjvR15rBUr+1uarD7XvxHCXqlvU1/jxGCor0xOnokLoE7Yizc/zwr7
+J7sTM0rdLqiHbhzqtEzdhhZ8S4YFuRvoY9HEmO03xN6QvNnBahWDaGZQ4tD076vD
+tnWrGGJ4zQoMKKp+F3WLxHmZVCCmSHWNxmBmFEdsaK5F7G8oIZyxJ+8i2WWx462W
+X0KYU0ktNMwAO4e7JgLYJBnc6GFByOXVAPjhLSnU03j0hxg748LudIQE++oHfx6B
+FWu7PANuMlth62lTInymV0nMwKfrxoWq8yvn2fFUKRExLOshh27N5bbJHB6DOPmL
+mPM6aSVhEuFC/aAlUP/1Ubyi2n+xFODlyTCSkoUta+cR6KkJDUq4RXbXJk+BJX46
+7QS92kzgArqMFfM7uzcr
+=ZfMM
-----END PGP SIGNATURE-----
diff --git a/net-misc/asterisk/asterisk-1.8.25.0.ebuild b/net-misc/asterisk/asterisk-1.8.25.0.ebuild
deleted file mode 100644
index be1e52ea2430..000000000000
--- a/net-misc/asterisk/asterisk-1.8.25.0.ebuild
+++ /dev/null
@@ -1,313 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.8.25.0.ebuild,v 1.4 2014/01/08 06:33:50 vapier Exp $
-
-EAPI=5
-inherit autotools base eutils linux-info multilib user
-
-MY_P="${PN}-${PV/_/-}"
-
-DESCRIPTION="Asterisk: A Modular Open Source PBX System"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="http://downloads.asterisk.org/pub/telephony/asterisk/releases/${MY_P}.tar.gz
- mirror://gentoo/gentoo-asterisk-patchset-1.17.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE_VOICEMAIL_STORAGE="
- +voicemail_storage_file
- voicemail_storage_odbc
- voicemail_storage_imap
-"
-IUSE="${IUSE_VOICEMAIL_STORAGE} ais alsa bluetooth calendar +caps curl dahdi debug doc freetds gtalk http iconv jabber jingle ldap lua mysql newt +samples odbc osplookup oss portaudio postgres radius selinux snmp span speex sqlite sqlite3 srtp static syslog vorbis"
-
-IUSE_EXPAND="VOICEMAIL_STORAGE"
-
-REQUIRED_USE="
- gtalk? ( jabber )
- ^^ ( ${IUSE_VOICEMAIL_STORAGE/+/} )
- voicemail_storage_odbc? ( odbc )
-"
-
-EPATCH_SUFFIX="patch"
-PATCHES=( "${WORKDIR}/asterisk-patchset" )
-
-RDEPEND="dev-libs/popt
- dev-libs/libxml2
- dev-libs/openssl
- sys-libs/ncurses
- sys-libs/zlib
- ais? ( sys-cluster/openais )
- alsa? ( media-libs/alsa-lib )
- bluetooth? ( net-wireless/bluez )
- calendar? ( net-libs/neon
- dev-libs/libical
- dev-libs/iksemel )
- caps? ( sys-libs/libcap )
- curl? ( net-misc/curl )
- dahdi? ( >=net-libs/libpri-1.4.12_beta2
- net-misc/dahdi-tools )
- freetds? ( dev-db/freetds )
- gtalk? ( dev-libs/iksemel )
- http? ( dev-libs/gmime:2.4 )
- iconv? ( virtual/libiconv )
- jabber? ( dev-libs/iksemel )
- jingle? ( dev-libs/iksemel )
- ldap? ( net-nds/openldap )
- lua? ( dev-lang/lua )
- mysql? ( virtual/mysql )
- newt? ( dev-libs/newt )
- odbc? ( dev-db/unixODBC )
- osplookup? ( net-libs/osptoolkit )
- portaudio? ( media-libs/portaudio )
- postgres? ( dev-db/postgresql-base )
- radius? ( net-dialup/radiusclient-ng )
- selinux? ( sec-policy/selinux-asterisk )
- snmp? ( net-analyzer/net-snmp )
- span? ( media-libs/spandsp )
- speex? ( media-libs/speex )
- sqlite? ( dev-db/sqlite:0 )
- sqlite3? ( dev-db/sqlite:3 )
- srtp? ( net-libs/libsrtp )
- vorbis? ( media-libs/libvorbis )"
-
-DEPEND="${RDEPEND}
- voicemail_storage_imap? ( virtual/imap-c-client )
- !net-libs/openh323
- !net-libs/pjsip"
-
-RDEPEND="${RDEPEND}
- syslog? ( virtual/logger )"
-
-PDEPEND="net-misc/asterisk-core-sounds
- net-misc/asterisk-extra-sounds
- net-misc/asterisk-moh-opsound"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- CONFIG_CHECK="~!NF_CONNTRACK_SIP"
- local WARNING_NF_CONNTRACK_SIP="SIP (NAT) connection tracking is enabled. Some users
- have reported that this module dropped critical SIP packets in their deployments. You
- may want to disable it if you see such problems."
- check_extra_config
-
- enewgroup asterisk
- enewgroup dialout 20
- enewuser asterisk -1 -1 /var/lib/asterisk "asterisk,dialout"
-}
-
-src_prepare() {
- base_src_prepare
- AT_M4DIR=autoconf eautoreconf
-}
-
-src_configure() {
- local vmst
-
- econf \
- --libdir="/usr/$(get_libdir)" \
- --localstatedir="/var" \
- --with-crypto \
- --with-gsm=internal \
- --with-popt \
- --with-ssl \
- --with-z \
- --without-pwlib \
- $(use_with caps cap) \
- $(use_with http gmime) \
- $(use_with newt) \
- $(use_with portaudio)
-
- # Blank out sounds/sounds.xml file to prevent
- # asterisk from installing sounds files (we pull them in via
- # asterisk-{core,extra}-sounds and asterisk-moh-opsound.
- >"${S}"/sounds/sounds.xml
-
- # That NATIVE_ARCH chatter really is quite bothersome
- sed -i 's/NATIVE_ARCH=/NATIVE_ARCH=0/' build_tools/menuselect-deps || die "Unable to squelch noisy build system"
-
- # Compile menuselect binary for optional components
- emake menuselect.makeopts
-
- # Broken functionality is forcibly disabled (bug #360143)
- menuselect/menuselect --disable chan_misdn menuselect.makeopts
- menuselect/menuselect --disable chan_ooh323 menuselect.makeopts
-
- # Utility set is forcibly enabled (bug #358001)
- menuselect/menuselect --enable smsq menuselect.makeopts
- menuselect/menuselect --enable streamplayer menuselect.makeopts
- menuselect/menuselect --enable aelparse menuselect.makeopts
- menuselect/menuselect --enable astman menuselect.makeopts
-
- # this is connected, otherwise it would not find
- # ast_pktccops_gate_alloc symbol
- menuselect/menuselect --enable chan_mgcp menuselect.makeopts
- menuselect/menuselect --enable res_pktccops menuselect.makeopts
-
- # SSL is forcibly enabled, IAX2 & DUNDI are expected to be available
- menuselect/menuselect --enable pbx_dundi menuselect.makeopts
- menuselect/menuselect --enable func_aes menuselect.makeopts
- menuselect/menuselect --enable chan_iax2 menuselect.makeopts
-
- # The others are based on USE-flag settings
- use_select() {
- local state=$(use "$1" && echo enable || echo disable)
- shift # remove use from parameters
-
- while [[ -n $1 ]]; do
- menuselect/menuselect --${state} "$1" menuselect.makeopts
- shift
- done
- }
-
- use_select ais res_ais
- use_select alsa chan_alsa
- use_select bluetooth chan_mobile
- use_select calendar res_calendar res_calendar_{caldav,ews,exchange,icalendar}
- use_select curl func_curl res_config_curl res_curl
- use_select dahdi app_dahdibarge app_dahdiras chan_dahdi codec_dahdi res_timing_dahdi
- use_select freetds {cdr,cel}_tds
- use_select gtalk chan_gtalk
- use_select http res_http_post
- use_select iconv func_iconv
- use_select jabber res_jabber
- use_select jingle chan_jingle
- use_select ldap res_config_ldap
- use_select lua pbx_lua
- use_select mysql app_mysql cdr_mysql res_config_mysql
- use_select odbc cdr_adaptive_odbc res_config_odbc {cdr,cel,res,func}_odbc
- use_select osplookup app_osplookup
- use_select oss chan_oss
- use_select postgres {cdr,cel}_pgsql res_config_pgsql
- use_select radius {cdr,cel}_radius
- use_select snmp res_snmp
- use_select span res_fax_spandsp
- use_select speex {codec,func}_speex
- use_select sqlite cdr_sqlite
- use_select sqlite3 {cdr,cel}_sqlite3_custom
- use_select srtp res_srtp
- use_select syslog cdr_syslog
- use_select vorbis format_ogg_vorbis
-
- # Voicemail storage ...
- for vmst in ${IUSE_VOICEMAIL_STORAGE/+/}; do
- if use ${vmst}; then
- menuselect/menuselect --enable $(echo ${vmst##*_} | tr '[:lower:]' '[:upper:]')_STORAGE menuselect.makeopts
- fi
- done
-}
-
-src_compile() {
- ASTLDFLAGS="${LDFLAGS}" emake
-}
-
-src_install() {
- mkdir -p "${D}"usr/$(get_libdir)/pkgconfig || die
- emake DESTDIR="${D}" installdirs
- emake DESTDIR="${D}" install
-
- if use radius; then
- insinto /etc/radiusclient-ng/
- doins contrib/dictionary.digium
- fi
- if use samples; then
- emake DESTDIR="${D}" samples
- for conffile in "${D}"etc/asterisk/*.*
- do
- chown asterisk:asterisk $conffile
- chmod 0660 $conffile
- done
- einfo "Sample files have been installed"
- else
- einfo "Skipping installation of sample files..."
- rm -f "${D}"var/lib/asterisk/mohmp3/* || die
- rm -f "${D}"var/lib/asterisk/sounds/demo-* || die
- rm -f "${D}"var/lib/asterisk/agi-bin/* || die
- rm -f "${D}"etc/asterisk/* || die
- fi
- rm -rf "${D}"var/spool/asterisk/voicemail/default || die
-
- # keep directories
- diropts -m 0770 -o asterisk -g asterisk
- keepdir /etc/asterisk
- keepdir /var/lib/asterisk
- keepdir /var/spool/asterisk
- keepdir /var/spool/asterisk/{system,tmp,meetme,monitor,dictate,voicemail}
- diropts -m 0750 -o asterisk -g asterisk
- keepdir /var/log/asterisk/{cdr-csv,cdr-custom}
-
- newinitd "${FILESDIR}"/1.8.0/asterisk.initd7 asterisk
- newconfd "${FILESDIR}"/1.8.0/asterisk.confd asterisk
-
- # install the upgrade documentation
- #
- dodoc README UPGRADE* BUGS CREDITS
-
- # install extra documentation
- #
- if use doc
- then
- dodoc doc/*.txt
- dodoc doc/*.pdf
- fi
-
- # install SIP scripts; bugs #300832 & #414585
- #
- dodoc "${FILESDIR}/1.6.2/sip_calc_auth"
- dodoc "${FILESDIR}/1.8.0/find_call_sip_trace.sh"
- dodoc "${FILESDIR}/1.8.0/find_call_ids.sh"
- dodoc "${FILESDIR}/1.6.2/call_data.txt"
-
- # install logrotate snippet; bug #329281
- #
- insinto /etc/logrotate.d
- newins "${FILESDIR}/1.6.2/asterisk.logrotate3" asterisk
-}
-
-pkg_postinst() {
- #
- # Announcements, warnings, reminders...
- #
- einfo "Asterisk has been installed"
- echo
- elog "If you want to know more about asterisk, visit these sites:"
- elog "http://www.asteriskdocs.org/"
- elog "http://www.voip-info.org/wiki-Asterisk"
- echo
- elog "http://www.automated.it/guidetoasterisk.htm"
- echo
- elog "Gentoo VoIP IRC Channel:"
- elog "#gentoo-voip @ irc.freenode.net"
- echo
- echo
- elog "1.6 -> 1.8 changes that you may care about:"
- elog "http://svn.asterisk.org/svn/${PN}/tags/${PV}/UPGRADE.txt"
- elog "or: bzless ${ROOT}usr/share/doc/${PF}/UPGRADE.txt.bz2"
-}
-
-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=rwX,o= "${ROOT}"var/${x}/asterisk
- done
-
- chown -R root:asterisk "${ROOT}"etc/asterisk
- chmod -R u=rwX,g=rwX,o= "${ROOT}"etc/asterisk
-
- einfo "done"
- else
- einfo "skipping"
- fi
-}
diff --git a/net-misc/asterisk/asterisk-11.7.0.ebuild b/net-misc/asterisk/asterisk-11.7.0.ebuild
deleted file mode 100644
index ef9b0df5ae21..000000000000
--- a/net-misc/asterisk/asterisk-11.7.0.ebuild
+++ /dev/null
@@ -1,318 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-11.7.0.ebuild,v 1.4 2014/01/08 06:33:50 vapier Exp $
-
-EAPI=5
-inherit autotools base eutils linux-info multilib user
-
-MY_P="${PN}-${PV/_/-}"
-
-DESCRIPTION="Asterisk: A Modular Open Source PBX System"
-HOMEPAGE="http://www.asterisk.org/"
-SRC_URI="http://downloads.asterisk.org/pub/telephony/asterisk/releases/${MY_P}.tar.gz
- mirror://gentoo/gentoo-asterisk-patchset-3.7.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE_VOICEMAIL_STORAGE="
- +voicemail_storage_file
- voicemail_storage_odbc
- voicemail_storage_imap
-"
-IUSE="${IUSE_VOICEMAIL_STORAGE} alsa bluetooth calendar +caps cluster curl dahdi debug doc freetds gtalk http iconv ilbc jabber ldap libedit lua mysql newt +samples odbc osplookup oss portaudio postgres radius selinux snmp span speex srtp static syslog vorbis"
-IUSE_EXPAND="VOICEMAIL_STORAGE"
-REQUIRED_USE="gtalk? ( jabber )
- ^^ ( ${IUSE_VOICEMAIL_STORAGE/+/} )
- voicemail_storage_odbc? ( odbc )
-"
-
-EPATCH_SUFFIX="patch"
-PATCHES=( "${WORKDIR}/asterisk-patchset" )
-
-RDEPEND="dev-db/sqlite:3
- dev-libs/popt
- dev-libs/libxml2
- dev-libs/openssl
- sys-libs/ncurses
- sys-libs/zlib
- alsa? ( media-libs/alsa-lib )
- bluetooth? ( net-wireless/bluez )
- calendar? ( net-libs/neon
- dev-libs/libical
- dev-libs/iksemel )
- caps? ( sys-libs/libcap )
- cluster? ( sys-cluster/corosync )
- curl? ( net-misc/curl )
- dahdi? ( >=net-libs/libpri-1.4.12_beta2
- net-misc/dahdi-tools )
- freetds? ( dev-db/freetds )
- gtalk? ( dev-libs/iksemel )
- http? ( dev-libs/gmime:2.4 )
- iconv? ( virtual/libiconv )
- ilbc? ( dev-libs/ilbc-rfc3951 )
- jabber? ( dev-libs/iksemel )
- ldap? ( net-nds/openldap )
- libedit? ( dev-libs/libedit )
- lua? ( dev-lang/lua )
- mysql? ( virtual/mysql )
- newt? ( dev-libs/newt )
- odbc? ( dev-db/unixODBC )
- osplookup? ( net-libs/osptoolkit )
- portaudio? ( media-libs/portaudio )
- postgres? ( dev-db/postgresql-base )
- radius? ( net-dialup/radiusclient-ng )
- selinux? ( sec-policy/selinux-asterisk )
- snmp? ( net-analyzer/net-snmp )
- span? ( media-libs/spandsp )
- speex? ( media-libs/speex )
- srtp? ( net-libs/libsrtp )
- vorbis? ( media-libs/libvorbis )"
-
-DEPEND="${RDEPEND}
- !net-libs/openh323
- !net-libs/pjsip
- voicemail_storage_imap? ( virtual/imap-c-client )
-"
-
-RDEPEND="${RDEPEND}
- syslog? ( virtual/logger )"
-
-PDEPEND="net-misc/asterisk-core-sounds
- net-misc/asterisk-extra-sounds
- net-misc/asterisk-moh-opsound"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- CONFIG_CHECK="~!NF_CONNTRACK_SIP"
- local WARNING_NF_CONNTRACK_SIP="SIP (NAT) connection tracking is enabled. Some users
- have reported that this module dropped critical SIP packets in their deployments. You
- may want to disable it if you see such problems."
- check_extra_config
-
- enewgroup asterisk
- enewgroup dialout 20
- enewuser asterisk -1 -1 /var/lib/asterisk "asterisk,dialout"
-}
-
-src_prepare() {
- base_src_prepare
- AT_M4DIR=autoconf eautoreconf
-}
-
-src_configure() {
- local vmst
-
- econf \
- --libdir="/usr/$(get_libdir)" \
- --localstatedir="/var" \
- --with-crypto \
- --with-gsm=internal \
- --with-popt \
- --with-ssl \
- --with-z \
- --without-pwlib \
- $(use_with caps cap) \
- $(use_with http gmime) \
- $(use_with newt) \
- $(use_with portaudio)
-
- # Blank out sounds/sounds.xml file to prevent
- # asterisk from installing sounds files (we pull them in via
- # asterisk-{core,extra}-sounds and asterisk-moh-opsound.
- >"${S}"/sounds/sounds.xml
-
- # That NATIVE_ARCH chatter really is quite bothersome
- sed -i 's/NATIVE_ARCH=/NATIVE_ARCH=0/' build_tools/menuselect-deps || die "Unable to squelch noisy build system"
-
- # Compile menuselect binary for optional components
- emake menuselect.makeopts
-
- # Broken functionality is forcibly disabled (bug #360143)
- menuselect/menuselect --disable chan_misdn menuselect.makeopts
- menuselect/menuselect --disable chan_ooh323 menuselect.makeopts
-
- # Utility set is forcibly enabled (bug #358001)
- menuselect/menuselect --enable smsq menuselect.makeopts
- menuselect/menuselect --enable streamplayer menuselect.makeopts
- menuselect/menuselect --enable aelparse menuselect.makeopts
- menuselect/menuselect --enable astman menuselect.makeopts
-
- # this is connected, otherwise it would not find
- # ast_pktccops_gate_alloc symbol
- menuselect/menuselect --enable chan_mgcp menuselect.makeopts
- menuselect/menuselect --enable res_pktccops menuselect.makeopts
-
- # SSL is forcibly enabled, IAX2 & DUNDI are expected to be available
- menuselect/menuselect --enable pbx_dundi menuselect.makeopts
- menuselect/menuselect --enable func_aes menuselect.makeopts
- menuselect/menuselect --enable chan_iax2 menuselect.makeopts
-
- # SQlite3 is now the main database backend, enable related features
- menuselect/menuselect --enable cdr_sqlite3_custom menuselect.makeopts
- menuselect/menuselect --enable cel_sqlite3_custom menuselect.makeopts
-
- # The others are based on USE-flag settings
- use_select() {
- local state=$(use "$1" && echo enable || echo disable)
- shift # remove use from parameters
-
- while [[ -n $1 ]]; do
- menuselect/menuselect --${state} "$1" menuselect.makeopts
- shift
- done
- }
-
- use_select alsa chan_alsa
- use_select bluetooth chan_mobile
- use_select calendar res_calendar res_calendar_{caldav,ews,exchange,icalendar}
- use_select cluster res_corosync
- use_select curl func_curl res_config_curl res_curl
- use_select dahdi app_dahdibarge app_dahdiras chan_dahdi codec_dahdi res_timing_dahdi
- use_select freetds {cdr,cel}_tds
- use_select gtalk chan_motif
- use_select http res_http_post
- use_select iconv func_iconv
- use_select jabber res_xmpp
- use_select ilbc codec_ilbc format_ilbc
- use_select ldap res_config_ldap
- use_select lua pbx_lua
- use_select mysql app_mysql cdr_mysql res_config_mysql
- use_select odbc cdr_adaptive_odbc res_config_odbc {cdr,cel,res,func}_odbc
- use_select osplookup app_osplookup
- use_select oss chan_oss
- use_select postgres {cdr,cel}_pgsql res_config_pgsql
- use_select radius {cdr,cel}_radius
- use_select snmp res_snmp
- use_select span res_fax_spandsp
- use_select speex {codec,func}_speex
- use_select srtp res_srtp
- use_select syslog cdr_syslog
- use_select vorbis format_ogg_vorbis
-
- # Voicemail storage ...
- for vmst in ${IUSE_VOICEMAIL_STORAGE/+/}; do
- if use ${vmst}; then
- menuselect/menuselect --enable $(echo ${vmst##*_} | tr '[:lower:]' '[:upper:]')_STORAGE menuselect.makeopts
- fi
- done
-
- if use debug; then
- for o in DONT_OPTIMIZE DEBUG_THREADS BETTER_BACKTRACES; do
- menuselect/menuselect --enable $o menuselect.makeopts
- done
- fi
-}
-
-src_compile() {
- ASTLDFLAGS="${LDFLAGS}" emake
-}
-
-src_install() {
- mkdir -p "${D}"usr/$(get_libdir)/pkgconfig || die
- emake DESTDIR="${D}" installdirs
- emake DESTDIR="${D}" install
-
- if use radius; then
- insinto /etc/radiusclient-ng/
- doins contrib/dictionary.digium
- fi
- if use samples; then
- emake DESTDIR="${D}" samples
- for conffile in "${D}"etc/asterisk/*.*
- do
- chown asterisk:asterisk $conffile
- chmod 0660 $conffile
- done
- einfo "Sample files have been installed"
- else
- einfo "Skipping installation of sample files..."
- rm -f "${D}"var/lib/asterisk/mohmp3/* || die
- rm -f "${D}"var/lib/asterisk/sounds/demo-* || die
- rm -f "${D}"var/lib/asterisk/agi-bin/* || die
- rm -f "${D}"etc/asterisk/* || die
- fi
- rm -rf "${D}"var/spool/asterisk/voicemail/default || die
-
- # keep directories
- diropts -m 0770 -o asterisk -g asterisk
- keepdir /etc/asterisk
- keepdir /var/lib/asterisk
- keepdir /var/spool/asterisk
- keepdir /var/spool/asterisk/{system,tmp,meetme,monitor,dictate,voicemail}
- diropts -m 0750 -o asterisk -g asterisk
- keepdir /var/log/asterisk/{cdr-csv,cdr-custom}
-
- newinitd "${FILESDIR}"/1.8.0/asterisk.initd7 asterisk
- newconfd "${FILESDIR}"/1.8.0/asterisk.confd asterisk
-
- # install the upgrade documentation
- #
- dodoc README UPGRADE* BUGS CREDITS
-
- # install extra documentation
- #
- if use doc
- then
- dodoc doc/*.txt
- dodoc doc/*.pdf
- fi
-
- # install SIP scripts; bug #300832
- #
- dodoc "${FILESDIR}/1.6.2/sip_calc_auth"
- dodoc "${FILESDIR}/1.8.0/find_call_sip_trace.sh"
- dodoc "${FILESDIR}/1.8.0/find_call_ids.sh"
- dodoc "${FILESDIR}/1.6.2/call_data.txt"
-
- # install logrotate snippet; bug #329281
- #
- insinto /etc/logrotate.d
- newins "${FILESDIR}/1.6.2/asterisk.logrotate3" asterisk
-}
-
-pkg_postinst() {
- #
- # Announcements, warnings, reminders...
- #
- einfo "Asterisk has been installed"
- echo
- elog "If you want to know more about asterisk, visit these sites:"
- elog "http://www.asteriskdocs.org/"
- elog "http://www.voip-info.org/wiki-Asterisk"
- echo
- elog "http://www.automated.it/guidetoasterisk.htm"
- echo
- elog "Gentoo VoIP IRC Channel:"
- elog "#gentoo-voip @ irc.freenode.net"
- echo
- echo
- elog "Please read the Asterisk 11 upgrade document:"
- elog "https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+11"
-}
-
-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=rwX,o= "${ROOT}"var/${x}/asterisk
- done
-
- chown -R root:asterisk "${ROOT}"etc/asterisk
- chmod -R u=rwX,g=rwX,o= "${ROOT}"etc/asterisk
-
- einfo "done"
- else
- einfo "skipping"
- fi
-}