diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2013-03-28 17:17:59 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2013-03-28 17:17:59 +0000 |
commit | 323028ac02f3ac1726ae972f966dc0bb6bab053d (patch) | |
tree | e7dfafd714329e46bdcec0ef979d58f824b8426c /net-misc/asterisk | |
parent | Version bump for Gnome 3.8 (diff) | |
download | historical-323028ac02f3ac1726ae972f966dc0bb6bab053d.tar.gz historical-323028ac02f3ac1726ae972f966dc0bb6bab053d.tar.bz2 historical-323028ac02f3ac1726ae972f966dc0bb6bab053d.zip |
Security upgrade to address a boundary error in H264 video SDP handling, naive Content-Length variable parsing in HTTP POST requests and an information leak around account existence for the SIP channel driver.
Package-Manager: portage-2.1.11.58/cvs/Linux x86_64
Manifest-Sign-Key: 0xB5058F9A
Diffstat (limited to 'net-misc/asterisk')
-rw-r--r-- | net-misc/asterisk/ChangeLog | 13 | ||||
-rw-r--r-- | net-misc/asterisk/Manifest | 23 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-1.8.19.1.ebuild | 309 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-1.8.20.2.ebuild (renamed from net-misc/asterisk/asterisk-1.8.20.0.ebuild) | 6 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-11.1.2.ebuild | 308 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-11.2.0.ebuild | 308 | ||||
-rw-r--r-- | net-misc/asterisk/asterisk-11.2.2.ebuild (renamed from net-misc/asterisk/asterisk-11.2.1-r2.ebuild) | 2 |
7 files changed, 24 insertions, 945 deletions
diff --git a/net-misc/asterisk/ChangeLog b/net-misc/asterisk/ChangeLog index 358b9db79e0c..5a3e8ab5f7be 100644 --- a/net-misc/asterisk/ChangeLog +++ b/net-misc/asterisk/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for net-misc/asterisk # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.446 2013/03/06 23:16:36 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/ChangeLog,v 1.447 2013/03/28 17:17:54 chainsaw Exp $ + +*asterisk-11.2.2 (28 Mar 2013) +*asterisk-1.8.20.2 (28 Mar 2013) + + 28 Mar 2013; Tony Vroon <chainsaw@gentoo.org> -asterisk-1.8.19.1.ebuild, + -asterisk-1.8.20.0.ebuild, +asterisk-1.8.20.2.ebuild, + -asterisk-11.1.2.ebuild, -asterisk-11.2.0.ebuild, -asterisk-11.2.1-r2.ebuild, + +asterisk-11.2.2.ebuild: + Security upgrade to address a boundary error in H264 video SDP handling, + naive Content-Length variable parsing in HTTP POST requests and an + information leak around account existence for the SIP channel driver. *asterisk-11.2.1-r2 (06 Mar 2013) diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest index 8082f2050886..5e6578bf0edb 100644 --- a/net-misc/asterisk/Manifest +++ b/net-misc/asterisk/Manifest @@ -12,31 +12,24 @@ AUX 1.8.0/asterisk.initd4 6610 SHA256 40d3f0b20ce890f2ee3c98d259d23f833b30b59ff6 AUX 1.8.0/asterisk.initd5 7279 SHA256 92aa9c6f50170a3986b91f6ac7e51b0d85673db6f8b52c30ba5c3640fc47d01a SHA512 af9f9e6621a5ebf612b72b062aaf672ad1ae51c7de43317c87f9ee9cd749c4da24dd2fa39cd1bf9694978b477907a7e03b0480a2ae1f11585d0486bec749093d WHIRLPOOL a813fab4b9d7e7fb9c0b32bdd44234eccfb85eecd47364c7b53414fd2a2f48e836c9e906c3033084dcf9e1d13b63398ad690772a70bf632c1cbcce2472cdd1be 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.19.1.tar.gz 25158882 SHA256 2600e5b1888735c1ba7a7712b05347d8297efe819545800750b70f3e39a3aad1 SHA512 77e944e3fbd3333f28056ccd19d406e3f1460afd93d50230ec67aaac52439b030c27fd9e9b5b6a16934ffc9b09d862d88520cf195104c28f53a5f444e1d3a91b WHIRLPOOL e641f5d254f06290c73691ae7f1f1be51dfb57ebd372b93ebf3254b277ed8cfd23c4f56b736ac43831e06ba31a3cbb0ab844030393ee4aa2c1fdc8fe11b6d5ae -DIST asterisk-1.8.20.0.tar.gz 25182721 SHA256 2de2a0bacd0dd8855a86ae6447f93f2baa86bcd11e2571e3623394cd30ba40c6 SHA512 ff2c20e921402fc507bc4a4f4dd59c0dcc7f3509fdd618bb267629544309aa2f686e626b01a808a16a6558056a42e77ef7cf8702ce102fe47d4cff0b2134efb6 WHIRLPOOL a81a17b56da34d6b472de30925022fbf9316152310fd2fb524adbc2d8533d0d31443649c55d1b52d9ff6de284626dc434d643418bc7a32fba4a4d23cc0deb452 DIST asterisk-1.8.20.1.tar.gz 25176713 SHA256 da36c54a865303388fffc4f8b9636c22eedf8f9dc2ebf26d3cce0679a2354ef8 SHA512 99495a91df09fbeef4d507ee95190fbd50fccc16d9c791e591036abe938e5de05e39792f2f51f72f1b43f0056038e21348771ff758bffe333e5bf6abc420aed2 WHIRLPOOL aec924350b34ecb7632b306809853cbc5f7e4620f3e2e0e3d62fb4a872104e7ec68da723c3ce52cc1fe0064c95e852a32535ffb67a027c6cc80068523dbea7df -DIST asterisk-11.1.2.tar.gz 30439547 SHA256 5d0aa1930584f54f43f9886e70c65b68bf22db1f1df79bcac2e58e25b216a67b SHA512 6c861c1d5aba3e7e407c972c3f23cf96eeadaeac2dfeaa0c482527c5b061f2b4ac3b4f5300168bd9a40b9232739da85dd8eb7869d84c1077b4f1cb7ceb907196 WHIRLPOOL 15e4404c8077a2182fb2448d800084c234db7c2c674dade3fd530e729f6861b98d3df1f4340bbc573a1f7291cc1fd7744408eb790adca1bb352d51f511b7dcc8 -DIST asterisk-11.2.0.tar.gz 30473976 SHA256 cdcb8ae1896a8d1fd4d3b46d52674508a44bd6066f1a1ac861a5ac5921959217 SHA512 aa56a09767704c70506dca12c51bce27c256d155148f37d08f4b9afc6c21dee2e0a7cd9bd297e14d3f42f3ccb833ada0c33f332c15c2e02680acccb8420700db WHIRLPOOL 9e172187cc244e0e00471286bbd04a9f0cf1e5e14564bdd8dc5b95f436fdbf2c4f846060a4b155dd321287b47ea9d5925a17d88e9f518e565a5e9b53675fb9d3 +DIST asterisk-1.8.20.2.tar.gz 25180212 SHA256 67d9cb7f569d49bfdbd94f6d81b13bac690abadaff79d68c242ed4e55426b59e SHA512 1be14aff557a6f59bf89d67c73e2b25d09946dce9787784ec3af007f9aa071c202caa2d362660b9667bb78d6abfe7ce7576626a3e80ebc640c30f3763914cb82 WHIRLPOOL 66843609a195ce5dff6dda05bf45508377e921433915b201e6a3a9bab3ca5db513a1dd6b3e839cab4b097692e84f4ed9e48c9acc74b2d7edc3127db7bce03e74 DIST asterisk-11.2.1.tar.gz 30465933 SHA256 239f42037f8eb43d6cd69b286a4de3da5d9491806ef29211e0f074f63b130825 SHA512 82238f5b88e03e02e938a4c68bccb02b543b21809fd7cc2a08fecb165a9dce3faa8e111ea115944490c812b84697d33d755003f12b32758d7d3264fe55c88741 WHIRLPOOL 6f887d3cc0dfbf4a8f18d38e0ff7bf6bbc15900a520abf2996520c5d4ab91b58e30c1c92ad4bc45a48a59a34399fc826ee98efb60ace789e1a43f497b5a1bb5e -DIST gentoo-asterisk-patchset-1.16.tar.bz2 31997 SHA256 dfc097d8f4cd497dd970ff64bc6af716af456ce7f777a5536a112513a64bf132 SHA512 643c7b9151d3290e0494b76d08319e676fea8d053024c7abe658dc54f0611690cf95b67e25620ec2e0d4b36a4f91c3930acb1f4cd0e82083f5f718120d0949c4 WHIRLPOOL 9d7c61d96d3f3f67e74fa5aa2e233aece67240b783a948c90884235e3eaeb6754513cd4bc6be501043f4991c0cb2a0d15ea65c6f1a6a9adab750b793693a76e5 +DIST asterisk-11.2.2.tar.gz 30468125 SHA256 b470a27745735a49e83dc9842ec892c9b4ab186e5d44db68ea1db66e6c684c7b SHA512 3da0aaf03d4f172e8995021790b166a2182bc09cdd8d38777c4a8dcad7e105edde9a2cead511cd09504a7aac559c7b225aca69990bb9802d6eba70ff49dd0375 WHIRLPOOL e1a36fb7c5c6d6746e67c9cfd0db8eab829ee9c2770b5bc14f71f3686c3a8fb2f8aac3e2660ad455cf403e7f9d51d23a1a81042c44ced5f97f60ae8827c7740a DIST gentoo-asterisk-patchset-1.17.tar.bz2 31552 SHA256 fa1c202a42a9b2b3c8e1f90df05f8c8e818688347ad62d38c1bd2daa69d58af4 SHA512 84d5cd12894f452a4f17f95531321f2e15f745391965f6351de5af52e2ac3b580c50552cf04d656f91fdc7db69c0ebd9e2cf210143f57c8a9fb0d2745477ce00 WHIRLPOOL 54c98f94acd95519087c4a6c62269c5f1c41a250eea4f9def40c01e968be6bc2b4e85cc18a16367a8af02c217a5088718e0bc0f55e03aebc29aa5247a2d03274 -DIST gentoo-asterisk-patchset-3.1.tar.bz2 6557 SHA256 9bb7e1dcd3469281291757366579f2504372356a862b906c32c7ba255b2087f5 SHA512 16caf58b69480b816c8605d83be5594eef102ef288df4150c43887efab0091d0775c1c99c6a3a1dfcc4b48a099cb3631a72b2cb98418d84979a80a5ea05ee0aa WHIRLPOOL 3a5376944d09582ea9e88cb435186748cc46f56e50eabb460bce6ce468cf7b65ae238fd3c2347121bc401d46efbc36c257f983ef037845e9d789aa21dea60946 DIST gentoo-asterisk-patchset-3.2.tar.bz2 6038 SHA256 f6cf6e900b459d163ea2be18426c333739f65075260faa41fed5fe448a4705a4 SHA512 4fa5e445faff9bb870619193335b7d71fc5d3cfd3e1ccd8d704a49f66bc0bd4587eda63b0e5f985bded0259ae1deb7d2cd74d5139fa5c48eba6ea7c748f0283d WHIRLPOOL 78d308c89fd940830f293e339e4be555be80bc377a1d4cb043b3f4dde8af4390c5f2be78d2380ad3851cb5cf375fc2580110a079bb2f925883bc3602197f67bd DIST gentoo-asterisk-patchset-3.4.tar.bz2 7600 SHA256 e2c1c84c7b1137ece368696d44a518ae58c877f51ae74d37aa76989fed1bb983 SHA512 62b196f7cda00318716dc09f8e8a895080721f362f6215062a564e66428aaeae987136ce84a1b82216d1ce51e77bf94c745f9e89579391ca2140eefc651de798 WHIRLPOOL d67aa57bea86524ec0f0caf9b720fef3d69eeba7e359f533dd48eee8ebb6a81f63ecdc7191b1ce05040a141e8a42059b1eb17f8a17966639eb2fe676ce129ff6 -EBUILD asterisk-1.8.19.1.ebuild 9000 SHA256 e4f8db8acee501ce5049167ca092d6c229d255b2ab1b5f3200a2d5139822bc81 SHA512 d0207478df5b6343eb367642faede4af91fdd6e9c2803ed026ece6b56715a8a6372af6d1ee262b20ae8c32d5efa330f2f0f2e10852bcd20a2b32442d28c414eb WHIRLPOOL 69817e15d9e5421b42ebb86a214b55bd78e085562a5afa6b201b8b723782872cdf4b1310e6ee59ccc47b5981dfe931103af0390a0d4aa519e338d3a366e0177a -EBUILD asterisk-1.8.20.0.ebuild 9002 SHA256 2fc0ed6989f5b534193ad7503931a885bb62bde8b43af544a6d8bbf19fcb3d9c SHA512 87c8d4e16ba2432bddb3e34d7eaeaf07c5a37b6b3f3397ca62856209711da120d34eaadd49d8ae74d344fec36da9fd6287d542fbbf8e6ab9eb8bb9f5c525ccea WHIRLPOOL d01ae9d0050a8a8c6da3032febcfa1f037d2d005b392f958d202e4694064113e64a8d833bbecfefe22569548cada025af7aeead760a59500e68a76e7ea5c7205 EBUILD asterisk-1.8.20.1.ebuild 8995 SHA256 762021d887488d3f969e8f0abdd89a0421b52c5f5cacb83754a4d6588fc10b05 SHA512 d9cc44b1c2e9ad70dede2f279a9587608483b225244419e3965e05ac26bfe3dcf698996683d6d3e2d57b48133db543e98ba8a9f246e0af6472564c0fd579dfbb WHIRLPOOL 6f489265884c85a35ea6b2489086b7eab775a5f4f353ccaf6bf49e6293ce57f310acf0c59af63f035acd38797b4fe7fb4ee42d4fb3210a6ced008f7629ee9392 -EBUILD asterisk-11.1.2.ebuild 9095 SHA256 ff1b2ae8230a0e2f490785886f3f4781258edc2f52f1bb3fa76f99026b13c121 SHA512 4c00083ada82b85e8048170a478a80ee25e60f571957b9903f71b609b292f754ca694ff115b494fd4c42df10f43b6036524205b7113c8977d5b8bc3fe022a7c8 WHIRLPOOL 979a092ca968fc165e5656ac7d8aaf9e99ac9f7635da2ce190072955b82af138b3fcdd4f4479e968cd7c73ecce4fec61ae6ee78341472a8cafd672d63d9179b1 -EBUILD asterisk-11.2.0.ebuild 9095 SHA256 4e895be2322b28c731a0a0891439242401d2a0d91ef05e0ce4a7b3cca2219a57 SHA512 8d0a682d425a90022a84dbe6fbc122c5f67ca5ca2210c2547cce49e958e7aa4abb69ccad8e195239ca92329266d8928c0ec82a23dbf437f5f85c649004b27dac WHIRLPOOL 232f14744c39816d245e2588157f21ac507fe2deac7c624a85295819e1305cf7a1a23cd47e24cf441a1866be686f28b522e745435a32dee76d9014ad206563ca -EBUILD asterisk-11.2.1-r2.ebuild 9098 SHA256 05d2bb16ef31386c46ad1074eed27195166b0e08a2a3621cbee439f84e334fa9 SHA512 06b6566c8df6c542133b889018d1a62b62fd6559c9f98dc8c2452c4a40442c480748f9528f8f5ff8f0e0719cc17d60ea9904cb1b0df5f870bf99a1bb0a10a3a1 WHIRLPOOL 747cdde165eef24776dad4fc29ff90eb80016044ce1245e5bb201611de871226e836e13abc5169dcf222d6b2e6a5f1cef62dfed5f822440d346c6345efcb642d +EBUILD asterisk-1.8.20.2.ebuild 9002 SHA256 6dda45c12d0fdfd6e4551ceaebb2398c7efae88cfd7fd6e29d59dfaf8bed7e2e SHA512 3326e387fbf52f5782fa8a969b0dc9a5a91bae0ac3665a1f4527f3255f219d4d432facd34e1225d6a922ba5493f5b3d7b59cd698cbdfc6ba98f4676811eb86db WHIRLPOOL 5f8289cc5ebb5d3219a5cdd305928514daa118344155d71f9077ac01f5397d0cdf8c69746df117222df4285507ca72813183ea50269437c7ba5e3203c38a9c99 EBUILD asterisk-11.2.1.ebuild 9088 SHA256 f7c2090dcd522e694653a6d4180346680a0c68bb06615f98e3267f3f4fea49e0 SHA512 40623b8fc4a104089db9a3aa2f3c42bb63cdb2a432b27a229d1602d7b7f398274245bf5038967052c04090d7b5d970f1d4a25ae103448278664ba1495d275989 WHIRLPOOL 76125ce53c1a6759874eb4e95985deb0729d037a787f280ca0da323a7c02b7213173fa304724f88e95aa44e4764aa02015d52aab3091b9fdccb642cfbf274d55 -MISC ChangeLog 4407 SHA256 d0fc611f0bcc3b8c4fc1d47724e9cdb1607478cde6c2a6be44f9700f8d9a1a73 SHA512 88bba711b46cf3914d16026de6a9682fc4c57a523674221dbfea7930dca82dd348d04c2766a43a5d0057fef81f960c05df8a05286941bd10eca8537ee039bf21 WHIRLPOOL 6edbf4530e2196c26a2c418c171738fb43032421890c916497ee9c39d7c784f76834262c8bf2081a9dc451431a502bb931a2bd14bcab9f1634bd6dd76c26093a +EBUILD asterisk-11.2.2.ebuild 9095 SHA256 b3882ed49602cc683be07aaab5b89401a24340af06bee81dc48d31f6133c2597 SHA512 c543a92326f7d3172735895133f4ba86ac0a049dadf74a4ad8459752fcf0e3c36bc5548c62e04b6d28a2d326dbbfd038becbc4c010a0f3f2405acc0f07370eba WHIRLPOOL 9e7010e5ea0e883bbd954a361365c8f7801d2f81c3279a816fc07d5315fdceefa16ffb7cd2cd731064976be0c762449e7d0db595b992e00c4231a3ca43ed79d8 +MISC ChangeLog 4927 SHA256 d8fb8865b5b26b2a1677b7452c5718d100e8031eef9596a40140381efc888d4f SHA512 c30fc31b02fb7020effd1a5f130559f87a7da5e37d1f0c219599327b5ab5c519af17ecff20c1bd2c496951ab94f936044ba5c775a536a12b11a90d953ee911b8 WHIRLPOOL d20cefe569fdf116a884cfd2b1fd22880751d01b5050599956966dcfb0f869118852bccb4a7028e61da6abc7ae3eb6e04416022e42152a54181aee13d4737ac3 MISC ChangeLog-2012 113409 SHA256 6beb419f0c2e63641c73f2c14bd0c3a6a319c65bca8be526aa441fac2104fc9c SHA512 08c037acd578b9c3c387a80e45e80a68c4da84e63fced30215f22ec14eb6e223348d8e7d68f4decdf8a2d8cd0933b3f7fa3adddf7cd80bb407498b3e2868d917 WHIRLPOOL be0f2192531f7477545ccc0f10d9a50f36228e8d8d0e2773ccce3799c2d1b5e1b7be70d96502f759c7c878f88efd83122fc9230374c40c8963fe0bc7ff014b87 MISC metadata.xml 1203 SHA256 d5acdcd4f214e602c8d6b68258e4e7fa9071bd2fbda10d461f097d35d1f08c0a SHA512 4f65a7268834241af12d41b79da374cc65b977436ad182ea781b2677790da0d1573cc39fc2e9868a0acbaeceb529762cab385e16d9140a5246cafebd6e25e765 WHIRLPOOL d870297ef0b6f1f36a2f39cabb811c3a1845a305884ae7b2bc979cd35f96da04cc3030eb4593039aa0aaf206fe44845a37bbb5ac994085c1e67a422e2fdf0772 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlE3zngACgkQp5vW4rUFj5otCQCfbDbHbs6zoXDyrNwUzgwUmJgZ -yawAnRuY3lu5VJWNJUab3B8LUAyVn4mz -=qpVM +iEYEAREIAAYFAlFUe08ACgkQp5vW4rUFj5r4fgCeICO6raC+Habf3M/Jq0gGgnoP +W9EAn2SJKgXu9LlfJel+hfrp4i7msjUg +=6OC/ -----END PGP SIGNATURE----- diff --git a/net-misc/asterisk/asterisk-1.8.19.1.ebuild b/net-misc/asterisk/asterisk-1.8.19.1.ebuild deleted file mode 100644 index 6912b0cde8cd..000000000000 --- a/net-misc/asterisk/asterisk-1.8.19.1.ebuild +++ /dev/null @@ -1,309 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.8.19.1.ebuild,v 1.4 2013/01/04 14:34:49 chainsaw Exp $ - -EAPI=4 -inherit autotools base eutils linux-info multilib - -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.16.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" - -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 - - # 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.initd4 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-1.8.20.0.ebuild b/net-misc/asterisk/asterisk-1.8.20.2.ebuild index da0268de960d..d11b78c93556 100644 --- a/net-misc/asterisk/asterisk-1.8.20.0.ebuild +++ b/net-misc/asterisk/asterisk-1.8.20.2.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.8.20.0.ebuild,v 1.1 2013/01/15 14:36:43 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.8.20.2.ebuild,v 1.1 2013/03/28 17:17:54 chainsaw Exp $ -EAPI=4 +EAPI=5 inherit autotools base eutils linux-info multilib MY_P="${PN}-${PV/_/-}" @@ -234,7 +234,7 @@ src_install() { diropts -m 0750 -o asterisk -g asterisk keepdir /var/log/asterisk/{cdr-csv,cdr-custom} - newinitd "${FILESDIR}"/1.8.0/asterisk.initd4 asterisk + newinitd "${FILESDIR}"/1.8.0/asterisk.initd5 asterisk newconfd "${FILESDIR}"/1.8.0/asterisk.confd asterisk # install the upgrade documentation diff --git a/net-misc/asterisk/asterisk-11.1.2.ebuild b/net-misc/asterisk/asterisk-11.1.2.ebuild deleted file mode 100644 index 9febb5063b68..000000000000 --- a/net-misc/asterisk/asterisk-11.1.2.ebuild +++ /dev/null @@ -1,308 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-11.1.2.ebuild,v 1.1 2013/01/07 22:08:00 chainsaw Exp $ - -EAPI=4 -inherit autotools base eutils linux-info multilib - -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.1.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 - 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 - - # 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 -} - -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.initd4 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 -} diff --git a/net-misc/asterisk/asterisk-11.2.0.ebuild b/net-misc/asterisk/asterisk-11.2.0.ebuild deleted file mode 100644 index 8b7c9311bbef..000000000000 --- a/net-misc/asterisk/asterisk-11.2.0.ebuild +++ /dev/null @@ -1,308 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-11.2.0.ebuild,v 1.1 2013/01/15 14:26:07 chainsaw Exp $ - -EAPI=4 -inherit autotools base eutils linux-info multilib - -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.2.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 - 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 - - # 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 -} - -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.initd4 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 -} diff --git a/net-misc/asterisk/asterisk-11.2.1-r2.ebuild b/net-misc/asterisk/asterisk-11.2.2.ebuild index 37084cde148f..af1dd0ecb918 100644 --- a/net-misc/asterisk/asterisk-11.2.1-r2.ebuild +++ b/net-misc/asterisk/asterisk-11.2.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-11.2.1-r2.ebuild,v 1.1 2013/03/06 23:16:36 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-11.2.2.ebuild,v 1.1 2013/03/28 17:17:54 chainsaw Exp $ EAPI=5 inherit autotools base eutils linux-info multilib |