summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-01-13 15:06:19 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-01-13 15:06:45 +0100
commit97e3b969f2145a2f8d1167eb33c10a6b534d2723 (patch)
treec328ef537f44494e56248a32bb3df22eb9e2749f
parente6b5887df7a737c56598be2443fcf935dab50777 (diff)
downloadgentoo-97e3b969f2145a2f8d1167eb33c10a6b534d2723.tar.gz
gentoo-97e3b969f2145a2f8d1167eb33c10a6b534d2723.tar.xz
www-client/seamonkey: Security cleanup for bug #604500
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--www-client/seamonkey/Manifest30
-rw-r--r--www-client/seamonkey/metadata.xml3
-rw-r--r--www-client/seamonkey/seamonkey-2.40.ebuild355
3 files changed, 0 insertions, 388 deletions
diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest
index e162ef9bf78..f50bd391e48 100644
--- a/www-client/seamonkey/Manifest
+++ b/www-client/seamonkey/Manifest
@@ -1,35 +1,5 @@
-DIST enigmail-1.8.2.tar.gz 1604159 SHA256 1d2700799bc52aaa8e8c9f7a0f5111281ff9fbdffc093cdff070657d574eb2a6 SHA512 51eece988f466aeb4a343719a86dc7d95ec41dfc3ec7e3d8d2f360528675c605f8f2154f10aeea6ef82ed87c784f1d13bfc978e052a9ede0072b5137f6294b11 WHIRLPOOL e12a703899e0e4c98adc58b5f4bf1f74e24a2cf09c1a706a6edca6aca06140041b293f23e6e5b05c507177b4148533ebc3431fb75592aae07d791a899ba2c45c
DIST enigmail-1.9.6.1.tar.gz 1745021 SHA256 3874331e981aed864443d3c965d856e003fd84f73e5a89fd5004ced9dc29b96f SHA512 e6ab69734a39a4953e0167e07b06f0d5c83fb42956515392319a1cd9d665ca274f6a12b4141e2dfa373ef074f0526f3d7330a48d29d600fc38f724d26518ff84 WHIRLPOOL e89b0e5857564cc2f7ebf3ab46b110c6bbb1b16e7c0e045750119fd02e693b9bd9667c2932e7a65f9c8fb2c7c835ed048f6df2613d12b25d961894f47f67cf48
-DIST firefox-42.0-patches-0.4.tar.xz 13384 SHA256 e56db95dbf077a05189868b400bc6d6750f9cd816a7f38e29180f07975f4f098 SHA512 3c51022ab3eb53ae826824a7fd5870b2c639f70c255d461ac454a67e814dc0c61393ddb1a82527a60325c6373a4e1daaef0fbd088109fd2b65ba6d9538feaba4 WHIRLPOOL d6ab99e7525a7d7749d5805d5b9ff0430fff5b57262574a334d48d9ef08ed90784e90ab33f3794ec04308199dddae773f80a3d3c86c880b393924ee64f3dd0cb
DIST firefox-49.0-patches-03.tar.xz 12260 SHA256 05e01e0e52ed0d9930f9655f94023d76ef50fe1b80e5771030d08e515693adc5 SHA512 246fcbc54424024c0ddb0c2997b3734d2dc42dc768e9ce961bb5fdbc080cb87939de7f305176421cb10b8f49e37f6f256390655df3f17a4b263390a4d2a2b18e WHIRLPOOL b685e084e6e0db0ac7be8226e6ad18bc781be3bfe3c726bec65fd727e02cbfda844f15648094553a257eb067e4cb1c70b3ae7cfe0958ae4ef4a3178e979b1347
-DIST mozilla-graphite2-1.3.5-upgrade_patches.tar.xz 92916 SHA256 6314600c4d19112a51fba1f406eaef34b50df78405aa7cb0080550322d9b9ff9 SHA512 7fa37fe27587b80aaf4a2625abf7a28553286ecfa837b4c7c7d5a217abf8cf01a2446471f7c320d484325c2f7461161b00df75ff9a5d9efc70140e9723f5ac2f WHIRLPOOL 749ba5919850945f0fe36dfac912206cd38c50ae244703d07e37ea8a99a6b0c4300d0dd443db6c7a7fea22792ac7ccc8f839d598260e3e9f044e03431513f5c8
-DIST seamonkey-2.33-patches-01.tar.xz 944 SHA256 1612d94dddbd37fa4ce8307c1ba565c8439d082609b63c12b4971e361895566c SHA512 0132e7d06a1ea5d6c059f23e5b8a20016a1e911e8aa40ae15eaefcd141030b4d245297f1e13e508827d91bab5988db4775c8425e737654afba2ede9c2dee8392 WHIRLPOOL 4520c4eaa7e6a25f5c32e9cd1d46472e181fbd769a1c5a59c913834cec5556100eac01423b4abf4a47543d0fbae4bf83b0f4a4d6cec7a058587e2705043bf507
-DIST seamonkey-2.40-be.xpi 846940 SHA256 257bd56c3db3d62600e8fcb4e621df1cb3cede2e73354a0f588516152598e9b8 SHA512 8e4bde61cd4cd844a20cf48154ab527355b5320512bfa0515c9a25766891fdee515f8ed2f364cdfbaa6356a4480600b327d7b0a084f0ace017ff5acfdef2f6ee WHIRLPOOL 60b95d337e4838b82b2c458ef9c9d6ba1e40f4e1d337f545d798ac468ae145d2530993d0601e600b03a015918116403e95dd6b3a3e1a55ebe4d245162b673ff3
-DIST seamonkey-2.40-ca.xpi 838972 SHA256 06d423fc182c0d6b674572a94c0628febbe314883dc0be7f481583ae21ce9485 SHA512 a2b0f6f44c7f9391c6c357cdb1bf8396e43e7385209204d6f56c31ef01cba1ebd9391e876611d218e33a1e06ab9f3b921a0839f223c41c791d9275ab1fa7da04 WHIRLPOOL 6c4aa52805c47b5e5c27f7a31cff26c4dabd1244df85ab5695f8e40043ecc037c630edc4e9a9eae0eaa21e19396e4445f72224685c8b1d2ca452aedc72805429
-DIST seamonkey-2.40-cs.xpi 831462 SHA256 b2485aaed83ad46edb565fd6d35b785fc350ae96a7c32df91eb028807d8f442e SHA512 07aecf26c368c368305194b92342b76db1f19fcdf1b81c61227f8dfd8af4c7c7fcd4ef010d635fed9db34081c34c10a60a1a82cf9c034d0f1dc02589f0321944 WHIRLPOOL f9bdfcbb51e75c5a4cd64f9fef07b8d314f12bae5252a9a24f58fa82a1d4916c372ef0a5d3fef7861bba049941a7a554e4ce530d45ead0a5e9b549c684bc1be5
-DIST seamonkey-2.40-de.xpi 839670 SHA256 8d72d02bcec01e63a6b4630bcfd092fa1dcdf21b8424f4de878d4460e6ba1865 SHA512 bd900cdd5dcdf96b8ca13accd732129e9ebb80f002986ac7a90e895338f7893265aa1abc64f4b90a34deee290981caf4b861232dde249ba6f306b964e9db3410 WHIRLPOOL 238b2b961f945f3ccdcc76980b6a6e8d5de34b2e4c23b336fe7ec73affd14f702831984100d292f9838dc11f61dca440a069f4cf730a06cd0dcbaa731e47de3c
-DIST seamonkey-2.40-en-GB.xpi 801900 SHA256 b19890d7c446ffd98a9c94f95986cbbed9842f4149ce549d3463128957f1ed9f SHA512 7fa9dc9202123646cc243322706310b1c60f04d29b5589ade9abb56a1beae64df3268e19e5e828b913a4aa39a472e4c9e9758a4fa8e600eb17b6f8d5f483d2fb WHIRLPOOL dbc9b894d0fb365d19735867464748d4fdbdfb88a0d229e905eb22147635fb3ff45e1037681c58c3820bc9e718b3c94479ffd3fc42f5e126041d49249715c7d2
-DIST seamonkey-2.40-es-AR.xpi 850745 SHA256 096bfcbd124463398d1776955587036f7d8d969582053d8980dde18e34e21738 SHA512 398085a2bf83aa5a29c18f3d7bde40d49637311e39f7e32bc6b4905fbc45651b657a89c3d7351aeb3772cd05491ff7b9a706db68cd30fcb50fd2491f8b55b107 WHIRLPOOL 3563d7b2bcf11b7413546df447114fa0174b0d00b843a7b0e8bade51716cb8f44630d1d4013ed9191ab29eff274b70cc9d12cc6b54ae923c0e6cc23ee3fa34d8
-DIST seamonkey-2.40-es-ES.xpi 819863 SHA256 8d95036953298f880de663961a4b686bed9b233dfdc247a5107465d97d671b68 SHA512 6c3c755cb9fea83cc82078fa636354ff0d2ab5893e986d38a913d92c50e39f20faa5aa31184b59670e2d32acb914e3147230edbb6aff563d566abe864fef2ee2 WHIRLPOOL 6a89fc9eed79568dc0f2df3643e9f242c55f12c41d0e12d1439ee662edc535ed9d9be39380d3fb360515356543db50d0a87964af8c26b534bc756ede4610c0b6
-DIST seamonkey-2.40-fi.xpi 806026 SHA256 fbbca3abdc2fca3a7d18500e606ef75e3ee4ecbaefce3fc6bec211422521ac0e SHA512 b327556234be661256354d149dad729c8471c395343115515e5ec21e69b735798a898922baf7aa5d58491de0cb14ae7de8554bc4b1175c6879da0baf16ed3698 WHIRLPOOL 8fb485abe9848ffdac35e641d79b2990012f86e42d3a142e0620758cfda21b62fccf9e2dcac024e30d6022c2ca499024ded6eab29ec597f83daf4d9054a9957f
-DIST seamonkey-2.40-fr.xpi 812115 SHA256 faed1301c6f7eebf6999521feb7a8161f4ec5c6dab01ae717f9bb7df360a6382 SHA512 3db0551d3762779e60a111a10f62ce6eb49e0b1e769efd76aff1cff33963bc7c699ab373b3579775e83d49c79d49050c5da8f985dcd280121813897584e2d4ad WHIRLPOOL 738861bb48757a391c9b81e02fb3e2b25700c8e9f5856d067d71086d57f85ace1d7c0d63b612e5e23985baa7041d57d15438b5e635f07a2c6555e62067f945aa
-DIST seamonkey-2.40-gl.xpi 817071 SHA256 36d8a69aa1a526dd8ecc6a2fe2da55b5b4d3e4bcbbd2d13af0f76fa79ae21fc4 SHA512 942a60820c5b29d5cb42aedf22b00ae89a868c6b4a4f7972d958700532b364318c37d8524bd16040574133cea756bb1fb66c5d44901238877cc8779559100e7b WHIRLPOOL 2bbc3620a28541a3614113d091035c767ce14b4b34575a3eb0fca4f6e729249454fe95ab634f3eea2780755d85b5d09c8e02ecc8814ce6ac7880302c613faab5
-DIST seamonkey-2.40-hu.xpi 849367 SHA256 b259e45414ea7247c586605797064743efd203ad22ef4a6ca734d9d39ea0ddcd SHA512 17d4ce76f405eaa282d86dabd5969d579a41a2f6a4ef69721078d4284140a8dcc8d94d9c79f41868b35108f63d10caded0003d3c7f1353b6a2628de58656653e WHIRLPOOL 7bf9fff4fd2c02010edf4993774d2a4775ceebe5769dab9a18a2cfab560df0db2dc6ec4dd56e2d439d1ba30968b6a0e12ed7f8e7d34710c4166a8e7dd573062e
-DIST seamonkey-2.40-it.xpi 730855 SHA256 6818ac8634aa959c049791bd96e228ee68fb4af214d73b2ded67cdf9e8fba159 SHA512 382e45ea601f54af541b661724ad93db3f2e1ea4aad5c19a107f46c4c662442edab554580c9bea1c81503d0252d94f9e998e97c294b982347455d754477bc9a0 WHIRLPOOL fd59e72f1c0cda614e8ed6650207d403f1ebefcb057de63fe97c4acf3907f096fc1385f956071efabe698255b4085fbf514f12597bd576ee57c307ab11d0474c
-DIST seamonkey-2.40-ja.xpi 888099 SHA256 73c868aad2fdcc3ddf3cbb84bdca2ec7e43c7fcf0ac1d5ec243717123dcaf353 SHA512 59c7045deaf5e8c999c700fb52169a3494cbccd0fb022029f52c67ec749fee997c36a2eb5794e464e896ddb9f5305c1e2eead350a85f45447557fcc1b8bbbada WHIRLPOOL dd4fdf43e968e0b2fdded3e77a0afc76b0e278e650f884f4a4a0eaec1ed8d9d15283c2ba36aa6aa219ba37c80cd811ab5593e7545601a9e5925352b871b41652
-DIST seamonkey-2.40-lt.xpi 858221 SHA256 eb99109e0b25415e460c31fe6be35d41ada6040ca91bb90fb29af951f0b21b6a SHA512 e9deab61952a716923461944028fe31d22b911ce7812a7bd6a8d9c7c254b6e1c22fffc1b352b9774c6bb534acd67b18e988a528d0741d925d871be78de084230 WHIRLPOOL 06959f2147a7b4842f3acdf71b358ac43ef2db5536ccbcc01b9a37b5c3ac42a4c6ad9e605d2106827550ca138247408b24bf57de714b9cd0d480b2b3767e9b23
-DIST seamonkey-2.40-nb-NO.xpi 829131 SHA256 2762bcddb6b4d36b2d14bb961e6b3604420e099216d5efc60b8835bc2709251d SHA512 6186287fc7cfbea2e761eb188d68c0880feeb5380163137dbb6fc78c1b2768e9d1b54a4fdc7244a1db043afcdf8ae0a89249246f4ee4db197b62f6c4fa4b84f9 WHIRLPOOL 8e848fd2d25561c5173360e4423ce872d6a063a2c73dba2f5a58196507be9482b792d08fa3bd5af4b5b431aa8f5cb475c2124f60288cfe694c1f66b2e1748fe6
-DIST seamonkey-2.40-nl.xpi 796595 SHA256 fa6f780f2fec5b43c75bc46778ddcfa983c989fe16a0c1995c0bc65a375188f9 SHA512 0e948bab11625f92edaaba5a1479bcca90a23e54b277390bec763f12d2579778bb86f06a5bd1de4e4e4a8c799095d43e453f8e72b77b73cda63f63488b8338dd WHIRLPOOL e31c9a4032c0efe336865daa342daa770198f9ab23e13a72d12b5ecec2a8708eb93d01c52bb508789077a31b5c412a9f1366aabdcaf12f1f67f0b2a8ee2ba177
-DIST seamonkey-2.40-pl.xpi 861834 SHA256 96d1eaf1bafce2a4b11abfc7b3cccc3409b073e7353416ec7eaec48f61d0ed83 SHA512 a781d7060de7d29ab26a18228cbd7613723771bf4be4e87b5c553178ba38b977c64ea87e1c48cd75a06310461cf4feefa63b716d2c30442ce6130f21b3f12172 WHIRLPOOL d06c24eed927720a720dff727126c0a4bb888ab5cf5db1fd0597b2a18b8572cdc784e746ffb76db3d48b3cd03a703f498bae98c20ace374697daf37b91c3543f
-DIST seamonkey-2.40-pt-PT.xpi 831873 SHA256 1ef665be4063a864564ac13d6cf87892bc5c3c57a9e4115efd03403382e14b8b SHA512 d70f1a5e8aa87c55c36ccf3099e2fbe61f2f8aeab918e38e40811ef59ae14dbfa98fef15555720e63a90fddb7844bd260f752de70a97db4d1660f1a90cb95617 WHIRLPOOL fbe6acdb29b3e2542f585fed665df4fac6444a9b53b126647a587fa602a23b36ca8be4c172afe4ccd3035b820dfa97cab21fabbcc246387c4c31efa97ee17540
-DIST seamonkey-2.40-ru.xpi 892052 SHA256 68f6ca318be2cd1f78245db311ac9c0e0ae877697c0e310284615b352338a61e SHA512 53144afa2e719d9eb4a9bd512a7476cba4143fbf1a051fdfec57ec3974f3a0546d7cb72999b4a768db9b67e0a3682379bdd47c288ddd10cf89d7051df62f28f3 WHIRLPOOL ebb85760b704108ebe6f7014a62fa3376bc20c63cb158a8ed82157d435624cfe4c72526e17893920be726200b197471c93f3653eeaca2c8e93dcf6c364840394
-DIST seamonkey-2.40-sk.xpi 858148 SHA256 af8c126fe02cb3a8b9783c4a1f8d4bdec8b684195a2a8b5be537df88e2ec2861 SHA512 ef1e1dc1e0088eb9c1fdae40df50f854de21488af540818305531f973c1b0ad7a503c744c61c74a4028feb10b7c4357ffbbaada151605769b311273bfa52316a WHIRLPOOL 6b00b0f9dd022726f193714a116d51f3758dbf3c151ff592c7981ea11cf57cfd577ec70974dfe44a07a927146561f790f8bff98ce52b792119ef6edfa9b6bd25
-DIST seamonkey-2.40-sv-SE.xpi 824804 SHA256 fc970bfc8b52119c147d564076904df9b3722fb922bc9703709ceb5be2bd6144 SHA512 60b2601de7c274e9dd233e2fa3ba05eda570b28cfbcef85c6064650ae5cf86461266d8f1d322f0445c60fc4dc284c5c6e2030aecef50b48a85689c92dc25a95b WHIRLPOOL b9a7cc136b311d06331e6f172d880274b0d054c451183499f5c98f4e2a9d48cbd3e1f332328f707d0e378152659f27c76eaed3dbb804c41d47d1eb085357a942
-DIST seamonkey-2.40-tr.xpi 814264 SHA256 c5dce74507307008127e3402e0c9a877f333f2b1085b1c912c77969f4a433632 SHA512 5623b0dc59023e2a86f85198585ca33681071c9e9cc5aaa3666f43a38ee385df51cef30fb518cfc1398d41d94c42b54b88f908efb4730325837e24416bbd0d23 WHIRLPOOL 1f1c78bc701b5bdce93a30d4e1f8ca266407259595bdff30b913b6f688a2681b86b5757570aa1cf29c18b8b511fbb3926d26d4c54319e6f1a09a4e0d63cf81a0
-DIST seamonkey-2.40-uk.xpi 875815 SHA256 9932ca0ac00312a9fd9bab3199f7e55564beb6f5f339647c7a6c0cdd4cd82241 SHA512 2113ba85951dbd1215dc99eb26dc40a3d4792916ca692c614197b0f9514aa8506547c170dd9e4ce892591bcc3681868b13e80ba2d4460e5b2421434a13029a14 WHIRLPOOL d5f37ec99359c5589818ff8aef5b55ae07e9bf0b20e0822971f18574d1057395904331add02753160d4b8e825895aa1306ff69826a6a3c33d7f5bf456fbc06bd
-DIST seamonkey-2.40-zh-CN.xpi 839892 SHA256 28f634be2ed10526dbf6bf310b28f4da921d5809bce8216418c34ad07ac75443 SHA512 743e34a2aa6776ff665e4b0a6d763acbfd96cce6d51ee1cf6cc4b10cc999f0d63d10435040f57950433574828c8cc77feab56a9b640dce99643ee6c18a9a9a72 WHIRLPOOL b539345deee6aa8ca6b3f3017e9fba5737131928e8b2e47a188d5a01ef0d9202baa75591a4b4c9d1d1b95b28b9893f41d6ae47a7121cb42e8395568495382c49
-DIST seamonkey-2.40-zh-TW.xpi 861767 SHA256 eaec998d922789be13cfc42660ab96abd0b1ec47cb4394b8a9f725969141ba89 SHA512 7ab516753547aba8fbe48cf147082f1f282ecd6fceac0deb9795dbbd1b2962cdf82bc02128a04527a664e3cd00a4b529bff6e33a4f9fff4cbe998e2ec302ffbc WHIRLPOOL d0eb50f6990acfae199ff0e21b6d738271e8e30d91b8d0678e00e4871be69779f57b7642979485c6b2bcfbabc22c9002bff76a3b3a702fb1b747ceb10bbeb134
-DIST seamonkey-2.40.source.tar.xz 193702432 SHA256 7ecccc039d03f38d197b123b59ea42eac4c0c10e4bdec779b3665d79b435fa01 SHA512 5a81a25c75af254f1508aa615a082f013d7d06950859822a134c51a0f4c12918081f69e7835dc85114e4285a67bc4be4d509db8374dec848f6381dfce447b696 WHIRLPOOL efeaaab91980fa98d3c13c2c99d5ca3f8a265ab2d978cbb3ebfdad87df481d97be9105decbf44e1bac2d8214e753eb9bdb78d1c2f64eaedef0c8cfa0f251db01
DIST seamonkey-2.46-be.xpi 936650 SHA256 d97376ff92ffcdf04ec08273b60b8750d2c4f65edd71eed734313f72885f45db SHA512 a48caf48c0f705e991c31f6f0191662c99bcf022e9bec59b6caeaf03cec384f5b45c6a03af1103d0889fed2d19e57ff5c61fc67faad9cc1786993d0e9368a954 WHIRLPOOL 5cd5a26c3c7bfc02add5063a18f806ebaf58bde1d621bc3d7185edef776254674aba7c4925ab248158c21c5a90b19d156973f8b4a4ace821df60c9586617f3eb
DIST seamonkey-2.46-ca.xpi 937577 SHA256 11adc88aab13826dbb7dd9374f877b80c87a085d75712c976173f243950292a6 SHA512 cf0d7c4829cae2baa064f8a68bfd827c6d596b9036d50e51f50a7d85faa7b1bd067c7dd84f7062affab6c1282186591c54f1cce60457e76924ae328eabca6505 WHIRLPOOL 80daf65a5d75038683f5a8c18f23c79d4f67c9daa7e7090aba8a9d7e610104dae890f45aa81a49a175542fd9c6fe08422f916e7d7d0854d12db7b346f0473be3
DIST seamonkey-2.46-cs.xpi 936101 SHA256 4fae0f46a8ba83a72e6c7a50b7ba73153f153055b874fa3e857ebf6867a48ff3 SHA512 faa70bfbd6b8ecf3bf31ae7da164922ed4618558c62d8263b5655d285c932f0b3fd2e501397845276c4a2d0e519fcfd6d20bf7f0af5323cf5b1c1de94385766e WHIRLPOOL 4dba7015f5702871bf96b55def971c34c02212279c3f4fc1b75336547f11b03ee9c3d837472ddfbff77878cd96dafb43cafd406c4d9a4492ad4a68c3035e78bf
diff --git a/www-client/seamonkey/metadata.xml b/www-client/seamonkey/metadata.xml
index 6845ece1208..154a2a59c7e 100644
--- a/www-client/seamonkey/metadata.xml
+++ b/www-client/seamonkey/metadata.xml
@@ -16,13 +16,10 @@
(-Os, -O0, -O1, -O2, -O3) from CFLAGS (unsupported)</flag>
<flag name="gmp-autoupdate">Allow Gecko Media Plugins (binary blobs) to be automatically
downloaded and kept up-to-date in user profiles</flag>
- <flag name="gstreamer-0">Use gstreamer:0.10 instead of gstreamer:1 for media support</flag>
<flag name="gtk3">Use the cairo-gtk3 rendering engine</flag>
<flag name="ipc">Use inter-process communication between tabs and plugins.
Allows for greater stability in case of plugin crashes</flag>
<flag name="jemalloc">Enable or disable jemalloc</flag>
- <flag name="jemalloc3">Enable or disable jemalloc3
- (forced-on when supported prior to 38.0)</flag>
<flag name="roaming">Build roaming extension support (default on)</flag>
<flag name="skia">Enable the SKIA engine for 2D rendering as an alternative to cairo</flag>
<flag name="system-cairo">Use the system-wide <pkg>x11-libs/cairo</pkg>
diff --git a/www-client/seamonkey/seamonkey-2.40.ebuild b/www-client/seamonkey/seamonkey-2.40.ebuild
deleted file mode 100644
index 34befd257bb..00000000000
--- a/www-client/seamonkey/seamonkey-2.40.ebuild
+++ /dev/null
@@ -1,355 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-WANT_AUTOCONF="2.1"
-
-# This list can be updated with scripts/get_langs.sh from the mozilla overlay
-MOZ_LANGS=(be ca cs de en en-GB en-US es-AR es-ES fi fr gl hu it ja lt nb-NO nl
- pl pt-PT ru sk sv-SE tr uk zh-CN zh-TW)
-
-MOZ_PV="${PV/_pre*}"
-MOZ_PV="${MOZ_PV/_alpha/a}"
-MOZ_PV="${MOZ_PV/_beta/b}"
-MOZ_PV="${MOZ_PV/_rc/rc}"
-MOZ_P="${P}"
-MY_MOZ_P="${PN}-${MOZ_PV}"
-
-if [[ ${PV} == *_pre* ]] ; then
- MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/candidates/${MOZ_PV}-candidates/build${PV##*_pre}"
- MOZ_LANGPACK_PREFIX="linux-i686/xpi/"
- # And the langpack stuff stays at eclass defaults
-else
- MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases/${MOZ_PV}"
- MOZ_LANGPACK_PREFIX="langpack/${MY_MOZ_P}."
- MOZ_LANGPACK_SUFFIX=".langpack.xpi"
-fi
-
-MOZCONFIG_OPTIONAL_WIFI=1
-MOZCONFIG_OPTIONAL_JIT="enabled"
-inherit check-reqs flag-o-matic toolchain-funcs eutils mozconfig-v6.42 multilib pax-utils fdo-mime autotools mozextension nsplugins mozlinguas
-
-PATCHFF="firefox-42.0-patches-0.4"
-PATCH="${PN}-2.33-patches-01"
-EMVER="1.8.2"
-
-DESCRIPTION="Seamonkey Web Browser"
-HOMEPAGE="http://www.seamonkey-project.org"
-
-[[ ${PV} != *_pre* ]] && \
-KEYWORDS="~alpha amd64 ~arm ~ppc ~ppc64 x86"
-
-SLOT="0"
-LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
-IUSE="+chatzilla +crypt +gmp-autoupdate +ipc minimal pulseaudio +roaming selinux test"
-
-SRC_URI="${SRC_URI}
- ${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source.tar.xz -> ${P}.source.tar.xz
- https://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCHFF}.tar.xz
- https://dev.gentoo.org/~axs/mozilla/patchsets/${PATCHFF}.tar.xz
- https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCHFF}.tar.xz
- https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.xz
- https://dev.gentoo.org/~polynomial-c/mozilla/mozilla-graphite2-1.3.5-upgrade_patches.tar.xz
- crypt? ( https://www.enigmail.net/download/source/enigmail-${EMVER}.tar.gz )"
-
-ASM_DEPEND=">=dev-lang/yasm-1.1"
-
-RDEPEND=">=dev-libs/nss-3.20.1
- >=dev-libs/nspr-4.10.10
- crypt? ( || (
- ( >=app-crypt/gnupg-2.0
- || (
- app-crypt/pinentry[gtk]
- app-crypt/pinentry[qt5]
- app-crypt/pinentry[qt4]
- )
- )
- =app-crypt/gnupg-1.4* ) )"
-
-DEPEND="${RDEPEND}
- !elibc_glibc? ( !elibc_uclibc? ( dev-libs/libexecinfo ) )
- crypt? ( dev-lang/perl )
- amd64? ( ${ASM_DEPEND}
- virtual/opengl )
- x86? ( ${ASM_DEPEND}
- virtual/opengl )"
-
-S="${WORKDIR}/${PN}-${MOZ_PV}"
-
-BUILD_OBJ_DIR="${S}/seamonk"
-
-pkg_setup() {
- if [[ ${PV} == *_pre* ]] ; then
- ewarn "You're using an unofficial release of ${PN}. Don't file any bug in"
- ewarn "Gentoo's Bugtracker against this package in case it breaks for you."
- ewarn "Those belong to upstream: https://bugzilla.mozilla.org"
- fi
-
- moz_pkgsetup
-}
-
-pkg_pretend() {
- # Ensure we have enough disk space to compile
- if use debug || use test ; then
- CHECKREQS_DISK_BUILD="8G"
- else
- CHECKREQS_DISK_BUILD="4G"
- fi
- check-reqs_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
-
- # Unpack language packs
- mozlinguas_src_unpack
-}
-
-src_prepare() {
- # Apply our patches
- rm "${WORKDIR}/seamonkey/2001_ldap_respect_cflags.patch" || die
- eapply -p0 "${WORKDIR}/seamonkey"
-
- # browser patches go here
- pushd "${S}"/mozilla &>/dev/null || die
- rm "${WORKDIR}/firefox/2000-firefox_gentoo_install_dirs.patch" \
- "${WORKDIR}/firefox/8002_jemalloc_configure_unbashify.patch" \
- "${WORKDIR}/firefox/8011_bug1194520-freetype261_until_moz43.patch" \
- || die
- eapply "${WORKDIR}/firefox"
-
- # graphite2 fixes (bug #574968)
- eapply "${WORKDIR}/mozilla-graphite2/0008-mozilla-graphite2-1.3.5.patch"
- popd &>/dev/null || 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
-
- local ms="${S}/mozilla"
-
- # Enable gnomebreakpad
- if use debug ; then
- sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \
- "${ms}"/build/unix/run-mozilla.sh || die "sed failed!"
- fi
-
- # Ensure that are plugins dir is enabled as default
- sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
- "${ms}"/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:" \
- "${ms}"/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}"/suite/installer/Makefile.in || die
- # Don't error out when there's no files to be removed:
- sed 's@\(xargs rm\)$@\1 -f@' \
- -i "${ms}"/toolkit/mozapps/installer/packager.mk || die
-
- eautoreconf
- cd "${S}"/mozilla || die
- eautoconf
- cd "${S}"/mozilla/js/src || die
- eautoconf
- cd "${S}"/mozilla/memory/jemalloc/src || die
- WANT_AUTOCONF= eautoconf
-}
-
-src_configure() {
- MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
- MEXTENSIONS="default"
- # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
- # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
- # get your own set of keys.
- _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc
-
- ####################################
- #
- # mozconfig, CFLAGS and CXXFLAGS setup
- #
- ####################################
-
- mozconfig_init
- mozconfig_config
-
- # We want rpath support to prevent unneeded hacks on different libc variants
- append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}"
-
- # It doesn't compile on alpha without this LDFLAGS
- use alpha && append-ldflags "-Wl,--no-relax"
-
- if ! use chatzilla ; then
- MEXTENSIONS+=",-irc"
- fi
- if ! use roaming ; then
- MEXTENSIONS+=",-sroaming"
- fi
-
- # Setup api key for location services
- echo -n "${_google_api_key}" > "${S}"/google-api-key
- mozconfig_annotate '' --with-google-api-keyfile="${S}/google-api-key"
-
- mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
- mozconfig_annotate '' --enable-jsd
- mozconfig_annotate '' --enable-canvas
-
- # Other sm-specific settings
- mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
-
- mozconfig_annotate '' --enable-safe-browsing
-
- # Use an objdir to keep things organized.
- echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" \
- >> "${S}"/.mozconfig
-
- # Finalize and report settings
- mozconfig_final
-
- if use crypt ; then
- pushd "${WORKDIR}"/enigmail &>/dev/null || die
- econf
- popd &>/dev/null || die
- fi
-
- # Work around breakage in makeopts with --no-print-directory
- MAKEOPTS="${MAKEOPTS/--no-print-directory/}"
-
- if [[ $(gcc-major-version) -lt 4 ]] ; then
- append-cxxflags -fno-stack-protector
- elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]] ; then
- if use amd64 || use x86 ; then
- append-flags -mno-avx
- fi
- fi
-
- emake V=1 -f client.mk configure
-}
-
-src_compile() {
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
- emake V=1 -f client.mk
-
- # Only build enigmail extension if conditions are met.
- if use crypt ; then
- einfo "Building enigmail"
- pushd "${WORKDIR}"/enigmail &>/dev/null || die
- emake -j1
- emake xpi
- popd &>/dev/null || die
- fi
-}
-
-src_install() {
- MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
- DICTPATH="\"${EPREFIX}/usr/share/myspell\""
-
- local 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.
- sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo-1.js > \
- "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
- || die
-
- # Set default path to search for dictionaries.
- echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \
- >> "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
- || die
-
- echo 'pref("extensions.autoDisableScopes", 3);' >> \
- "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
- || die
-
- local plugin
- if ! use gmp-autoupdate ; then
- for plugin in gmp-gmpopenh264 ; do
- echo "pref(\"media.${plugin}.autoupdate\", false);" >> \
- "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
- || die
- done
- fi
-
- MOZ_MAKE_FLAGS="${MAKEOPTS}" \
- emake DESTDIR="${D}" install
- cp "${FILESDIR}"/${PN}.desktop "${T}" || die
-
- if use crypt ; then
- local em_dir="${WORKDIR}/enigmail/build"
- pushd "${T}" &>/dev/null || die
- unzip "${em_dir}"/enigmail*.xpi install.rdf || die
- emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
- #'
- dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
- cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
- unzip "${em_dir}"/enigmail*.xpi || die
-
- popd &>/dev/null || die
- fi
-
- sed 's|^\(MimeType=.*\)$|\1text/x-vcard;text/directory;application/mbox;message/rfc822;x-scheme-handler/mailto;|' \
- -i "${T}"/${PN}.desktop || die
- sed 's|^\(Categories=.*\)$|\1Email;|' -i "${T}"/${PN}.desktop \
- || die
-
- # Install language packs
- mozlinguas_src_install
-
- # Add StartupNotify=true bug 290401
- if use startup-notification ; then
- echo "StartupNotify=true" >> "${T}"/${PN}.desktop || die
- fi
-
- # Install icon and .desktop for menu entry
- newicon "${S}"/suite/branding/nightly/content/icon64.png ${PN}.png
- domenu "${T}"/${PN}.desktop
-
- # Required in order to use plugins and even run seamonkey on hardened.
- pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container}
-
- if use minimal ; then
- rm -rf "${ED}"/usr/include "${ED}${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk}
- fi
-
- # Handle plugins dir through nsplugins.eclass
- share_plugins_dir
-
- #doman "${BUILD_OBJ_DIR}/suite/app/${PN}.1"
-
- # revdep-rebuild entry
- insinto /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=${MOZILLA_FIVE_HOME}*" >> ${T}/11${PN}
- doins "${T}"/11${PN}
-}
-
-pkg_preinst() {
- MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/${PN}"
-
- if [ -d ${MOZILLA_FIVE_HOME}/plugins ] ; then
- rm ${MOZILLA_FIVE_HOME}/plugins -rf
- fi
-}
-
-pkg_postinst() {
- MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
-
- # Update mimedb for the new .desktop file
- fdo-mime_desktop_database_update
-
- if use chatzilla ; then
- elog "chatzilla is now an extension which can be en-/disabled and configured via"
- elog "the Add-on manager."
- fi
-}