summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2017-10-08 11:48:47 -0400
committerIan Stakenvicius <axs@gentoo.org>2017-10-08 11:53:08 -0400
commit935a3a2352c0292d4465e18c0c49839932421ef1 (patch)
treed44250b6e063ede80df3c2a9ae176b6cda84268b /mail-client/thunderbird
parentsys-fs/avfs: Drop proxied maintainer (diff)
downloadgentoo-935a3a2352c0292d4465e18c0c49839932421ef1.tar.gz
gentoo-935a3a2352c0292d4465e18c0c49839932421ef1.tar.bz2
gentoo-935a3a2352c0292d4465e18c0c49839932421ef1.zip
mail-client/thunderbird: bump to 52.4.0
Various security fixes enclosed, similar to those fixed in firefox-52.4 Package-Manager: Portage-2.3.8, Repoman-2.3.1
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest59
-rw-r--r--mail-client/thunderbird/thunderbird-52.4.0.ebuild362
2 files changed, 421 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index e8679802abc..a8245a21688 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -1,11 +1,13 @@
DIST firefox-45.0-patches-12.tar.xz 22040 SHA256 563d7bbe67aa4379ab0a9b460aa397aa2a8e9d1cadcf776490beb7349230c6c1 SHA512 be9981818e549d79f8557427dd506b9c473922c0043384563c1fd92e4c6c96c91afb8bb01d4499a3a61b463ecf2875bc776fef0f279c0f2fc3625602cb47880b WHIRLPOOL 4f100eadb5aae49731344d526ba482c97dfecebfd20de533e4986e3a0463ebe31853bf1f9faf914a6fcfab82936a52cbda2add84c019fd6ab15ea086115e5bef
DIST firefox-52.2-patches-01.tar.xz 10400 SHA256 18dbd0d6bbab50918ef3341b739710d45a45efb4aa6cee86b4b8a620cc590b93 SHA512 85cc57e27c46c3243deedcc21d248babbd9ac6c144332ac70dd6e00161fb46584d090683bc1e066c0e9136d6ede5a4e30ccb68d83cad448f6b0d8223c726dafc WHIRLPOOL 65d351f5919b897af516754df0df57b65789d8030280a35d9ab1c2e7790b2713aaac8ad1caaa1ee42007aed17f971355d7f478d134930d0e1a6148a254dd9bba
DIST firefox-52.2-patches-03.tar.xz 13148 SHA256 e2ab0acf173ef06874c6204a7ea77d11404dc70deca5d9edcee2e3a092ff4e60 SHA512 420dbeded3ff2f81250554416115a674ece1847db4449af9d09fa3ea5861037da9bd8525ce5bceede2abab1b58e06485e95417644c0ba8332eb076fbfed7cecd WHIRLPOOL be22652ab1fad0c55d3f3876d50f624d18b6472e7c292e96b5cb1f0e3672ef58fd41afbffd5ead912be1c15031595563eeacc2bea19673785fdde039f799e968
+DIST firefox-52.4-patches-02.tar.xz 14412 SHA256 28e63a625cb22cec73fe5efd952566d6bd965dc453f205b0c00b2fb3b580dcdc SHA512 6befeaefc118bc161ad05eed619142814e5cf31aaeede3fb5618b1f5ace887e9e1fa6914320b513404380a426cfb0f45107435f92b2d7e95d95cd7c44e03ad96 WHIRLPOOL 40323ecada75c7ee05ae19cd98bb262937a0d70f5fd7a25ec9454227f33ce81f363b602222b8f0bea879224e9f7c0132de982b2c551e40a0c7c63b8106efca69
DIST gdata-provider-2.6-r1.tar.xz 83836 SHA256 e181d5fe69e66f34719295790301e0d265c855be5f30df516c52dd3708d82158 SHA512 e5fcf60c221590d1d904ce8c6a74da7208b118c2872a26267f4ee6d3e68eea466d44b979b7259a012a21e48eb5b470d52cc9e58584226fe04ce88ff698da495b WHIRLPOOL 0e85fbb321edec0397b42808fd6320e245de35ddd1cf772545c432dbf26d8c28b042ba2c61bbde2abdbf4d5cca076436e6d678d6d636d3bcc562470d485df6c1
DIST gdata-provider-3.3.tar.xz 85628 SHA256 1a1751a5dd3d941bb28051c1d3af5d96c6c06b00c1b2d6b2442e312ec14644bd SHA512 ae0c0e6fd42d6e7088256ca8a4be5b0bac84b2f331b51afdc982354caef60b6ba631d4f76bfba7523000b49235c8f8c63704d90acf24b34b14696b709be9342b WHIRLPOOL 2b77c9343437633dc8b26365b6f172999364b81b4928744e0eba0d0de50179fbd845085cc4fbf95a0c068a9b76bd2280db8f9f349ded680686ab6cac949bbcc6
DIST lightning-4.7.8.tar.xz 1951252 SHA256 b31acd34aa38eff8b8043922794f9ef6e2dc67740e7689462991bf9517f15756 SHA512 37decaf4010e48cf242e76c5d73caf96f7b1e34c67fd465fb8b33055a6986d5fa7b1557862526224ab4ac421df3441e974d297ec4a9454dd63a039683ec46fe6 WHIRLPOOL 7494f30e08e74097179de6f44502b91efb2b65cd9bad4f3961678496c1fa376e0f5a77dbff670d66225e49a7ad11f24d8097498678fb128409e9295fc9323292
DIST lightning-5.4.1.tar.xz 1891296 SHA256 2c7eb418eeb54919542cb097c76af8c61ada1738b30562a54dfdc1091a416e7f SHA512 d5e6197f53443f7baf2c8487293e59ce825bd835870c2b38c64feefcf3a20ee46a41e9c2320f55157bed1a647ef51e97b74efc1d1ad41be34caefc943bfdaaca WHIRLPOOL 5e046c862e4fe9ac47a7be4d7fc3342ccb67b8f76c1f8b542f75a8b81816ef7edff9b478525e2fe0efb7d21eb0fe8cec3ee28185a73338ba59e84de3dd622c4a
DIST lightning-5.4.3.tar.xz 1891484 SHA256 77185d29bddefa121e27cdd061f0cc227b1da1097b59493ee4138ba573a527d1 SHA512 e7903ffbe729c9608647c883202e668bb0a502ad55bd5330d073a92f336a2be427e364829a609912a32432c9a6eaa2390f6b8bfff4e61e87d03f72a4ac2aad03 WHIRLPOOL 9c7765221196080ffc69a3b0a8f1d77f59a3c9a742151049ff121c9f99adfe134165f3fafa6fa950196a809fa5103d5ef6527ca23f51af3394e74b87f95bc50d
+DIST lightning-5.4.4.tar.xz 1872584 SHA256 8f330202f348734228ad5fc599a7a626506a3517393cc35708129084cd70262a SHA512 2168766a1fb3c4c77a3d13552518ac9b3e78f23a016a37a439b885b6eb56de369de85d2ba4fdbd201b54dc210493e94cdfd8d7dbe0573ae6d9d145ad97771ddd WHIRLPOOL b802126524d6aad3cd2399f2631c9898557a7b8491172ae29aef5f23d9f9f3e271de07accecd3bc1cf992e1a9c1944d02bc9091b8de94cde7fcebd3f7266bf18
DIST thunderbird-38.0-patches-0.1.tar.xz 684 SHA256 cd2a347b72a104e72d38e56bb92df3464e8820485119b4114dbd0bbda131a808 SHA512 52c83af301be959e861dfec55b3c4bc60035387c606976bd29232c4cba077230edcadef242491e699fba10027d0408dd4f33fa320bcf96727afe149166ca02de WHIRLPOOL a378a0fa1b152f17681a5e389662fedfacd45a137b224f038d3c98ab4a024bcf9e753fb2fe018cdb7126fb710ee8baabdf7882540450ead2985070d0d1f12eb0
DIST thunderbird-45.8.0-ar.xpi 490775 SHA256 4b8787643041672aad90d1297eacad510ec88d04461d19680d38e004add14f21 SHA512 95adc2355a27d916f96c43bee0d4527990a1eba8cee9e4f85cd6da9202ea0ff4fb89fde127abce03962e185b272f5bbd1d8cfb032f6f32c7895bf3dde8d35a2c WHIRLPOOL 76ce6c4ff429fe4cc51f87f297ebead9962503ca1fd68c8e0783c43d9898bf370b00a222b7b17f1ed191f30557f9181b56019dc6ac3757fc08fdd53544039864
DIST thunderbird-45.8.0-ast.xpi 428059 SHA256 0ead56ad0cd11503a60d5f75cd181c0c85eb7ccbc42fa69c76d3cd64f29a0cd9 SHA512 eccf877f29099445ef59c833929a50df7424aa475b1ceb432d6c10b28c71b4e25d840a4fedb1afb3106896da0afeb47a3af1b763553dc6ae40f7bda5b0d65040 WHIRLPOOL a370c261f19a1f1ef3da37abc7665d8f1fb0ba1bdc75e5f11dc923e08a0c7a0b891e166cf99273222d0aee92a4d8a06f38ebc5168c121c391b53909cd6e79690
@@ -178,3 +180,60 @@ DIST thunderbird-52.3.0-vi.xpi 637163 SHA256 98fa9c475af8c5a4dfe132ef5f27bf3ae0b
DIST thunderbird-52.3.0-zh-CN.xpi 593612 SHA256 2c5beb3ba1bebc339ae4124fcee79fad375ebba7d97251dac83ff1eed1042bad SHA512 9db62fce3fec7e4b243c8d8998da6222251e12cd8325df1e56a5ffd9609da03f451923d2be26e47020763b8547a828b679921972e59a653a19fbd7d8ad9d1648 WHIRLPOOL f1a97bed845afb1f734caafaa7b32e4810cfe2f9082befb72d762c3ef2c801e4b65e7768c902820654215866c907c7924017e6ec6ca848729ac9baeb8f66cf6b
DIST thunderbird-52.3.0-zh-TW.xpi 595729 SHA256 2279205d7288313d59be7c2eadcc572988e063fbb570e76802cb681bdc262e0e SHA512 cff5e45a221790a081dbbda711d8706c70970d96149e63a157b5efaf720b008966572a6a21e9d4435248e20efd6c9b0ce9eb374fd4691e875f3ef9e048f0d7c6 WHIRLPOOL da26721eb2880a4d6d05f96ba2005bbb463c1951bd77e805f0bf84b397d36ef2904dd36e81f3c26e3a02a202907175e7395c11fd54d233fff3102faf53340874
DIST thunderbird-52.3.0.source.tar.xz 228532004 SHA256 050acc320a9c50365a53e4faa6538a0ad7f9a302d5f2cfb6edf0c6fe1b573b18 SHA512 10e6495d207328aae325a797be1de5e535b5d967df929b0af9d7554d0473b5a7931c8f9cb1793e843b1913f441f790169dd4ac1ad9e0e53e66bc8e1c1dd60e66 WHIRLPOOL cd097157eb99a9b98aca63b259b77edcd1ceea5c150869fe485ab1219c1c84bcfbc7d70ecedca4b8733e8adf015ad0d5503db985b098207cd3b18497602c4223
+DIST thunderbird-52.4.0-ar.xpi 604235 SHA256 5b17a53001f7605f9e12a9881573f93940dd5756bd54788546201c97fc323c3f SHA512 bfadc747f3b73796cc5822c81567aadd3d34a420ddd104d042d47041b03b7e62b9e1d95e117d5b9ee14897187dbee776896a2bb0c7dc62ca70cc1e1e5f33fd89 WHIRLPOOL 7ff63921c6452ffca21cba430ad45e7953083a821801d259ae987c67cc7a0113d4df8608bd787aef39392744e661d04b5fd64d3c1b14d9b3586938b9fcf27027
+DIST thunderbird-52.4.0-ast.xpi 541173 SHA256 e3f5a29ee9258e49306cd1580d603b635a5ac7c8840c838504606143c141562a SHA512 1653f6ea89fcd4bead7a06badd7ea025dc2daf6a450dfb944e7b45e7d7da9818b660bfc02218ed79246b8231e42f6678beced2f78df668cbedc3676a088d2dfa WHIRLPOOL 0f70d593e6ce37ade889e04b5e868c31cfdeea9a0cddc04eb768244651e987a07ed2af40346d01a3f483a34c3a0394fdb01de6ce8b0002cc33ca820b05d13270
+DIST thunderbird-52.4.0-be.xpi 570932 SHA256 1d5e536ebe848d9a9ac773c6e15ef895601c1754a9f0ee69a7ab229ec931dc32 SHA512 c15aab335806ab81745841b4fb2035be33bf700b86edd39fcfd49891e32b68ee91cb0e71c0cd3813e43a3ba45a912876501c97560f7f1e2568729cec5082d478 WHIRLPOOL 1578e1de28fa4704c70eefac548b5551dbaf244245059dac2088b8c49328ba7c279eb7ea8fc58bb19b6a2fd830046c44f2ba0fa8fce4be94ee0d4d52369c434f
+DIST thunderbird-52.4.0-bg.xpi 634897 SHA256 18063549c65ddcfb1c438b5be60ebf27f2b6ed2b926e52ba2b9fd078510bb42d SHA512 494b6a30de08858b7fe5003c8333192c0a393ca188defd075cc75438f9885a7fc5b746e392a411eb06eee242bab27bbbbaa52bb153d66fb996f4f2db434517c5 WHIRLPOOL 5112e4b75e2d6faed09c786d8573c14ead5b34b843755c6bd592131d64b046901992cf15b9f5c9636bb9f9398abc08d7657b1dbb927c1fd7e69d7339f6912632
+DIST thunderbird-52.4.0-bn-BD.xpi 676901 SHA256 cd6a5a1c7b9ee0f688815ed2d6ebffcb5300fd1ebca9f0bc0d26c0f8d8530d12 SHA512 a8a74fdfc2d97c61eb5b09fae2cf05be9af0411ef79296ddca3c26b503c1c017c0ced7bad5e6ec1c235c1198c5793ec041c7b48b6aba90a63d09e128e1aee024 WHIRLPOOL 4842ebc2e27fd7c82008f8131e87412395d6fb835b44a1cc73a6483c65bb7581c2dc9c24573dd18ba11fc6d815714184f6f926dc6cfb5539e0c7ffee4ea8c0ff
+DIST thunderbird-52.4.0-br.xpi 559380 SHA256 8ee2714cf3efc9477059047d70d3429601e2451e32d823ad48ecfacbad802edc SHA512 8c4e41295c063d5b2f5dfa0d20a202bd0b4e3577eaba2d139bca8575849a3c4387fdb0d2282b6360050c615ec336615ea04cd4304b31a5b00fa3be61f61ee45e WHIRLPOOL 31093cec2c2c102c3990a0a7c8c21eea9cf094c52884667664c8baadf138432cad2dd6a3d34684c0dc94e9a7fceefa21372ef6b5888353a6ed0e36740b2d4102
+DIST thunderbird-52.4.0-ca.xpi 569910 SHA256 8b4929329075581266bc18189660c6200f6084153530d45ca6ce2865572a392b SHA512 5dc899065913907ee8e1416ab95e9c240b856e96fbf51c1ca06344de48e96687b2901cf90e98a49f1064b000bc78c9f43e54f194c908de3f97340c5d7201de38 WHIRLPOOL 47170ab8f02db1606e859e4e46bba39dcbd973ba2c06a6dbdd33bc0eaa4e0b7727b1af426f020d36b0c08b47804cf7ccf257e6b2bedb3810d8fa735f383deedc
+DIST thunderbird-52.4.0-cs.xpi 579150 SHA256 d3898778cd4aceea175c46ddc386b47cbe134a1b89322cee285e5925042032d1 SHA512 2e1973047891240f39d89c19e5f6767e735c9d7998e566c4b7e0e3243c61d887d2307ffa6c5d709e2e49639bf20b08f41d644230152150a9694b02ce6fe6d394 WHIRLPOOL 2307e556c6f7fb4dc3cddc733505e07e736bb5eb13b295e676feb32e2a3a7d13dfb53de76b3e8ef92753f016603b42550a17aad223d42a4fb00f2d78f4c5c020
+DIST thunderbird-52.4.0-cy.xpi 554858 SHA256 c95bcfee29f32aaf12dba7e835f35311eb71dc923c71dfc063b8150165e552dd SHA512 bed9d8907f4a613b0355cf4f4487359275631511a4ff8550abcc22c95699d1d513a70f90ed657e9f608c7d99667b27208909532858bd2ddda4ee47541fa26af6 WHIRLPOOL 48d79a57164c9a8f500dce18c22f32878e2b7921b638f1dfb1e8ba96ac1104c5a0f9573811a853c3d2a9554fc5d0432082cb9febe4396c6877b691c16417678b
+DIST thunderbird-52.4.0-da.xpi 543336 SHA256 cf1efa5a056dbb9b98324b1b959a61467af15ea82ad586369b4b46856d89d990 SHA512 39169bac23dffdac006e4d019f5c9ac99bf1ab7c55f7b85ad9ed5f05296afc3fdfb4ff0bb48180f38ef2b968016c753c8473b10d4b6552d3783d35e84208b473 WHIRLPOOL 2c5ea8b898779d59aa152da2317950605ceaffa1d81c52ff9085ba0c2a3fd9a99873ce84ac0c27cb88e8cf0d775a373ad1026d5b533f2d8f788e63324d0cf742
+DIST thunderbird-52.4.0-de.xpi 555744 SHA256 6d8bc484a1edcdbff75d39dea9f33b85b92514058f505f2915810609796e8a1a SHA512 8ad1ff725a7a75cd691af9360e872e173b33ceb2f95c705c2cf6594b3a1fcdafa94c8892b79b1c9e694dad441482734211840cbd46522f7d284dea7a4ce7c7b9 WHIRLPOOL ee4052866ea7bab87706ea3c1f3ec4458ef15b30656b7bf7818f9d7a9e51a8a25ac6e138d05cb4a83ef251930c1d030813839c1b4f4c8020701cf4f2b0c4b86d
+DIST thunderbird-52.4.0-el.xpi 662965 SHA256 c5201686e88cde81222817b006957bbee08df0745fdbfeeea067b558f9131872 SHA512 7416e98eeed2d97cff1303fab8bc1ae595bf6779c4990c59ceee8da8b00234db0f4e6b03392962d8e482da29755bfde3f655005c9346cf05446c8be654135844 WHIRLPOOL 21dabce2863d54435ed287548fbc96e740565d75333fc0bc617f9a42fea20251d61065199f449c9455267232b1cbc9c36324f1b9af2c43f16dbb7fb7f0159310
+DIST thunderbird-52.4.0-en-GB.xpi 531234 SHA256 45905f12c6053324c1ed880837fbb6b00afd631d83907d6274fc4aa53a4861a3 SHA512 e4b918bac6500b62755b13ff002de440025cf2f5a9b4d9a65c35006d0e42bb3b79ad7106935c45f7afe9d445dbefdbf539a87377b354ac2b0a813e75e84d89e0 WHIRLPOOL 4f1231af63da0fa1aba5dac46e761a735d87b424a9bfa82619f383e019921cda822618e650a5e595354c2dd36b3ffca4489eb6d61ac853c96bd9d069628c5ba0
+DIST thunderbird-52.4.0-es-AR.xpi 565995 SHA256 f6bb96a72a3a8271b9796d9516908de2b885028d7e3cf00913fa74415b7a9ce3 SHA512 3770c63f71c7b35b79797778279c7dec5240427e529da4fc6976628ce05204681da489acaa22f8c27355f7b7872ac3656261b486da62af53dcc1da0cfee4a808 WHIRLPOOL 903465f16b6715ddf8aa77f78001c72f4292d411b07e2299ed0199cbb35e97c505642e98626b26c1409cadffed8b1932a19ffd77b4bfad3ebdb5d7ffb5b62bd4
+DIST thunderbird-52.4.0-es-ES.xpi 445464 SHA256 2d49b3b67e7b0c8f99871906e65d5e3a6cd684ad3dde05a730dfc8d328205005 SHA512 165decda1107e3c48cccb68f857d606d4bb06125214088ce9ff348d53e45023a28f7a196722371e6b18f58fce51314c8277ab6b6dbc0323a32c70bd5147865a7 WHIRLPOOL 92ef0df7ceefc94f0375bd5697e4799eda952730b3fe9a39ce04fc80806ce3a0504ec495a44bd072294c16c1c2f68ab227711c9cb414017a539ae97b89eb7613
+DIST thunderbird-52.4.0-et.xpi 551661 SHA256 eee8043f3300c1fbef18d87c783de89a11e69a75e7185e0fe0ce5a73a0feca0c SHA512 507ccd9f8b9d8e8b1c43b8189d32afbece0b47340fbf14577ee4c888b883ca135b83f62f2b6ce8ed1962ba030daad3dac42b60ac26a01132578c1023c07a1b79 WHIRLPOOL f2dd79fcf3a588d5f1ebb600cfe50fb2495339bc2e1fe99c850fa751e02b9ec66311ecba1ddad987f72fcac1b1d08f24d6fd4943df4f772f31f961ee7fd2c53d
+DIST thunderbird-52.4.0-eu.xpi 555536 SHA256 448a3d9d8f4babd98872e2f91c2837342e4c01fc6bbeb0bed3a4f4e14ea381b6 SHA512 3450490dd16f9bfc550fe33a4e31f7679b644e358b09b1b8ef275290d17255f8dce1c8a665b6ca8cfaa91365ce3a98bea7e3cbfbec8800aacc75ee3dcb920f23 WHIRLPOOL 914342afbe0b5291587b4866151b193b3e20c79760ee6e1d55130cf45f1923f13528b09bdf50099760f0f52905a3b899572fe4934d48678f29af6638b70565ad
+DIST thunderbird-52.4.0-fi.xpi 550670 SHA256 fde89077936d1ef35642d6b451926e885f69b9636b66314c4d1d182a9b753ee0 SHA512 b40fe8131eb3be646cd8314fc664ebb4099d327ef78c8058b4054ce0266fd98c5f72bfccd8483ae950312e9310b21f4ff9bd7dbd0ab28ec3c79195436d505786 WHIRLPOOL f6da2ef24f646fbb70e9cde7be14f507413b8f0530f0dae21a27000a5e7754a2afe31e3bb7df69b3af32e3e5831b1d70a89548bef50b5e8850091eaf1322e6bd
+DIST thunderbird-52.4.0-fr.xpi 577561 SHA256 98c758ebd8c286bb93a1b9b75a5af1939944c520164a5b38f1f39936529fd7bb SHA512 ac4261ecb136c0ed4b9b45caa18f796e85e8cedf374464ab425b4f4ef41cdcdb5756c509114f306d6ef027f70313aa43a498711beb7ce4462a24bb5c18628406 WHIRLPOOL 74244bec44f137ef4d26fc451988605f8ba3211dfba852fd1fc8f9dfebd974e5ed52a35cc6825e0087a20b9dbfc2a12d0c25a7414483c4870cfed29e91239722
+DIST thunderbird-52.4.0-fy-NL.xpi 563632 SHA256 1225accf01b15e7e3132ef51d9275ce573a3615360f16647c91bc078134f5002 SHA512 ba926a525a308b704733af586ec33d071961a1cd93c8090be12be844516714b419344f98d71af0a6d2d607eb3b76e64fa25ebb90ebb4657fef3960d5f2dde6e7 WHIRLPOOL 1af45abb1ed00b3948bb4a84984b82cb6884767a0081abd4927a3946e405ffa7368f82ac5ea3bf89112d8316c8c1ecc8c3dada4eb8322736008321e53781c3fb
+DIST thunderbird-52.4.0-ga-IE.xpi 583556 SHA256 22d847437c25ff7aa94b9f5ca1147277c87bccb5b38afa4f0ef7fa5124a59cdf SHA512 9b081dcacfeb150e92f87577499d5716cc176ac1aedfb4aef880d2484224afeb2bf7c197e3b09ace37854a176538770b4f6afa8bf793899df0a21ee31eeb9d1c WHIRLPOOL b90b8614bfdbb834cafb1ecdc34385aab306474da96198f24ccde288a3459893e3639da0b5676415a80c74b956b30e7a88be7214c9e2c89378f4374c0c82c9e3
+DIST thunderbird-52.4.0-gd.xpi 574065 SHA256 d184019e5989bd88b8bdb7a27788535b0a3a487921d85339ad0a1bb81cf46a40 SHA512 aba8d493f75aeaadf093e1666e85f1ff794346492d91099f6a2680b95f4d8e981dfb3509b190db0e1b6e4b74a381bca38b61c7bef3f67bef2b631eac8fb49f67 WHIRLPOOL 6d511df4252ba4ccea608f10b7a84fef5d9bbe05b3daad83e25841832d42208de39ef1b06e8d38db5934ee12c973b2ca7a151a2abb387dc426fc50e6811d8425
+DIST thunderbird-52.4.0-gl.xpi 575150 SHA256 a35d8e9441219196eb90a31d1f65f08493ded91fc1ebb1b712c417827451ff13 SHA512 6f57c57825a0f3e7eb530933ff82d4c31c73cde2d5d58edd57267d1712f0606fb8511ebdab409dc0c967b1319c3ffbb8158bb6dbea308d7ae7a56af4b94650f0 WHIRLPOOL 8426c9c10ab8118933d2f09fd775727d099573633cee1c3671aad70cad56b1c084bc5f905d7eb8a7d9386909996d68cf93229168e352ce7233aad780cf9f3c5c
+DIST thunderbird-52.4.0-he.xpi 592566 SHA256 8d46ec38430a1939cde04141c9f5bcfe22b81a154bebb89dc112ff199042203f SHA512 fb2ddbb62f31071b07eb6f33f7f6015c8ffee96a5a78504adf6b9a2fda3c589bfeabf263fde638eab9e103750a06eead1a6465a56e10bc3034a5b8e0cd79be3e WHIRLPOOL ccc8e56770e7a0f9a488c070379658feb8b2a94f8377ba562643d47b6acdefc56862d90c9528c361fd7b4ed30d869e6bb785f79563fbb9f3f945b617d6ac7592
+DIST thunderbird-52.4.0-hr.xpi 564780 SHA256 119c5055305b8f16b02a822b70044ff2410cc79f32a456d59c71c455002b8523 SHA512 da59389943b6427f1c1056b7712db105fcd38b5979fa47e1a62b8ff03e345f4a9d1b3dbc23c356d906b741847de274bf3a7e53c12f9935d5a749508d750f9f11 WHIRLPOOL 77e83f4917edc6aba551198c4045a8a2d25ed8e30cc83e7e951a99ad0aff599ac30312ff788d8f3c72dfeb4f8f2df6508228b4cb2b1401106361dff8b2e4d445
+DIST thunderbird-52.4.0-hsb.xpi 582242 SHA256 1444e2582233eb0ed7abc8566ea951d6938f75bc069a20b47d6f5cd8608a740c SHA512 ee03cb954bbcf507a2b8cd0ebe99242b0f7d232f46fc90725ae70089be3dfa1413584feaa5320c8ce9a4e453d3c3d932905849cf57b51aa2e2a4a164a228e710 WHIRLPOOL 8fa2aa3a4d60b9014bcd66a1ba03511cf045728126523c0cf7dfdbd930a74f478e2cb8414cc8385d67d723f1be65f03d91ca25d1941e6277f895eec989298a9c
+DIST thunderbird-52.4.0-hu.xpi 586446 SHA256 b98796554589eb7ff3e30bd8fbbb27c8d2ad31bc74d96d4070df1f0eeba40544 SHA512 b9f7b628f7cc112e79eb5a7e382ada35fb6ba3d0197db33bc370a807fffc0a69cdf4187b87e9b13e460dc84e2b9663d995cb8ca831518b209efe428c32f97ead WHIRLPOOL b5a8e0a2737c1a6f6271ff353b603a6f377b1d19b954f9cf7dd368b7c8300800562563eb41e14d28fd88b20d658706c3c2ef71443d71028f3ed3185c3ca2743a
+DIST thunderbird-52.4.0-hy-AM.xpi 629879 SHA256 ed1d4f05c0d4d2c8f4dc4227c43a4f08be01ec6aed92a3ede2ca83550543bbe6 SHA512 3a069934b02de31645925fb51efe16b137357571ab5376cd321d0263ec5bfac891851429deb216b78fb2c357486cb840b4aad943c0ccee690fad5bae6d39012e WHIRLPOOL 132616d303916a3b192d51bca4de9070b1ee4595cc91e70ba3d09c12fc9a55f701bab58acf44dc49046b6d1bd99a21c8d9ec035ca8a5e83f62033f00f2c5e3fa
+DIST thunderbird-52.4.0-id.xpi 546527 SHA256 5bd33fd191ed602e3ab0c47e9d8106328e73dcb07e3ae10062470d1de138aec0 SHA512 3dda07d74bc47ac1d20e294c1dacaf16805113aed31ac1246647f95c2e758672154ac427ec3915b577810a8df66cce83d3984f34539ecc01375a6b347d0140f4 WHIRLPOOL 9d9f4ab5d504479ae5b347ef4162789a14ea34f5ecdf14ecbac93416f2f5098508b269cf6c003334bfc3518fb9ce6aec6b3eb6299874cdd1216168e4f8f36598
+DIST thunderbird-52.4.0-is.xpi 555712 SHA256 eed6b20e25e34b0ee1498948c8baed0060abe1b3a25f9188b123c81fd044771b SHA512 ff9e52667baeccfd829e210822355a3d995046fb807bacdb9d52e6f2c7145f96a8bda6e0ef5fadaa442cfa7985de36b09a8349cd860d55c1a131b04e4cb44d79 WHIRLPOOL ceefc490c5580fffa310241d67a389f6fea7fac443779f57243af7c2bd3745d243f57ac62b0c5fc3a21c300d82a687a3edf62fb16d310ad05ba7048b4d78ffbf
+DIST thunderbird-52.4.0-it.xpi 455408 SHA256 5800130bfd912f58e6335791afde9718a59dd3428a589581fca160394a3f4b75 SHA512 a82683e66c379f84492f6b65e6ec068e472f3e9d56db5b9c393d69966a873f2ebd626d3d30ee6a5a2c47a5f82c0ac39abc39da2dd9c67a58505e4b83dab08503 WHIRLPOOL 20282abd7e95b57df459a005132f7ab056b698115f349fc22ccf7ed978c6bc3e38a4867bbd399cd0691159908cf5da6a4f997de2fd57df577cdd5ac7bc71bae3
+DIST thunderbird-52.4.0-ja.xpi 630053 SHA256 8846bd908fa6481e2ed0a2e7fa1cfbd7bbfe02a78b1cca75e9b2a1ddaffe1084 SHA512 d297d4a86e2f7f31adaf27915eb4e6ae34edadd7fa3cc903e8d64ea6aa01b449d076be5deac803d1d39c74d9c5d09818fa0e2fd670005bafd41c83028ff117c4 WHIRLPOOL eabe0b103085f42212568e02b946cf7db2385bf91d5b9cc22c0b1fe440fce1bf4431e43eaa0e39f6e25a231631c52633eac3855e11774a91634e726113ac322b
+DIST thunderbird-52.4.0-ko.xpi 595517 SHA256 89192fe23dbce157aeec48168b45ac94cc47bd6d83907b3ab7dbaeabe5b7b7ef SHA512 87f663896776abdf1608a28e905cd38cf935e8ab8a8cdd7482db1ac627e95695e1d15e9e3d9b3017e30e6534154e80fcd6cd70ededbdc2ccff12b200269771a3 WHIRLPOOL c886f74a2c2d07c27b8444011808e18d46c1d5e39a68d14b97c99f39bda8b8a0db4b2aad09ae69cb7913290711beb0e24b394e3ec80fc9b3da3045c8bfcd6f6e
+DIST thunderbird-52.4.0-lt.xpi 580598 SHA256 90bc80f8742b35525af3e1f4fad4c5e6fb3442423b6be7ddb8c4a5be76bcf564 SHA512 ad913ca637e7acf04255ad48d63ad7acfc317e6e55cae3f54b1338c98caf04b0aabfa18463e83d77f4aff211d21c496e98ba0ab473a57f79775f7efd8ecbed0d WHIRLPOOL dbebc4177edd3987aa3a84ee4c45e510c419c193ce9b6dc6a8e149eb7965c89fde8939b5488303caecc493eb31b33fbf0e9992462ef34a8571b219feeba5424b
+DIST thunderbird-52.4.0-nb-NO.xpi 551104 SHA256 24cd76bbfab1f20c5f916bdaff001759d75bee16e6a15f56b5e66d8a8d730d0c SHA512 82b38db24f7d06cd763c3613e3ad43bd6c5070409d822b450473992e157a4f6ac72998b0beb0abe524b06de58c2f8537924a455b506fe0aa7229082588265c97 WHIRLPOOL 6fcc3b73306d81a65c2cbb9162cb4130c12a2f9a77a1a8df3776e77cad5d2cba285d0c17b898efcdb7a153b2040a1a9b6a77695100d3e3413fc93d5108f86ba1
+DIST thunderbird-52.4.0-nl.xpi 557957 SHA256 a9523e8f9cd9e653b645c1b7b8105d98f3c33c6723f07d9e6a2a1e4b9e6abdaa SHA512 fa9708def12178686e42ae96732977a0090a1765a71ee591160a634a68acb1e7da3655085bfa4b18ca1ef380d5a35600bd1c7e64bcc4d30060740b6787c93aad WHIRLPOOL 5d7a768b8fb062a6b3db4d64491d7ac7c8d14454405e50181aba26450c2a4582c8ccd8e4763bedc22d866f5c5db2aa1e4c1fe9739835da67005ea2e4fd27eebe
+DIST thunderbird-52.4.0-nn-NO.xpi 551891 SHA256 22961936b2e19e95838777b24e29d3f43eab296a75958036b20c21471301f96d SHA512 e3c2691cdbfbf52045a6b41fb7f70ec8abe399399b23045438b98d1b7505c6ec7f0ea25ec70a0ad5bd189ea6f1bf1aa2a50d6e9963ce9a69e5fc2e15d2bd0765 WHIRLPOOL a5019612078a86b962bc3f0cc2d33b030db7bc0962366b65f35d1d816c197ca10614317337e6bd13fcf78cec9df262a6de817d90d40328c5489318cda6c74e30
+DIST thunderbird-52.4.0-pa-IN.xpi 646569 SHA256 c806abe05b9614690c9c8466a3b3c8e15fab6bbe6fa166e23f0dbb64f5e70be6 SHA512 673f9e7ffe4109f6bde302e01679511c4b64572c74e3e19d51b1050a979e6d417f120d5662d19155af0be9635ea85ae8f745a788547ba3519e9e3837cd48b4d9 WHIRLPOOL 1060a126616dc8fb15c352706318dd1eb5d39c3596a58f0afed50edb1dedc3eb0f10399acfe07d3cd3fbbe55833cdb411cea675a89ccf3a239e79475de2c48be
+DIST thunderbird-52.4.0-pl.xpi 469901 SHA256 46cd992cd75c2216af075f5d1080f3620e1e6ead488de2e14ed56f7698669d25 SHA512 09c020644beb4dcb90d433fd61eb2e30e8333110476e2e9887e81be09d8cb9d678b65f0eb31d1c612dd8ef72203f13f7cc0500b1a3b2c2da48b4583c01c67c74 WHIRLPOOL 9bf2dac45bddad34bad4552e9930ea3eb3d8a6b83c7a280916ec1f1cbc62048fc497a6f0c023cca3ccb0468a876484b3ccb2601560781b402ab996eeaecf8ce1
+DIST thunderbird-52.4.0-pt-BR.xpi 558224 SHA256 273539724246f023b0afdf79a9dd517ab0e71606381900ca26b0844a5e30e9c9 SHA512 0e223e693de23ea02b4aef01e2d34dc1cef727864309ffb5c045a84e7a938ab88e7609e8817afd9e3fd6e5c8b66402334ab17fb10d25a87858db982e2a507a9d WHIRLPOOL 6c69cd6d8d42dde8c967291745a0ec758e971b1cc9ff710c45c910665a83c95e541d37fb6db600ff2cd0e9cb8f2e25e45e19986abc51361ed1375abcde8119f6
+DIST thunderbird-52.4.0-pt-PT.xpi 565624 SHA256 7923394ff64a094d4da561b962b694011e79c8e586c8d125cb450878d3cb53f1 SHA512 1efb35004dc9869f266abe39754940da1690d44fde574e250c1298ddce0e050c0a861c6dbd28b00d22aca2abc16acda2369d290667e305fb371a6dbe0360ce60 WHIRLPOOL 3e4629264324110ab902728f6c086aa687b958326e8c74cabfefa23e46c369404e0ae93ae49345895ce19e0b5b19b7856a42d2b268ebd339a1bc461d2e342a96
+DIST thunderbird-52.4.0-rm.xpi 557605 SHA256 91afce6ed4b6e4a52b03a83db4610685cc272e829a5da10db79c371ef9b00e2f SHA512 bdb2f713890d65a219f4081a1d4025ec3f5fbab7697ca0cea116e423a6f90aafb80f7f0e88a468d575dd1ca7168f7c90d24fb1b79397dcd85622400843a86c16 WHIRLPOOL 4f2bbb09d41e98314da1cb740b325aa68b65e81660c801e56349ece024ff1b4c8d71f57c847f97c99c285d36e8e6107a8b518c229d9b9223a24940390abcb57f
+DIST thunderbird-52.4.0-ro.xpi 570529 SHA256 0972682e3c8b1767dd45efd8dfc1d5fe664731d4a7786a12104452ba29b449c9 SHA512 7dd9b5797357c8fcdd78cc215c9ba875e31974681043552b7ab2e35adf8e4b991e12e0668afbd6a5887801cfb7e5fa868b40470f3a60d7bcabbd72df482b8488 WHIRLPOOL e5071e44a1ab3f3ce78e73f67c0de62fa44e3af31ba41f83612612d2204b52cb9e6d93834607e66fa92863e5a01e61aab3d5f824f31bcc88c52ffa33342b59a7
+DIST thunderbird-52.4.0-ru.xpi 530669 SHA256 662fdebfb7b71ac6136e1ce707234440672a9b019f2a4b3337bf24338349b7a5 SHA512 866934f8fe86bc53965d8da845bd06f5c07fece1704d4012a652457f06094466f7cb32a36643f9d720fd11fb1c1915eaffb794f68a565387dca80dd0388a5135 WHIRLPOOL dda85fc58ce8cf59bef0f9a949c498e108a5f273eec05c02b073712aa5acf5dbef527fb706841da599f18a605dd8d691d02ee8093ab375ea5b9ce7496e264ad1
+DIST thunderbird-52.4.0-si.xpi 649010 SHA256 027776f83ce747dac6bf7bc939a6c53495022131bdb283496e0bff9deaa2a0b4 SHA512 d2fb213774b235bfee38f99263f67fc41ab8083b721762ee500b5f3c964713422436a53c1f3072a33bb3fc1259207bbf7cacabe0652ebd97c71889265a230fd4 WHIRLPOOL 0433db5af229f92d44cc4d96ccc52236a8cd9f17da88401a52f831f4718dba0d818069f7a115340de7662f5baabe439c156db298660d517bbd3117b4bc0f3bb8
+DIST thunderbird-52.4.0-sk.xpi 583882 SHA256 ddeb2172f620877f95b69cfbe8d1bda1dc77b1829ad491189e9cf5f5ddbdd8de SHA512 579777c8f776d86602c3b5eff112c5df1fe009462e2477577dd13c28435144b180165b4c6eef2b94997f4a3153730d8a8527b2656f84ef5d4f8545c3b8f550f6 WHIRLPOOL 322035c6fd5a21b0958e3a8a31dc32d6164712381bcf86c565452ff0909440b3cd43b7eb6e496d354a137d0e68ebe5fd11b180213358853efea81adb5fe108e7
+DIST thunderbird-52.4.0-sl.xpi 562834 SHA256 e36184d7264bcdd4bf7dbd9e8e547ccce50d2eb057cddd8589752f03df1a1f06 SHA512 636a7eef7caebc7598bc224ed3516e9b6a799d3806515196832012cefb85dbfa97a59bc2c76dd34835014045f8dc42c9943b1a1f885c5fe6595eafc5417314f8 WHIRLPOOL 7309ee52ac09a390a9c3f501d6b4e57516d51d521cf876a963e3015180412d76663ddeedd91b1bcd22bfd80717fe80577d42d683c31966a7d9cae8db0f6351ee
+DIST thunderbird-52.4.0-sq.xpi 570617 SHA256 e721f6e1ba3818c5ef258dddf19d5d7cdd635c485d620d4fda2107bcb0fb67c8 SHA512 580cf48c5a22c1701ea2b7a28805bd1749c1a3d6aaa8dc9838b51bb13d4d5982967d090c84766c1945f3d9c0818f52234286f5767b6dc46dd24c0322b93a02ee WHIRLPOOL 48db0e8845b68704f198ccde4d2fc466c2023f56d7189824f77f1ce0e479db2316d651fc9d802f43c7aca18a5dfa3f7ceaa799d38407e0355e09f859589827ad
+DIST thunderbird-52.4.0-sr.xpi 609020 SHA256 d17e021710ecb696ec97a339e579ecf67d0397b26ac2a7b578358a40fbcea3f8 SHA512 c5a64856d1eaf132fcd67f43589a2c0facffe43fc9fa9942935cb52a076ea266cf78348093118dc2e5afe7b0030dfde6fd0f04b875a801f3d75173c73904dfb3 WHIRLPOOL 5d49355a858bb1b2c43e878a2bd5934477dafe1580182bf3134ec739359fc4c64b00a9ee9e0acaf3f462b6438d55bf90576b5f5d69023bbbe4d8c96f4cd4540c
+DIST thunderbird-52.4.0-sv-SE.xpi 565777 SHA256 708c1093cf817a0502cb65014e73c0881f94dabead931c71beb4b563e948575e SHA512 5c983dbdc349482f4822abdd9c5870bb4838970cb24003c4aee328188bffff279124b299057566bc061b98aadf25e4078e52e888e30beeba9a437d07b4cc8a25 WHIRLPOOL 7845e9d47c5512e2bf6efa1a91de79d2d3ff1dd01ab1665a54304a73d6de23d11c4e5664b8313003db7e6c31f0a493941881194670593aa143d25d9ad7e527a2
+DIST thunderbird-52.4.0-ta-LK.xpi 675039 SHA256 875114b08adbe2783dcefbc56334bc4bc4c3da8c8b3300f37f2cf67ebc04df7a SHA512 34476582251c95ff6a1cb190b4dd26c9167b5232d5d6e4a48256ffecf126e9a75ebdd723ca8ed578274c54f428a7ed5f9c5bb00444c12da5f0e40e7fc9c03021 WHIRLPOOL 2e952d15e51e5e04f3f946bb9c3eb730cae08a422096dab737a0ccf048436230ea64708e75a8fb18af39c098130813172db248d0ea4c0389cca7f7f754b84c69
+DIST thunderbird-52.4.0-tr.xpi 569926 SHA256 9824c64701faa3f24c69e19801cc98b313b26582eda0ad46c8c78a3452f7ba33 SHA512 fd8dd034d17fc4d1a6628bbf2889d15f22b5a8beed256e901ad27af1a870efa1c92a307c85bb07fef29708e72b5cb48dfe8838e5e49161e464982768c259b443 WHIRLPOOL 647819d003859ecfe9ae8a651c69b35962170cb5aa99ee676993546fb0303e1fef8f4d779bf042bdd3f2cc74c667c2af825db3a86b8e71101b8c5d195aa8bec6
+DIST thunderbird-52.4.0-uk.xpi 652855 SHA256 d3e3a3cb60e7f6fba14759590df00e85456c17cf071cebcc358744abcd2b1ac3 SHA512 72550a7d2e8d639308172b7cbaf9487f909d22d86673d7900a3b2874cbb7b8bb882fcef27d2f79b1e5ebec7f7a5e24496e4b6837681a11d5b425b56baa195557 WHIRLPOOL 228111dec1a9c3b3531cb18aac21f02a378b3eb85f42ac3bc32c2c860fa1f78ba8f7b44635a24388daaf51f9d4378af68dea8cb4e719e7d15edc4de15813b53d
+DIST thunderbird-52.4.0-vi.xpi 637164 SHA256 7541bfec6716ae705afc51f66578100662aacdd92f8c1d8e9a33c82ad33c2872 SHA512 df5aa6f5af5b1178d66b078a06a919b2b5234505c97eb1916e82b59c9ab1287dbeaeb5a4f776a345430c36f128023241e157889c5669b76c28f60751da615eda WHIRLPOOL 580866f3e140730c683947fef305cc3d8573a1b832c5ebc7c945d90ff066d3c37817859236a0c6865fa05a089d0a692dc7dd4d8207a8d3839ea73917af231314
+DIST thunderbird-52.4.0-zh-CN.xpi 593612 SHA256 c1ef258d0b0b3ec1016c7878ec20c7af8a1d1cdfdad785389172b30739b674d6 SHA512 90611cca3af7e142a1800749e368ab9974aa470963b6c2f5f53937efc6b0e06cc29ec3f86922eee82e3603f7084ee1fdd146926fc972e722e160c2696df3f413 WHIRLPOOL 5b6755bf1ad8d5dfa5b93f7f74c3e97c09b9caf8ef0f63dd0888d0c00e482abf74e355e2ede4c578c0111eaccfc2d6933aa7eb93e6151441b46dbeda2ee6244f
+DIST thunderbird-52.4.0-zh-TW.xpi 595729 SHA256 7a1dc6483c83b43852c892f5b26b29fbdb0794c81bca4ecb5d1080e8cc371da4 SHA512 0dc359b4cc57972425c175175c257134da68a207f96f127c38758e3fb6f5d8797db9ab14cbc87518b2f855a09215d96eeec6cfe0213b1d1e548798c2d5d6449b WHIRLPOOL d1d7f515bc799f3f3456517479935322b34650025caef473ffb8e6fde347f4c977ae30d10f71862c53b32d6ed7d2ffab8d4153ccfc5cd0ce2a4d83af1be91440
+DIST thunderbird-52.4.0.source.tar.xz 228561704 SHA256 7f57b5b4d4ec42b04afcff8327abc2d3c6185c0bcc1ad138825d021a2d3f578c SHA512 6ac39cecca9e53b51754d7a8bd7cae228d197eb234b03a2386c16fd665f4f7a67f10bbdf981c20b3f7a21a5ef67e2771154a3dd9f249c6a884c48a9e59bcfc78 WHIRLPOOL 54a51c417bdb7cd8fa89643741ebd1d15e589bbf1aed5a87dbe366657287f33496014e82caa220d55477dcca6c99784811b7effb1e1d4ee60b89c4485709b93f
diff --git a/mail-client/thunderbird/thunderbird-52.4.0.ebuild b/mail-client/thunderbird/thunderbird-52.4.0.ebuild
new file mode 100644
index 00000000000..a63acd0bc2d
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-52.4.0.ebuild
@@ -0,0 +1,362 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WANT_AUTOCONF="2.1"
+MOZ_ESR=""
+MOZ_LIGHTNING_VER="5.4.4"
+MOZ_LIGHTNING_GDATA_VER="3.3"
+
+# This list can be updated using scripts/get_langs.sh from the mozilla overlay
+MOZ_LANGS=(ar ast be bg bn-BD br ca cs cy da de el en en-GB en-US es-AR
+es-ES et eu fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM id is it ja ko lt
+nb-NO nl nn-NO pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr
+uk vi zh-CN zh-TW )
+
+# Convert the ebuild version to the upstream mozilla version, used by mozlinguas
+MOZ_PV="${PV/_beta/b}"
+
+# Patches
+PATCHFF="firefox-52.4-patches-02"
+
+MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases"
+
+# ESR releases have slightly version numbers
+if [[ ${MOZ_ESR} == 1 ]]; then
+ MOZ_PV="${MOZ_PV}esr"
+fi
+MOZ_P="${PN}-${MOZ_PV}"
+
+MOZCONFIG_OPTIONAL_GTK2ONLY=1
+MOZCONFIG_OPTIONAL_WIFI=1
+
+inherit flag-o-matic toolchain-funcs mozconfig-v6.52 makeedit autotools pax-utils check-reqs nsplugins mozlinguas-v2 xdg-utils gnome2-utils
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/"
+
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+SLOT="0"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+IUSE="bindist crypt hardened ldap lightning +minimal mozdom rust selinux"
+RESTRICT="!bindist? ( bindist )"
+
+PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c}/mozilla/patchsets/${PATCHFF}.tar.xz )
+SRC_URI="${SRC_URI}
+ ${MOZ_HTTP_URI}/${MOZ_PV}/source/${MOZ_P}.source.tar.xz
+ https://dev.gentoo.org/~axs/distfiles/lightning-${MOZ_LIGHTNING_VER}.tar.xz
+ lightning? ( https://dev.gentoo.org/~axs/distfiles/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}.tar.xz )
+ ${PATCH_URIS[@]}"
+
+ASM_DEPEND=">=dev-lang/yasm-1.1"
+
+CDEPEND="
+ >=dev-libs/nss-3.28.3
+ >=dev-libs/nspr-4.13.1
+ crypt? ( >=x11-plugins/enigmail-1.9.7 )
+ "
+
+DEPEND="rust? ( dev-lang/rust )
+ amd64? ( ${ASM_DEPEND}
+ virtual/opengl )
+ x86? ( ${ASM_DEPEND}
+ virtual/opengl )"
+
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-thunderbird )
+"
+
+S="${WORKDIR}/${MOZ_P}"
+
+BUILD_OBJ_DIR="${S}/tbird"
+
+pkg_setup() {
+ moz_pkgsetup
+
+ export MOZILLA_DIR="${S}/mozilla"
+
+ if ! use bindist ; then
+ elog "You are enabling official branding. You may not redistribute this build"
+ elog "to any users on your network or the internet. Doing so puts yourself into"
+ elog "a legal problem with Mozilla Foundation"
+ elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag"
+ elog
+ fi
+}
+
+pkg_pretend() {
+ # Ensure we have enough disk space to compile
+ CHECKREQS_DISK_BUILD="4G"
+ check-reqs_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+
+ # Unpack language packs
+ mozlinguas_src_unpack
+
+ # this version of lightning is a .tar.xz, no xpi needed
+ #xpi_unpack lightning-${MOZ_LIGHTNING_VER}.xpi
+
+ # this version of gdata-provider is a .tar.xz , no xpi needed
+ #use lightning && xpi_unpack gdata-provider-${MOZ_LIGHTNING_GDATA_VER}.xpi
+}
+
+src_prepare() {
+ # Apply our Thunderbird patchset
+ epatch "${FILESDIR}"/1000_fix_gentoo_preferences.patch
+
+ # Apply our patchset from firefox to thunderbird as well
+ pushd "${S}"/mozilla &>/dev/null || die
+ eapply "${WORKDIR}/firefox"
+ popd &>/dev/null || die
+
+ # Ensure that are plugins dir is enabled as default
+ sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
+ "${S}"/mozilla/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 32bit!"
+ sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
+ "${S}"/mozilla/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 64bit!"
+
+ # Don't exit with error when some libs are missing which we have in
+ # system.
+ sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \
+ -i "${S}"/mail/installer/Makefile.in || die
+
+ # Don't error out when there's no files to be removed:
+ sed 's@\(xargs rm\)$@\1 -f@' \
+ -i "${S}"/mozilla/toolkit/mozapps/installer/packager.mk || die
+
+ # Shell scripts sometimes contain DOS line endings; bug 391889
+ grep -rlZ --include="*.sh" $'\r$' . |
+ while read -r -d $'\0' file ; do
+ einfo edos2unix "${file}"
+ edos2unix "${file}"
+ done
+
+ # Allow user to apply any additional patches without modifing ebuild
+ eapply_user
+
+ # Confirm the version of lightning being grabbed for langpacks is the same
+ # as that used in thunderbird
+ local THIS_MOZ_LIGHTNING_VER=$(python "${S}"/calendar/lightning/build/makeversion.py ${PV})
+ if [[ ${MOZ_LIGHTNING_VER} != ${THIS_MOZ_LIGHTNING_VER} ]]; then
+ eqawarn "The version of lightning used for localization differs from the version"
+ eqawarn "in thunderbird. Please update MOZ_LIGHTNING_VER in the ebuild from ${MOZ_LIGHTNING_VER}"
+ eqawarn "to ${THIS_MOZ_LIGHTNING_VER}"
+ fi
+
+ eautoreconf
+ # Ensure we run eautoreconf in mozilla to regenerate configure
+ cd "${S}"/mozilla || die
+ eautoconf
+ cd "${S}"/mozilla/js/src || die
+ eautoconf
+}
+
+src_configure() {
+ MEXTENSIONS="default"
+
+ ####################################
+ #
+ # mozconfig, CFLAGS and CXXFLAGS setup
+ #
+ ####################################
+
+ mozconfig_init
+ mozconfig_config
+
+ # It doesn't compile on alpha without this LDFLAGS
+ use alpha && append-ldflags "-Wl,--no-relax"
+
+ # Add full relro support for hardened
+ use hardened && append-ldflags "-Wl,-z,relro,-z,now"
+
+ mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
+ mozconfig_annotate '' --enable-calendar
+
+ # Other tb-specific settings
+ mozconfig_annotate '' --with-user-appdir=.thunderbird
+
+ mozconfig_use_enable ldap
+ mozconfig_use_enable rust
+
+ mozlinguas_mozconfig
+
+ # Bug #72667
+ if use mozdom; then
+ MEXTENSIONS="${MEXTENSIONS},inspector"
+ fi
+
+ # Use an objdir to keep things organized.
+ echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig
+ echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig
+
+ # Finalize and report settings
+ mozconfig_final
+
+ ####################################
+ #
+ # Configure and build
+ #
+ ####################################
+
+ # Disable no-print-directory
+ MAKEOPTS=${MAKEOPTS/--no-print-directory/}
+
+ if [[ $(gcc-major-version) -lt 4 ]]; then
+ append-cxxflags -fno-stack-protector
+ fi
+
+ # workaround for funky/broken upstream configure...
+ SHELL="${SHELL:-${EPREFIX}/bin/bash}" \
+ emake V=1 -f client.mk configure
+}
+
+src_compile() {
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" \
+ emake V=1 -f client.mk
+}
+
+src_install() {
+ declare emid
+ cd "${BUILD_OBJ_DIR}" || die
+
+ # Pax mark xpcshell for hardened support, only used for startupcache creation.
+ pax-mark m "${BUILD_OBJ_DIR}"/dist/bin/xpcshell
+
+ # Copy our preference before omnijar is created.
+ cp "${FILESDIR}"/thunderbird-gentoo-default-prefs-1.js-1 \
+ "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
+ || die
+
+ mozconfig_install_prefs \
+ "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js"
+
+ # dev-db/sqlite does not have FTS3_TOKENIZER support.
+ # gloda needs it to function, and bad crashes happen when its enabled and doesn't work
+ if in_iuse system-sqlite && use system-sqlite ; then
+ echo "sticky_pref(\"mailnews.database.global.indexer.enabled\", false);" \
+ >>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die
+ fi
+
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" \
+ emake DESTDIR="${D}" install
+
+ # Install language packs
+ mozlinguas_src_install
+
+ local size sizes icon_path icon
+ if ! use bindist; then
+ icon_path="${S}/other-licenses/branding/thunderbird"
+ icon="${PN}-icon"
+
+ domenu "${FILESDIR}"/icon/${PN}.desktop
+ else
+ icon_path="${S}/mail/branding/aurora"
+ icon="${PN}-icon-unbranded"
+
+ newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
+ ${PN}.desktop
+
+ sed -i -e "s:Mozilla\ Thunderbird:EarlyBird:g" \
+ "${ED}"/usr/share/applications/${PN}.desktop
+ fi
+
+ # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
+ newicon "${icon_path}"/mailicon48.png "${icon}".png
+ # Install icons for menu entry
+ sizes="16 22 24 32 48 256"
+ for size in ${sizes}; do
+ newicon -s ${size} "${icon_path}/mailicon${size}.png" "${icon}.png"
+ done
+
+ local emid
+ # stage extra locales for lightning and install over existing
+ mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/xpi-stage/lightning \
+ "${WORKDIR}"/lightning-${MOZ_LIGHTNING_VER} lightning calendar
+
+ emid='{e2fda1a4-762b-4020-b5ad-a41df1933103}'
+ mkdir -p "${T}/${emid}" || die
+ cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/xpi-stage/lightning/* || die
+ insinto ${MOZILLA_FIVE_HOME}/distribution/extensions
+ doins -r "${T}/${emid}"
+
+ if use lightning; then
+ # move lightning out of distribution/extensions and into extensions for app-global install
+ mv "${ED}"/${MOZILLA_FIVE_HOME}/{distribution,}/extensions/${emid} || die
+
+ # stage extra locales for gdata-provider and install app-global
+ mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider \
+ "${WORKDIR}"/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}
+ emid='{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}'
+ mkdir -p "${T}/${emid}" || die
+ cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider/* || die
+ insinto ${MOZILLA_FIVE_HOME}/extensions
+ doins -r "${T}/${emid}"
+ fi
+
+ if use crypt; then
+ emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' "${EROOT}"usr/share/enigmail/install.rdf)
+ if [[ -n ${emid} ]]; then
+ dosym "${EPREFIX}"/usr/share/enigmail ${MOZILLA_FIVE_HOME}/extensions/${emid}
+ else
+ eerror "${EPREFIX}/usr/share/enigmail/install.rdf: No such file or directory"
+ die "<EM:ID> tag for x11-plugins/enigmail could not be found!"
+ fi
+ fi
+
+ # Required in order to use plugins and even run thunderbird on hardened.
+ pax-mark pm "${ED}"${MOZILLA_FIVE_HOME}/{thunderbird,thunderbird-bin,plugin-container}
+
+ if use minimal; then
+ rm -r "${ED}"/usr/include "${ED}"${MOZILLA_FIVE_HOME}/{idl,include,lib,sdk} || \
+ die "Failed to remove sdk and headers"
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+
+ # Because PM's dont seem to properly merge a symlink replacing a directory
+ if use crypt ; then
+ local emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' "${EROOT}"usr/share/enigmail/install.rdf)
+ local emidpath="${EROOT%/}"${MOZILLA_FIVE_HOME}/extensions/${emid}
+ if [[ -z ${emid} ]]; then
+ eerror "${EROOT%/}/usr/share/enigmail/install.rdf: No such file or directory"
+ die "Could not find enigmail on disk during pkg_preinst()"
+ fi
+ if [[ ! -h "${emidpath}" ]] && [[ -d "${emidpath}" ]]; then
+ rm -Rf "${emidpath}" || (
+ eerror "Could not remove enigmail directory from previous installation,"
+ eerror "You must remove this by hand and rename the symbolic link yourself:"
+ eerror
+ eerror "\t cd ${EPREFIX}${MOZILLA_FIVE_HOME}/extensions"
+ eerror "\t rm -Rf ${emid}"
+ eerror "\t mv ${emid}.backup* ${emid}" )
+ fi
+ fi
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+
+ elog
+ elog "If you experience problems with plugins please issue the"
+ elog "following command : rm \${HOME}/.thunderbird/*/extensions.sqlite ,"
+ elog "then restart thunderbird"
+
+ if ! use lightning; then
+ elog
+ elog "If calendar fails to show up in extensions please open config editor"
+ elog "and set extensions.lastAppVersion to 38.0.0 to force a reload. If this"
+ elog "fails to show the calendar extension after restarting with above change"
+ elog "please file a bug report."
+ fi
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}