From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-mail/courier-imap/Manifest | 33 +++ net-mail/courier-imap/courier-imap-4.15-r2.ebuild | 229 ++++++++++++++++++++ .../courier-imap/courier-imap-4.16.2-r1.ebuild | 221 ++++++++++++++++++++ net-mail/courier-imap/courier-imap-4.17.3.ebuild | 231 +++++++++++++++++++++ .../files/courier-authdaemond-r1.service | 11 + .../courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 | 40 ++++ .../courier-imap-4.0.6-r1-courier-imapd.indirect | 3 + .../files/courier-imap-4.0.6-r1-courier-imapd.rc6 | 35 ++++ .../courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 | 40 ++++ .../courier-imap-4.0.6-r1-courier-pop3d.indirect | 3 + .../files/courier-imap-4.0.6-r1-courier-pop3d.rc6 | 35 ++++ .../courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc | 31 +++ .../files/courier-imap-4.0.6-r1-gentoo-imapd.rc | 32 +++ .../courier-imap-4.0.6-r1-gentoo-pop3d-ssl.rc | 29 +++ .../files/courier-imap-4.0.6-r1-gentoo-pop3d.rc | 30 +++ .../files/courier-imap-4.15-aclocal-fix.patch | 10 + ...courier-imap-4.15-db4-bdbobj_configure.ac.patch | 33 +++ .../files/courier-imap-4.15-db4-configure.ac.patch | 33 +++ ...ourier-imap-4.15-disable-fam-configure.ac.patch | 23 ++ .../files/courier-imap-4.17-aclocal-fix.patch | 12 ++ ...courier-imap-4.17-db4-bdbobj_configure.ac.patch | 33 +++ .../files/courier-imap-4.17-db4-configure.ac.patch | 33 +++ ...ourier-imap-4.17-disable-fam-configure.ac.patch | 27 +++ .../courier-imap/files/courier-imap-gentoo.readme | 75 +++++++ .../courier-imap/files/courier-imapd-r1.service | 14 ++ .../files/courier-imapd-ssl-r1.service | 14 ++ net-mail/courier-imap/files/mkimapdcert | 39 ++++ net-mail/courier-imap/files/mkpop3dcert | 39 ++++ net-mail/courier-imap/metadata.xml | 11 + 29 files changed, 1399 insertions(+) create mode 100644 net-mail/courier-imap/Manifest create mode 100644 net-mail/courier-imap/courier-imap-4.15-r2.ebuild create mode 100644 net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild create mode 100644 net-mail/courier-imap/courier-imap-4.17.3.ebuild create mode 100644 net-mail/courier-imap/files/courier-authdaemond-r1.service create mode 100644 net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 create mode 100644 net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.indirect create mode 100644 net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.rc6 create mode 100644 net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 create mode 100644 net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.indirect create mode 100644 net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 create mode 100644 net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc create mode 100644 net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd.rc create mode 100644 net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-pop3d-ssl.rc create mode 100644 net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-pop3d.rc create mode 100644 net-mail/courier-imap/files/courier-imap-4.15-aclocal-fix.patch create mode 100644 net-mail/courier-imap/files/courier-imap-4.15-db4-bdbobj_configure.ac.patch create mode 100644 net-mail/courier-imap/files/courier-imap-4.15-db4-configure.ac.patch create mode 100644 net-mail/courier-imap/files/courier-imap-4.15-disable-fam-configure.ac.patch create mode 100644 net-mail/courier-imap/files/courier-imap-4.17-aclocal-fix.patch create mode 100644 net-mail/courier-imap/files/courier-imap-4.17-db4-bdbobj_configure.ac.patch create mode 100644 net-mail/courier-imap/files/courier-imap-4.17-db4-configure.ac.patch create mode 100644 net-mail/courier-imap/files/courier-imap-4.17-disable-fam-configure.ac.patch create mode 100644 net-mail/courier-imap/files/courier-imap-gentoo.readme create mode 100644 net-mail/courier-imap/files/courier-imapd-r1.service create mode 100644 net-mail/courier-imap/files/courier-imapd-ssl-r1.service create mode 100644 net-mail/courier-imap/files/mkimapdcert create mode 100644 net-mail/courier-imap/files/mkpop3dcert create mode 100644 net-mail/courier-imap/metadata.xml (limited to 'net-mail/courier-imap') diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest new file mode 100644 index 000000000000..ad89b64396f0 --- /dev/null +++ b/net-mail/courier-imap/Manifest @@ -0,0 +1,33 @@ +AUX courier-authdaemond-r1.service 373 SHA256 c5b647b2f72f8f3097a093d929d021b2ec758e5f8183c7990dfb56af2eed9f8e SHA512 5ef9b65c24700f93a31626d2a657e19165853151e5c33eb96b0d41b818b4669a2785dfb868054231df20acfdfc4218a0bbc7e21260e337a3075c54f97ba9c46b WHIRLPOOL edc6e642105862d7cc3a2b10ae28ea08a9d17a30d99c7620615da74fe2f587a4fae827d656cba0ae0395126dfd72d171172b4ada611e1b0cb8669e02b45bb4f8 +AUX courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 1041 SHA256 72954e740f802845ac00b9ccbaa2b5cedee16d611a7c9ddd7e0510130d631935 SHA512 62efe81649b35bbb08899352428742793ac2336f95e74f47b9d32c445ce943201fff2c7801f8ff2d9977f68cfdd8c0ef35223f5019642acbc3ba1298f81a6a59 WHIRLPOOL 3680daf522a10754ccb5797f994460b453162001b8aa62c7a2bda4de1af881133354d8625ddeee5ffab92ba1d69855ddf04e947fb7ed1217b25ce72b54919607 +AUX courier-imap-4.0.6-r1-courier-imapd.indirect 81 SHA256 5d2e175e20aa5d7b7049a76be847a9bd974d25625b5324ac8f23680cb7e734bc SHA512 22108e1a09e9fc6e6c035ca7f55ba382ec87bf889dd88c2f9934b087d285853a6eb8453fadfe456f9a6de57f973c988bbaba8ec449366f0df8396b430b1d64bf WHIRLPOOL c111c0cf627a4ca0287faeba60ed15a40b8925e1e0d0bec4b58a783feed2073a129a78b0578e0b309a0dafec00a2aac8b1427395bb65454a51d3c475c86a0f08 +AUX courier-imap-4.0.6-r1-courier-imapd.rc6 796 SHA256 cf9e28810503a1ccd9d9560cbc6709fa263e3606c1a79ecbe0b407e1cfa87718 SHA512 a51a098afd97948fc50747819ddcb9d96c3a79c1e13d3dee58f2e500808fa9ac6d87706b845b4a2abb0e55bebfb242f264cfc72062f84197805dd5fd27366e8d WHIRLPOOL 518a934be85f4d1f480e26e45c396a083e4af6f5aa1b9860867984139644900ff87aeab50da41cf2ec410f375694ab17be7cb40b68f8babeda2581a7024ca992 +AUX courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 1049 SHA256 11daba60e176d741ae0f3aab25c366135af70ea72fd287eabf1b5a48ec3c3f93 SHA512 f2d5682d66e418470f041fd1c0448dbf4ca2a093da167541ea33b49c293249d192b9516bfb48c16135fe7ecf183372362152fad3eeb0d17b0c4f62056eb91f2f WHIRLPOOL 289093efd7a045bb425a9a6b4514cbc1ce18df507cdac222e7d250eb814aab48509d6549023ba0d1171982e3c28447f0bf29e1ad55d6da5c4e347b4fd6f1ffdb +AUX courier-imap-4.0.6-r1-courier-pop3d.indirect 81 SHA256 27fa269811a3f916b050166733232e5de1fa578c0f3cb79ca649e6b0cff67ea5 SHA512 30dc72519d582663fd08384e75e59504f5c2c7ba6a6e70ef03da56a05e271e46e38a992357f1e13a1026a471f3207cbc50ad70e5dabe169508580f693f953026 WHIRLPOOL 05af85166ba12d3c6a0dc185c05af7d31040cfae700d623ac5e901ac4e2363ee00bf58b88f648e751bddc10f51d30cd56d94ee12df57fdbd2dae771a80230b05 +AUX courier-imap-4.0.6-r1-courier-pop3d.rc6 804 SHA256 9f654d9be2e1f9b4f8a0d02eb4b9fa5f63af429f377f133698ed9084f53d2cbb SHA512 b1c1479d3a30e029f28820cac4c6001e7f757e3bb14472c4c60ac2b71570ff3a88441ccbf4c422846db9ef239c731c61ba100cc0f0ead6be0925212a5a1995f3 WHIRLPOOL af8ac7b87ba6fcd1b7271fbde00915e4baf094360a0d5f6daa3e3489dade5b5b1f6ea8b4e6745b0fda0e817cc49f96a1837f25a40715de50529368d200e595ed +AUX courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc 840 SHA256 3e4c904d77fa03f1c03fea88b58135d5771287f16461bddb5e9cadf9edd27a39 SHA512 a6317522d0c64656536e6fb16f3cd7a76b596a8d7e6d61a7233564141b14d9ea1db685f369e39b8c6d4bf5e6c762c6d4edd0da13de6d174ad5b35990f3323b1c WHIRLPOOL c3cd92230e623658e0d2c7f3dd8f37c9d53c394231afb78f643c89259c59e29a291990633ebb7140716cdaf1b18bf95a38273ac00976d725f4ae389e410fe9fd +AUX courier-imap-4.0.6-r1-gentoo-imapd.rc 886 SHA256 0a07047f6be253564485713a02635b0bd90d27034755d5cb8748c13c9e4a9612 SHA512 ccb7f3fab4312918082df0e7f4875a70cd9c08ad69cd94b6bdd5f8a370eec64fd2a178e9806d5a8304711fce171222af4d4f19a59a700e5e6dfbd0ed7bcc3750 WHIRLPOOL 0446064efff411b53913d4ef026b7c54ba4cab3c774e32f822d928dc67a86c070fed5f72575ecf2a25672292a707e83488b854626a46afe435aff2069ffdaf84 +AUX courier-imap-4.0.6-r1-gentoo-pop3d-ssl.rc 813 SHA256 ec2059c05b1ac68ec2d5c247c31a02453edb0de1ed4e4a4af9166b26e8c5bc7d SHA512 9a61aab00d99255b0f3c1780b10eed50bc5a040aade30d1032d202df9be65be03b0c42d9b894e623843fef3e53a1d9fea09ed5a9269548cdf0305b78f109530a WHIRLPOOL 7e41a1d4d4344fc47411c5d33cbbd74739cc7315017abbb2ebdc06335060ba611dc7c6e69dd16ebd32fe1a8891761d81a55f78922b07bd59bc6d9908a649a652 +AUX courier-imap-4.0.6-r1-gentoo-pop3d.rc 859 SHA256 8a5461419bb805420c79b82d9a1b4218e453415ec81c359593a04db9ce0ca0fa SHA512 e86f7984a39aa1a40ff96eeb1d7967456660b7d0add1dfaf005e98313aeaaad645c503e79e9cb8a55bba7ff5f8164b43f0145aa4ef4c1df15f1659f09a97b040 WHIRLPOOL 950f5532528e57cfddc46eba7bfdf235816eab99b038fbea7ba2991f0a02ba7b0b740aec5560a046a2ca2ee618d1f875694e2a8645cf22d21a37fde83c392d87 +AUX courier-imap-4.15-aclocal-fix.patch 237 SHA256 d90bdec1e9f515a24e36d479c864b2260b40bb4b0a35d19e07d2e6424b81b955 SHA512 72cbb54c29dda061fabf96d7b415fcb9a3bf0faf527444c9d4f2a211238e54d516e77778efe31ab25476cbe47e554efd8a9175143a4a2a90c31f04631d6cdc29 WHIRLPOOL cb0a80ab615c808fa910c5c1fe4ed9037dda2b1c4922d1672f05d4591c6b68504a98109e5c96ca114b03e7efbe6b736e4a74bb01799006675172445c633b7e6f +AUX courier-imap-4.15-db4-bdbobj_configure.ac.patch 1495 SHA256 fd2b75c0b0bd4aee48148f01cea55c4cb55b3521a943fba47ec0ea359b227385 SHA512 f4e40ac312d37499fbbe61fc7f1be3602aac2bac17d3da888c8db77b6f17bd2825c90286dd7669f08b0716e1686c42c5af7953eb949c5a9b4e614fc3a53dd37e WHIRLPOOL 722a612b50cdf05dca99a9b46534ade7e300c51c9f454c8a122f030eb6bbca0de7a3d31d6d214cc1d7317529c82974a648693736def4d2d115e70122bfd9e2b2 +AUX courier-imap-4.15-db4-configure.ac.patch 1460 SHA256 d5d5888ce3534740be0e307830bec325746758af80d6ccc8313173b8dceb8b0b SHA512 99897d152f44713adf746996b8d720af65cb8af46e1ade68f4f3336b59b7b8acfba2d2e35b1b818c440e847e8126e8cf683a17fa4e2bf593e42274da6e21ce15 WHIRLPOOL 2501509d58d128c66f63e391933a2ef77a76dd50def0a67a5471336ed6fa31837cd857a4bbd8d53a76e9970f6fcfb310867bdbe1cb98eff5315238dc91756dfb +AUX courier-imap-4.15-disable-fam-configure.ac.patch 626 SHA256 53f8a4504580c50da590859eb1c2759ef6d8f8751d8243699a5192bde89dbbf7 SHA512 649de2e7137642702b78f4e37808479124b1e71b7a2d9299f450bcae969399f1efdbc8a6076783baf7a8437fd90dfa6cc3a41908eb46e628ca05901e71c43a08 WHIRLPOOL 5bf1af9cbab1e7d6d08266f1377de6ff3c9238aab9737c9cb233f7b1b16e4c71ba97e86a52e17a791f74bd1784c38d11612c8b5c067844cce361870508e10adf +AUX courier-imap-4.17-aclocal-fix.patch 299 SHA256 e551782a5a45a0a581cc8fa3264749d97378a884d07ab744577d3f2434b26457 SHA512 a5771c2718d08386a3c36a1bb2812959c68af70049cb3833e49dd034126ae6ae278b51afd40301cc7ff6850efe8772889d05d90b0229be79d82cfd827f2ef75e WHIRLPOOL 2010eeef6fafe5dd607ae38ddd6aeb893c777f4efdcca2d2fb67474113d577bf07ef576b83289752f9b2ffd0f7f6cda2408d4dc6945d10e20cc474fdf50eefbc +AUX courier-imap-4.17-db4-bdbobj_configure.ac.patch 1499 SHA256 62277124de80452c7453d3be8ce3f46efb7daab47df34136ec22f29f3f276d50 SHA512 2d1db6d13194b5e0866fadab40453264a07df8bf26b241af9f130b79dd800a4bb888a28151c7833b375315f43c9c42946312bc36220232a372179b23e5107b30 WHIRLPOOL 4f09a15157f9cba9cd8705d47dfc0cba3655d65ae2f5a8df08641d243b4d0d0fb774c8b83683a13d95fa8f0e3e695f3b5f4e8fdddde256f8b1a86fc65ff6e0e6 +AUX courier-imap-4.17-db4-configure.ac.patch 1464 SHA256 d7ee1d90348ea84df3387e617a84e651d546567072b2da5671db120bd029d3a7 SHA512 55433b330d1039cd177af058cbc4a2bf7a65e53b8ecf29955c499dd6a68d634d7582449f54d1c70675ed759586e4d9dc7f43ce3703113e76df81b2a8703085bd WHIRLPOOL e28667aade7c74332ee580488e1ed3322218a85afd67b851112bf985afb88cc8e6d82eb204e389b9db0ace8dd49e6ae8e2ada4686ac8e2d127b38aae3ebd9ac9 +AUX courier-imap-4.17-disable-fam-configure.ac.patch 807 SHA256 1b326229d62f42c9d27e08a5f5fd41f8adaf5978c4c25b3e0ff56929a44f6284 SHA512 c1933ab15843a7009f7d7408eb5085452b5575e01727980e3df2a2b79256fc7f8d0d62403ad6906f250249cbbbc516d442b29d5fc70537fa7aa67837366be164 WHIRLPOOL 5fe31b3d0a5aea692dffb432654425255bcf9111eadb86d830ea70d71480367cb9429e1f9c58e194473f0b15a8a9d835f55035397f5202311ba92fa95ad9a891 +AUX courier-imap-gentoo.readme 2827 SHA256 fbfe0396d87bcfe2722df94b2c68ef1a1993edcf776c8572604aed0390e4061f SHA512 a677218ed39483dbe07358382f557a877486d5028b890ce25822663a6fff58a4744d245537a5395c7a403a566522753c91f9c0c511b9a7229ac1ea2ba4a9c54c WHIRLPOOL 57e7f12fd054f5c22a4ec37bc7ff661dd07d09c4b95fb55849d7115a154a067ac1ff286445b987f39f83f3889c4dc82daeaa1cb9f72919bdea3486c22bdeab9b +AUX courier-imapd-r1.service 299 SHA256 7c4800926bad3283164f91ba39a0aedc3404643062f7f508b1ed9bea71d34044 SHA512 5b44983d067b447bc60bd5365340c7ffd0c7102eba93fd87dda6cafb95c8625efe5badfaa4607c13a21ce37a7e781f5b81a47b9b18666403263e3d8789310d44 WHIRLPOOL 38310850fd03c76f72116862c97a0e1add1b7008b95416a2c6a3b7127b8a377d6ff497dbe9a36c085040e531716c0ece931266b055c7d7087c3cf2d8ec962c86 +AUX courier-imapd-ssl-r1.service 310 SHA256 c4705212124c13f01dd386ed4342c2a9d3ea436735fb3d8d066121b687eadcc2 SHA512 431a1113cbc10aa4042c621fda43eabaed79b4e0fabbc4692073c92368448324f958d3ad922b99b4290efad8a8164aff3698ac69e4e3c1f457d1616f769c11e5 WHIRLPOOL d13024f93ca06a3b019d6a9804d7ad3024bcc1cf6bb782fc27b4b7563492140ea4d13882e14150ccb60b2f7fe4a7fc7a298467e6627387e934d48d5d75dcae1a +AUX mkimapdcert 996 SHA256 1ebd9ae44e3ca5fb906f5f399abec7d6f117d231db5725be0a1c4e043eaec4f6 SHA512 502eec64d1db7106ca83a38c18bb48ea9fa9d9a2526076fe45fbf54f7313866d9a4cf3bda7b0a8984af88fb8e8f35a24447071d3bc6882c8f158395d55548bf4 WHIRLPOOL de07fbe8ef656223a5fe43c5e8b6df909257e0c171978db30d0c43e3ef56a927dd26b11468545c89e431dceb34f75a44b290192d304c5e32eb29fe54aaf6d111 +AUX mkpop3dcert 996 SHA256 c241ccca359b5d126dc56fc73f21991d8a7bffb5c211d8b0a1e4e88e693eb7cb SHA512 eab113a442dd6b22b5d4eaa6beb755849e2af61dbb3f0bc3eb93c6e9240058c46e5220971504a18587eb2af8f5c8d8c7c44ce24ad898603319a78c1b11dec078 WHIRLPOOL 7b30ab63852376236717eb7cd230b453e2144f56641f506bd47b5fbea645fd7ac53c9147a9e3707a8b0233e74218f69c6b6d8c0f8ff764b3aa13a18d22d966b8 +DIST courier-imap-4.15.tar.bz2 3266353 SHA256 6c34107e7ba9e5396d50b58fb414a495806335cab7135c96ad85a3816785b109 SHA512 7829662282db5e6f414a1d34f06a94c2dd028e263510f01b49ebd3a1a4994055ecc08604568f5a44a30f6411e3a34e0d6c38807c29eaf255752191e885f82e1a WHIRLPOOL 1b5e42bd1f72e3205030b54e9564ce45c4eccb394b31c64a616f225def5a5df05f74ef62c59fbea63b18ce336d77cc2368170a982abb7a6e94d309d0c6ee4dd2 +DIST courier-imap-4.16.2.tar.bz2 3028445 SHA256 3be244b3c4d3d5c5e33efb37e4cf712ae83cbe21e43c31725e0d996ab4acc387 SHA512 42a685324b630835fe0c8735a67879e099f96eadf091c803368a9dd478a80b4ab47225fda6142942569c96b21355b5dac5e174ff434bcdc78784a810d2088609 WHIRLPOOL d1d8af441a8c6f13f81705489deded11fdd8f66bf79a66f9076ed4e7b6e0644d9f9034887a043d8c9c9a55031db9c2c9a2ca0ac53cbbef96c5ed25275c50e9e3 +DIST courier-imap-4.17.3.tar.bz2 3202534 SHA256 6dcbd913344634c8d7bde573c5fd55c86307181798df1192b7d777ec567898fc SHA512 3166cc703cdc09a71d33257671a662d95cfdb8977bc3b19e0218a4d25eb99a1a108d2868a6eb593106e6538aadf684f11ff0426cd58d522e3ca4b2988f0a88f1 WHIRLPOOL edc8249f2eb923121978bde8f2895add4d74e3e54839bbf63f4b2e8506d162796f91550d63e7491afbc6e589fe034aa9b91ce8789ec5bd64b0e48a6472243a8c +EBUILD courier-imap-4.15-r2.ebuild 7383 SHA256 e1225c004ff78afa3603f31b4f341f319a90e60499e9d106dc3fc15db5418359 SHA512 e07b88d692df44d5ae6695ac38f24770aac5b1fb2efa5de5332b0c7ad599e2953185177029e73e6941dba3af10d65d800bad582b878fbdf2fdd071ed3c615c31 WHIRLPOOL d70c74937efe49552ef132680e09c40ed015fe1bbab00535b72b2e485db1fd4c4c59d54f9be0d73efde9b6f5b760e8bae12dffe8e30f38ddb8080238025aea6a +EBUILD courier-imap-4.16.2-r1.ebuild 6923 SHA256 cfa1cc540aa3980d74b9d795d195d7c3946d317189bf839bc4a8eeac0d8f2ea9 SHA512 700768d7aa98e16955a02f6a8ada023653620e232d2660500a682bb12939a544133ff5a1ffa5075e5da226e6d0319257409ccc49aba2bcfb19905bf66285a129 WHIRLPOOL 4e9ebce2f8718dd1f1e4a9a271230b15f74c25252941f84dfbf78287736e22c38cfc48e9cea465145fae7e3d4fccfcd5f3ffcc21686b2d759838b41587762bf3 +EBUILD courier-imap-4.17.3.ebuild 6758 SHA256 ac7d9f763f8afe34d52385dc1e69b27893e2f1db26005ed70cfeede98f57a106 SHA512 b6bafde30307a1747a75b5038c7b3f425aabe6c866db798dd487c49b3b924ba4fde5f8da02caecc5e72e6c74d7b350a0fbe7236fc3b08ad253bd6833bf6e6fe5 WHIRLPOOL cbab2b9244e240c69616e48f4544a2e4c103d40e485b68e694bd89bf10e196ac5176225aff379d1748254ef4915bc7a2467d87bae85a6392a4caf60fb4289567 +MISC ChangeLog 5605 SHA256 85239e989467c9f1df21ab396cdf904e24eeb386c1af3eb6d530ef82df6e4609 SHA512 3c976dbf9b7d7282e48d2ddd13d9abf0a2bf1eb339339fba10b8839667d4ce17388bbe3a5e762920ced5cdcaec2c14bea56dad2a8b9a87a8cb4ceb1244eecaf3 WHIRLPOOL cefd6f6036161124fcf8690032fe9dc9005a9db74dda279d6a204cfbc16ec46da9d0939d2e50d9c28fda806db2eb233a7307f2e8df163d834c6686cfa253a5b0 +MISC ChangeLog-2015 45263 SHA256 d18a98970f653f5592dd13bba1142ad1ab798dccec39150a8908623e3ed96679 SHA512 2e54a72d070a1061ec7fb311ee1daac1b3bad3c674a6a39813a5d773209cfa0a8628d78584d9312b1139329a68f371becf20cbca9c99dc6b255e303a4f769ac9 WHIRLPOOL 3cda3ab0b2d6af652909d962fd39b0bc6eee88b9a37cb66583e8f3c9eb210b879b7a0e9f72346dc926badf3ae81ca889ee379e1aa2f32ae49f9caa07459b5f5e +MISC metadata.xml 382 SHA256 afb0794e4998fd065ec1a821728cdaf1f60de70a4f213f72cf0bc4156209206c SHA512 2422c2a28ee3049a7b8da4b27f0dfca5699cb62ac77d39c89de4b9287f32f78167fc4b3eabf20e890c5c5dc1e00ccdce8a745501d3423846e42224f60e8ed110 WHIRLPOOL 5bce0d3cbea9fbd04ec8efb58b0871eb164d75cfef1bece8927e029894fe63d10069e4cbface3dd0f0c4996fcbae630f4a1b5964e51507224ffe12f8110e37eb diff --git a/net-mail/courier-imap/courier-imap-4.15-r2.ebuild b/net-mail/courier-imap/courier-imap-4.15-r2.ebuild new file mode 100644 index 000000000000..4a7ef1d07e13 --- /dev/null +++ b/net-mail/courier-imap/courier-imap-4.15-r2.ebuild @@ -0,0 +1,229 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils multilib libtool systemd + +DESCRIPTION="An IMAP daemon designed specifically for maildirs" +HOMEPAGE="http://www.courier-mta.org/" +SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="berkdb debug fam +gdbm ipv6 selinux gnutls trashquota" + +REQUIRED_USE="|| ( berkdb gdbm )" + +CDEPEND=" + gnutls? ( net-libs/gnutls ) + !gnutls? ( >=dev-libs/openssl-0.9.6:0= ) + >=net-libs/courier-authlib-0.61 + >=net-mail/mailbase-0.00-r8 + berkdb? ( sys-libs/db:= ) + fam? ( virtual/fam ) + gdbm? ( >=sys-libs/gdbm-1.8.0 )" +DEPEND="${CDEPEND} + dev-lang/perl + !mail-mta/courier + userland_GNU? ( sys-process/procps )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-courier )" + +# get rid of old style virtual - bug 350792 +# all blockers really needed? +RDEPEND="${RDEPEND} + !mail-mta/courier + !net-mail/bincimap + !net-mail/cyrus-imapd + !net-mail/uw-imap" + +RC_VER="4.0.6-r1" +INITD_VER="4.0.6-r1" + +src_prepare() { + # Bug #48838. Patch to enable/disable FAM support. + # 20 Aug 2004 langthang@gentoo.org + # This patch should fix bug #51540. fam USE flag is not needed for shared folder support. + epatch "${FILESDIR}"/${P}-disable-fam-configure.ac.patch + + # Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206). + epatch "${FILESDIR}"/${P}-aclocal-fix.patch + + # These patches should fix problems detecting BerkeleyDB. + # We now can compile with db4 support. + if use berkdb ; then + epatch \ + "${FILESDIR}"/${P}-db4-bdbobj_configure.ac.patch \ + "${FILESDIR}"/${P}-db4-configure.ac.patch + fi + + eautoreconf +} + +src_configure() { + local myconf="" + + # 19 Aug 2004 langthang@gentoo.org + # Default to gdbm if both berkdb and gdbm are present. + if use gdbm ; then + einfo "Building with GDBM support" + myconf="${myconf} --with-db=gdbm" + elif use berkdb ; then + einfo "Building with BerkeleyDB support" + myconf="${myconf} --with-db=db" + fi + + # Disabling unicode is no longer supported + # By default all available character sets are included + # Set ENABLE_UNICODE=iso-8859-1,utf-8,iso-8859-10 + # to include only specified translation tables. + if [[ -z "${ENABLE_UNICODE}" ]] ; then + einfo "ENABLE_UNICODE is not set, building with all available character sets" + myconf="${myconf} --enable-unicode" + else + einfo "ENABLE_UNICODE is set, building with unicode=${ENABLE_UNICODE}" + myconf="${myconf} --enable-unicode=${ENABLE_UNICODE}" + fi + + if use trashquota ; then + einfo "Building with Trash Quota Support" + myconf="${myconf} --with-trashquota" + fi + + use debug && myconf="${myconf} debug=true" + + # Do the actual build now + econf \ + --disable-root-check \ + --bindir=/usr/sbin \ + --sysconfdir=/etc/${PN} \ + --libexecdir=/usr/$(get_libdir)/${PN} \ + --localstatedir=/var/lib/${PN} \ + --with-authdaemonvar=/var/lib/${PN}/authdaemon \ + --enable-workarounds-for-imap-client-bugs \ + --with-mailuser=mail \ + --with-mailgroup=mail \ + $(use_with fam) \ + $(use_with ipv6) \ + $(use_with gnutls) \ + ${myconf} + + # Change the pem file location. + sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/imapd.pem:" \ + libs/imap/imapd-ssl.dist || \ + die "sed failed" + + sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/pop3d.pem:" \ + libs/imap/pop3d-ssl.dist || \ + die "sed failed" +} + +src_compile() { + # spurious failures with parallel compiles + emake -j1 +} + +src_install() { + dodir /var/lib/${PN} /etc/pam.d + default + rm -Rf "${D}/etc/pam.d" || die + + # Avoid name collisions in /usr/sbin wrt imapd and pop3d + cd "${D}/usr/sbin" || die + for name in imapd pop3d ; do + mv -f "${name}" "courier-${name}" || die "Failed to mv ${name} to courier-${name}" + done + + # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of + # 'Maildir', and to use /usr/sbin/courier-foo names. + cd "${D}/usr/$(get_libdir)/${PN}" || die + for service in {imapd,pop3d}{,-ssl} ; do + sed -i -e 's/Maildir/${MAILDIR}/' "${service}.rc" || die "sed failed" + sed -i -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" "${service}.rc" || die "sed failed" + done + + # Rename the config files correctly and add a value for ${MAILDIR} to them. + cd "${D}/etc/${PN}" || die + for service in {imapd,pop3d}{,-ssl} ; do + mv -f "${service}.dist" "${service}" || die "Failed to mv ${service}.dist to ${service}" + echo -e '\n# Hardwire a value for ${MAILDIR}' >> "${service}" + echo 'MAILDIR=.maildir' >> "${service}" + echo 'MAILDIRPATH=.maildir' >> "${service}" + done + for service in imapd pop3d ; do + echo -e '# Put any program for ${PRERUN} here' >> "${service}" + echo 'PRERUN=' >> "${service}" + echo -e '# Put any program for ${LOGINRUN} here' >> "${service}" + echo -e '# this is for relay-ctrl-allow in 4*' >> "${service}" + echo 'LOGINRUN=' >> "${service}" + done + + cd "${D}/usr/sbin" || die + for x in * ; do + if [[ -L "${x}" ]] ; then + rm -f "${x}" || die "Failed to rm ${x}" + fi + done + + cd ../share || die + mv -f * ../sbin || die + mv -f ../sbin/man . || die + cd .. || die + + for x in mkimapdcert mkpop3dcert ; do + mv -f "${D}/usr/sbin/${x}" "${D}/usr/sbin/${x}.orig" || die "Failed to mv /usr/sbin/${x} to /usr/sbin/${x}.orig" + done + + dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" + + dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger + + mkdir "${WORKDIR}/tmp" && cd "${WORKDIR}/tmp" || die + + for initd in courier-{imapd,pop3d}{,-ssl} ; do + sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" > "${initd}" || die "initd libdir-sed failed" + doinitd "${initd}" + done + + systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service courier-authdaemond.service + systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service courier-imapd-ssl.service + systemd_newunit "${FILESDIR}"/courier-imapd-r1.service courier-imapd.service + + exeinto /usr/$(get_libdir)/${PN} + for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do + sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${RC_VER}-${exe}" > "${exe}" || die "exe libdir-sed failed" + doexe "${exe}" + done + + dodir /usr/bin + mv -f "${D}/usr/sbin/maildirmake" "${D}/usr/bin/maildirmake" || die "Failed to mv /usr/sbin/maildirmake to /usr/bin/maildirmake" + + # Bug #45953, more docs. + cd "${S}" || die + dohtml -r "${S}"/* + dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme + docinto imap + dodoc "${S}"/libs/imap/{ChangeLog,BUGS,BUGS.html,README} + docinto maildir + dodoc "${S}"/libs/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt} + docinto tcpd + dodoc "${S}"/libs/tcpd/README.couriertls +} + +pkg_postinst() { + elog "Please read http://www.courier-mta.org/imap/INSTALL.html#upgrading" + elog "and remove TLS_DHPARAMS from configuration files or run mkdhparams" + + elog "For a quick-start howto please refer to" + elog "${PN}-gentoo.readme in /usr/share/doc/${PF}" + # Some users have been reporting that permissions on this directory were + # getting scrambled, so let's ensure that they are sane. + chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}" || die "Failed to ensure sane permissions on ${ROOT}/usr/$(get_libdir)/${PN}" +} + +src_test() { + ewarn "make check is not supported by this package due to the" + ewarn "--enable-workarounds-for-imap-client-bugs option." +} diff --git a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild new file mode 100644 index 000000000000..83083366938a --- /dev/null +++ b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild @@ -0,0 +1,221 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils multilib libtool systemd + +DESCRIPTION="An IMAP daemon designed specifically for maildirs" +HOMEPAGE="http://www.courier-mta.org/" +SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86" +IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota" + +REQUIRED_USE="|| ( berkdb gdbm )" + +CDEPEND=" + gnutls? ( net-libs/gnutls ) + !gnutls? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + >=net-libs/courier-authlib-0.61 + >=net-libs/courier-unicode-1.3 + >=net-mail/mailbase-0.00-r8 + berkdb? ( sys-libs/db:= ) + fam? ( virtual/fam ) + gdbm? ( >=sys-libs/gdbm-1.8.0 )" +DEPEND="${CDEPEND} + dev-lang/perl + !mail-mta/courier + userland_GNU? ( sys-process/procps )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-courier )" + +# get rid of old style virtual - bug 350792 +# all blockers really needed? +RDEPEND="${RDEPEND} + !mail-mta/courier + !net-mail/bincimap + !net-mail/cyrus-imapd + !net-mail/uw-imap" + +RC_VER="4.0.6-r1" +INITD_VER="4.0.6-r1" + +src_prepare() { + # Bug #48838. Patch to enable/disable FAM support. + # 20 Aug 2004 langthang@gentoo.org + # This patch should fix bug #51540. fam USE flag is not needed for shared folder support. + epatch "${FILESDIR}"/${PN}-4.15-disable-fam-configure.ac.patch + + # Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206). + epatch "${FILESDIR}"/${PN}-4.15-aclocal-fix.patch + + # These patches should fix problems detecting BerkeleyDB. + # We now can compile with db4 support. + if use berkdb ; then + epatch \ + "${FILESDIR}"/${PN}-4.15-db4-bdbobj_configure.ac.patch \ + "${FILESDIR}"/${PN}-4.15-db4-configure.ac.patch + fi + + eautoreconf +} + +src_configure() { + local myconf="" + + # 19 Aug 2004 langthang@gentoo.org + # Default to gdbm if both berkdb and gdbm are present. + if use gdbm ; then + einfo "Building with GDBM support" + myconf="${myconf} --with-db=gdbm" + elif use berkdb ; then + einfo "Building with BerkeleyDB support" + myconf="${myconf} --with-db=db" + fi + + if use trashquota ; then + einfo "Building with Trash Quota Support" + myconf="${myconf} --with-trashquota" + fi + + use debug && myconf="${myconf} debug=true" + + # Do the actual build now + econf \ + --disable-root-check \ + --bindir=/usr/sbin \ + --sysconfdir=/etc/${PN} \ + --libexecdir=/usr/$(get_libdir)/${PN} \ + --localstatedir=/var/lib/${PN} \ + --with-authdaemonvar=/var/lib/${PN}/authdaemon \ + --enable-workarounds-for-imap-client-bugs \ + --with-mailuser=mail \ + --with-mailgroup=mail \ + $(use_with fam) \ + $(use_with ipv6) \ + $(use_with gnutls) \ + ${myconf} + + # Change the pem file location. + sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/imapd.pem:" \ + libs/imap/imapd-ssl.dist || \ + die "sed failed" + + sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/pop3d.pem:" \ + libs/imap/pop3d-ssl.dist || \ + die "sed failed" +} + +src_compile() { + # spurious failures with parallel compiles + emake -j1 +} + +src_install() { + dodir /var/lib/${PN} /etc/pam.d + default + rm -Rf "${D}/etc/pam.d" || die + + # Avoid name collisions in /usr/sbin wrt imapd and pop3d + cd "${D}/usr/sbin" || die + for name in imapd pop3d ; do + mv -f "${name}" "courier-${name}" || die "Failed to mv ${name} to courier-${name}" + done + + # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of + # 'Maildir', and to use /usr/sbin/courier-foo names. + cd "${D}/usr/$(get_libdir)/${PN}" || die + for service in {imapd,pop3d}{,-ssl} ; do + sed -i -e 's/Maildir/${MAILDIR}/' "${service}.rc" || die "sed failed" + sed -i -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" "${service}.rc" || die "sed failed" + done + + # Rename the config files correctly and add a value for ${MAILDIR} to them. + cd "${D}/etc/${PN}" || die + for service in {imapd,pop3d}{,-ssl} ; do + mv -f "${service}.dist" "${service}" || die "Failed to mv ${service}.dist to ${service}" + echo -e '\n# Hardwire a value for ${MAILDIR}' >> "${service}" + echo 'MAILDIR=.maildir' >> "${service}" + echo 'MAILDIRPATH=.maildir' >> "${service}" + done + for service in imapd pop3d ; do + echo -e '# Put any program for ${PRERUN} here' >> "${service}" + echo 'PRERUN=' >> "${service}" + echo -e '# Put any program for ${LOGINRUN} here' >> "${service}" + echo -e '# this is for relay-ctrl-allow in 4*' >> "${service}" + echo 'LOGINRUN=' >> "${service}" + done + + cd "${D}/usr/sbin" + for x in * ; do + if [[ -L "${x}" ]] ; then + rm -f "${x}" || die "Failed to rm ${x}" + fi + done + + cd ../share + mv -f * ../sbin + mv -f ../sbin/man . + cd .. + + for x in mkimapdcert mkpop3dcert ; do + mv -f "${D}/usr/sbin/${x}" "${D}/usr/sbin/${x}.orig" || die "Failed to mv /usr/sbin/${x} to /usr/sbin/${x}.orig" + done + + dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" + + dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger + + mkdir "${WORKDIR}/tmp" ; cd "${WORKDIR}/tmp" + + for initd in courier-{imapd,pop3d}{,-ssl} ; do + sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" > "${initd}" || die "initd libdir-sed failed" + doinitd "${initd}" + done + + systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service courier-authdaemond.service + systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service courier-imapd-ssl.service + systemd_newunit "${FILESDIR}"/courier-imapd-r1.service courier-imapd.service + + exeinto /usr/$(get_libdir)/${PN} + for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do + sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${RC_VER}-${exe}" > "${exe}" || die "exe libdir-sed failed" + doexe "${exe}" + done + + dodir /usr/bin + mv -f "${D}/usr/sbin/maildirmake" "${D}/usr/bin/maildirmake" || die "Failed to mv /usr/sbin/maildirmake to /usr/bin/maildirmake" + + # Bug #45953, more docs. + cd "${S}" || die + dohtml -r "${S}"/* + dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme + docinto imap + dodoc "${S}"/libs/imap/{ChangeLog,BUGS,BUGS.html,README} + docinto maildir + dodoc "${S}"/libs/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt} + docinto tcpd + dodoc "${S}"/libs/tcpd/README.couriertls +} + +pkg_postinst() { + elog "Please read http://www.courier-mta.org/imap/INSTALL.html#upgrading" + elog "and remove TLS_DHPARAMS from configuration files or run mkdhparams" + + elog "For a quick-start howto please refer to" + elog "${PN}-gentoo.readme in /usr/share/doc/${PF}" + # Some users have been reporting that permissions on this directory were + # getting scrambled, so let's ensure that they are sane. + chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}" || die "Failed to ensure sane permissions on ${ROOT}/usr/$(get_libdir)/${PN}" +} + +src_test() { + ewarn "make check is not supported by this package due to the" + ewarn "--enable-workarounds-for-imap-client-bugs option." +} diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild new file mode 100644 index 000000000000..8347c0afb219 --- /dev/null +++ b/net-mail/courier-imap/courier-imap-4.17.3.ebuild @@ -0,0 +1,231 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools libtool systemd + +DESCRIPTION="An IMAP daemon designed specifically for maildirs" +HOMEPAGE="http://www.courier-mta.org/" +SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86" +IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota" + +REQUIRED_USE="|| ( berkdb gdbm )" + +CDEPEND=" + gnutls? ( net-libs/gnutls ) + !gnutls? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + >=net-libs/courier-authlib-0.61 + >=net-libs/courier-unicode-1.3 + >=net-mail/mailbase-0.00-r8 + berkdb? ( sys-libs/db:= ) + fam? ( virtual/fam ) + gdbm? ( >=sys-libs/gdbm-1.8.0 )" +DEPEND="${CDEPEND} + dev-lang/perl + !mail-mta/courier + userland_GNU? ( sys-process/procps )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-courier )" + +# get rid of old style virtual - bug 350792 +# all blockers really needed? +RDEPEND="${RDEPEND} + !mail-mta/courier + !net-mail/bincimap + !net-mail/cyrus-imapd + !net-mail/uw-imap" + +RC_VER="4.0.6-r1" +INITD_VER="4.0.6-r1" + +PATCHES=( + "${FILESDIR}/${PN}-4.17-disable-fam-configure.ac.patch" + "${FILESDIR}/${PN}-4.17-aclocal-fix.patch" +) + +src_prepare() { + default + + # These patches should fix problems detecting BerkeleyDB. + # We now can compile with db4 support. + if use berkdb ; then + eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch" + eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch" + fi + + eautoreconf +} + +src_configure() { + local myconf="" + + # Default to gdbm if both berkdb and gdbm are present. + if use gdbm ; then + einfo "Building with GDBM support" + myconf="${myconf} --with-db=gdbm" + elif use berkdb ; then + einfo "Building with BerkeleyDB support" + myconf="${myconf} --with-db=db" + fi + + if use trashquota ; then + einfo "Building with Trash Quota Support" + myconf="${myconf} --with-trashquota" + fi + + use debug && myconf="${myconf} debug=true" + + econf \ + --disable-root-check \ + --bindir=/usr/sbin \ + --sysconfdir="/etc/${PN}" \ + --libexecdir="/usr/$(get_libdir)/${PN}" \ + --localstatedir="/var/lib/${PN}" \ + --with-authdaemonvar="/var/lib/${PN}/authdaemon" \ + --enable-workarounds-for-imap-client-bugs \ + --with-mailuser=mail \ + --with-mailgroup=mail \ + $(use_with fam) \ + $(use_with ipv6) \ + $(use_with gnutls) \ + ${myconf} + + # Change the pem file location. + sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/imapd.pem:" \ + libs/imap/imapd-ssl.dist || \ + die "sed failed" + + sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/pop3d.pem:" \ + libs/imap/pop3d-ssl.dist || \ + die "sed failed" +} + +src_compile() { + # spurious failures with parallel compiles + emake -j1 +} + +src_install() { + dodir "/var/lib/${PN}" /etc/pam.d + default + rm -r "${D}/etc/pam.d" || die + + # Avoid name collisions in /usr/sbin wrt imapd and pop3d + for name in imapd pop3d ; do + mv "${D}/usr/sbin/"{,courier-}${name} \ + || die "failed to rename ${name} to courier-${name}" + done + + # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of + # 'Maildir', and to use /usr/sbin/courier-foo names. + for service in {imapd,pop3d}{,-ssl} ; do + sed -e 's/Maildir/${MAILDIR}/' \ + -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \ + || die "sed failed" + sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \ + -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \ + || die "sed failed" + done + + # Rename the config files correctly and add a value for ${MAILDIR} + # to them. + for service in {imapd,pop3d}{,-ssl} ; do + mv "${D}/etc/${PN}/${service}"{.dist,} \ + || die "failed to rename ${service}.dist to ${service}" + echo -e '\n# Hardwire a value for ${MAILDIR}' \ + >> "${D}/etc/${PN}/${service}" + echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}" + echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}" + done + + for service in imapd pop3d ; do + echo -e '# Put any program for ${PRERUN} here' \ + >> "${D}/etc/${PN}/${service}" + echo 'PRERUN=' >> "${D}/etc/${PN}/${service}" + echo -e '# Put any program for ${LOGINRUN} here' \ + >> "${D}/etc/${PN}/${service}" + echo -e '# this is for relay-ctrl-allow in 4*' \ + >> "${D}/etc/${PN}/${service}" + echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}" + done + + for x in "${D}/usr/sbin"/* ; do + if [[ -L "${x}" ]] ; then + rm "${x}" || die "failed to remove ${x}" + fi + done + + mv "${D}/usr/share"/* "${D}/usr/sbin/" || die + mv "${D}/usr/sbin/man" "${D}/usr/share/" || die + + rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die + + dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" + + dosym /usr/sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger" + + for initd in courier-{imapd,pop3d}{,-ssl} ; do + sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \ + "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \ + > "${T}/${initd}" \ + || die "initd libdir-sed failed" + doinitd "${T}/${initd}" + done + + systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service \ + courier-authdaemond.service + systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service \ + courier-imapd-ssl.service + systemd_newunit "${FILESDIR}"/courier-imapd-r1.service \ + courier-imapd.service + + exeinto "/usr/$(get_libdir)/${PN}" + for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do + sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \ + "${FILESDIR}/${PN}-${RC_VER}-${exe}" \ + > "${T}/${exe}" \ + || die "exe libdir-sed failed" + doexe "${T}/${exe}" + done + + # Avoid a collision with mail-mta/netqmail, bug 482098. + mv "${D}/usr/sbin/"{,courier-}maildirmake \ + || die "failed to rename maildirmake to courier-maildirmake" + mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \ + || die "failed to rename maildirmake.1 to courier-maildirmake.1" + + dodoc AUTHORS INSTALL NEWS README ChangeLog + dodoc "${FILESDIR}/${PN}-gentoo.readme" + docinto imap + dodoc libs/imap/ChangeLog libs/imap/BUGS* libs/imap/README* + docinto maildir + dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README* + docinto rfc2045 + dodoc libs/rfc2045/*.html + docinto tcpd + dodoc libs/tcpd/README* libs/tcpd/*.html +} + +pkg_postinst() { + elog "Please read http://www.courier-mta.org/imap/INSTALL.html#upgrading" + elog "and remove TLS_DHPARAMS from configuration files or run mkdhparams" + + elog "For a quick-start howto please refer to" + elog "${PN}-gentoo.readme in /usr/share/doc/${PF}" + # Some users have been reporting that permissions on this directory were + # getting scrambled, so let's ensure that they are sane. + fperms 0755 "${ROOT}/usr/$(get_libdir)/${PN}" +} + +src_test() { + ewarn "make check is not supported by this package due to the" + ewarn "--enable-workarounds-for-imap-client-bugs option." +} diff --git a/net-mail/courier-imap/files/courier-authdaemond-r1.service b/net-mail/courier-imap/files/courier-authdaemond-r1.service new file mode 100644 index 000000000000..239821647c26 --- /dev/null +++ b/net-mail/courier-imap/files/courier-authdaemond-r1.service @@ -0,0 +1,11 @@ +[Unit] +Description=Courier Authentification Daemon + +[Service] +Type=forking +ExecStart=/usr/sbin/courierlogger -pid=/var/run/authdaemon.pid -start /usr/lib/courier/courier-authlib/authdaemond +ExecStop=/usr/sbin/courierlogger -pid=/var/run/authdaemon.pid -stop /usr/lib/courier/courier-authlib/authdaemond +PIDFile=/var/run/authdaemon.pid + +[Install] +WantedBy=multi-user.target diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 new file mode 100644 index 000000000000..2386a8eb4d9a --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 @@ -0,0 +1,40 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net courier-authlib + use famd +} + +. /etc/courier-imap/imapd-ssl + +checkconfig() { + if [ ! -e /etc/courier-imap/imapd-ssl ] ; then + eerror "You need an /etc/courier-imap/imapd-ssl file to run courier-imapd-ssl" + return 1 + fi + . /etc/courier-imap/imapd-ssl || { + eerror "There are syntax errors in /etc/courier-imap/imapd-ssl" + eerror "Please correct them before trying to start courier-imapd-ssl" + return 3 + } + if [ ! -e "${TLS_CERTFILE}" ] ; then + eerror "You need to create a SSL certificate to use IMAP over SSL" + eerror "Edit /etc/courier-imap/imapd.cnf, then run: mkimapdcert" + return 2 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting courier-imapd over SSL" + /usr/bin/env - /usr/GENTOO_LIBDIR/courier-imap/gentoo-imapd-ssl.rc --pid=${SSLPIDFILE} + eend $? +} + +stop() { + ebegin "Stopping courier-imapd over SSL" + start-stop-daemon --quiet --stop --pid=${SSLPIDFILE} + eend $? +} diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.indirect b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.indirect new file mode 100644 index 000000000000..26e0ba2cd5c0 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.indirect @@ -0,0 +1,3 @@ +#!/bin/bash +XMAILDIR="$1" +exec ${LOGINRUN} /usr/sbin/courier-imapd "${XMAILDIR}" diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.rc6 b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.rc6 new file mode 100644 index 000000000000..0d5decf5d08f --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.rc6 @@ -0,0 +1,35 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net courier-authlib + use famd +} + +. /etc/courier-imap/imapd + +checkconfig() { + if [ ! -e /etc/courier-imap/imapd ] ; then + eerror "You need an /etc/courier-imap/imapd file to run courier-imapd" + return 1 + fi + . /etc/courier-imap/imapd || { + eerror "There are syntax errors in /etc/courier-imap/imapd" + eerror "Please correct them before trying to start courier-imapd" + return 2 + } +} + +start() { + checkconfig || return 1 + ebegin "Starting courier-imapd" + /usr/bin/env - /usr/GENTOO_LIBDIR/courier-imap/gentoo-imapd.rc --pid=${PIDFILE} + eend $? +} + +stop() { + ebegin "Stopping courier-imapd" + start-stop-daemon --quiet --stop --pid=${PIDFILE} + eend $? +} diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 new file mode 100644 index 000000000000..7d087776fbd9 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 @@ -0,0 +1,40 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net courier-authlib + use famd +} + +. /etc/courier-imap/pop3d-ssl + +checkconfig() { + if [ ! -e /etc/courier-imap/pop3d-ssl ] ; then + eerror "You need an /etc/courier-imap/pop3d-ssl file to run courier-pop3d-ssl" + return 1 + fi + . /etc/courier-imap/pop3d-ssl || { + eerror "There are syntax errors in /etc/courier-imap/pop3d-ssl" + eerror "Please correct them before trying to start courier-pop3d-ssl" + return 3 + } + if [ ! -e "${TLS_CERTFILE}" ] ; then + eerror "You need to create a SSL certificate to use POP3 over SSL" + eerror "Edit /etc/courier-imap/pop3d.cnf, then run: mkpop3dcert" + return 2 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting courier-pop3d over SSL" + /usr/bin/env - /usr/GENTOO_LIBDIR/courier-imap/gentoo-pop3d-ssl.rc --pidfile ${SSLPIDFILE} + eend $? +} + +stop() { + ebegin "Stopping courier-pop3d over SSL" + start-stop-daemon --quiet --stop --pidfile ${SSLPIDFILE} + eend $? +} diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.indirect b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.indirect new file mode 100644 index 000000000000..1a523f24db4f --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.indirect @@ -0,0 +1,3 @@ +#!/bin/bash +XMAILDIR="$1" +exec ${LOGINRUN} /usr/sbin/courier-pop3d "${XMAILDIR}" diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 new file mode 100644 index 000000000000..80aeabdb3c71 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 @@ -0,0 +1,35 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net courier-authlib + use famd +} + +. /etc/courier-imap/pop3d + +checkconfig() { + if [ ! -e /etc/courier-imap/pop3d ] ; then + eerror "You need an /etc/courier-imap/pop3d file to run courier-pop3d" + return 1 + fi + . /etc/courier-imap/pop3d || { + eerror "There are syntax errors in /etc/courier-imap/pop3d" + eerror "Please correct them before trying to start courier-pop3d" + return 2 + } +} + +start() { + checkconfig || return 1 + ebegin "Starting courier-pop3d" + /usr/bin/env - /usr/GENTOO_LIBDIR/courier-imap/gentoo-pop3d.rc --pidfile ${PIDFILE} + eend $? +} + +stop() { + ebegin "Stopping courier-pop3d" + start-stop-daemon --quiet --stop --pidfile ${PIDFILE} + eend $? +} diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc new file mode 100644 index 000000000000..9a8db7cbd1c0 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-gentoo-imapd-ssl.rc @@ -0,0 +1,31 @@ +#!/bin/bash +# +# Copyright 1998 - 2000 Double Precision, Inc. +# See COPYING for distribution information. + +prefix=/usr +exec_prefix=/usr +bindir=/usr/sbin +libexecdir=/usr/GENTOO_LIBDIR/courier-imap + +source /etc/courier-imap/imapd +source /etc/courier-imap/imapd-ssl + +ulimit -d ${IMAP_ULIMITD} + +export IMAP_TLS=1 + +eval `sed -n '/^#/d;/=/p' /dev/null +/usr/bin/openssl req -new -x509 -days 365 -nodes \ + -config /etc/courier-imap/imapd.cnf -out $pemfile -keyout $pemfile || cleanup +/usr/bin/openssl gendh -rand $randfile 512 >> $pemfile || cleanup +/usr/bin/openssl x509 -subject -dates -fingerprint -noout -in $pemfile || cleanup +rm -f $randfile diff --git a/net-mail/courier-imap/files/mkpop3dcert b/net-mail/courier-imap/files/mkpop3dcert new file mode 100644 index 000000000000..6a55e99f9c8e --- /dev/null +++ b/net-mail/courier-imap/files/mkpop3dcert @@ -0,0 +1,39 @@ +#! /bin/sh +# +# mkimapdcert,v 1.1 2001/01/02 03:54:25 drobbins Exp +# +# Copyright 2000 Double Precision, Inc. See COPYING for +# distribution information. +# +# This is a short script to quickly generate a self-signed X.509 key for +# IMAP over SSL. Normally this script would get called by an automatic +# package installation routine. + +test -x /usr/bin/openssl || exit 0 + +prefix="/usr" +pemfile="/etc/courier-imap/pop3d.pem" +randfile="/etc/courier-imap/pop3d.rand" + +if test -f $pemfile +then + echo "$pemfile already exists." + exit 1 +fi + +cp /dev/null $pemfile +chmod 600 $pemfile +chown root $pemfile + +cleanup() { + rm -f $pemfile + rm -f $randfile + exit 1 +} + +dd if=/dev/urandom of=$randfile count=1 2>/dev/null +/usr/bin/openssl req -new -x509 -days 365 -nodes \ + -config /etc/courier-imap/pop3d.cnf -out $pemfile -keyout $pemfile || cleanup +/usr/bin/openssl gendh -rand $randfile 512 >> $pemfile || cleanup +/usr/bin/openssl x509 -subject -dates -fingerprint -noout -in $pemfile || cleanup +rm -f $randfile diff --git a/net-mail/courier-imap/metadata.xml b/net-mail/courier-imap/metadata.xml new file mode 100644 index 000000000000..de3c5e7d18cd --- /dev/null +++ b/net-mail/courier-imap/metadata.xml @@ -0,0 +1,11 @@ + + + + + + include deleted messages, and the Trash folder, in the estimated quota usage for maildirs + + + courier + + -- cgit v1.2.3