summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2008-01-23 10:43:55 +0000
committerWolfram Schlich <wschlich@gentoo.org>2008-01-23 10:43:55 +0000
commitc3eb67746ebe68722b0a1e8e54f9c04d79969a69 (patch)
treec2f16ca16c1eb81517368078e6b22a4526ee6bc1 /net-mail/dovecot
parentsparc stable wrt #206584 (diff)
downloadhistorical-c3eb67746ebe68722b0a1e8e54f9c04d79969a69.tar.gz
historical-c3eb67746ebe68722b0a1e8e54f9c04d79969a69.tar.bz2
historical-c3eb67746ebe68722b0a1e8e54f9c04d79969a69.zip
removed old versions
Package-Manager: portage-2.1.4
Diffstat (limited to 'net-mail/dovecot')
-rw-r--r--net-mail/dovecot/ChangeLog8
-rw-r--r--net-mail/dovecot/Manifest64
-rw-r--r--net-mail/dovecot/dovecot-1.0.3.ebuild205
-rw-r--r--net-mail/dovecot/dovecot-1.0.5.ebuild205
-rw-r--r--net-mail/dovecot/dovecot-1.0.6.ebuild205
-rw-r--r--net-mail/dovecot/dovecot-1.0.7.ebuild205
-rw-r--r--net-mail/dovecot/dovecot-1.1_beta11.ebuild227
-rw-r--r--net-mail/dovecot/dovecot-1.1_beta12.ebuild227
-rw-r--r--net-mail/dovecot/dovecot-1.1_beta13.ebuild227
-rw-r--r--net-mail/dovecot/files/digest-dovecot-1.0.36
-rw-r--r--net-mail/dovecot/files/digest-dovecot-1.0.56
-rw-r--r--net-mail/dovecot/files/digest-dovecot-1.0.66
-rw-r--r--net-mail/dovecot/files/digest-dovecot-1.0.76
-rw-r--r--net-mail/dovecot/files/digest-dovecot-1.1_beta116
-rw-r--r--net-mail/dovecot/files/digest-dovecot-1.1_beta126
-rw-r--r--net-mail/dovecot/files/digest-dovecot-1.1_beta136
16 files changed, 11 insertions, 1604 deletions
diff --git a/net-mail/dovecot/ChangeLog b/net-mail/dovecot/ChangeLog
index 36367665e6d5..7e528cffc5bd 100644
--- a/net-mail/dovecot/ChangeLog
+++ b/net-mail/dovecot/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/dovecot
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/ChangeLog,v 1.139 2008/01/22 16:17:23 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/ChangeLog,v 1.140 2008/01/23 10:43:55 wschlich Exp $
+
+ 23 Jan 2008; Wolfram Schlich <wschlich@gentoo.org> -dovecot-1.0.3.ebuild,
+ -dovecot-1.0.5.ebuild, -dovecot-1.0.6.ebuild, -dovecot-1.0.7.ebuild,
+ -dovecot-1.1_beta11.ebuild, -dovecot-1.1_beta12.ebuild,
+ -dovecot-1.1_beta13.ebuild:
+ removed old versions
*dovecot-1.1_beta14 (22 Jan 2008)
diff --git a/net-mail/dovecot/Manifest b/net-mail/dovecot/Manifest
index 04ab42d7c551..5066a353a5af 100644
--- a/net-mail/dovecot/Manifest
+++ b/net-mail/dovecot/Manifest
@@ -3,16 +3,9 @@ MD5 caee0eebf8ac3fb226539520b68a1ce5 files/dovecot.init 890
RMD160 376dca3d8b422dd4d5cb7c4d47adc51de9222908 files/dovecot.init 890
SHA256 401302b57efdb00c76aef03e16e927af47007f222b98413ab3f4f1fa83f2813f files/dovecot.init 890
DIST dovecot-1.0.10.tar.gz 1797790 RMD160 6d5120e7173f399590da5d3f5eee3752125faa33 SHA1 7693b5be369e1b3f9ce13ebc29c3cb2ca814087e SHA256 df7aca6e7be748e02148bcc07173a19fcd5f4777b102e3f49b60f491f86b0fd3
-DIST dovecot-1.0.3.tar.gz 1773226 RMD160 fa3d832799a16212eb9e80b21e60aa6b8c8bfd3d SHA1 85a609b6fe979e76b84850d9ba6355f942360490 SHA256 5f361980448d0d2411bd9ad950ac8aafb95f39cb7c2bc7652df5f624f7d26391
-DIST dovecot-1.0.5.tar.gz 1775898 RMD160 da34fe38101b067644276144f189688e0827e54b SHA1 93782c065dd4962487da9faf3f5f6cb1ae6a101b SHA256 938edb1c767282ec0299fd99e71e4ce1a1f9f119623ef9f8b47776ab6a504024
-DIST dovecot-1.0.6.tar.gz 1783566 RMD160 eb4d76e70820a4ed5f03806ad2fd6bd793a597b5 SHA1 d261d9f7fda1d7436cbb96c678b76702989bf729 SHA256 96d3c20811e269a8ed367a9a420580d2098403182b41b2cb0383b6e56191e5e6
DIST dovecot-1.0.7-MANAGESIEVE-v9.diff.gz 103777 RMD160 6e8557c435b581edf89837d240eb1813bab0bff6 SHA1 d03a2f7ce12c70cbe08b118b0a03b93790c01729 SHA256 575b5a971f759aa5a0b22d0657bfed8d6bba5661e2d7823142f8fec6ed49cb88
-DIST dovecot-1.0.7.tar.gz 1783918 RMD160 94a1f99aa0c2a7c2db8a106733f2de37080fd1eb SHA1 cc5f0892f184216c24ed6cfaa9d58183d5b94a4f SHA256 7e0521a6efc94e6d3d02d172de1dd0fcd38aaccd35b05b0bb368e8919d8622f3
DIST dovecot-1.0.8.tar.gz 1793784 RMD160 d892f958b0531b13519c03c32f74138f97b27099 SHA1 ffb71a6d1c7f6dd963cb1f7313652c7a6d1b409f SHA256 f4fa1c5c5d10b04b924f19737a74bb5d1b99b403582a38e89dc786279fcd66d1
DIST dovecot-1.0.9.tar.gz 1796543 RMD160 535cf4c9672c8e44e751f5ffad911440707fc7d4 SHA1 87d89ff79d967c95ab8e59a1c1b3f710caffc290 SHA256 a1861f42954a5497dc27eb6549e980524f75a50a03f58ac184e1770cff8a881d
-DIST dovecot-1.1.beta11.tar.gz 2191702 RMD160 8e12488e4d1c7023d6a95f5e49963898861b7ade SHA1 ca20b8c15f98014413212b1ded32fb0cd024552b SHA256 273b06a5b69873f7b29c0e67809cf4b1a9e41f14194089f65718739fe7e99509
-DIST dovecot-1.1.beta12.tar.gz 2185627 RMD160 19dc6477fd6f0a9415f883e97c546e7dbbb382a6 SHA1 6cafc03f479f7a1929047eba117106391e26c45c SHA256 d9b769139f9c3b644bd2be6c1b5e01d930dac956aa7940c106ec0b6fe9b9d4a9
-DIST dovecot-1.1.beta13.tar.gz 2201572 RMD160 d9b64206ebe7ba5a8d6a4abf419e5eb5ce6855da SHA1 2ebaeb47db1fcc7dd9223901a1ddd91b08b08a14 SHA256 767b149ba3e9f964e1de78f24090feab8750fc9b6b359be83ad2341c3a60178b
DIST dovecot-1.1.beta14.tar.gz 2216365 RMD160 43ca6015c169b6293da257b68caf1c62a5169634 SHA1 1cf58f82ef4bf583dd705e7338ba63f325f3f0e9 SHA256 57267ef2f6ace12d0b80fbd4f5c7af8ce2c30821dbaf3aca4d867551cf7ed1a0
DIST dovecot-sieve-1.0.2.tar.gz 451753 RMD160 8bed283ae672aafa61271f154f1f58d200bd4f5f SHA1 70b423eae6e47bc38f81faa36503228c1a8a5550 SHA256 9042eaf6d1237577a67ab3aa233953d640f62a296c5ffaaaed75ff25b657642a
DIST dovecot-sieve-1.1.2.tar.gz 464909 RMD160 69ed0d7cdbc4a1299ff0483748d968a761acd794 SHA1 81e317b4d5a58a180253d08fb32713d5c861d934 SHA256 fb531f1ccee182b53af4473bff80fefc59899068b5eca8a037e9d1cc719c75ef
@@ -20,22 +13,6 @@ EBUILD dovecot-1.0.10.ebuild 7090 RMD160 14a7da44ccbe1bc70336b6614d84f1630112060
MD5 2a02fce861a273ef72a5abf34d0ce14d dovecot-1.0.10.ebuild 7090
RMD160 14a7da44ccbe1bc70336b6614d84f16301120603 dovecot-1.0.10.ebuild 7090
SHA256 8ef38f05f53cb3516696633e6f6efa835d2e1aefb414b167b54dca665736f89a dovecot-1.0.10.ebuild 7090
-EBUILD dovecot-1.0.3.ebuild 6265 RMD160 589c924113f22f2d9a987bb08cde3d9af51b119d SHA1 c381fe220b91f5777b76046a2dca43e62b0ff823 SHA256 605f498e92b2d8d2bc3c56852cb5823e1c6db7f0aa8c7b7ac185096f400a5493
-MD5 0c0a8621003c8008a7b5a523e6c03d73 dovecot-1.0.3.ebuild 6265
-RMD160 589c924113f22f2d9a987bb08cde3d9af51b119d dovecot-1.0.3.ebuild 6265
-SHA256 605f498e92b2d8d2bc3c56852cb5823e1c6db7f0aa8c7b7ac185096f400a5493 dovecot-1.0.3.ebuild 6265
-EBUILD dovecot-1.0.5.ebuild 6265 RMD160 e60c69c38c21dbba2e3d018567516ed93e91f229 SHA1 02f076c7311858c4ef6687c74a432f615f6d2a92 SHA256 a03050f8f136f4be3dc92ed4db3bb5f33fbb5602104e6ca1acedc6021208c48c
-MD5 922902c394c626fc372b50d1fe77a2cf dovecot-1.0.5.ebuild 6265
-RMD160 e60c69c38c21dbba2e3d018567516ed93e91f229 dovecot-1.0.5.ebuild 6265
-SHA256 a03050f8f136f4be3dc92ed4db3bb5f33fbb5602104e6ca1acedc6021208c48c dovecot-1.0.5.ebuild 6265
-EBUILD dovecot-1.0.6.ebuild 6271 RMD160 d8ba95556078fc4d9016c6d07cd52a6deccd761a SHA1 5db23d6f45b148f3ce4616d9c8d60bb5d17192b6 SHA256 e5e1e53586913f7b8698879b96452a4891684677078af92903a0afcf7b29cf1c
-MD5 08a736d0495e7ba907da8eb85793cc17 dovecot-1.0.6.ebuild 6271
-RMD160 d8ba95556078fc4d9016c6d07cd52a6deccd761a dovecot-1.0.6.ebuild 6271
-SHA256 e5e1e53586913f7b8698879b96452a4891684677078af92903a0afcf7b29cf1c dovecot-1.0.6.ebuild 6271
-EBUILD dovecot-1.0.7.ebuild 6271 RMD160 eaacfaaa53e7b3dfb8e778f8e3d7f72891be83ea SHA1 794cca068be75c1e0032a6b9d193eabad60fd97d SHA256 6f134f18006c19cbcbcd09d21ef79c92eecc88f18cc84863e04c87ae33ed7847
-MD5 ff7fe37443565347b312820a7e943c05 dovecot-1.0.7.ebuild 6271
-RMD160 eaacfaaa53e7b3dfb8e778f8e3d7f72891be83ea dovecot-1.0.7.ebuild 6271
-SHA256 6f134f18006c19cbcbcd09d21ef79c92eecc88f18cc84863e04c87ae33ed7847 dovecot-1.0.7.ebuild 6271
EBUILD dovecot-1.0.8.ebuild 7098 RMD160 24781a3aaca288d704a1dbf3d3dd5efe240edbec SHA1 9d8ccb0a63fc5d014dc7786f303c5b0d24723de1 SHA256 104797ab6507ff2a720c69c52c4f172250e4f583fe9f445ad5c34cde72c09625
MD5 7b910e8b405661b8cf8021f912e55b16 dovecot-1.0.8.ebuild 7098
RMD160 24781a3aaca288d704a1dbf3d3dd5efe240edbec dovecot-1.0.8.ebuild 7098
@@ -44,26 +21,14 @@ EBUILD dovecot-1.0.9.ebuild 7098 RMD160 596b1a54f98963437ffa23dc5cd0cd7e3be30f1e
MD5 f0dc3f1164472b12da5bd0d0e6aa1c9f dovecot-1.0.9.ebuild 7098
RMD160 596b1a54f98963437ffa23dc5cd0cd7e3be30f1e dovecot-1.0.9.ebuild 7098
SHA256 bb6a0a05c6f0c98cf335dc634b4ce5a9c2fa09779f90e396592bbd736eaf6381 dovecot-1.0.9.ebuild 7098
-EBUILD dovecot-1.1_beta11.ebuild 7124 RMD160 080c84542c993510cc84a1e0f65d24c051532ca9 SHA1 f47d02a5bfa7d3d51f654a932a310d580e02815b SHA256 1875056f39fde2d762d150eab9cb95894e8f88bfc5dc8f69a45611f7844699f9
-MD5 b5e3908163a37db4e4a0df2e60909d0d dovecot-1.1_beta11.ebuild 7124
-RMD160 080c84542c993510cc84a1e0f65d24c051532ca9 dovecot-1.1_beta11.ebuild 7124
-SHA256 1875056f39fde2d762d150eab9cb95894e8f88bfc5dc8f69a45611f7844699f9 dovecot-1.1_beta11.ebuild 7124
-EBUILD dovecot-1.1_beta12.ebuild 7123 RMD160 b239ab7e4e45fee062b6e8a48be5342cb4f6b3dd SHA1 ace805a6ff60983c846fd16a2433511dbee714b6 SHA256 23dab5e4bbb03325db3184d5e6078b5047384f0065e8af8f6bae5b6ed8ab13d8
-MD5 0cc31934526872250e9d9c0fa75f5353 dovecot-1.1_beta12.ebuild 7123
-RMD160 b239ab7e4e45fee062b6e8a48be5342cb4f6b3dd dovecot-1.1_beta12.ebuild 7123
-SHA256 23dab5e4bbb03325db3184d5e6078b5047384f0065e8af8f6bae5b6ed8ab13d8 dovecot-1.1_beta12.ebuild 7123
-EBUILD dovecot-1.1_beta13.ebuild 7123 RMD160 ebae67eaf96bdae573171e075bf39c6720f436e2 SHA1 6e37b24b17d92160d3a2fbe60d985ac9558c27a8 SHA256 288009c14f4511fb8042fa5c3333a48155dd600a1a6251b3b401ccc68c93dbd7
-MD5 088a5adce6db1d4b3f0414bd0ebd8a64 dovecot-1.1_beta13.ebuild 7123
-RMD160 ebae67eaf96bdae573171e075bf39c6720f436e2 dovecot-1.1_beta13.ebuild 7123
-SHA256 288009c14f4511fb8042fa5c3333a48155dd600a1a6251b3b401ccc68c93dbd7 dovecot-1.1_beta13.ebuild 7123
EBUILD dovecot-1.1_beta14.ebuild 7123 RMD160 da6d968caa83903ef3fb7f7897d4503a92aa4b17 SHA1 d0012a1c9e3a778eef0e5a73939d21e5991493c7 SHA256 37046369fad5ed6dde0b6cafea5233f8a6b8aab637ed3a3e9e26699521ff1192
MD5 54c156119151fd965e27698c4e9f8883 dovecot-1.1_beta14.ebuild 7123
RMD160 da6d968caa83903ef3fb7f7897d4503a92aa4b17 dovecot-1.1_beta14.ebuild 7123
SHA256 37046369fad5ed6dde0b6cafea5233f8a6b8aab637ed3a3e9e26699521ff1192 dovecot-1.1_beta14.ebuild 7123
-MISC ChangeLog 21853 RMD160 1039d800c5307f69afaaaafe939b4904968bfb8f SHA1 f2edc2e1581b4334cd6236abffc55a3fe6c0982e SHA256 1fc01910d53529b689cd558eb43130605c5fab976e5c7ba91a2a2fba00ce3b5f
-MD5 1238a9819416d64d0c4ef8ff2f7b3f82 ChangeLog 21853
-RMD160 1039d800c5307f69afaaaafe939b4904968bfb8f ChangeLog 21853
-SHA256 1fc01910d53529b689cd558eb43130605c5fab976e5c7ba91a2a2fba00ce3b5f ChangeLog 21853
+MISC ChangeLog 22112 RMD160 f6066d258e5d04306c0cf2e3dc904caf3315bb20 SHA1 631bd7b2f0ba0b62f976fa322d8e0637316bab94 SHA256 f7a3e74f1019c0ee9757d0953487e0590e95c26a3d82a3c3682fd560896d4f55
+MD5 92c50a4a59da6c17b83bf6fd219a01aa ChangeLog 22112
+RMD160 f6066d258e5d04306c0cf2e3dc904caf3315bb20 ChangeLog 22112
+SHA256 f7a3e74f1019c0ee9757d0953487e0590e95c26a3d82a3c3682fd560896d4f55 ChangeLog 22112
MISC metadata.xml 162 RMD160 fd38b82541901b3c6df18b630d79fe7883ae3f01 SHA1 e6aecefcc2137d6047cedfe447686775ab59cb48 SHA256 569031668e39895fb20829fb17a49a91a83e8f41b2195b0f04825c4340d2af6b
MD5 2169405288c432c981b23bc7965d15c9 metadata.xml 162
RMD160 fd38b82541901b3c6df18b630d79fe7883ae3f01 metadata.xml 162
@@ -71,33 +36,12 @@ SHA256 569031668e39895fb20829fb17a49a91a83e8f41b2195b0f04825c4340d2af6b metadata
MD5 f66251ef8346cbae4fbf2e8e7cdd57d0 files/digest-dovecot-1.0.10 795
RMD160 a7507b46854a5c7bbe9bc0c8152ab6cd49131b4d files/digest-dovecot-1.0.10 795
SHA256 50d0025d5892a2b1aea21a35a63ec3fd2842a73ad82fc8716b5e4b0097d320a8 files/digest-dovecot-1.0.10 795
-MD5 038614e1f70a099987728b786ec0cd23 files/digest-dovecot-1.0.3 503
-RMD160 f7895bba3e6cbcb9458d6118004c618a1ebfa8b6 files/digest-dovecot-1.0.3 503
-SHA256 c0f41f955d3002146c6d51bc8f0dcbe0c0f25730e3d0d873bb89e580048faaa4 files/digest-dovecot-1.0.3 503
-MD5 5be9c19ed8c045c0e77a0831ffb007b4 files/digest-dovecot-1.0.5 503
-RMD160 32c962b31b1aa37d734f3b0169ab7a27171ed876 files/digest-dovecot-1.0.5 503
-SHA256 b3b3239ec33b02b0e0b9bd7063aecbc5a9515d09598332af2981cb9454a9c031 files/digest-dovecot-1.0.5 503
-MD5 1849a8a6ca96e180c663c781f60311f6 files/digest-dovecot-1.0.6 503
-RMD160 1316cd400706758c1e2886740403cef77f6a295b files/digest-dovecot-1.0.6 503
-SHA256 3719cce79cb444971389eba1f7e6a64e41fc316e7c1d2adb8d7dd54adb3b9ee0 files/digest-dovecot-1.0.6 503
-MD5 a8604c32d2463e92bc311b657ca63f63 files/digest-dovecot-1.0.7 503
-RMD160 396db19f2bafa0860c78903dd0e2cd2ae0fbca92 files/digest-dovecot-1.0.7 503
-SHA256 38d3b54a719fb905e8e78b84c57c74cb7ee7da0d3f758be2a7fbba14c93dc615 files/digest-dovecot-1.0.7 503
MD5 608ed39e2e1e682a5de69655b67dc258 files/digest-dovecot-1.0.8 792
RMD160 a4f6e9874a5e2d61086902b2ca0400d409adf9d2 files/digest-dovecot-1.0.8 792
SHA256 0d2d481acb31a53b54835c80db254dfbeeeea183e26a5af331cef0480339084f files/digest-dovecot-1.0.8 792
MD5 268a4c25332bd441418881949bdd5f6b files/digest-dovecot-1.0.9 792
RMD160 400008cf0c85a945e60bfd570a42ec13555ad13d files/digest-dovecot-1.0.9 792
SHA256 305a490145cfd5055caba4fecfd604baeec315b049b815783d2c1dd04184cf35 files/digest-dovecot-1.0.9 792
-MD5 a9d03917d7516d92ed8f6a812d8f5222 files/digest-dovecot-1.1_beta11 518
-RMD160 3114f906c03563b16a5dd425f2ec19dd88769fed files/digest-dovecot-1.1_beta11 518
-SHA256 094dda670e323aebad52e3dd1bb7319d6c3aeeabac7736b60e4fc6a3e812760a files/digest-dovecot-1.1_beta11 518
-MD5 ab06dfda6af39cd5d238b82949998773 files/digest-dovecot-1.1_beta12 518
-RMD160 ace02a6539780b849adcfd6927b42d9b87444b2f files/digest-dovecot-1.1_beta12 518
-SHA256 8290f48c613f34aef55c95cc12a57231a0c4da817dc8576993123dd635624742 files/digest-dovecot-1.1_beta12 518
-MD5 d89a1e510506b4d56744e6d18ce9e9c9 files/digest-dovecot-1.1_beta13 518
-RMD160 0bee50cb53f1e6c6472fc7b02a60a0b303918f08 files/digest-dovecot-1.1_beta13 518
-SHA256 04a533f41c5d3e5da3c6f1462758a8ff98ce8eeef95f3e79408606aa21ebcdbf files/digest-dovecot-1.1_beta13 518
MD5 2ff263ac36f75119cb1ccbb40349a473 files/digest-dovecot-1.1_beta14 518
RMD160 d422d03303ebd46228bfd4180926b0c3d26d8b93 files/digest-dovecot-1.1_beta14 518
SHA256 63e418bed8716619d607a0307f7e5e2d9c6493426c9dea008b925bd466287ce6 files/digest-dovecot-1.1_beta14 518
diff --git a/net-mail/dovecot/dovecot-1.0.3.ebuild b/net-mail/dovecot/dovecot-1.0.3.ebuild
deleted file mode 100644
index f054907ffef9..000000000000
--- a/net-mail/dovecot/dovecot-1.0.3.ebuild
+++ /dev/null
@@ -1,205 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.0.3.ebuild,v 1.7 2007/08/24 16:52:05 armin76 Exp $
-
-inherit autotools eutils ssl-cert
-
-MY_P="${P/_/.}"
-S="${WORKDIR}/${MY_P}"
-SIEVE="dovecot-sieve-1.0.2"
-SIEVE_S="${WORKDIR}/${SIEVE}"
-
-SRC_URI="http://dovecot.org/releases/1.0/${MY_P}.tar.gz
-sieve? ( http://dovecot.org/releases/sieve/${SIEVE}.tar.gz )"
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://dovecot.org/"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="alpha amd64 ppc sparc x86 ~x86-fbsd"
-
-IUSE="debug doc ipv6 kerberos ldap mbox mysql pop3d pam postgres sieve ssl suid vpopmail"
-
-# Developer documentation, controlled by the doc USE flag
-DEVDOCS="auth-protocol index multiaccess securecoding"
-
-DEPEND=">=sys-apps/sed-4
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql )
- mysql? ( virtual/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-pkg_setup() {
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
- local myconf=
- use ssl && myconf="${myconf} --with-ssl=openssl" \
- || myconf="${myconf} --without-ssl"
-
- econf --localstatedir=/var --sysconfdir=/etc/dovecot \
- --enable-header-install \
- --with-ioloop=best --with-poll=best \
- $(use_enable debug) \
- $(use_enable ipv6) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with pam) \
- $(use_with pop3d) \
- $(use_with postgres pgsql) \
- $(use_with vpopmail) \
- ${myconf} || die "configure failed"
- emake || die "make failed"
-
- if use sieve ; then
- einfo "Building sieve"
- cd "${SIEVE_S}"
- econf --with-dovecot="${S}" || die "configure failed"
- emake || die "make failed"
- fi
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
- use suid && fperms u+s /usr/libexec/dovecot/deliver
-
- rm -f "${D}"/etc/dovecot/dovecot-{ldap,sql}-example.conf
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
- if use doc ; then
- dodoc doc/*.txt
- else
- local x= n=
- for x in doc/*.txt ; do
- n=$(basename "${x}" .txt)
- [[ " ${DEVDOCS} " != *" ${n} "* ]] && dodoc "${x}"
- done
- fi
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${D}/etc/dovecot/dovecot.conf"
- mv "${D}"/etc/dovecot/dovecot-example.conf "${D}"/etc/dovecot/dovecot.conf
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mail_location="maildir:~/.maildir"
- if use mbox ; then
- mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_extra_groups =|mail_extra_groups = mail|' "${conf}"
- fi
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" "${conf}" || die
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam ; then
- sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${conf}" || die
- fi
-
- # Listen on ipv6 and ipv4
- if use ipv6 ; then
- sed -i -e 's/^#listen = \*/listen = \[::\]/g' "${conf}" || die
- fi
-
- # Update ssl cert locations
- if use ssl ; then
- sed -i -e 's,^#ssl_cert_file =.*,ssl_cert_file = /etc/ssl/dovecot/server.pem,' \
- -e 's,^#ssl_key_file =.*,ssl_key_file = /etc/ssl/dovecot/server.key,' \
- "${conf}" || die
-
- # Let's not make a new certificate if we already have one
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
- insinto "${ROOT}"/etc/ssl/dovecot
- docert server
- fowners dovecot:mail /etc/ssl/dovecot/server.{key,pem}
- fi
- fi
-
- # Install SQL configuration
- if use mysql || use postgres ; then
- cp doc/dovecot-sql-example.conf "${D}"/etc/dovecot/dovecot-sql.conf
- fperms 600 /etc/dovecot/dovecot-sql.conf
- sed -i -e '/db sql/,/args/ s|=|= /etc/dovecot-sql.conf|' "${conf}"
- dodoc doc/dovecot-sql-example.conf
- fi
-
- # Install LDAP configuration
- if use ldap ; then
- cp doc/dovecot-ldap-example.conf "${D}"/etc/dovecot/dovecot-ldap.conf
- fperms 600 /etc/dovecot/dovecot-ldap.conf
- sed -i -e '/db ldap/,/args/ s|=|= /etc/dovecot-ldap.conf|' "${conf}"
- dodoc doc/dovecot-ldap-example.conf
- fi
-
- # Install sieve plugin
- if use sieve ; then
- make -C "${SIEVE_S}" DESTDIR="${D}" install || die "make install failed"
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0700 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
-}
-
-get_config_var() {
- sed -n 's/^[[:space:]]\?base_dir[[:space:]]*="*\([^#"]\+\)"*/\1/p' \
- /etc/dovecot/dovecot.conf
-}
-
-pkg_postinst() {
- # Touch ssl certs so that they are modified outisde of src_install
- # We do this so portage does't unmerge them - silly portage
- if use ssl ; then
- touch "${ROOT}"/etc/ssl/dovecot/server.{key,pem}
- fi
-
- elog "The dovecot configuration has vastly changed since 0.99."
- elog "You are encouraged to start afresh with a new configuration file."
- elog "see http://wiki.dovecot.org/ for configuration examples."
-
- if [[ -e ${ROOT}etc/dovecot.conf ]] ; then
- ewarn
- ewarn "dovecot configuration is now in ${ROOT}etc/dovecot"
- fi
-
- local base_dir="$(get_config_var base_dir)"
- base_dir="${basedir:-/var/run/dovecot}"
- if use ssl \
- && [[ ! -e "${ROOT}/${base_dir}/login/ssl-parameters.dat" ]] ; then
- elog
- elog "Dovecot requires DH SSL Parameters if you use SSL connections"
- elog "These take some time to make, and dovecot will create them before"
- elog "it allows any SSL connections."
- elog "You can create them now before starting dovecot like so"
- elog " emerge --config =${PF}"
- fi
-}
-
-pkg_config() {
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
-
- einfo "Regenerating SSL parameters. This will take some time."
- /usr/libexec/dovecot/ssl-build-param "${base_dir}/login/ssl-parameters.dat"
-}
diff --git a/net-mail/dovecot/dovecot-1.0.5.ebuild b/net-mail/dovecot/dovecot-1.0.5.ebuild
deleted file mode 100644
index cef8f9acbd1c..000000000000
--- a/net-mail/dovecot/dovecot-1.0.5.ebuild
+++ /dev/null
@@ -1,205 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.0.5.ebuild,v 1.5 2007/11/06 19:11:58 armin76 Exp $
-
-inherit autotools eutils ssl-cert
-
-MY_P="${P/_/.}"
-S="${WORKDIR}/${MY_P}"
-SIEVE="dovecot-sieve-1.0.2"
-SIEVE_S="${WORKDIR}/${SIEVE}"
-
-SRC_URI="http://dovecot.org/releases/1.0/${MY_P}.tar.gz
-sieve? ( http://dovecot.org/releases/sieve/${SIEVE}.tar.gz )"
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://dovecot.org/"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="alpha amd64 ppc sparc x86 ~x86-fbsd"
-
-IUSE="debug doc ipv6 kerberos ldap mbox mysql pop3d pam postgres sieve ssl suid vpopmail"
-
-# Developer documentation, controlled by the doc USE flag
-DEVDOCS="auth-protocol index multiaccess securecoding"
-
-DEPEND=">=sys-apps/sed-4
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql )
- mysql? ( virtual/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-pkg_setup() {
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
- local myconf=
- use ssl && myconf="${myconf} --with-ssl=openssl" \
- || myconf="${myconf} --without-ssl"
-
- econf --localstatedir=/var --sysconfdir=/etc/dovecot \
- --enable-header-install \
- --with-ioloop=best --with-poll=best \
- $(use_enable debug) \
- $(use_enable ipv6) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with pam) \
- $(use_with pop3d) \
- $(use_with postgres pgsql) \
- $(use_with vpopmail) \
- ${myconf} || die "configure failed"
- emake || die "make failed"
-
- if use sieve ; then
- einfo "Building sieve"
- cd "${SIEVE_S}"
- econf --with-dovecot="${S}" || die "configure failed"
- emake || die "make failed"
- fi
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
- use suid && fperms u+s /usr/libexec/dovecot/deliver
-
- rm -f "${D}"/etc/dovecot/dovecot-{ldap,sql}-example.conf
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
- if use doc ; then
- dodoc doc/*.txt
- else
- local x= n=
- for x in doc/*.txt ; do
- n=$(basename "${x}" .txt)
- [[ " ${DEVDOCS} " != *" ${n} "* ]] && dodoc "${x}"
- done
- fi
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${D}/etc/dovecot/dovecot.conf"
- mv "${D}"/etc/dovecot/dovecot-example.conf "${D}"/etc/dovecot/dovecot.conf
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mail_location="maildir:~/.maildir"
- if use mbox ; then
- mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_extra_groups =|mail_extra_groups = mail|' "${conf}"
- fi
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" "${conf}" || die
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam ; then
- sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${conf}" || die
- fi
-
- # Listen on ipv6 and ipv4
- if use ipv6 ; then
- sed -i -e 's/^#listen = \*/listen = \[::\]/g' "${conf}" || die
- fi
-
- # Update ssl cert locations
- if use ssl ; then
- sed -i -e 's,^#ssl_cert_file =.*,ssl_cert_file = /etc/ssl/dovecot/server.pem,' \
- -e 's,^#ssl_key_file =.*,ssl_key_file = /etc/ssl/dovecot/server.key,' \
- "${conf}" || die
-
- # Let's not make a new certificate if we already have one
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
- insinto "${ROOT}"/etc/ssl/dovecot
- docert server
- fowners dovecot:mail /etc/ssl/dovecot/server.{key,pem}
- fi
- fi
-
- # Install SQL configuration
- if use mysql || use postgres ; then
- cp doc/dovecot-sql-example.conf "${D}"/etc/dovecot/dovecot-sql.conf
- fperms 600 /etc/dovecot/dovecot-sql.conf
- sed -i -e '/db sql/,/args/ s|=|= /etc/dovecot-sql.conf|' "${conf}"
- dodoc doc/dovecot-sql-example.conf
- fi
-
- # Install LDAP configuration
- if use ldap ; then
- cp doc/dovecot-ldap-example.conf "${D}"/etc/dovecot/dovecot-ldap.conf
- fperms 600 /etc/dovecot/dovecot-ldap.conf
- sed -i -e '/db ldap/,/args/ s|=|= /etc/dovecot-ldap.conf|' "${conf}"
- dodoc doc/dovecot-ldap-example.conf
- fi
-
- # Install sieve plugin
- if use sieve ; then
- make -C "${SIEVE_S}" DESTDIR="${D}" install || die "make install failed"
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0700 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
-}
-
-get_config_var() {
- sed -n 's/^[[:space:]]\?base_dir[[:space:]]*="*\([^#"]\+\)"*/\1/p' \
- /etc/dovecot/dovecot.conf
-}
-
-pkg_postinst() {
- # Touch ssl certs so that they are modified outisde of src_install
- # We do this so portage does't unmerge them - silly portage
- if use ssl ; then
- touch "${ROOT}"/etc/ssl/dovecot/server.{key,pem}
- fi
-
- elog "The dovecot configuration has vastly changed since 0.99."
- elog "You are encouraged to start afresh with a new configuration file."
- elog "see http://wiki.dovecot.org/ for configuration examples."
-
- if [[ -e ${ROOT}etc/dovecot.conf ]] ; then
- ewarn
- ewarn "dovecot configuration is now in ${ROOT}etc/dovecot"
- fi
-
- local base_dir="$(get_config_var base_dir)"
- base_dir="${basedir:-/var/run/dovecot}"
- if use ssl \
- && [[ ! -e "${ROOT}/${base_dir}/login/ssl-parameters.dat" ]] ; then
- elog
- elog "Dovecot requires DH SSL Parameters if you use SSL connections"
- elog "These take some time to make, and dovecot will create them before"
- elog "it allows any SSL connections."
- elog "You can create them now before starting dovecot like so"
- elog " emerge --config =${PF}"
- fi
-}
-
-pkg_config() {
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
-
- einfo "Regenerating SSL parameters. This will take some time."
- /usr/libexec/dovecot/ssl-build-param "${base_dir}/login/ssl-parameters.dat"
-}
diff --git a/net-mail/dovecot/dovecot-1.0.6.ebuild b/net-mail/dovecot/dovecot-1.0.6.ebuild
deleted file mode 100644
index 9790abd26c47..000000000000
--- a/net-mail/dovecot/dovecot-1.0.6.ebuild
+++ /dev/null
@@ -1,205 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.0.6.ebuild,v 1.1 2007/10/29 09:39:01 uberlord Exp $
-
-inherit autotools eutils ssl-cert
-
-MY_P="${P/_/.}"
-S="${WORKDIR}/${MY_P}"
-SIEVE="dovecot-sieve-1.0.2"
-SIEVE_S="${WORKDIR}/${SIEVE}"
-
-SRC_URI="http://dovecot.org/releases/1.0/${MY_P}.tar.gz
-sieve? ( http://dovecot.org/releases/sieve/${SIEVE}.tar.gz )"
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://dovecot.org/"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
-
-IUSE="debug doc ipv6 kerberos ldap mbox mysql pop3d pam postgres sieve ssl suid vpopmail"
-
-# Developer documentation, controlled by the doc USE flag
-DEVDOCS="auth-protocol index multiaccess securecoding"
-
-DEPEND=">=sys-apps/sed-4
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql )
- mysql? ( virtual/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-pkg_setup() {
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
- local myconf=
- use ssl && myconf="${myconf} --with-ssl=openssl" \
- || myconf="${myconf} --without-ssl"
-
- econf --localstatedir=/var --sysconfdir=/etc/dovecot \
- --enable-header-install \
- --with-ioloop=best --with-poll=best \
- $(use_enable debug) \
- $(use_enable ipv6) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with pam) \
- $(use_with pop3d) \
- $(use_with postgres pgsql) \
- $(use_with vpopmail) \
- ${myconf} || die "configure failed"
- emake || die "make failed"
-
- if use sieve ; then
- einfo "Building sieve"
- cd "${SIEVE_S}"
- econf --with-dovecot="${S}" || die "configure failed"
- emake || die "make failed"
- fi
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
- use suid && fperms u+s /usr/libexec/dovecot/deliver
-
- rm -f "${D}"/etc/dovecot/dovecot-{ldap,sql}-example.conf
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
- if use doc ; then
- dodoc doc/*.txt
- else
- local x= n=
- for x in doc/*.txt ; do
- n=$(basename "${x}" .txt)
- [[ " ${DEVDOCS} " != *" ${n} "* ]] && dodoc "${x}"
- done
- fi
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${D}/etc/dovecot/dovecot.conf"
- mv "${D}"/etc/dovecot/dovecot-example.conf "${D}"/etc/dovecot/dovecot.conf
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mail_location="maildir:~/.maildir"
- if use mbox ; then
- mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_extra_groups =|mail_extra_groups = mail|' "${conf}"
- fi
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" "${conf}" || die
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam ; then
- sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${conf}" || die
- fi
-
- # Listen on ipv6 and ipv4
- if use ipv6 ; then
- sed -i -e 's/^#listen = \*/listen = \[::\]/g' "${conf}" || die
- fi
-
- # Update ssl cert locations
- if use ssl ; then
- sed -i -e 's,^#ssl_cert_file =.*,ssl_cert_file = /etc/ssl/dovecot/server.pem,' \
- -e 's,^#ssl_key_file =.*,ssl_key_file = /etc/ssl/dovecot/server.key,' \
- "${conf}" || die
-
- # Let's not make a new certificate if we already have one
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
- insinto "${ROOT}"/etc/ssl/dovecot
- docert server
- fowners dovecot:mail /etc/ssl/dovecot/server.{key,pem}
- fi
- fi
-
- # Install SQL configuration
- if use mysql || use postgres ; then
- cp doc/dovecot-sql-example.conf "${D}"/etc/dovecot/dovecot-sql.conf
- fperms 600 /etc/dovecot/dovecot-sql.conf
- sed -i -e '/db sql/,/args/ s|=|= /etc/dovecot-sql.conf|' "${conf}"
- dodoc doc/dovecot-sql-example.conf
- fi
-
- # Install LDAP configuration
- if use ldap ; then
- cp doc/dovecot-ldap-example.conf "${D}"/etc/dovecot/dovecot-ldap.conf
- fperms 600 /etc/dovecot/dovecot-ldap.conf
- sed -i -e '/db ldap/,/args/ s|=|= /etc/dovecot-ldap.conf|' "${conf}"
- dodoc doc/dovecot-ldap-example.conf
- fi
-
- # Install sieve plugin
- if use sieve ; then
- make -C "${SIEVE_S}" DESTDIR="${D}" install || die "make install failed"
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0700 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
-}
-
-get_config_var() {
- sed -n 's/^[[:space:]]\?base_dir[[:space:]]*="*\([^#"]\+\)"*/\1/p' \
- /etc/dovecot/dovecot.conf
-}
-
-pkg_postinst() {
- # Touch ssl certs so that they are modified outisde of src_install
- # We do this so portage does't unmerge them - silly portage
- if use ssl ; then
- touch "${ROOT}"/etc/ssl/dovecot/server.{key,pem}
- fi
-
- elog "The dovecot configuration has vastly changed since 0.99."
- elog "You are encouraged to start afresh with a new configuration file."
- elog "see http://wiki.dovecot.org/ for configuration examples."
-
- if [[ -e ${ROOT}etc/dovecot.conf ]] ; then
- ewarn
- ewarn "dovecot configuration is now in ${ROOT}etc/dovecot"
- fi
-
- local base_dir="$(get_config_var base_dir)"
- base_dir="${basedir:-/var/run/dovecot}"
- if use ssl \
- && [[ ! -e "${ROOT}/${base_dir}/login/ssl-parameters.dat" ]] ; then
- elog
- elog "Dovecot requires DH SSL Parameters if you use SSL connections"
- elog "These take some time to make, and dovecot will create them before"
- elog "it allows any SSL connections."
- elog "You can create them now before starting dovecot like so"
- elog " emerge --config =${PF}"
- fi
-}
-
-pkg_config() {
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
-
- einfo "Regenerating SSL parameters. This will take some time."
- /usr/libexec/dovecot/ssl-build-param "${base_dir}/login/ssl-parameters.dat"
-}
diff --git a/net-mail/dovecot/dovecot-1.0.7.ebuild b/net-mail/dovecot/dovecot-1.0.7.ebuild
deleted file mode 100644
index 429ac7463152..000000000000
--- a/net-mail/dovecot/dovecot-1.0.7.ebuild
+++ /dev/null
@@ -1,205 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.0.7.ebuild,v 1.1 2007/10/30 00:13:41 uberlord Exp $
-
-inherit autotools eutils ssl-cert
-
-MY_P="${P/_/.}"
-S="${WORKDIR}/${MY_P}"
-SIEVE="dovecot-sieve-1.0.2"
-SIEVE_S="${WORKDIR}/${SIEVE}"
-
-SRC_URI="http://dovecot.org/releases/1.0/${MY_P}.tar.gz
-sieve? ( http://dovecot.org/releases/sieve/${SIEVE}.tar.gz )"
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://dovecot.org/"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
-
-IUSE="debug doc ipv6 kerberos ldap mbox mysql pop3d pam postgres sieve ssl suid vpopmail"
-
-# Developer documentation, controlled by the doc USE flag
-DEVDOCS="auth-protocol index multiaccess securecoding"
-
-DEPEND=">=sys-apps/sed-4
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql )
- mysql? ( virtual/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-pkg_setup() {
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
- local myconf=
- use ssl && myconf="${myconf} --with-ssl=openssl" \
- || myconf="${myconf} --without-ssl"
-
- econf --localstatedir=/var --sysconfdir=/etc/dovecot \
- --enable-header-install \
- --with-ioloop=best --with-poll=best \
- $(use_enable debug) \
- $(use_enable ipv6) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with pam) \
- $(use_with pop3d) \
- $(use_with postgres pgsql) \
- $(use_with vpopmail) \
- ${myconf} || die "configure failed"
- emake || die "make failed"
-
- if use sieve ; then
- einfo "Building sieve"
- cd "${SIEVE_S}"
- econf --with-dovecot="${S}" || die "configure failed"
- emake || die "make failed"
- fi
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
- use suid && fperms u+s /usr/libexec/dovecot/deliver
-
- rm -f "${D}"/etc/dovecot/dovecot-{ldap,sql}-example.conf
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
- if use doc ; then
- dodoc doc/*.txt
- else
- local x= n=
- for x in doc/*.txt ; do
- n=$(basename "${x}" .txt)
- [[ " ${DEVDOCS} " != *" ${n} "* ]] && dodoc "${x}"
- done
- fi
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${D}/etc/dovecot/dovecot.conf"
- mv "${D}"/etc/dovecot/dovecot-example.conf "${D}"/etc/dovecot/dovecot.conf
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mail_location="maildir:~/.maildir"
- if use mbox ; then
- mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_extra_groups =|mail_extra_groups = mail|' "${conf}"
- fi
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" "${conf}" || die
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam ; then
- sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${conf}" || die
- fi
-
- # Listen on ipv6 and ipv4
- if use ipv6 ; then
- sed -i -e 's/^#listen = \*/listen = \[::\]/g' "${conf}" || die
- fi
-
- # Update ssl cert locations
- if use ssl ; then
- sed -i -e 's,^#ssl_cert_file =.*,ssl_cert_file = /etc/ssl/dovecot/server.pem,' \
- -e 's,^#ssl_key_file =.*,ssl_key_file = /etc/ssl/dovecot/server.key,' \
- "${conf}" || die
-
- # Let's not make a new certificate if we already have one
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
- insinto "${ROOT}"/etc/ssl/dovecot
- docert server
- fowners dovecot:mail /etc/ssl/dovecot/server.{key,pem}
- fi
- fi
-
- # Install SQL configuration
- if use mysql || use postgres ; then
- cp doc/dovecot-sql-example.conf "${D}"/etc/dovecot/dovecot-sql.conf
- fperms 600 /etc/dovecot/dovecot-sql.conf
- sed -i -e '/db sql/,/args/ s|=|= /etc/dovecot-sql.conf|' "${conf}"
- dodoc doc/dovecot-sql-example.conf
- fi
-
- # Install LDAP configuration
- if use ldap ; then
- cp doc/dovecot-ldap-example.conf "${D}"/etc/dovecot/dovecot-ldap.conf
- fperms 600 /etc/dovecot/dovecot-ldap.conf
- sed -i -e '/db ldap/,/args/ s|=|= /etc/dovecot-ldap.conf|' "${conf}"
- dodoc doc/dovecot-ldap-example.conf
- fi
-
- # Install sieve plugin
- if use sieve ; then
- make -C "${SIEVE_S}" DESTDIR="${D}" install || die "make install failed"
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0700 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
-}
-
-get_config_var() {
- sed -n 's/^[[:space:]]\?base_dir[[:space:]]*="*\([^#"]\+\)"*/\1/p' \
- /etc/dovecot/dovecot.conf
-}
-
-pkg_postinst() {
- # Touch ssl certs so that they are modified outisde of src_install
- # We do this so portage does't unmerge them - silly portage
- if use ssl ; then
- touch "${ROOT}"/etc/ssl/dovecot/server.{key,pem}
- fi
-
- elog "The dovecot configuration has vastly changed since 0.99."
- elog "You are encouraged to start afresh with a new configuration file."
- elog "see http://wiki.dovecot.org/ for configuration examples."
-
- if [[ -e ${ROOT}etc/dovecot.conf ]] ; then
- ewarn
- ewarn "dovecot configuration is now in ${ROOT}etc/dovecot"
- fi
-
- local base_dir="$(get_config_var base_dir)"
- base_dir="${basedir:-/var/run/dovecot}"
- if use ssl \
- && [[ ! -e "${ROOT}/${base_dir}/login/ssl-parameters.dat" ]] ; then
- elog
- elog "Dovecot requires DH SSL Parameters if you use SSL connections"
- elog "These take some time to make, and dovecot will create them before"
- elog "it allows any SSL connections."
- elog "You can create them now before starting dovecot like so"
- elog " emerge --config =${PF}"
- fi
-}
-
-pkg_config() {
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
-
- einfo "Regenerating SSL parameters. This will take some time."
- /usr/libexec/dovecot/ssl-build-param "${base_dir}/login/ssl-parameters.dat"
-}
diff --git a/net-mail/dovecot/dovecot-1.1_beta11.ebuild b/net-mail/dovecot/dovecot-1.1_beta11.ebuild
deleted file mode 100644
index ec47ffe7a00d..000000000000
--- a/net-mail/dovecot/dovecot-1.1_beta11.ebuild
+++ /dev/null
@@ -1,227 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.1_beta11.ebuild,v 1.2 2007/12/12 20:23:56 mr_bones_ Exp $
-
-inherit autotools eutils ssl-cert
-
-MY_P="${P/_/.}"
-S="${WORKDIR}/${MY_P}"
-SIEVE="dovecot-sieve-1.1.2"
-SIEVE_S="${WORKDIR}/${SIEVE}"
-#MANAGESIEVE="dovecot-1.0.7-MANAGESIEVE-v9"
-
-SRC_URI="http://dovecot.org/releases/1.1/beta/${MY_P}.tar.gz
-sieve? ( http://dovecot.org/releases/sieve/${SIEVE}.tar.gz )"
-#managesieve? ( http://sinas.rename-it.nl/~sirius/${MANAGESIEVE}.diff.gz )"
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://www.dovecot.org/"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="-* ~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
-
-IUSE="debug doc ipv6 kerberos ldap mbox mysql pop3d pam postgres sieve ssl suid vpopmail" # managesieve
-
-# Developer documentation, controlled by the doc USE flag
-DEVDOCS="auth-protocol index multiaccess securecoding"
-
-DEPEND=">=sys-apps/sed-4
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql )
- mysql? ( virtual/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-# use managesieve && epatch "${DISTDIR}"/${MANAGESIEVE}.diff.gz
-}
-
-pkg_setup() {
-# if ! use sieve && use managesieve; then
-# eerror "managesieve USE flag selected but sieve USE flag unselected"
-# die "USE flag problem"
-# fi
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
-# use managesieve && eautoreconf
- local myconf=
- use ssl && myconf="${myconf} --with-ssl=openssl" \
- || myconf="${myconf} --without-ssl"
- econf \
- --localstatedir=/var \
- --sysconfdir=/etc/dovecot \
- --enable-header-install \
- --with-ioloop=best \
- --with-poll=best \
- $(use_enable debug) \
- $(use_enable ipv6) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with pam) \
- $(use_with pop3d) \
- $(use_with postgres pgsql) \
- $(use_with vpopmail) \
- ${myconf} \
- || die "configure failed"
- emake || die "make failed"
-
- if use sieve; then
- einfo "Building sieve"
- cd "${SIEVE_S}"
- econf --with-dovecot="${S}" || die "configure failed (sieve)"
- emake || die "make failed (sieve)"
- fi
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
- use suid && fperms u+s /usr/libexec/dovecot/deliver
-
- rm -f "${D}"/etc/dovecot/dovecot-{ldap,sql}-example.conf
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
-# use managesieve && dodoc README.managesieve
- if use doc; then
- dodoc doc/*.txt
- else
- local x= n=
- for x in doc/*.txt; do
- n=$(basename "${x}" .txt)
- [[ " ${DEVDOCS} " != *" ${n} "* ]] && dodoc "${x}"
- done
- fi
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${D}/etc/dovecot/dovecot.conf"
- mv "${D}"/etc/dovecot/dovecot-example.conf "${D}"/etc/dovecot/dovecot.conf
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mail_location="maildir:~/.maildir"
- if use mbox; then
- mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_extra_groups =|mail_extra_groups = mail|' "${conf}"
- fi
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" "${conf}" \
- || die "failed to update mail location settings in dovecot.conf"
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam; then
- sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${conf}" || die "failed to update PAM settings in dovecot.conf"
- fi
-
- # Listen on ipv6 and ipv4
- if use ipv6; then
- sed -i -e 's/^#listen = \*/listen = \[::\]/g' "${conf}" \
- || die "failed to update listen settings in dovecot.conf"
- fi
-
- # Update ssl cert locations
- if use ssl; then
- sed -i -e 's,^#ssl_cert_file =.*,ssl_cert_file = /etc/ssl/dovecot/server.pem,' \
- -e 's,^#ssl_key_file =.*,ssl_key_file = /etc/ssl/dovecot/server.key,' \
- "${conf}" || die "failed to update SSL settings in dovecot.conf"
- fi
-
- # Install SQL configuration
- if use mysql || use postgres; then
- cp doc/dovecot-sql-example.conf "${D}"/etc/dovecot/dovecot-sql.conf
- fperms 600 /etc/dovecot/dovecot-sql.conf
- sed -i -e '/db sql/,/args/ s|=|= /etc/dovecot-sql.conf|' "${conf}" \
- || die "failed to update SQL settings in dovecot-sql.conf"
- dodoc doc/dovecot-sql-example.conf
- fi
-
- # Install LDAP configuration
- if use ldap; then
- cp doc/dovecot-ldap-example.conf "${D}"/etc/dovecot/dovecot-ldap.conf
- fperms 600 /etc/dovecot/dovecot-ldap.conf
- sed -i -e '/db ldap/,/args/ s|=|= /etc/dovecot-ldap.conf|' "${conf}" \
- || die "failed to update LDAP settings in dovecot-ldap.conf"
- dodoc doc/dovecot-ldap-example.conf
- fi
-
- # Install sieve plugin
- if use sieve; then
- make -C "${SIEVE_S}" DESTDIR="${D}" install \
- || die "make install failed (sieve)"
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0755 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
-}
-
-get_config_var() {
- local varname=${1}
- if [[ -z ${varname} ]]; then
- die "${FUNCNAME}: variable name missing"
- fi
- sed -n 's/^[[:space:]]\?'"${varname}"'[[:space:]]*="*\([^#"]\+\)"*/\1/p' \
- "${ROOT}"/etc/dovecot/dovecot.conf
-}
-
-pkg_postinst() {
- elog "The Dovecot configuration has vastly changed since 0.99."
- elog "You are encouraged to start afresh with a new configuration file."
- elog "see http://wiki.dovecot.org/ for configuration examples."
-
- if [[ -e "${ROOT}"/etc/dovecot.conf ]]; then
- echo
- ewarn "The Dovecot configuration now resides in ${ROOT}/etc/dovecot"
- fi
-
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
- if use ssl; then
- # Let's not make a new certificate if we already have one
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
- einfo "Creating SSL certificate"
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
- install_cert /etc/ssl/dovecot/server
- chown dovecot:mail "${ROOT}"/etc/ssl/dovecot/server.{key,pem}
- fi
- if [[ ! -e "${ROOT}${base_dir}/login/ssl-parameters.dat" ]]; then
- echo
- elog "Dovecot requires DH SSL Parameters if you use SSL connections"
- elog "These take some time to make, and dovecot will create them before"
- elog "it allows any SSL connections."
- elog "You can create them now before starting dovecot like so"
- elog " emerge --config =${PF}"
- fi
- fi
-}
-
-pkg_config() {
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
-
- if use ssl; then
- einfo "Regenerating SSL parameters. This will take some time."
- "${ROOT}"/usr/libexec/dovecot/ssl-build-param "${base_dir}/login/ssl-parameters.dat"
- fi
-}
diff --git a/net-mail/dovecot/dovecot-1.1_beta12.ebuild b/net-mail/dovecot/dovecot-1.1_beta12.ebuild
deleted file mode 100644
index 570012fb6744..000000000000
--- a/net-mail/dovecot/dovecot-1.1_beta12.ebuild
+++ /dev/null
@@ -1,227 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.1_beta12.ebuild,v 1.1 2007/12/29 16:39:58 wschlich Exp $
-
-inherit autotools eutils ssl-cert
-
-MY_P="${P/_/.}"
-S="${WORKDIR}/${MY_P}"
-SIEVE="dovecot-sieve-1.1.2"
-SIEVE_S="${WORKDIR}/${SIEVE}"
-#MANAGESIEVE="dovecot-1.0.7-MANAGESIEVE-v9"
-
-SRC_URI="http://dovecot.org/releases/1.1/beta/${MY_P}.tar.gz
-sieve? ( http://dovecot.org/releases/sieve/${SIEVE}.tar.gz )"
-#managesieve? ( http://sinas.rename-it.nl/~sirius/${MANAGESIEVE}.diff.gz )"
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://www.dovecot.org/"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="-* ~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
-
-IUSE="debug doc ipv6 kerberos ldap mbox mysql pop3d pam postgres sieve ssl suid vpopmail" # managesieve
-
-# Developer documentation, controlled by the doc USE flag
-DEVDOCS="auth-protocol index multiaccess securecoding"
-
-DEPEND=">=sys-apps/sed-4
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql )
- mysql? ( virtual/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-# use managesieve && epatch "${DISTDIR}"/${MANAGESIEVE}.diff.gz
-}
-
-pkg_setup() {
-# if ! use sieve && use managesieve; then
-# eerror "managesieve USE flag selected but sieve USE flag unselected"
-# die "USE flag problem"
-# fi
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
-# use managesieve && eautoreconf
- local myconf=
- use ssl && myconf="${myconf} --with-ssl=openssl" \
- || myconf="${myconf} --without-ssl"
- econf \
- --localstatedir=/var \
- --sysconfdir=/etc/dovecot \
- --enable-header-install \
- --with-ioloop=best \
- --with-poll=best \
- $(use_enable debug) \
- $(use_enable ipv6) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with pam) \
- $(use_with pop3d) \
- $(use_with postgres pgsql) \
- $(use_with vpopmail) \
- ${myconf} \
- || die "configure failed"
- emake || die "make failed"
-
- if use sieve; then
- einfo "Building sieve"
- cd "${SIEVE_S}"
- econf --with-dovecot="${S}" || die "configure failed (sieve)"
- emake || die "make failed (sieve)"
- fi
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
- use suid && fperms u+s /usr/libexec/dovecot/deliver
-
- rm -f "${D}"/etc/dovecot/dovecot-{ldap,sql}-example.conf
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
-# use managesieve && dodoc README.managesieve
- if use doc; then
- dodoc doc/*.txt
- else
- local x= n=
- for x in doc/*.txt; do
- n=$(basename "${x}" .txt)
- [[ " ${DEVDOCS} " != *" ${n} "* ]] && dodoc "${x}"
- done
- fi
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${D}/etc/dovecot/dovecot.conf"
- mv "${D}"/etc/dovecot/dovecot-example.conf "${D}"/etc/dovecot/dovecot.conf
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mail_location="maildir:~/.maildir"
- if use mbox; then
- mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_extra_groups =|mail_extra_groups = mail|' "${conf}"
- fi
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" "${conf}" \
- || die "failed to update mail location settings in dovecot.conf"
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam; then
- sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${conf}" || die "failed to update PAM settings in dovecot.conf"
- fi
-
- # Listen on ipv6 and ipv4
- if use ipv6; then
- sed -i -e 's/^#listen = \*/listen = \[::\]/g' "${conf}" \
- || die "failed to update listen settings in dovecot.conf"
- fi
-
- # Update ssl cert locations
- if use ssl; then
- sed -i -e 's,^#ssl_cert_file =.*,ssl_cert_file = /etc/ssl/dovecot/server.pem,' \
- -e 's,^#ssl_key_file =.*,ssl_key_file = /etc/ssl/dovecot/server.key,' \
- "${conf}" || die "failed to update SSL settings in dovecot.conf"
- fi
-
- # Install SQL configuration
- if use mysql || use postgres; then
- cp doc/dovecot-sql-example.conf "${D}"/etc/dovecot/dovecot-sql.conf
- fperms 600 /etc/dovecot/dovecot-sql.conf
- sed -i -e '/db sql/,/args/ s|=|= /etc/dovecot-sql.conf|' "${conf}" \
- || die "failed to update SQL settings in dovecot-sql.conf"
- dodoc doc/dovecot-sql-example.conf
- fi
-
- # Install LDAP configuration
- if use ldap; then
- cp doc/dovecot-ldap-example.conf "${D}"/etc/dovecot/dovecot-ldap.conf
- fperms 600 /etc/dovecot/dovecot-ldap.conf
- sed -i -e '/db ldap/,/args/ s|=|= /etc/dovecot-ldap.conf|' "${conf}" \
- || die "failed to update LDAP settings in dovecot-ldap.conf"
- dodoc doc/dovecot-ldap-example.conf
- fi
-
- # Install sieve plugin
- if use sieve; then
- make -C "${SIEVE_S}" DESTDIR="${D}" install \
- || die "make install failed (sieve)"
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0755 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
-}
-
-get_config_var() {
- local varname=${1}
- if [[ -z ${varname} ]]; then
- die "${FUNCNAME}: variable name missing"
- fi
- sed -n 's/^[[:space:]]\?'"${varname}"'[[:space:]]*="*\([^#"]\+\)"*/\1/p' \
- "${ROOT}"/etc/dovecot/dovecot.conf
-}
-
-pkg_postinst() {
- elog "The Dovecot configuration has vastly changed since 0.99."
- elog "You are encouraged to start afresh with a new configuration file."
- elog "see http://wiki.dovecot.org/ for configuration examples."
-
- if [[ -e "${ROOT}"/etc/dovecot.conf ]]; then
- echo
- ewarn "The Dovecot configuration now resides in ${ROOT}/etc/dovecot"
- fi
-
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
- if use ssl; then
- # Let's not make a new certificate if we already have one
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
- einfo "Creating SSL certificate"
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
- install_cert /etc/ssl/dovecot/server
- chown dovecot:mail "${ROOT}"/etc/ssl/dovecot/server.{key,pem}
- fi
- if [[ ! -e "${ROOT}${base_dir}/login/ssl-parameters.dat" ]]; then
- echo
- elog "Dovecot requires DH SSL Parameters if you use SSL connections"
- elog "These take some time to make, and dovecot will create them before"
- elog "it allows any SSL connections."
- elog "You can create them now before starting dovecot like so"
- elog " emerge --config =${PF}"
- fi
- fi
-}
-
-pkg_config() {
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
-
- if use ssl; then
- einfo "Regenerating SSL parameters. This will take some time."
- "${ROOT}"/usr/libexec/dovecot/ssl-build-param "${base_dir}/login/ssl-parameters.dat"
- fi
-}
diff --git a/net-mail/dovecot/dovecot-1.1_beta13.ebuild b/net-mail/dovecot/dovecot-1.1_beta13.ebuild
deleted file mode 100644
index 3101b4a3a2d0..000000000000
--- a/net-mail/dovecot/dovecot-1.1_beta13.ebuild
+++ /dev/null
@@ -1,227 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/dovecot-1.1_beta13.ebuild,v 1.1 2007/12/30 14:16:38 wschlich Exp $
-
-inherit autotools eutils ssl-cert
-
-MY_P="${P/_/.}"
-S="${WORKDIR}/${MY_P}"
-SIEVE="dovecot-sieve-1.1.2"
-SIEVE_S="${WORKDIR}/${SIEVE}"
-#MANAGESIEVE="dovecot-1.0.7-MANAGESIEVE-v9"
-
-SRC_URI="http://dovecot.org/releases/1.1/beta/${MY_P}.tar.gz
-sieve? ( http://dovecot.org/releases/sieve/${SIEVE}.tar.gz )"
-#managesieve? ( http://sinas.rename-it.nl/~sirius/${MANAGESIEVE}.diff.gz )"
-
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind"
-HOMEPAGE="http://www.dovecot.org/"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="-* ~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
-
-IUSE="debug doc ipv6 kerberos ldap mbox mysql pop3d pam postgres sieve ssl suid vpopmail" # managesieve
-
-# Developer documentation, controlled by the doc USE flag
-DEVDOCS="auth-protocol index multiaccess securecoding"
-
-DEPEND=">=sys-apps/sed-4
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap )
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- postgres? ( dev-db/postgresql )
- mysql? ( virtual/mysql )
- vpopmail? ( net-mail/vpopmail )"
-
-RDEPEND="${DEPEND}
- >=net-mail/mailbase-0.00-r8"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-# use managesieve && epatch "${DISTDIR}"/${MANAGESIEVE}.diff.gz
-}
-
-pkg_setup() {
-# if ! use sieve && use managesieve; then
-# eerror "managesieve USE flag selected but sieve USE flag unselected"
-# die "USE flag problem"
-# fi
- # Add user and group for login process (same as for fedora/redhat)
- enewgroup dovecot 97
- enewuser dovecot 97 -1 /dev/null dovecot
-}
-
-src_compile() {
-# use managesieve && eautoreconf
- local myconf=
- use ssl && myconf="${myconf} --with-ssl=openssl" \
- || myconf="${myconf} --without-ssl"
- econf \
- --localstatedir=/var \
- --sysconfdir=/etc/dovecot \
- --enable-header-install \
- --with-ioloop=best \
- --with-poll=best \
- $(use_enable debug) \
- $(use_enable ipv6) \
- $(use_with kerberos gssapi) \
- $(use_with ldap) \
- $(use_with mysql) \
- $(use_with pam) \
- $(use_with pop3d) \
- $(use_with postgres pgsql) \
- $(use_with vpopmail) \
- ${myconf} \
- || die "configure failed"
- emake || die "make failed"
-
- if use sieve; then
- einfo "Building sieve"
- cd "${SIEVE_S}"
- econf --with-dovecot="${S}" || die "configure failed (sieve)"
- emake || die "make failed (sieve)"
- fi
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
- use suid && fperms u+s /usr/libexec/dovecot/deliver
-
- rm -f "${D}"/etc/dovecot/dovecot-{ldap,sql}-example.conf
-
- newinitd "${FILESDIR}"/dovecot.init dovecot
-
- # Documentation
- rm -rf "${D}"/usr/share/doc/dovecot
- dodoc AUTHORS NEWS README TODO dovecot-example.conf
-# use managesieve && dodoc README.managesieve
- if use doc; then
- dodoc doc/*.txt
- else
- local x= n=
- for x in doc/*.txt; do
- n=$(basename "${x}" .txt)
- [[ " ${DEVDOCS} " != *" ${n} "* ]] && dodoc "${x}"
- done
- fi
-
- # Create the dovecot.conf file from the dovecot-example.conf file that
- # the dovecot folks nicely left for us....
- local conf="${D}/etc/dovecot/dovecot.conf"
- mv "${D}"/etc/dovecot/dovecot-example.conf "${D}"/etc/dovecot/dovecot.conf
-
- # .maildir is the Gentoo default, but we need to support mbox to
- local mail_location="maildir:~/.maildir"
- if use mbox; then
- mail_location="mbox:/var/spool/mail/%u:INDEX=/var/dovecot/%u"
- keepdir /var/dovecot
- sed -i -e 's|#mail_extra_groups =|mail_extra_groups = mail|' "${conf}"
- fi
- sed -i -e \
- "s|#mail_location =|mail_location = ${mail_location}|" "${conf}" \
- || die "failed to update mail location settings in dovecot.conf"
-
- # We're using pam files (imap and pop3) provided by mailbase
- if use pam; then
- sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \
- "${conf}" || die "failed to update PAM settings in dovecot.conf"
- fi
-
- # Listen on ipv6 and ipv4
- if use ipv6; then
- sed -i -e 's/^#listen = \*/listen = \[::\]/g' "${conf}" \
- || die "failed to update listen settings in dovecot.conf"
- fi
-
- # Update ssl cert locations
- if use ssl; then
- sed -i -e 's,^#ssl_cert_file =.*,ssl_cert_file = /etc/ssl/dovecot/server.pem,' \
- -e 's,^#ssl_key_file =.*,ssl_key_file = /etc/ssl/dovecot/server.key,' \
- "${conf}" || die "failed to update SSL settings in dovecot.conf"
- fi
-
- # Install SQL configuration
- if use mysql || use postgres; then
- cp doc/dovecot-sql-example.conf "${D}"/etc/dovecot/dovecot-sql.conf
- fperms 600 /etc/dovecot/dovecot-sql.conf
- sed -i -e '/db sql/,/args/ s|=|= /etc/dovecot-sql.conf|' "${conf}" \
- || die "failed to update SQL settings in dovecot-sql.conf"
- dodoc doc/dovecot-sql-example.conf
- fi
-
- # Install LDAP configuration
- if use ldap; then
- cp doc/dovecot-ldap-example.conf "${D}"/etc/dovecot/dovecot-ldap.conf
- fperms 600 /etc/dovecot/dovecot-ldap.conf
- sed -i -e '/db ldap/,/args/ s|=|= /etc/dovecot-ldap.conf|' "${conf}" \
- || die "failed to update LDAP settings in dovecot-ldap.conf"
- dodoc doc/dovecot-ldap-example.conf
- fi
-
- # Install sieve plugin
- if use sieve; then
- make -C "${SIEVE_S}" DESTDIR="${D}" install \
- || die "make install failed (sieve)"
- fi
-
- dodir /var/run/dovecot
- fowners root:0 /var/run/dovecot
- fperms 0755 /var/run/dovecot
- keepdir /var/run/dovecot/login
- fowners root:dovecot /var/run/dovecot/login
- fperms 0750 /var/run/dovecot/login
-}
-
-get_config_var() {
- local varname=${1}
- if [[ -z ${varname} ]]; then
- die "${FUNCNAME}: variable name missing"
- fi
- sed -n 's/^[[:space:]]\?'"${varname}"'[[:space:]]*="*\([^#"]\+\)"*/\1/p' \
- "${ROOT}"/etc/dovecot/dovecot.conf
-}
-
-pkg_postinst() {
- elog "The Dovecot configuration has vastly changed since 0.99."
- elog "You are encouraged to start afresh with a new configuration file."
- elog "see http://wiki.dovecot.org/ for configuration examples."
-
- if [[ -e "${ROOT}"/etc/dovecot.conf ]]; then
- echo
- ewarn "The Dovecot configuration now resides in ${ROOT}/etc/dovecot"
- fi
-
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
- if use ssl; then
- # Let's not make a new certificate if we already have one
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
- einfo "Creating SSL certificate"
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
- install_cert /etc/ssl/dovecot/server
- chown dovecot:mail "${ROOT}"/etc/ssl/dovecot/server.{key,pem}
- fi
- if [[ ! -e "${ROOT}${base_dir}/login/ssl-parameters.dat" ]]; then
- echo
- elog "Dovecot requires DH SSL Parameters if you use SSL connections"
- elog "These take some time to make, and dovecot will create them before"
- elog "it allows any SSL connections."
- elog "You can create them now before starting dovecot like so"
- elog " emerge --config =${PF}"
- fi
- fi
-}
-
-pkg_config() {
- local base_dir="$(get_config_var base_dir)"
- base_dir="${base_dir:-/var/run/dovecot}"
-
- if use ssl; then
- einfo "Regenerating SSL parameters. This will take some time."
- "${ROOT}"/usr/libexec/dovecot/ssl-build-param "${base_dir}/login/ssl-parameters.dat"
- fi
-}
diff --git a/net-mail/dovecot/files/digest-dovecot-1.0.3 b/net-mail/dovecot/files/digest-dovecot-1.0.3
deleted file mode 100644
index 7482717d97da..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-1.0.3
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 1d7cc3c4964789554553e7e4ea3f82b4 dovecot-1.0.3.tar.gz 1773226
-RMD160 fa3d832799a16212eb9e80b21e60aa6b8c8bfd3d dovecot-1.0.3.tar.gz 1773226
-SHA256 5f361980448d0d2411bd9ad950ac8aafb95f39cb7c2bc7652df5f624f7d26391 dovecot-1.0.3.tar.gz 1773226
-MD5 508926fc9ff8e0f6e13506e237d4916b dovecot-sieve-1.0.2.tar.gz 451753
-RMD160 8bed283ae672aafa61271f154f1f58d200bd4f5f dovecot-sieve-1.0.2.tar.gz 451753
-SHA256 9042eaf6d1237577a67ab3aa233953d640f62a296c5ffaaaed75ff25b657642a dovecot-sieve-1.0.2.tar.gz 451753
diff --git a/net-mail/dovecot/files/digest-dovecot-1.0.5 b/net-mail/dovecot/files/digest-dovecot-1.0.5
deleted file mode 100644
index 737a0eada027..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-1.0.5
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 94b7d29cf44f63f89d538361afa05c40 dovecot-1.0.5.tar.gz 1775898
-RMD160 da34fe38101b067644276144f189688e0827e54b dovecot-1.0.5.tar.gz 1775898
-SHA256 938edb1c767282ec0299fd99e71e4ce1a1f9f119623ef9f8b47776ab6a504024 dovecot-1.0.5.tar.gz 1775898
-MD5 508926fc9ff8e0f6e13506e237d4916b dovecot-sieve-1.0.2.tar.gz 451753
-RMD160 8bed283ae672aafa61271f154f1f58d200bd4f5f dovecot-sieve-1.0.2.tar.gz 451753
-SHA256 9042eaf6d1237577a67ab3aa233953d640f62a296c5ffaaaed75ff25b657642a dovecot-sieve-1.0.2.tar.gz 451753
diff --git a/net-mail/dovecot/files/digest-dovecot-1.0.6 b/net-mail/dovecot/files/digest-dovecot-1.0.6
deleted file mode 100644
index 2f01d9436f82..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-1.0.6
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 c8ecdc0379b05cc24d089c11b8122765 dovecot-1.0.6.tar.gz 1783566
-RMD160 eb4d76e70820a4ed5f03806ad2fd6bd793a597b5 dovecot-1.0.6.tar.gz 1783566
-SHA256 96d3c20811e269a8ed367a9a420580d2098403182b41b2cb0383b6e56191e5e6 dovecot-1.0.6.tar.gz 1783566
-MD5 508926fc9ff8e0f6e13506e237d4916b dovecot-sieve-1.0.2.tar.gz 451753
-RMD160 8bed283ae672aafa61271f154f1f58d200bd4f5f dovecot-sieve-1.0.2.tar.gz 451753
-SHA256 9042eaf6d1237577a67ab3aa233953d640f62a296c5ffaaaed75ff25b657642a dovecot-sieve-1.0.2.tar.gz 451753
diff --git a/net-mail/dovecot/files/digest-dovecot-1.0.7 b/net-mail/dovecot/files/digest-dovecot-1.0.7
deleted file mode 100644
index 746ed4089371..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-1.0.7
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 4d0dbe1fe87fd0f69acd28d100fe72ab dovecot-1.0.7.tar.gz 1783918
-RMD160 94a1f99aa0c2a7c2db8a106733f2de37080fd1eb dovecot-1.0.7.tar.gz 1783918
-SHA256 7e0521a6efc94e6d3d02d172de1dd0fcd38aaccd35b05b0bb368e8919d8622f3 dovecot-1.0.7.tar.gz 1783918
-MD5 508926fc9ff8e0f6e13506e237d4916b dovecot-sieve-1.0.2.tar.gz 451753
-RMD160 8bed283ae672aafa61271f154f1f58d200bd4f5f dovecot-sieve-1.0.2.tar.gz 451753
-SHA256 9042eaf6d1237577a67ab3aa233953d640f62a296c5ffaaaed75ff25b657642a dovecot-sieve-1.0.2.tar.gz 451753
diff --git a/net-mail/dovecot/files/digest-dovecot-1.1_beta11 b/net-mail/dovecot/files/digest-dovecot-1.1_beta11
deleted file mode 100644
index 10c060ccdc6e..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-1.1_beta11
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 4f6d51f3aadae58f1fa3b024f317fbad dovecot-1.1.beta11.tar.gz 2191702
-RMD160 8e12488e4d1c7023d6a95f5e49963898861b7ade dovecot-1.1.beta11.tar.gz 2191702
-SHA256 273b06a5b69873f7b29c0e67809cf4b1a9e41f14194089f65718739fe7e99509 dovecot-1.1.beta11.tar.gz 2191702
-MD5 39a078ca358dbc3f2b70e5f32e480d21 dovecot-sieve-1.1.2.tar.gz 464909
-RMD160 69ed0d7cdbc4a1299ff0483748d968a761acd794 dovecot-sieve-1.1.2.tar.gz 464909
-SHA256 fb531f1ccee182b53af4473bff80fefc59899068b5eca8a037e9d1cc719c75ef dovecot-sieve-1.1.2.tar.gz 464909
diff --git a/net-mail/dovecot/files/digest-dovecot-1.1_beta12 b/net-mail/dovecot/files/digest-dovecot-1.1_beta12
deleted file mode 100644
index 1d89786fa772..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-1.1_beta12
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 7dd19d44d7325fe9d893da11579a82d2 dovecot-1.1.beta12.tar.gz 2185627
-RMD160 19dc6477fd6f0a9415f883e97c546e7dbbb382a6 dovecot-1.1.beta12.tar.gz 2185627
-SHA256 d9b769139f9c3b644bd2be6c1b5e01d930dac956aa7940c106ec0b6fe9b9d4a9 dovecot-1.1.beta12.tar.gz 2185627
-MD5 39a078ca358dbc3f2b70e5f32e480d21 dovecot-sieve-1.1.2.tar.gz 464909
-RMD160 69ed0d7cdbc4a1299ff0483748d968a761acd794 dovecot-sieve-1.1.2.tar.gz 464909
-SHA256 fb531f1ccee182b53af4473bff80fefc59899068b5eca8a037e9d1cc719c75ef dovecot-sieve-1.1.2.tar.gz 464909
diff --git a/net-mail/dovecot/files/digest-dovecot-1.1_beta13 b/net-mail/dovecot/files/digest-dovecot-1.1_beta13
deleted file mode 100644
index 1e7e38664f12..000000000000
--- a/net-mail/dovecot/files/digest-dovecot-1.1_beta13
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 ca676483a6a3705288f6d67b1be92e29 dovecot-1.1.beta13.tar.gz 2201572
-RMD160 d9b64206ebe7ba5a8d6a4abf419e5eb5ce6855da dovecot-1.1.beta13.tar.gz 2201572
-SHA256 767b149ba3e9f964e1de78f24090feab8750fc9b6b359be83ad2341c3a60178b dovecot-1.1.beta13.tar.gz 2201572
-MD5 39a078ca358dbc3f2b70e5f32e480d21 dovecot-sieve-1.1.2.tar.gz 464909
-RMD160 69ed0d7cdbc4a1299ff0483748d968a761acd794 dovecot-sieve-1.1.2.tar.gz 464909
-SHA256 fb531f1ccee182b53af4473bff80fefc59899068b5eca8a037e9d1cc719c75ef dovecot-sieve-1.1.2.tar.gz 464909