From 6d8b907a2d568ba24aae8182d6c6909e9a2a4aaf Mon Sep 17 00:00:00 2001 From: Sandino Araico Sanchez Date: Sat, 20 Jul 2013 19:35:16 -0500 Subject: [PATCH] =?UTF-8?q?Dbmail=203.0.2=20parchado=20para=20performance?= =?UTF-8?q?=20de=20reindexaci=C3=B3n=20de=20headers=20y=20un=20error=20en?= =?UTF-8?q?=20la=20inserci=C3=B3n=20de=20mensajes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- net-mail/dbmail/Manifest | 61 ++++--- net-mail/dbmail/dbmail-3.0.2-r1.ebuild | 163 +++++++++++++++++ net-mail/dbmail/dbmail-3.0.2-r2.ebuild | 164 ++++++++++++++++++ .../dbmail/files/3.0-header_cache_perf.patch | 60 +++++++ .../dbmail/files/3.0-pgsql-RETURNING.patch | 52 ++++++ 5 files changed, 478 insertions(+), 22 deletions(-) create mode 100644 net-mail/dbmail/dbmail-3.0.2-r1.ebuild create mode 100644 net-mail/dbmail/dbmail-3.0.2-r2.ebuild create mode 100644 net-mail/dbmail/files/3.0-header_cache_perf.patch create mode 100644 net-mail/dbmail/files/3.0-pgsql-RETURNING.patch diff --git a/net-mail/dbmail/Manifest b/net-mail/dbmail/Manifest index 73ab8d9..b40d909 100644 --- a/net-mail/dbmail/Manifest +++ b/net-mail/dbmail/Manifest @@ -1,22 +1,39 @@ -AUX dbmail-2.0.11-lcrypt.patch 642 RMD160 5bd13d6afb6f0ee3de9ce883d55fae91a8000c9e SHA1 e8b65aa89706ab0bdb3e6b96b8ac1633146b5802 SHA256 9f36e404eac0ba733f2386db27b05fe55693148ee04ca296824cecfaf41f5737 -AUX dbmail-2.0.4-01_quota.patch 5108 RMD160 1d66f58f09f2367955d000def9ec792a2247da5d SHA1 e7c146a8687c2e6033884a345f887f0ab85dd120 SHA256 84c977684a26bd0a77a81c66e63e889d2d2acf9e9bac51b8b9d3aeb71f4ebc77 -AUX dbmail-2.0.4-fPIC.patch 2871 RMD160 e3a1080a9cbc61d042b9111b896ff7582f553aa9 SHA1 d108f3652e07a9583c4236868157e0f5a051f632 SHA256 2afd521204639963903b5148c1db8b062ce5731f12ca6c5da63b2ca2cadd8e3e -AUX dbmail-imapd.rc 540 RMD160 215c9c81462c6aa1fecc96acf2ff9087a3213258 SHA1 97294a9b9522cb5e903624bc2a0495a74c79da5d SHA256 cf602849145b3aae2ecbd416ecea3d55bb9d46e53b07d5932de913b4f16011dc -AUX dbmail-pop3d.rc 540 RMD160 906afb1688f7fc52a85317e1c644695d92592a71 SHA1 998500fb2793218efe90162bbee1fc543a079308 SHA256 943bac2beedb76903efaf3c990b09a44eaf89cf5f937ef997406439e2992520c -AUX dbmail-startup-gentoo.patch 10704 RMD160 b6eff3d2181d28dfc21e7bfe358387d5b75499d7 SHA1 ae22d9558c28ff8283448e60544a9119215d31e2 SHA256 533756d346fbe32999f4fee6c6cdc3a00c7a639d43450447320f48a7a30ce4f3 -DIST dbmail-1.2.11.tgz 248256 RMD160 605864ca651f89f9a5a2d85635569db68d3cf1db SHA1 078e13180ec41a3635937418ce1c2bb356f77ae9 SHA256 4fcdf66fb8f6ab97fad014a5c54284f6ae815ae48708692c29c5dd5edc45c17b -DIST dbmail-1.2.12.1.tgz 253497 RMD160 ea27c26f422676495d200644c0fd3212c69f50aa SHA1 9a761ee917164a90b7adce82fe655381cd64a6a0 SHA256 a49fb9a66717d85025f787f23c4f61aca75cf1a00a7e422bc342538e135abea1 -DIST dbmail-2.0.11.tgz 649830 RMD160 74a7dbb06a53b42d3afc37bfebfbb36d3db014ac SHA1 fc7c4a2f800f77cca95df99a46265daa5b1935ec SHA256 6271c79c85fc686013339e8583782721a77cd41b8bf67b584693c44efdbecc82 -DIST dbmail-2.0.4.tgz 589603 RMD160 fdf3d9489ff14f910b138c4af4bfcfd66366c58a SHA1 81c60c5c25f3d0b8acac3fc8f1c426551e878198 SHA256 a212a122bc7184ebc80393ded289abfbfe068beec7e7f02487f8b140d86a9daa -DIST dbmail-2.0.5.tar.gz 583899 RMD160 49b0d34b18b26d837eb3ab17fa4053d2ed438fd4 SHA1 fea56160380bf95e9235086faa9f0ebcffc51ecf SHA256 787186abcfec648d34505a30783607659b67c5ffb88b2a8e026a4577fb83538c -DIST dbmail-2.0.6.tar.gz 582932 RMD160 c4d4e26eec9934dd638816833830591db9f4a3b4 SHA1 d7704aa23d381b5bad7f05339119f461d20dac8c SHA256 cd1de68b603db90fb6e4c404832b01054e6c8e66e28d5e3fa7077ace113eb7bb -DIST dbmail-2.0.7.tar.gz 584457 RMD160 f23d83c5adeb47f84d366ea147a4ce7f654f0508 SHA1 36736997c259900e060dd48c6972ff2cb1dd6590 SHA256 ef678002a0f6eed3ae8babc17760e36a76e678852c50d70d8dee1fe693f54026 -EBUILD dbmail-1.2.11.ebuild 3622 RMD160 916d9424afc3d63ae95f4b290edf2bfe0590088a SHA1 25ffebd190e026af1fa4925e6d64d3837285d272 SHA256 83c2e98c14797ae3d489cb59cce1359836a4014ca02a2903c272d60ef01629f5 -EBUILD dbmail-1.2.12.1-r1.ebuild 3021 RMD160 eca0c50ffc741feeadefc9280da28e6e2030450c SHA1 852e903637dbd95c88f037c13354eda04be5569c SHA256 af8f43cdd41d43398fc3ce86024e5c2ac66cfb3730f4876b7f0c3ae52c6b77a4 -EBUILD dbmail-2.0.11.ebuild 4306 RMD160 46e8aafc96701f735d371cb9664ac4f8bf389f6d SHA1 c9f3514048e2a7f6317293706f0c612385be791d SHA256 6549d7dd33ea08ab111073793300c8a8e8801e2e8ec77dc52686729025849a2d -EBUILD dbmail-2.0.4.ebuild 4236 RMD160 82566918240a355ccc95efe120cf49d60cfa23c2 SHA1 b146884ce9bf6def81aa12f63e9948d880cbe602 SHA256 e1552f141aacb262bb90dc049dd1389053e879b4bfd4591bda09d3a94c0f743f -EBUILD dbmail-2.0.5.ebuild 4191 RMD160 947191ccf070c1e6671c1ead3080ce3c73a124af SHA1 0e57733a37b76d5fe61f49eb55b331fa743118d9 SHA256 1788b95d2cc82cce7fa29949b02a36b2de47acc560f25977da8210c6e0d1e003 -EBUILD dbmail-2.0.6-r1.ebuild 4275 RMD160 af446e23cf6664fd759d3cfb345c5c0f7518c182 SHA1 9c4b90b5df146bf11f8f4b24df18cc4450a61fbf SHA256 60b23851cbe2d5ccb81e5d2da14b717da4b93e1f5b7a7336b92fb7214dbd986d -EBUILD dbmail-2.0.6-r2.ebuild 4232 RMD160 b3266a2f0714dd58b2e2c8ed8b3f9b5a0f36d5f2 SHA1 fde9d35521e5becef096ed7e05a58e7338ff92de SHA256 728bf34f7088aab4176dd8a919dd6e639c93c54c968d0241e95e6bf309791e71 -EBUILD dbmail-2.0.6.ebuild 4274 RMD160 b2407f57db1ffc47f86946440e0fadc02fb9444f SHA1 9dc453a95c84936233ef917c461381adea3d3e48 SHA256 30fb2af2b367cbb7fa5b5df988cf023d3d673b53ce09d1b4baba06dc4cd08c85 -EBUILD dbmail-2.0.7.ebuild 4151 RMD160 a16c152523200f027d8b01b5f3b1bc3a2b2348cd SHA1 164a7c27e6ed94baa112008a73b37218dc6a9a80 SHA256 336d8b8ac97d71cc743d5f7b1e0adf6d300a297693ea8f74ddc2e7de52fb597c +AUX 3.0-header_cache_perf.patch 2161 SHA256 305fb2dda6764da5357e52d11ee593d1516ccc449cfbf98cf7aff972c78443e6 SHA512 77df1f39e3c9815a96fff510d24ed32d9229e582ac84c0af4f548cd49b6f9806eaf9f5eaf514c205b6604d1be927ddf782d6c3c867f102b54435cc2bd496357c WHIRLPOOL f182b7cca54edd604fe4686b0be313a5a78ef21315eafac5e7d91656f6c14eebb07ee8e709fa9d6be09c0d8d657a423b55201190035199719e55dcb0823e6ddf +AUX 3.0-pgsql-RETURNING.patch 1926 SHA256 51cfb57cfc982d1afba0c2fc57c2cc8fcf4b5231311e3fd5cbe1852e4fbc13b3 SHA512 12ca88c042c1cf9bdece97bae51825c9ced2e598060710bd1e5ee848219bc50727da23c26a32992052565ab8202ba9db65b31c4726817f3eed1bb02ad69168b3 WHIRLPOOL 02fce15de9b2e859738fdbaef379b01691004746fb3881d81368e6e1175f7b0b8d4dd8ec01d615914469670d9fb5c80fb61550865a0db3875bcbaaf69ea20b91 +AUX dbmail-2.0.11-lcrypt.patch 642 SHA256 9f36e404eac0ba733f2386db27b05fe55693148ee04ca296824cecfaf41f5737 SHA512 aa3c25ab2206f104e4de6b20929d55c0e3ceeebd41a670dea553797486696b145feee47f720f4043a1b1fa6b37c73c1684eeb467eace5142e1090a08b63044ff WHIRLPOOL 111332025c7b4b1dbbfbf43c6c59ef26cef3f846075dbeb40bd201d27e37fe8dcff211c884b008000c63ff53ce55a05b8b2b4da710f3764c2d567fb3981e543f +AUX dbmail-2.0.4-01_quota.patch 5108 SHA256 84c977684a26bd0a77a81c66e63e889d2d2acf9e9bac51b8b9d3aeb71f4ebc77 SHA512 3cbc50be3d2766185a37e627e7e2b7f737a083821755b099b6fade2aa3163ca291b368346a961c32dd40892dd3de64c6fa901980fa8c5d54e573a3b9d7e1d050 WHIRLPOOL 1134c9883332e6da351ed516485ed07f4187451d3cd5ef8358e4f2e762f75e09c4e12b0a723f7bd93282b36913f2713eaef902721a0060503f41ae3c571bf15e +AUX dbmail-2.0.4-fPIC.patch 2871 SHA256 2afd521204639963903b5148c1db8b062ce5731f12ca6c5da63b2ca2cadd8e3e SHA512 dffcc1f79bb1dd4e38aa1842c1aac38fde44ef56c0152013eecabb293154d2d0045596f13321f4c07aaee63e5cf02663305042db5842d612bef461c98fbb67ef WHIRLPOOL 1a1f0f5f7b8e7bf0eaa02fc84e8a1486cbe268199f4724b3d718e5e9c2108a7e3d9f39b81dd4f5c3bd8dafee4be36d705a432b281deda9981854939ec5d81198 +AUX dbmail-imapd.initd 730 SHA256 f8c16208f31495d2557e6ac101f1dd9f18636268511c889a0ad4dee0c56612da SHA512 f7841d64447630b771d4c3b0885d188d143959f00db1caf08ac4cd32d8610ad2b9221114f08bb456c9ad99529c66a52c5b2403c96ffe62549e28dc64ff9b6f7b WHIRLPOOL 9b9cb243d70e00f744e9bd4eeab887eb525643fe77cfe3e8c1f01c376edff165052f82965a7486d630d5fac22500641745a0e88b33303bc56e6780e351eaaba3 +AUX dbmail-imapd.rc 540 SHA256 cf602849145b3aae2ecbd416ecea3d55bb9d46e53b07d5932de913b4f16011dc SHA512 57e6eb07b2492543716f60306017cfff95db4872e0a16becf919ed2113f7ab8a802f6f83c9467ae0174185f13fd703dba4bbde0bf3b6b5e050da4336507d8158 WHIRLPOOL 5394708c980d6c682d47b592bd56fae49966782315302ebbe61ef69336a332b8d6a48aca28d23cd0baafd2d30d08f8a6e3e177572281254ba90b796de8b81fb0 +AUX dbmail-lmtpd.initd 730 SHA256 2aedd5fecc1ef28289c870030c31f8ecaded4f2651be355a40216262a8a4d4a3 SHA512 201161e87a5b14c4637c16bddd07ab2907d95a997b39bb4d40d6ad21d67588149d7d900d364ce7a28006e0fea2bf48ff11ceae83c05a292d80603ed9300e1357 WHIRLPOOL af80c16be5f3119a88871b007936c5cd3e2b4e9399b89eec832b13f587de48e563a0a024259fa463f514461b7f56693d4ced02e084c4954dbb5f0994f42bd1c3 +AUX dbmail-pop3d.initd 730 SHA256 2b1ee1f7491e6fb94f0d9a6a1424ff3cba66b2880d6bc1d50f008da8be0a7c52 SHA512 b2df02acc6c941d195f8122ef79dc19b4b105f6cd7813969dc291a55350ae02a9cfaae16bc698da93d771a4b07aff5f6cda579b8ed597f41bba124ecdd4cc53d WHIRLPOOL 1000280545cdd50c5e90ba504a2d87f77b9fdae7db79fdba4fb4d7d745295d438893f1b7f5837af1976e3690a37defcf1f41543cd45ba744db061f1de094580b +AUX dbmail-pop3d.rc 540 SHA256 943bac2beedb76903efaf3c990b09a44eaf89cf5f937ef997406439e2992520c SHA512 ed184a60ee72f1c6503ee14d00d2c2dbb5098895be1a5b87574418f20a68ea5e3843fef7fd77f2ac771fee8bd1ea564b804f916e23821304c8dcc5887d039045 WHIRLPOOL 599c11333e1919bae98f21a4c48889b9a73d4fee6047d57274de866d5a6d869db15d56d52aaef0158495aaedd009763865b8ae46bf7c9a559502f11e303f6dd3 +AUX dbmail-startup-gentoo.patch 10704 SHA256 533756d346fbe32999f4fee6c6cdc3a00c7a639d43450447320f48a7a30ce4f3 SHA512 34f2544fb6f9b1e33dff1733c7bcb718117145da5ba037508e851f25f27df4f954158fbbae677d0240fbb3a43f2d48144566a6cddd821fcbfd6b40f369b71021 WHIRLPOOL d6b1d94728e8c518314b7ba89d80456ae2f51f2ef384e354a66715f4445c9198aa68d4d56a7d778e703eb32b4c1ab7a68eb0b2cd6904b2fa4d51d51eeff32d18 +AUX dbmail-timsieved.initd 716 SHA256 c92cd221b37391703ec7aaff2eb3b33ed2b9b699a281f318f54ba6efd6e69224 SHA512 04f66443573fde84d220a0d808f98295a8931990a0d7bad13c0c86bfe7b2d95c3311f7fdbc6b4068223601286c34e97cb17b0f5fbc28ca05991d0cdc13d250f5 WHIRLPOOL 8f3c2a53f084861f63db8056b4b2ac82fb9e2ef6e0cf519073368c6bf59b8e2026872af0c847011bd6ac237e94dc7ac280805a3200ec738a96c8dfc50e0bc238 +DIST dbmail-1.2.11.tgz 248256 SHA256 4fcdf66fb8f6ab97fad014a5c54284f6ae815ae48708692c29c5dd5edc45c17b +DIST dbmail-1.2.12.1.tgz 253497 SHA256 a49fb9a66717d85025f787f23c4f61aca75cf1a00a7e422bc342538e135abea1 +DIST dbmail-2.0.11.tgz 649830 SHA256 6271c79c85fc686013339e8583782721a77cd41b8bf67b584693c44efdbecc82 +DIST dbmail-2.0.4.tgz 589603 SHA256 a212a122bc7184ebc80393ded289abfbfe068beec7e7f02487f8b140d86a9daa +DIST dbmail-2.0.5.tar.gz 583899 SHA256 787186abcfec648d34505a30783607659b67c5ffb88b2a8e026a4577fb83538c +DIST dbmail-2.0.6.tar.gz 582932 SHA256 cd1de68b603db90fb6e4c404832b01054e6c8e66e28d5e3fa7077ace113eb7bb +DIST dbmail-2.0.7.tar.gz 584457 SHA256 ef678002a0f6eed3ae8babc17760e36a76e678852c50d70d8dee1fe693f54026 +DIST dbmail-2.2.11.tar.gz 901705 SHA256 7d61ce32b5f1cbbc42fa39e3c1cc10659c524a7d3135555efe4b272064939148 SHA512 30eb5ab7abffe52f51beae480fc2713b55bd78330bc140b09142322bc5c5bbf901045219f316be54a841e1b59961a78e1405f74e223b62cbddcbe8a3277db9cf WHIRLPOOL 53fd2a7932e468ee1cc5d67d677715a98ecfccdfe1d57439ef32c026e83c77eb0fd9b24bc08f8294524bb6eba78284b929e540663b30aa98a312559fb2b2d797 +DIST dbmail-2.2.15.tar.gz 875592 SHA256 ca88e4a3bc1360b3621ffd8567103668a896ecb22102d3886ab5e59e7747217b SHA512 fc18a32f8b53c56ed28482d938ec69fdc5b4c3837283c30608f56ba0f3f88957362ecd804aebb72ff665ac98003bc867fdb617bfcdd4c3da861ed0119f8aeef5 WHIRLPOOL 1724e7ebcf6d99278140288161eb7db24b7b608f0dbc1ad89d32a0a47b55f540baca8e703195e458eb9a47758b34c56d327481f41a7d253b28378229c7b7aa6f +DIST dbmail-2.2.17.tar.gz 896838 SHA256 11d457b0114047185aff4249afb6b91baf843b393e73ecbb147549960d7eaefd SHA512 c703e77210e067ce553bf0662ef3624e48e12001c48252ca95c47a0b2bbecc45bfb694ceec2746b5721e4570300e786071169122ba0398e148945fcba0a13839 WHIRLPOOL 60bfb7a93e23f29128a5dbb8faf719c8a13dc8b33544360087898ec4e3226b22ed0bd45d574f9ec0fb71a73af2cf61cdde2c7518e99c6544b74907045110407b +DIST dbmail-2.2.9.tar.gz 900072 SHA256 f6a222b142f4aa05f8b458acda50022ec85c6ec46b78658a414d6e7055b2bb84 SHA512 22bb03e6ffe283a3aa333625a610fd439ed62737390df000edabe3c0b33ba3b287a61e347e56e12225657be28037ada76b1621f0089c5c76c829755e01b4f5bc WHIRLPOOL aac0949c75a85f1e2d5841e4f563e116423cf0532376d903523a8599a6117c8bbe539fc1bf52ee16b5c2d00001c502b1c91ef3ae9c2a6feb72ece46133e06073 +DIST dbmail-3.0.2.tar.gz 867560 SHA256 139558f4fa3e0f460d688f6d29318366cc3f40dd570a1a29484bb580d0190c3e SHA512 ca1d30a114c1b2b8968227ed678e3857c6d5cb98eb9e7086d45c32b4e957396971bd76cfe2e278fe904fbe8a8ded53199ded76da300d9835b324839e42532834 WHIRLPOOL a79d8b344361bd032446e99bbbb865e798db54e60a730cb7191112e4320ca130d194d8a1ad2d676673b2bb06e50e9cc1ccc78a8a1fc7edcb2a9b3eeeb7841500 +EBUILD dbmail-1.2.11.ebuild 3622 SHA256 83c2e98c14797ae3d489cb59cce1359836a4014ca02a2903c272d60ef01629f5 SHA512 36d601a6d327887846584f08f39a9cf7630b997c3e7296c7041f45415b329e5bc097acd264567b478ae68a6c57de49f262c98c8316df5ba33338b5e178b2ee04 WHIRLPOOL 6894be409f9c1d5cacef857b59b58a67b057ada07188320aa573161744b81953d6964479b422ec27cc6b85048ac793ba11f7ede4a2f13138c8b58c8c0cfea69a +EBUILD dbmail-1.2.12.1-r1.ebuild 3021 SHA256 af8f43cdd41d43398fc3ce86024e5c2ac66cfb3730f4876b7f0c3ae52c6b77a4 SHA512 31a0fea3df0a87825d114a9a1ca5e2f872ebe66b90615c1555300c91e84afcec5a03cc204c0aa2228d81ff1a9fdebf4fc0ad8712ab4d56a24899b9e9e4eceb89 WHIRLPOOL 380d1dba6180f6a754ade514a07efe8e8018e57076c4112dae351468b234d75ad789e76e43defba8e92865c71921a7121b18abdcbbf13f9f4b633712e0a78be9 +EBUILD dbmail-2.0.11.ebuild 4306 SHA256 6549d7dd33ea08ab111073793300c8a8e8801e2e8ec77dc52686729025849a2d SHA512 43c73a741c69b7cdbeb0a13e34d70fb6fef88247f7a2018220acd3e00800c539f72fdde8e25516eea19fca14e58a9d59e1f4ed4f8a6bb3dddfa230da15ea8d2a WHIRLPOOL bc4edc5544287915157579fafc8ad5b8cb13f7748ea2c71ba152a5a961a5d7babf8581b4c9c7bcb84b6e1ff8566efe458789c70743d412579aa317f06706fe44 +EBUILD dbmail-2.0.4.ebuild 4236 SHA256 e1552f141aacb262bb90dc049dd1389053e879b4bfd4591bda09d3a94c0f743f SHA512 53bfc4be92b843830aceee512e37a9a4c9645b0ac6077caa1a25648804a0684d622622d6b724fccfb0890cc7da85f8bf3378db6cfc1707a533450a16f28720ce WHIRLPOOL 72ff859a6f43cf25ce232c3253c01850df685d4574c7ee85ea50ee51611934d4d7d1913350d3d451816675aa1e60b2e2871f2bfa3c594bfc53dc30ee5ff96f3d +EBUILD dbmail-2.0.5.ebuild 4191 SHA256 1788b95d2cc82cce7fa29949b02a36b2de47acc560f25977da8210c6e0d1e003 SHA512 1efed401c937b2c6374cce35b785aeefeefaebaf775b8708842c82d07199f1de6a1502a8732c92d83f5186efbef29ff99465679e86d951e9ebf902289e8f8c2a WHIRLPOOL 17bfaf0db2f6f35169a4092af44d00118a510e48dd0dd1c03eed91062bf3c82d3cb610873287dc1d150fa71520fb9b87c89a29b93ecd6e99b41117937a1022a4 +EBUILD dbmail-2.0.6-r1.ebuild 4275 SHA256 60b23851cbe2d5ccb81e5d2da14b717da4b93e1f5b7a7336b92fb7214dbd986d SHA512 7dbc928b5b0d620c80e367cd8132cb341faf6efe74887669df84ad760a293abeb5b65263eee7c74b031b308350de774a1120c3f971b754c3f27b33ec9c9294f1 WHIRLPOOL 1797c2dbfb69afe963cd415dd4543636ac4258464b8f6424059be65431881bc21f686065616c2c5c7e8ef7767b0c06da0321d52618e8a55cdcc4b1f199377cf9 +EBUILD dbmail-2.0.6-r2.ebuild 4232 SHA256 728bf34f7088aab4176dd8a919dd6e639c93c54c968d0241e95e6bf309791e71 SHA512 a48b5d5c657863dfd95acce04be418ffd4b0f07c0e47aa3d30c21918521a417b07a7167e8c3b7b427feb3b42fca4b93c0a2d715896ccb8249240ec27467755a6 WHIRLPOOL 3ecb22c1e3f0550ec0fbc031de8520ef4ad5a09cb8a4ee0c53b67205b0382b69a0121827860286fe282a9b6c8e533779bfa4cf7ad8c9954986156b8f3d1739a4 +EBUILD dbmail-2.0.6.ebuild 4274 SHA256 30fb2af2b367cbb7fa5b5df988cf023d3d673b53ce09d1b4baba06dc4cd08c85 SHA512 aac21fd8c8bcae0473bed5dd2b5b183d68b6f18b5169cf807b84f1fb2da188e02dbc7a8e73f0d45ea1f8961f14d8e09ed3d5e85dfc7b193e9f5aa81edc57da6f WHIRLPOOL 8a49151aa2ff23c7df86e708130f4242b155f7a761c4a8e92f1788413fbb1e177c56b433dd894b83183b8d02f2d6c586bf41d26a96d3e2248d99470f210b096c +EBUILD dbmail-2.0.7.ebuild 4151 SHA256 336d8b8ac97d71cc743d5f7b1e0adf6d300a297693ea8f74ddc2e7de52fb597c SHA512 98944765fd33e5e9898a37892252c29c4c99dfd32e9459987e074a1f0bf5695f223ab4a2bdfc15a2f6ed467a96edcf643b6b6c9125e1e1fe3d94f7411f121316 WHIRLPOOL 64c56eaa41b752b95ceabeceef0d88532e749f1a5ac840e428d592c6ef330949098b953dff3735523ca9d31fca87402517a40087b5eead481c5f057d4d4ad3bf +EBUILD dbmail-2.2.11.ebuild 4859 SHA256 35887c5ee0c750c60c129668640881e4273d77a8290d213baa6965f1f8376f51 SHA512 6c444d1f4951cc9c2e62185ab0fef591879cdcc42debb06bc82b872aaa0893e34550e37da4cce6b39a328ab5f6f7c5f9be455d270492d16864d954d83682af07 WHIRLPOOL 925158706160ef06cd149c491480aecf58f1b506e052910274c04c2f0fa4fe3a90092195137f34c8dc8708b214d56c7f918f33589c800425aef3b4a0b516b651 +EBUILD dbmail-2.2.15.ebuild 4873 SHA256 da9996ab358f63c1f23e75979e233923543f6dd3c2b73faef7d1f9735573491f SHA512 cbf4efd66150ec677afb6f8127af4eaafeb9dda39bbe49c9391fd601d52f3d089df1b56e906c6ee2a9572e27cc570778a2e43b5930ed67d327cb86c2edb5ea74 WHIRLPOOL 103d43f4e0b8749d91d39d0c4f9eaced8b4659d2c5a6bb7b12358383706d034d197823dd0107e8c1023524580f1674d605b16ccefded68798726b80705b2618e +EBUILD dbmail-2.2.17.ebuild 4897 SHA256 94b3b5cf9bb3cc40e8ccebf56545e619f93ab0ed1e707786bb1b3817c4115f2b SHA512 f2d3ce18608ec2ae88c01b99c2ea48b09ab16770b8acb8072e0ba943719050f3dfb1cc280de6b5ba20ba5b791c1e5b41ecb6ed4e4b46da57c158dde065ffaaef WHIRLPOOL 61dedf8db86eb17e841dcbeaa696c2be5011327e76db99850dec2b9a4d995f59110541d1ffeb08e9a4a658759fcc040d3134875ceb2c62110f73f0b6cf8c13d3 +EBUILD dbmail-2.2.9.ebuild 3567 SHA256 7bd6d6300d5446ede1fe7cf53f008f5f2827f498fc4cb1906fe1ef610f1160f9 SHA512 ada7668115e2bfcfc9f0bc7a158a0c76b55e4d836df6512d3c0182a05aab406c62e6250c8786a53cc92d9644c9f1a260d572e9f6b51bb39ae12d9b14791e82e3 WHIRLPOOL 64cd2d1a29f08f6e64634b5d3b06e512f5939fe9e39d288bf983599b09829a645d981f4721a603a2ca580c05bfc27b09e3655bbb2ca314de2430f557bca7bfd2 +EBUILD dbmail-3.0.2-r1.ebuild 4972 SHA256 047c7fa1897990dfadea8a18098df3f361b5aa4ad9ddccc78ceab5b9c7074953 SHA512 1f01fde119e6b449a25c65099a40eadc585b58b43db814c2fc109052b8fed567f761e3962a42cfd4af76a3b2abec060a869ec6ec1896ced2a065902cd953699b WHIRLPOOL ba1edb9d92f4d5aa25e9e1a3e48f50159e49a5f2fc694da2c8f0cd5c531e816cf991960102069bd8af7cc76922c6f550e2ff9a007708a863d5b123181f8cc363 +EBUILD dbmail-3.0.2-r2.ebuild 5020 SHA256 84531e11e4dd8625f5c1958dffff536c3b07a428dc7657e18678657c92c52a05 SHA512 ac33994e480cba4a3af03938061e0cdf3b07c9de45c9edd41110a92daed7789d063648d72e3036ef9e896cd4d58ff248229d54f584a2a230f112ce99d9c11bd5 WHIRLPOOL c59ebd9068de1edbcfdbc3809787700961e89a27d25eda0876eae955e6e07d626dc27a4dc5c0c7764de02a25d2bdd363e222b224c1f4d131de7f278e112b3ba5 diff --git a/net-mail/dbmail/dbmail-3.0.2-r1.ebuild b/net-mail/dbmail/dbmail-3.0.2-r1.ebuild new file mode 100644 index 0000000..e52c56e --- /dev/null +++ b/net-mail/dbmail/dbmail-3.0.2-r1.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-3.0.2.ebuild,v 1.3 2012/12/04 11:10:35 ago Exp $ + +EAPI="4" +inherit eutils multilib python versionator + +DESCRIPTION="DBMail is an open-source project that enables storage of mail messages in a relational database." +HOMEPAGE="http://www.dbmail.org/" +SRC_URI="http://www.dbmail.org/download/$(get_version_component_range 1-2)/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="ldap sieve +sqlite ssl static python" + +DEPEND="dev-db/libzdb + sieve? ( >=mail-filter/libsieve-2.2.1 ) + ldap? ( >=net-nds/openldap-2.3.33 ) + python? ( net-zope/zope-interface ) + app-text/asciidoc + app-text/xmlto + app-crypt/mhash + sys-libs/zlib + >=dev-libs/gmime-2.4.6:2.4 + >=dev-libs/glib-2.16 + dev-libs/libevent + ssl? ( dev-libs/openssl )" +#asciidoc and xmlto needed? +RDEPEND="${DEPEND}" + +pkg_setup() { + python_pkg_setup + enewgroup dbmail + enewuser dbmail -1 -1 /var/lib/dbmail dbmail +} + +src_prepare() { + epatch "${FILESDIR}/3.0-header_cache_perf.patch" +} + +src_configure() { + local myconf="" + use ldap && myconf=${myconf}" --with-auth-ldap" + + econf \ + --sysconfdir=/etc/dbmail \ + $(use_enable static) \ + $(use_with sieve) \ + ${myconf} +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS BUGS ChangeLog README* INSTALL NEWS THANKS UPGRADING + +# docinto sql/mysql +# dodoc sql/mysql/* +# docinto sql/postgresql +# dodoc sql/postgresql/* +# docinto sql/sqlite +# dodoc sql/sqlite/* +# docinto test-scripts +# dodoc test-scripts/* +# docinto contrib/sql2sql +# dodoc contrib/sql2sql/* +# docinto contrib/mailbox2dbmail +# dodoc contrib/mailbox2dbmail/README +# docinto contrib +# dodoc contrib/dbmailclient.php + dodoc -r sql + dodoc -r test-scripts + dodoc -r contrib + ## TODO: install other contrib stuff + + sed -i -e "s:nobody:dbmail:" dbmail.conf + sed -i -e "s:nogroup:dbmail:" dbmail.conf + sed -i -e "s:/var/run:/var/run/dbmail:" dbmail.conf + #sed -i -e "s:#library_directory:library_directory:" dbmail.conf + + insinto /etc/dbmail + newins dbmail.conf dbmail.conf.dist + + # change config path to our default and use the conf.d and init.d files from the contrib dir + sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail + sed -i -e "s:exit 0:return 1:" contrib/startup-scripts/gentoo/init.d-dbmail + sed -i -e "s:/var/run:/var/run/dbmail:" contrib/startup-scripts/gentoo/init.d-dbmail + newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail + newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail + + dobin contrib/mailbox2dbmail/mailbox2dbmail + doman contrib/mailbox2dbmail/mailbox2dbmail.1 + #doman man/*.{1,5,8} + + # ldap schema + if use ldap; then + insinto /etc/openldap/schema + doins "${S}/dbmail.schema" + fi + + if use python; then + insinto $(python_get_sitedir)/dbmail + doins python/*.py + insinto $(python_get_sitedir)/dbmail/app + doins python/app/*.py + insinto $(python_get_sitedir)/dbmail/bin + doins python/bin/*.py + insinto $(python_get_sitedir)/dbmail/lib + doins python/lib/*.py + insinto $(python_get_sitedir)/dbmail/tests + doins python/tests/*.py + fi + + keepdir /var/lib/dbmail + fperms 750 /var/lib/dbmail + fowners dbmail:dbmail /var/lib/dbmail + keepdir /var/run/dbmail + fowners dbmail:dbmail /var/run/dbmail +} + +pkg_postinst() { + if use python; then + python_mod_optimize dbmail + fi + elog "Please read the INSTALL file in /usr/share/doc/${PF}/" + elog "for remaining instructions on setting up dbmail users and " + elog "for finishing configuration to connect to your MTA and " + elog "to connect to your db." + echo + elog "DBMail requires either SQLite, PostgreSQL or MySQL." + elog "Database schemes can be found in /usr/share/doc/${PF}/" + elog "You will also want to follow the installation instructions" + elog "on setting up the maintenance program to delete old messages." + elog "Don't forget to edit /etc/dbmail/dbmail.conf as well." + echo + elog "For regular maintenance, add this to crontab:" + elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1" + echo + elog "Please make sure to run etc-update." + elog "If you get an error message about plugins not found" + elog "please add the library_directory configuration switch to" + elog "dbmail.conf and set it to the correct path" + elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)" + elog "A sample can be found in dbmail.conf.dist after etc-update." + echo + elog "We are now using the init script from upstream." + elog "Please edit /etc/conf.d/dbmail to set which services to start" + elog "and delete /etc/init.d/dbmail-* when you are done. (don't" + elog "forget to rc-update del dbmail-* first)" + echo + elog "Changed pid directory to /var/run/dbmail (see" + elog "http://www.dbmail.org/mantis/view.php?id=949 for details)" + echo +} + +pkg_postrm() { + python_mod_cleanup dbmail +} diff --git a/net-mail/dbmail/dbmail-3.0.2-r2.ebuild b/net-mail/dbmail/dbmail-3.0.2-r2.ebuild new file mode 100644 index 0000000..778435a --- /dev/null +++ b/net-mail/dbmail/dbmail-3.0.2-r2.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-3.0.2.ebuild,v 1.3 2012/12/04 11:10:35 ago Exp $ + +EAPI="4" +inherit eutils multilib python versionator + +DESCRIPTION="DBMail is an open-source project that enables storage of mail messages in a relational database." +HOMEPAGE="http://www.dbmail.org/" +SRC_URI="http://www.dbmail.org/download/$(get_version_component_range 1-2)/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="ldap sieve +sqlite ssl static python" + +DEPEND="dev-db/libzdb + sieve? ( >=mail-filter/libsieve-2.2.1 ) + ldap? ( >=net-nds/openldap-2.3.33 ) + python? ( net-zope/zope-interface ) + app-text/asciidoc + app-text/xmlto + app-crypt/mhash + sys-libs/zlib + >=dev-libs/gmime-2.4.6:2.4 + >=dev-libs/glib-2.16 + dev-libs/libevent + ssl? ( dev-libs/openssl )" +#asciidoc and xmlto needed? +RDEPEND="${DEPEND}" + +pkg_setup() { + python_pkg_setup + enewgroup dbmail + enewuser dbmail -1 -1 /var/lib/dbmail dbmail +} + +src_prepare() { + epatch "${FILESDIR}/3.0-header_cache_perf.patch" + epatch "${FILESDIR}/3.0-pgsql-RETURNING.patch" +} + +src_configure() { + local myconf="" + use ldap && myconf=${myconf}" --with-auth-ldap" + + econf \ + --sysconfdir=/etc/dbmail \ + $(use_enable static) \ + $(use_with sieve) \ + ${myconf} +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS BUGS ChangeLog README* INSTALL NEWS THANKS UPGRADING + +# docinto sql/mysql +# dodoc sql/mysql/* +# docinto sql/postgresql +# dodoc sql/postgresql/* +# docinto sql/sqlite +# dodoc sql/sqlite/* +# docinto test-scripts +# dodoc test-scripts/* +# docinto contrib/sql2sql +# dodoc contrib/sql2sql/* +# docinto contrib/mailbox2dbmail +# dodoc contrib/mailbox2dbmail/README +# docinto contrib +# dodoc contrib/dbmailclient.php + dodoc -r sql + dodoc -r test-scripts + dodoc -r contrib + ## TODO: install other contrib stuff + + sed -i -e "s:nobody:dbmail:" dbmail.conf + sed -i -e "s:nogroup:dbmail:" dbmail.conf + sed -i -e "s:/var/run:/var/run/dbmail:" dbmail.conf + #sed -i -e "s:#library_directory:library_directory:" dbmail.conf + + insinto /etc/dbmail + newins dbmail.conf dbmail.conf.dist + + # change config path to our default and use the conf.d and init.d files from the contrib dir + sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail + sed -i -e "s:exit 0:return 1:" contrib/startup-scripts/gentoo/init.d-dbmail + sed -i -e "s:/var/run:/var/run/dbmail:" contrib/startup-scripts/gentoo/init.d-dbmail + newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail + newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail + + dobin contrib/mailbox2dbmail/mailbox2dbmail + doman contrib/mailbox2dbmail/mailbox2dbmail.1 + #doman man/*.{1,5,8} + + # ldap schema + if use ldap; then + insinto /etc/openldap/schema + doins "${S}/dbmail.schema" + fi + + if use python; then + insinto $(python_get_sitedir)/dbmail + doins python/*.py + insinto $(python_get_sitedir)/dbmail/app + doins python/app/*.py + insinto $(python_get_sitedir)/dbmail/bin + doins python/bin/*.py + insinto $(python_get_sitedir)/dbmail/lib + doins python/lib/*.py + insinto $(python_get_sitedir)/dbmail/tests + doins python/tests/*.py + fi + + keepdir /var/lib/dbmail + fperms 750 /var/lib/dbmail + fowners dbmail:dbmail /var/lib/dbmail + keepdir /var/run/dbmail + fowners dbmail:dbmail /var/run/dbmail +} + +pkg_postinst() { + if use python; then + python_mod_optimize dbmail + fi + elog "Please read the INSTALL file in /usr/share/doc/${PF}/" + elog "for remaining instructions on setting up dbmail users and " + elog "for finishing configuration to connect to your MTA and " + elog "to connect to your db." + echo + elog "DBMail requires either SQLite, PostgreSQL or MySQL." + elog "Database schemes can be found in /usr/share/doc/${PF}/" + elog "You will also want to follow the installation instructions" + elog "on setting up the maintenance program to delete old messages." + elog "Don't forget to edit /etc/dbmail/dbmail.conf as well." + echo + elog "For regular maintenance, add this to crontab:" + elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1" + echo + elog "Please make sure to run etc-update." + elog "If you get an error message about plugins not found" + elog "please add the library_directory configuration switch to" + elog "dbmail.conf and set it to the correct path" + elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)" + elog "A sample can be found in dbmail.conf.dist after etc-update." + echo + elog "We are now using the init script from upstream." + elog "Please edit /etc/conf.d/dbmail to set which services to start" + elog "and delete /etc/init.d/dbmail-* when you are done. (don't" + elog "forget to rc-update del dbmail-* first)" + echo + elog "Changed pid directory to /var/run/dbmail (see" + elog "http://www.dbmail.org/mantis/view.php?id=949 for details)" + echo +} + +pkg_postrm() { + python_mod_cleanup dbmail +} diff --git a/net-mail/dbmail/files/3.0-header_cache_perf.patch b/net-mail/dbmail/files/3.0-header_cache_perf.patch new file mode 100644 index 0000000..0a528ec --- /dev/null +++ b/net-mail/dbmail/files/3.0-header_cache_perf.patch @@ -0,0 +1,60 @@ +Only in dbmail-3.0.2/src: .dm_db.c.swp +Only in dbmail-3.0.2/src: 3.0-header_cache_perf.patch +diff -uri dbmail-3.0.2.orig/src/dbmail-message.c dbmail-3.0.2/src/dbmail-message.c +--- dbmail-3.0.2.orig/src/dbmail-message.c 2012-03-11 02:02:30.000000000 -0600 ++++ dbmail-3.0.2/src/dbmail-message.c 2013-07-16 02:15:28.000000000 -0500 +@@ -1621,7 +1621,7 @@ + unsigned char *raw; + unsigned i; + time_t date; +- volatile gboolean isaddr = 0, isdate = 0, issubject = 0; ++ volatile gboolean isaddr = 0, isdate = 0, issubject = 0, isblacklist = 0; + const char *charset = dbmail_message_get_charset(self); + gchar *sortfield = NULL, *datefield = NULL; + InternetAddressList *emaillist; +@@ -1652,6 +1652,20 @@ + issubject=1; + else if (g_ascii_strcasecmp(header,"Date")==0) + isdate=1; ++ else if (g_ascii_strcasecmp(header,"received")==0) ++ isblacklist=1; ++ else if (g_ascii_strcasecmp(header,"content-type")==0) ++ isblacklist=1; ++ else if (g_ascii_strcasecmp(header,"x-spam-status")==0) ++ isblacklist=1; ++ else if (g_ascii_strcasecmp(header,"x-spam-score")==0) ++ isblacklist=1; ++ else if (g_ascii_strcasecmp(header,"dkim-signature")==0) ++ isblacklist=1; ++ else if (g_ascii_strcasecmp(header,"domainkey-signature")==0) ++ isblacklist=1; ++ else if (g_ascii_strcasecmp(header,"authentication-results")==0) ++ isblacklist=1; + + values = g_relation_select(self->headers,header,0); + +@@ -1666,6 +1682,11 @@ + if (value) g_free(value); + continue; + } ++ ++ if (isblacklist == 1) { ++ if (value) g_free(value); ++ continue; ++ } + + // Generate additional fields for SORT optimization + if(isaddr) { +diff -uri dbmail-3.0.2.orig/src/dm_db.c dbmail-3.0.2/src/dm_db.c +--- dbmail-3.0.2.orig/src/dm_db.c 2012-03-11 02:02:30.000000000 -0600 ++++ dbmail-3.0.2/src/dm_db.c 2013-07-16 02:29:17.000000000 -0500 +@@ -1480,7 +1480,8 @@ + r = db_query(c, "SELECT p.id " + "FROM %sphysmessage p " + "LEFT JOIN %sheader h ON p.id = h.physmessage_id " +- "WHERE h.physmessage_id IS NULL", DBPFX, DBPFX); ++ "WHERE h.physmessage_id IS NULL " ++ "ORDER BY p.id DESC", DBPFX, DBPFX); + while (db_result_next(r)) { + id = g_new0(u64_t,1); + *id = db_result_get_u64(r, 0); diff --git a/net-mail/dbmail/files/3.0-pgsql-RETURNING.patch b/net-mail/dbmail/files/3.0-pgsql-RETURNING.patch new file mode 100644 index 0000000..d497436 --- /dev/null +++ b/net-mail/dbmail/files/3.0-pgsql-RETURNING.patch @@ -0,0 +1,52 @@ +Only in dbmail-3.0.2/src: .dbmailtypes.h.swp +Binary files dbmail-3.0.2.orig/src/.dm_db.c.swp and dbmail-3.0.2/src/.dm_db.c.swp differ +Only in dbmail-3.0.2.orig/src: .strtoll.c.swp +diff -uri dbmail-3.0.2.orig/src/dm_db.c dbmail-3.0.2/src/dm_db.c +--- dbmail-3.0.2.orig/src/dm_db.c 2013-07-20 01:47:11.000000000 -0500 ++++ dbmail-3.0.2/src/dm_db.c 2013-07-20 02:47:38.000000000 -0500 +@@ -483,16 +483,43 @@ + assert(r); + db_result_next(r); + ++ /* In PostgreSQL 9.1 lastRowId is _not_ always zero ++ * ++dbmail=# INSERT INTO dbmail_physmessage (internal_date) VALUES ++dbmail-# (TO_TIMESTAMP('2013-07-20 07:22:34'::text, 'YYYY-MM-DD HH24:MI:SS')) RETURNING id; ++ id ++---------- ++ 29196224 ++(1 row) ++ ++INSERT 0 1 ++dbmail=# INSERT INTO dbmail_messages(mailbox_idnr, physmessage_id, unique_id,recent_flag, status) VALUES (10993, 29196223, 'acc98da420bfe6d3dc2c707a9863001c', 1, 5) RETURNING message_idnr; ++ message_idnr ++-------------- ++ 36650725 ++(1 row) ++ ++INSERT 82105867 1 ++ * ++ * Connection_lastRowId(c) is returning the OID instead of ++ * the message_idnr we are expecting. ++ * However, we are expecting only one row to be returned so ++ * we should always use db_result_get_u64(r, 0); ++ */ ++ if (_db_params.db_driver == DM_DRIVER_POSTGRESQL) { ++ id = db_result_get_u64(r, 0); // postgresql ++ } ++ + // lastRowId is always zero for pgsql tables without OIDs + // or possibly for sqlite after calling executeQuery but + // before calling db_result_next + +- if ((id = (u64_t )Connection_lastRowId(c)) == 0) { // mysql ++ else if ((id = (u64_t )Connection_lastRowId(c)) == 0) { // mysql + // but if we're using 'RETURNING id' clauses on inserts + // or we're using the sqlite backend, we can do this + + if ((id = (u64_t )Connection_lastRowId(c)) == 0) // sqlite +- id = db_result_get_u64(r, 0); // postgresql ++ id = db_result_get_u64(r, 0); // postgresql - should not happen + } + assert(id); + return id;