Remove old
authorEray Aslan <eras@gentoo.org>
Mon, 2 Mar 2015 08:26:47 +0000 (08:26 +0000)
committerEray Aslan <eras@gentoo.org>
Mon, 2 Mar 2015 08:26:47 +0000 (08:26 +0000)
Package-Manager: portage-2.2.17/cvs/Linux x86_64
Manifest-Sign-Key: 0x77F1F175586A3B1F

mail-mta/postfix/ChangeLog
mail-mta/postfix/Manifest
mail-mta/postfix/postfix-2.10.2.ebuild [deleted file]
mail-mta/postfix/postfix-2.10.3.ebuild [deleted file]
mail-mta/postfix/postfix-2.10.4.ebuild [deleted file]
mail-mta/postfix/postfix-2.10.5.ebuild [deleted file]

index bef92ac44d3337b30942cdbc694e8df83c108515..817e138e99c04457e383b01ab6ae450b3acd3fb4 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for mail-mta/postfix
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.569 2015/03/02 08:25:41 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.570 2015/03/02 08:26:46 eras Exp $
+
+  02 Mar 2015; Eray Aslan <eras@gentoo.org> -postfix-2.10.2.ebuild,
+  -postfix-2.10.3.ebuild, -postfix-2.10.4.ebuild, -postfix-2.10.5.ebuild:
+  Remove old
 
 *postfix-2.10.6 (02 Mar 2015)
 
index 3e81e489e0fc56c3056bfcc96f1a7656e3477317..1418a72a6d16479c29f3e07b5b5f788f31b99f22 100644 (file)
@@ -6,44 +6,36 @@ AUX postfix.rc6.2.7 2217 SHA256 51f4bffa535d891f94d4a20ca2a4a42cc99189f3de78cee1
 AUX postfix.service 267 SHA256 5d6aa3489e8d66a29d132d7170d1fd3b4c36374486c76764df8efc42457739ee SHA512 83def57dd70caca1c07d8493289573342c341c2fe2b376f68df3647be7a3bace9fa57ad07e3b52fc0ca56ea4c7cdfb094e74775c335d18ddd5fdc4632f721915 WHIRLPOOL f1faf22f0c0b8c33f9ae327a81792508e53101eca8c7d7db985d8898f10e985118f2231c09c444e907580061a4adee1de1788f74b7af3ffaafca22c07dee474b
 AUX smtp.pass 141 SHA256 c9b3b56a8df2367cc15bc43a70304fac7ebdd7697e1d450d1bcb4bfdd3e078e9 SHA512 652b43be887109bf162647e9c0f08dc4283c9fa8795c11c14e88c60984e07593a4cff9e0e6c5dc92c484f547ae0be50a078599fc2fd67a66903b3ac7a8854b55 WHIRLPOOL f075d66d8ae7a13645066e572ab634721aada5aa828380afc5d45f26a6dd34165069bdc7b2edb89357330863f5aac40ee105bbef284392043589a2921381eb1f
 AUX smtp.sasl 147 SHA256 0ef6a2a7846498f56b9a8879f561a51c1e3a203ba90b2991d499afa69fd85629 SHA512 0beba4baecb4c4abdd3d2dd61e9e56d3abbc0035184992c98c57538b9244c6a07470974afe663775c3f3f10354e64457aa07e657dfd212e31a0920e3f04a6000 WHIRLPOOL 0c3eef040dd4486e007c31111b965725d3e9cf5a896881e0c927a715598dcc936dbf1034d6add2e6fb8ef4bd0114a7a49a8bba6f27b14aac30023457a1da12a3
-DIST postfix-2.10.2.tar.gz 3828326 SHA256 f1a735a5a9ffeac8fca59046c437c3b76e7f923fb4249db2a55b2bff0306ddd4 SHA512 fa6c123da040a8e332c0bf2430f5b098523c2eff42a6cf4bfe6618b82d59be8e5a7f5c85b09ab8fd0312058b2135b174e00890423e4d3f8f732c3dc3c91f01c3 WHIRLPOOL 4e1e453ecd653058faf7420d6bfb6ac6a6c343f03f9c1a4213c403a7164d99f659a0b9ba744b803c3d94cfaf3216d3505f44d22069421f6cc4a4651b6be1f316
-DIST postfix-2.10.3.tar.gz 3828808 SHA256 7815d8ad88af76e0962f18bf1e80b1aa5a0d096a00dac1d313fbab3e824b3f5b SHA512 f21ae36f9fa7fd8ad1727f5595e0f65fe49a3a5937269ad68b0a96e666e61d49cf6c72303d84c81ae7fc902146121443f9e27b876b447594557a756f239937d1 WHIRLPOOL b7a7c6f31a78a9ce92ca072c11e1ecc44c72cd5c37fb2067f91a4bcb2a92556e60f41ba23e065c31acd58a97f5497d4f62af01edd3003de5e6c6879a304a4a9f
-DIST postfix-2.10.4.tar.gz 3829427 SHA256 e5233438420fbd6b49a64f007bd8da7dd046777436fb82dd50eadcd8901e7201 SHA512 619b6e2cfa0bd50148fe7ad7df09c13b9e5e8e43fe9331ce03010911f02b9daac16df863cc3ce604375f7e3ae076bf316fed7ffb6f424f873c869d3797d5c81f WHIRLPOOL c7b23975484383be1001f5da96a98614ac96f50c9083fff0986c8303933f51c673c1cd389dbaaa92c17b0f3c087f7979ef9d2a03cfa03c1d5f6c771554269cad
-DIST postfix-2.10.5.tar.gz 3830067 SHA256 3a172c1e892b951dfe3d4e703f49359a66b281b3ab7b4e987b6746d2992f623b SHA512 d11beac9fa7a1fe50b522d91975d493e485721596e7930051d9880947ca88e75468ad2036e0902e34b39f44d115c4492c2599bfca5477b28a39672109eda3b0e WHIRLPOOL 22935c2520d349c04a50c88d783fcc9d8ea69f8275f8ec62e7c12a484474e570f4ba2355ddb75edcc49dabe59c3ecb7b9fba95359b5cce4f521f0af666d11f5e
 DIST postfix-2.10.6.tar.gz 3830356 SHA256 d3d31ec52432e26972c00129cff2382f3f036e691d7c752e7974030789477c55 SHA512 5075485e71f386f11fb560180109b2e8ade60c583a3d79fb7e013cf1887acceb2904b583da85abbd1201e03e813eb5e7f5ee24546fb29191d77a07bf99f443c5 WHIRLPOOL 6e98b6dcaa353fcfb3fc69f8bebcfb67e8e6590d7a7c60f8737e4a80d8a84d9c4a781b1fa06983de35c6e718b3abda2decd09ed0d89388a3d089a3ba1e6cb69e
 DIST postfix-2.11.3.tar.gz 4039705 SHA256 04e5146e6e56261baae9f63c590348a4b12ce22d3d46260e26e97233f40802c3 SHA512 b371f1099b1e6e653242a9b4f3812b38b6a9145a4f4c1c9fa5bef6a02e1a9a8f4ec2979c8946f6c873e303ac54f5dd1a84b934eeea8169e2ce187028c36c857e WHIRLPOOL 7b639ae7a5d0bf16ec0c1568b6f1bb486ccf540ae75269d97be36135441513730d78449b29c99403c6876609ddcc676f5740683a963281f1b2481c33bd4cab8e
 DIST postfix-2.11.4.tar.gz 4040104 SHA256 f4154c1db58c0300897d4c430bd90714ac7855249df59cc8828910fd5ccb031e SHA512 b9c0f065519367fb52c58eeeaed62996da7244c362e5ff9fa9fe5263a06a5fb99a3e30cdf044de0165976581e0bfad89681974ad1b3abbeaedb691db2c20336b WHIRLPOOL 3075c8ff2be9a47c769738f00169a799fe8f2531f21a88efc83e0be386636d9ee5d5a6b205a313e359e5913abe47943fdf264fb08f40173c5ede38427dbb880d
 DIST postfix-3.0.0.tar.gz 4239248 SHA256 c2f2f10aa3e6b7090ba979e9c515e42b3140c5c1c17a33d58787569df7ae0955 SHA512 ba5b67a8f03c6fe6bbb62e2aad981a6f3ba8266ea2fa93abfa5d31cdb20b2d5a47fc373f401b247ca2cb5a19e654f86b2a65fe906c102d729e472b6c5ff1cd7a WHIRLPOOL 1510a17f3376d77eb503b3adf47639f6466a38e20a06ebf7ae0ec6849dc2ea332377c82af816f298a2719bccc4917d14132ee9e11c14cbafa3ea53ec40056f50
 DIST postfix-3.1-20150208.tar.gz 4283031 SHA256 268527acf50f33bfd4456a10bd0664f89b99e6f83ae7c612f8c281281d926db6 SHA512 9ca43458661225536e5d6cfbe9338fe254056dc9b30953801df0c2a030064fe2cbcbf2c164cdfb228a6304fda6f73279caa5eb57ed44daf48cb935a6bbd0313f WHIRLPOOL ccf2dedf81c485a69c09366e8a94779d7ec8e0c45e73569245827bd4312fe69ed7e574876605de1e6dec3bc53b3321559fd78727b790379c33e70d9ebca86221
 DIST postfix-vda-v13-2.10.0.patch 55701 SHA256 6208021eb0b37ac6482e334e538ed5700cc22c4d4dd66ed9e975ae5f20bf935f SHA512 0b4b53a8cd28abf56eee3b2ed63ca1814251b60816e6ca1143249d25fd6ef7f905bec3134125ac6e851af685db8aae878012113693261529ae2ddbcf1bd93e62 WHIRLPOOL d98b7d2177b8b69738086880fd08c336fa60b99ff7413624e628fd5f17be2064f2ccaa37c047d3013ed41c0ff1bcb76e7962f8390c4179f28ab11733dd3b59d3
-EBUILD postfix-2.10.2.ebuild 9626 SHA256 e1eed601fffd00f97425d124ea682af9727c91dbc3652b0fd1ad94f2a912952f SHA512 5e93b23528d430702aa71b3bbea58606df320ff27bc3b57aac210c3a42746a30557d355f6b437efc86e2b88fc221089540863a592e8fc69a1bd12142c5acdd3d WHIRLPOOL 1d4469fae66d04214d92228f1150e2a82574ca18f31ea351dc8055ff15f0f87e6fc64cda52c4f956408bf82767b857935a924eecc3cdda55d76c07f695ba50f4
-EBUILD postfix-2.10.3.ebuild 9629 SHA256 37d37a4c736bb2489be86e1bc2270e7fd2d8e2155d05ef67f10d929beece5896 SHA512 3b3916c5ba2514f176626a8bb78e7bf53a5d960f45066903628a9a3e4f1140bff591f84f30baa66af5396e13aad39cc58be33b901c9ddb88b2ca10cc31a79bd3 WHIRLPOOL 7204a4e70ec610649d3e5769eb08949df54a3f080f17d84b24528ce41eeaa1351bac9188737e4617b817d5a245d76abe77c38f5db68d8e3ca8fed254681a77a6
-EBUILD postfix-2.10.4.ebuild 9679 SHA256 7ab4ce58ee3bda67cda9c99a7be313ee7b3893ec65e9d3d05986278e31d1d132 SHA512 0b53186370aca9c60fe42af1d6aa2e504c6d22e2e91d217bcb84c6027f3ea6871b2f4c5b613d38392e5d23bf1c441998ac53f27184a4666d75b292112397b578 WHIRLPOOL 850676f5057aa8bf73d0ddab235d504cff2668f445ee2d2d5912500abcc7a9f88407e9f65566b9a463ecc0dda087039b4da0f155194e78306e8fb4556714da9d
-EBUILD postfix-2.10.5.ebuild 9679 SHA256 7d21737d40e17b799eb440da62396e9f624febf30646f16846a8c80b7c40fee7 SHA512 1a291b24d3bcb63b3eb34e4fbcc8725a2c3244a9422950d1080ab19f704b2f1a9722f41b45b0df2bf2c4f297b21d92001dead1293023d42739907b82af8fe3b2 WHIRLPOOL adea5d903d71581439a4667f422bffdda74da11e12dc6b683fce47f1496fc51157bcfd2bd95094cadf086008e74dab6c867b0e73f76460feedcf9b41d7132db3
 EBUILD postfix-2.10.6.ebuild 9610 SHA256 5d3abafb4d3ebb7ba90c7969aa4dd3a17de12be80d34443fc34d0c8c2265eb59 SHA512 c7f323dad93073d7ac06e166d4be9c81817fce5492e2c05cdb579de9674298ce8cb2817e898c24a602da3ece8999c92df88837ed54adac855fc6c8f90f62a3ed WHIRLPOOL c5a00f5464d80418cee4a719afd81d519194d3b9e3cf27acd5c59b062f5bb762a9c940fc752f88218d91401c2173a914fcf93fa38d8ac17936763ee9568dc9b0
 EBUILD postfix-2.11.3.ebuild 9780 SHA256 195dec740757c30ad20da20744c427634137b07274f73233626e0bbbaa995e99 SHA512 05834263dc2c99f3e3de2dc8de3484a9a2513e72aec54a7db6630e9e5cc5f95e79bc571d9d1ec42b1a051fb447c928f1523033c5f2470474206479575fa06908 WHIRLPOOL 04679c7acf172a1335b7db074e2eacd1572b90a11bf4c833061d17f5013fe0a8b294af834b9d37109c32331e36d4eff5ea1e4567f9f63806344cb3e6a8ac766d
 EBUILD postfix-2.11.4.ebuild 9795 SHA256 163629654e4aca99b4118b6b3ec046d1d56e7b807fefcd3974477c7ac1eec5f0 SHA512 8b57ce3759092e17d078697d86b0b7afce1557fa484f4dffc7ac437fda0e68715b5c0d24f68d62555ecedde3c538c07b48f67b14cbaf51b2216068e3479e6077 WHIRLPOOL 500b0422ee1bb3029b5f5cf6e396918d9133d1097acb538017747e06e2947e30e90fd07ae2a37531a1471abbbd21c4028440e6858d9d8fed2e3c0ab5cd121ac7
 EBUILD postfix-3.0.0.ebuild 8944 SHA256 785b884768a15cc1e299cf032ce8ec37295d0cf61852b393fdf2f079b45b263d SHA512 0121c627fbf35ed7689d1940922adda028822a30bd188abcf9cdbe8ebd2ee2213fa4641ebf12a98547c8514ccdc8d9138f4810955b26b36e6ec4d9a1ae3e09b4 WHIRLPOOL 704da661f459eab15d7e24bd4c9407f4937cd943b0f00fde67e3a04e95a01256155318bb24726a1c5d48b588476ea9308c741842519a79cdd0bf892770f788a5
 EBUILD postfix-3.1_pre20150208.ebuild 8952 SHA256 6f71b6f517f8a1257dbcd081cd76278d243340da142e338bc0a6a1f15fe1f4c5 SHA512 0fd61f011fe03476f7ce0b43fca7b0dbc853233c17669678696892c3399678bd2aa9c2e3f6fd09bdb6845261b7811dfba322dd0f4d5b53b250600dded06ed658 WHIRLPOOL f611cd059f8e5276f61cea153604060e33d8bdf9f7f7c727d0f0215914a9c7864cd6635b4b3ae4122e4f7d60b2467b1019c9ddf29f0079085770fe18affb9807
-MISC ChangeLog 13746 SHA256 9fb89841c5f3ce6abfb9f2833c3edcb280afb710c704b1e4e1d8c84d474da56f SHA512 15768c2ebe3fcf091234037db2143eafc57d59da5d772738bbae1b1feb85358ab47a1a75f6ca046d729b3af29c023846bc6bef67c4d3a4675ac0e02a75997b23 WHIRLPOOL 66df2933a47d394aa5cb32337ba92f3679a9d79e8511cfe3b3926cd61c0870f6a855ee670bb4d5430ae04a8e50d0a5429843bbca747e3b27ac093990f2c57bd8
+MISC ChangeLog 13902 SHA256 da9d5662e10f1abb0744a0b74c821bf44b1fbbfea12c566cfb4720a9879c4a0a SHA512 aed855ab0c2b7bbe9ef6d20fc2a90b3a496b42a77fba6054aef0124f8cf9c5a64b5f8fc5355524e486d7fc1eaa54f300fe4164713426208ed8cd182f6858922d WHIRLPOOL 96dca558f65e7edfe3a4ca2843a5b18d822e5ab2476ccb64bf799d25a96f43f9dd8cc7eabf3d9a3b02d60e4745c538999c78aa69e1add53c4b3835eec7bbf2cd
 MISC ChangeLog-2013 100301 SHA256 439e93c3f6ea08471888157d2347da51181aa9031d4bfdeef2197a6b26680246 SHA512 c678433163e86def50d59e47d7a1a0e8f4c4af860f80932255a7c95544e1f5b55a70b68905b02a417b2332bcf3aaa59281814d8504d70085f0874a23faa2bf02 WHIRLPOOL 15a12897a576cf98d856c551157b72b47aa45fd61d05c6ed55033ce37ce247045c6bcc8143b7ccce4666900d85e0a04087c977a311e31c20f554a991bec74fbc
 MISC metadata.xml 754 SHA256 52b30e7748a792a156ad44b46878b67cb1a359c882e03f76b1d7b3b0bf111129 SHA512 bef165b527524efdcabce97c2fc0735f784dfc014ae810294e6a19b534edc6a01e14e532d730c8b8c2b76c99dafac672074317ec6dc23942285ad27895fd7220 WHIRLPOOL 702d14bd15db16217c664a39534bd1b19774d5f6c5a4a2a43e6595f400c06332c56849fd0d722c7982f5c40398b4bb0b3398b96c6f370a57d99d323d0e84ab51
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0
 
-iQJ8BAEBCABmBQJU9B6QXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCABmBQJU9B7JXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
 ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQjk1NkM0NUMxNzFCRTY4Rjk4NENDMDk3
-N0YxRjE3NTU4NkEzQjFGAAoJEHfx8XVYajsfTlQQALaRP60E/7yamcQFE1XRDP8Y
-xq6xkvrdinnvtaRwubtAvCROu+bhoohvYaPeqY90ZNmPkPV0KdLpeSQZxBIbZOUp
-XfGoW0iWIEGb3tEe2Sufm/9wQaWjNNmQLOCxI93yIJ8Cl27mCTbrBqLicOgM2uNr
-Dx5uZsYwZGTO6ISqYwcIUFPg90TuM+krc/deMSNHQmBGn/r0/XukKNMuQdnk0EuR
-7jvwdi4AzT0ujs66pz1sNzauOIqafQOsBmDzEKJgbAZZp7cPsOiKFI2mLdgZGb34
-7u099U5SLatPDovfASbfiafrYjyqTQg/2TwquVNbzS9sxoFV78aAIIr9qMwKjabi
-pddRGefuTzXB+hrjdn/27f6JjJSyqtqVoLF8JJgFAIMkV2jZ/9JijCvJMOUJdBsi
-hUdG/tuATo7HE8aaVKwSDhORvlmsV33RnhOY8by+wIp3vNpYBWsmK1KFa4zZu16F
-B6BF1YhikMxntq70Jzp0+Jab8852qw2tM9H2P5xuKzsgU9z7KZ67vEEePmZF0wVK
-dT6VKEhoQ3Raz/YiK2eM8naXAiiux6eOArS2zN3JSDCH6z0SEK9VpMKVSyWn3LDw
-pfSKYcC+9La5fXpdETB19K2JZHXD70RTrOM/O/sTydVlnFOuL2GDYav1M1GioGvu
-jxtnMHUIYaIdOzVwUSZ7
-=Cc5I
+N0YxRjE3NTU4NkEzQjFGAAoJEHfx8XVYajsfOmAP/15QmigssAeJY2glqI5kpQCB
+MPx/amn8CBtvKtWf9wO9hFPYHvM9KqNeMz4jOz5+CXr3WOThakJPKoFP8xUwZs38
+KZZ+83EvqTzYYrD15EOLEBWZOBW+Wg8ds2aXjjo23kNMpx+P2MRkv4OiMJTAP9x8
+34GoLI2Z5JC47UPLqoyduWQ6vwyNEaesl6AMJ9cCwji7ScYdbeO3y2fMmYaytUvR
+yA1/KZyVL9nmSwTCvy+95CSulu6SCGRrxxCMN7Stvt9mACxuKY0sCCQWxud2cjjC
+Xc3fROeQ917h59F7kQCEFbO9yfOWcw90w9kuPpd3/27ZbVf3ioAMc5ikzeKR5R6h
+kSjvEdBRRc6/2PjG/uyedM/XQ7kLTuw2dvOyXZzxnlU61nwlosu0SEgvVkovbbSH
+CZQNjpDCzZTPR3KNl+JlVlJkuY3xpjv74YQc1/mTq2WoqcfL7U5t5u4CiAEmpO35
+UWPHB8G2+rvAUZgNyYoGkEviybARLgDBPMsr6oRQW2/WflbeHD728GzU6wxJNeu4
+nbdteD1AxRyGPSIPprTjpwzCDkkJaSyykZp5mkURCEqhY1sCB2yOIAVABGP4GHW3
+OGEwKoItJdEFxWJqwLHcQfrKy3JPl8uR9oTN5acAjWJlGM87FgeT3As9oEiwoU9b
+O140yryOMQAfsWVjZtl8
+=kFxF
 -----END PGP SIGNATURE-----
diff --git a/mail-mta/postfix/postfix-2.10.2.ebuild b/mail-mta/postfix/postfix-2.10.2.ebuild
deleted file mode 100644 (file)
index 347fce2..0000000
+++ /dev/null
@@ -1,314 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.10.2.ebuild,v 1.13 2014/12/28 15:59:10 titanofold Exp $
-
-EAPI=5
-inherit eutils multilib ssl-cert toolchain-funcs flag-o-matic pam user versionator systemd
-
-MY_PV="${PV/_pre/-}"
-MY_SRC="${PN}-${MY_PV}"
-MY_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official"
-VDA_PV="2.10.0"
-VDA_P="${PN}-vda-v13-${VDA_PV}"
-RC_VER="2.7"
-
-DESCRIPTION="A fast and secure drop-in replacement for sendmail"
-HOMEPAGE="http://www.postfix.org/"
-SRC_URI="${MY_URI}/${MY_SRC}.tar.gz
-       vda? ( http://vda.sourceforge.net/VDA/${VDA_P}.patch ) "
-
-LICENSE="IBM"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
-IUSE="+berkdb cdb doc dovecot-sasl hardened ldap ldap-bind memcached mbox mysql nis pam postgres sasl selinux sqlite ssl vda"
-
-DEPEND=">=dev-libs/libpcre-3.4
-       dev-lang/perl
-       berkdb? ( >=sys-libs/db-3.2 )
-       cdb? ( || ( >=dev-db/tinycdb-0.76 >=dev-db/cdb-0.75-r1 ) )
-       ldap? ( net-nds/openldap )
-       ldap-bind? ( net-nds/openldap[sasl] )
-       mysql? ( virtual/mysql )
-       pam? ( virtual/pam )
-       postgres? ( dev-db/postgresql )
-       sasl? (  >=dev-libs/cyrus-sasl-2 )
-       sqlite? ( dev-db/sqlite:3 )
-       ssl? ( >=dev-libs/openssl-0.9.6g )"
-
-RDEPEND="${DEPEND}
-       dovecot-sasl? ( net-mail/dovecot )
-       memcached? ( net-misc/memcached )
-       net-mail/mailbase
-       selinux? ( sec-policy/selinux-postfix )
-       !mail-mta/courier
-       !mail-mta/esmtp
-       !mail-mta/exim
-       !mail-mta/mini-qmail
-       !mail-mta/msmtp[mta]
-       !mail-mta/netqmail
-       !mail-mta/nullmailer
-       !mail-mta/qmail-ldap
-       !mail-mta/sendmail
-       !mail-mta/opensmtpd
-       !<mail-mta/ssmtp-2.64-r2
-       !>=mail-mta/ssmtp-2.64-r2[mta]
-       !net-mail/fastforward"
-
-REQUIRED_USE="ldap-bind? ( ldap sasl )"
-
-S="${WORKDIR}/${MY_SRC}"
-
-pkg_setup() {
-       # Add postfix, postdrop user/group (bug #77565)
-       enewgroup postfix 207
-       enewgroup postdrop 208
-       enewuser postfix 207 -1 /var/spool/postfix postfix,mail
-}
-
-src_prepare() {
-       if use vda; then
-               epatch "${DISTDIR}"/${VDA_P}.patch
-       fi
-
-       sed -i -e "/^#define ALIAS_DB_MAP/s|:/etc/aliases|:/etc/mail/aliases|" \
-               src/util/sys_defs.h || die "sed failed"
-
-       # change default paths to better comply with portage standard paths
-       sed -i -e "s:/usr/local/:/usr/:g" conf/master.cf || die "sed failed"
-}
-
-src_configure() {
-       # Make sure LDFLAGS get passed down to the executables.
-       local mycc="-DHAS_PCRE" mylibs="${LDFLAGS} -lpcre -lcrypt -lpthread"
-
-       use pam && mylibs="${mylibs} -lpam"
-
-       if use ldap; then
-               mycc="${mycc} -DHAS_LDAP"
-               mylibs="${mylibs} -lldap -llber"
-       fi
-
-       if use mysql; then
-               mycc="${mycc} -DHAS_MYSQL $(mysql_config --include)"
-               mylibs="${mylibs} $(mysql_config --libs)"
-       fi
-
-       if use postgres; then
-               mycc="${mycc} -DHAS_PGSQL -I$(pg_config --includedir)"
-               mylibs="${mylibs} -lpq -L$(pg_config --libdir)"
-       fi
-
-       if use sqlite; then
-               mycc="${mycc} -DHAS_SQLITE"
-               mylibs="${mylibs} -lsqlite3"
-       fi
-
-       if use ssl; then
-               mycc="${mycc} -DUSE_TLS"
-               mylibs="${mylibs} -lssl -lcrypto"
-       fi
-
-       # broken. and "in other words, not supported" by upstream.
-       # Use inet_protocols setting in main.cf
-       #if ! use ipv6; then
-       #       mycc="${mycc} -DNO_IPV6"
-       #fi
-
-       if use sasl; then
-               if use dovecot-sasl; then
-                       # Set dovecot as default.
-                       mycc="${mycc} -DDEF_SASL_SERVER=\\\"dovecot\\\""
-               fi
-               if use ldap-bind; then
-                       mycc="${mycc} -DUSE_LDAP_SASL"
-               fi
-               mycc="${mycc} -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl"
-               mylibs="${mylibs} -lsasl2"
-       elif use dovecot-sasl; then
-               mycc="${mycc} -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\""
-       fi
-
-       if ! use nis; then
-               sed -i -e "s|#define HAS_NIS|//#define HAS_NIS|g" \
-                       src/util/sys_defs.h || die "sed failed"
-       fi
-
-       if ! use berkdb; then
-               mycc="${mycc} -DNO_DB"
-               if use cdb; then
-                       # change default hash format from Berkeley DB to cdb
-                       sed -i -e "s/hash/cdb/" src/util/sys_defs.h || die
-               fi
-       fi
-
-       if use cdb; then
-               mycc="${mycc} -DHAS_CDB -I/usr/include/cdb"
-               CDB_LIBS=""
-               # Tinycdb is preferred.
-               if has_version dev-db/tinycdb ; then
-                       einfo "Building with dev-db/tinycdb"
-                       CDB_LIBS="-lcdb"
-               else
-                       einfo "Building with dev-db/cdb"
-                       CDB_PATH="/usr/$(get_libdir)"
-                       for i in cdb.a alloc.a buffer.a unix.a byte.a ; do
-                               CDB_LIBS="${CDB_LIBS} ${CDB_PATH}/${i}"
-                       done
-               fi
-               mylibs="${mylibs} ${CDB_LIBS}"
-       fi
-
-       # Robin H. Johnson <robbat2@gentoo.org> 17/Nov/2006
-       # Fix because infra boxes hit 2Gb .db files that fail a 32-bit fstat signed check.
-       mycc="${mycc} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
-       filter-lfs-flags
-
-       # Workaround for bug #76512
-       if use hardened; then
-               [[ "$(gcc-version)" == "3.4" ]] && replace-flags -O? -Os
-       fi
-
-       # Remove annoying C++ comment style warnings - bug #378099
-       append-flags -Wno-comment
-
-       sed -i -e "/^RANLIB/s/ranlib/$(tc-getRANLIB)/g" "${S}"/makedefs
-       sed -i -e "/^AR/s/ar/$(tc-getAR)/g" "${S}"/makedefs
-       emake DEBUG="" CC="$(tc-getCC)" OPT="${CFLAGS}" CCARGS="${mycc}" AUXLIBS="${mylibs}" makefiles
-}
-
-src_install () {
-       local myconf
-       use doc && myconf="readme_directory=\"/usr/share/doc/${PF}/readme\" \
-               html_directory=\"/usr/share/doc/${PF}/html\""
-
-       /bin/sh postfix-install \
-               -non-interactive \
-               install_root="${D}" \
-               config_directory="/etc/postfix" \
-               manpage_directory="/usr/share/man" \
-               command_directory="/usr/sbin" \
-               mailq_path="/usr/bin/mailq" \
-               newaliases_path="/usr/bin/newaliases" \
-               sendmail_path="/usr/sbin/sendmail" \
-               ${myconf} \
-               || die "postfix-install failed"
-
-       # Fix spool removal on upgrade
-       rm -Rf "${D}"/var
-       keepdir /var/spool/postfix
-
-       # Install rmail for UUCP, closes bug #19127
-       dobin auxiliary/rmail/rmail
-
-       # Provide another link for legacy FSH
-       dosym /usr/sbin/sendmail /usr/$(get_libdir)/sendmail
-
-       # Install qshape tool
-       dobin auxiliary/qshape/qshape.pl
-       doman man/man1/qshape.1
-
-       # Performance tuning tools and their manuals
-       dosbin bin/smtp-{source,sink} bin/qmqp-{source,sink}
-       doman man/man1/smtp-{source,sink}.1 man/man1/qmqp-{source,sink}.1
-
-       # Set proper permissions on required files/directories
-       dodir /var/lib/postfix
-       keepdir /var/lib/postfix
-       fowners -R postfix:postfix /var/lib/postfix
-       fperms 0750 /var/lib/postfix
-       fowners root:postdrop /usr/sbin/post{drop,queue}
-       fperms 02711 /usr/sbin/post{drop,queue}
-
-       keepdir /etc/postfix
-       if use mbox; then
-               mypostconf="mail_spool_directory=/var/spool/mail"
-       else
-               mypostconf="home_mailbox=.maildir/"
-       fi
-       "${D}"/usr/sbin/postconf -c "${D}"/etc/postfix \
-               -e ${mypostconf} || die "postconf failed"
-
-       insinto /etc/postfix
-       newins "${FILESDIR}"/smtp.pass saslpass
-       fperms 600 /etc/postfix/saslpass
-
-       newinitd "${FILESDIR}"/postfix.rc6.${RC_VER} postfix
-       # do not start mysql/postgres unnecessarily - bug #359913
-       use mysql || sed -i -e "s/mysql //" "${D}/etc/init.d/postfix"
-       use postgres || sed -i -e "s/postgresql //" "${D}/etc/init.d/postfix"
-
-       dodoc *README COMPATIBILITY HISTORY PORTING RELEASE_NOTES*
-       mv "${D}"/etc/postfix/{*.default,makedefs.out} "${D}"/usr/share/doc/${PF}/
-       use doc && mv "${S}"/examples "${D}"/usr/share/doc/${PF}/
-
-       pamd_mimic_system smtp auth account
-
-       if use sasl; then
-               insinto /etc/sasl2
-               newins "${FILESDIR}"/smtp.sasl smtpd.conf
-       fi
-
-       # header files
-       insinto /usr/include/postfix
-       doins include/*.h
-
-       # Remove unnecessary files
-       rm -f "${D}"/etc/postfix/{*LICENSE,access,aliases,canonical,generic}
-       rm -f "${D}"/etc/postfix/{header_checks,relocated,transport,virtual}
-
-       systemd_dounit "${FILESDIR}/${PN}.service"
-}
-
-pkg_preinst() {
-       # Postfix 2.9.
-       # default for inet_protocols changed from ipv4 to all in postfix-2.9.
-       # check inet_protocols setting in main.cf and modify if necessary to prevent
-       # performance loss with useless DNS lookups and useless connection attempts.
-       [[ -d ${ROOT}/etc/postfix ]] && {
-       if [[ "$(${D}/usr/sbin/postconf -dh inet_protocols)" != "ipv4" ]]; then
-               if [[ ! -n "$(${D}/usr/sbin/postconf -c ${ROOT}/etc/postfix -n inet_protocols)" ]];
-               then
-                       ewarn "\nCOMPATIBILITY: adding inet_protocols=ipv4 to main.cf."
-                       ewarn "That will keep the same behaviour as previous postfix versions."
-                       ewarn "Specify inet_protocols explicitly if you want to enable IPv6.\n"
-               else
-                       # delete inet_protocols setting. there is already one in /etc/postfix
-                       sed -i -e /inet_protocols/d "${D}"/etc/postfix/main.cf || die
-               fi
-       fi
-       }
-}
-
-pkg_postinst() {
-       # Do not install server.{key,pem) SSL certificates if they already exist
-       if use ssl && [[ ! -f "${ROOT}"/etc/ssl/postfix/server.key \
-               && ! -f "${ROOT}"/etc/ssl/postfix/server.pem ]] ; then
-               SSL_ORGANIZATION="${SSL_ORGANIZATION:-Postfix SMTP Server}"
-               install_cert /etc/ssl/postfix/server
-               chown postfix:mail "${ROOT}"/etc/ssl/postfix/server.{key,pem}
-       fi
-
-       if [[ ! -e /etc/mail/aliases.db ]] ; then
-               ewarn
-               ewarn "You must edit /etc/mail/aliases to suit your needs"
-               ewarn "and then run /usr/bin/newaliases. Postfix will not"
-               ewarn "work correctly without it."
-               ewarn
-       fi
-
-       if [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 9 ]]; then
-               elog "If you are using old style postfix instances by symlinking"
-               elog "startup scripts in ${ROOT}etc/init.d, please consider"
-               elog "upgrading your config for postmulti support. For more info:"
-               elog "http://www.postfix.org/MULTI_INSTANCE_README.html"
-               if ! use berkdb; then
-                       ewarn "\nPostfix is installed without BerkeleyDB support."
-                       ewarn "Please turn on berkdb USE flag if you need hash or"
-                       ewarn "btree table lookups.\n"
-               fi
-               ewarn "Postfix daemons now live under /usr/libexec/postfix"
-               ewarn "Please adjust your main.cf accordingly by running"
-               ewarn "etc-update/dispatch-conf or similar and accepting the new"
-               ewarn "daemon_directory setting."
-       fi
-}
diff --git a/mail-mta/postfix/postfix-2.10.3.ebuild b/mail-mta/postfix/postfix-2.10.3.ebuild
deleted file mode 100644 (file)
index 804a267..0000000
+++ /dev/null
@@ -1,314 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.10.3.ebuild,v 1.11 2014/12/28 15:59:10 titanofold Exp $
-
-EAPI=5
-inherit eutils multilib ssl-cert toolchain-funcs flag-o-matic pam user versionator systemd
-
-MY_PV="${PV/_pre/-}"
-MY_SRC="${PN}-${MY_PV}"
-MY_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official"
-VDA_PV="2.10.0"
-VDA_P="${PN}-vda-v13-${VDA_PV}"
-RC_VER="2.7"
-
-DESCRIPTION="A fast and secure drop-in replacement for sendmail"
-HOMEPAGE="http://www.postfix.org/"
-SRC_URI="${MY_URI}/${MY_SRC}.tar.gz
-       vda? ( http://vda.sourceforge.net/VDA/${VDA_P}.patch ) "
-
-LICENSE="IBM"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
-IUSE="+berkdb cdb doc dovecot-sasl hardened ldap ldap-bind memcached mbox mysql nis pam postgres sasl selinux sqlite ssl vda"
-
-DEPEND=">=dev-libs/libpcre-3.4
-       dev-lang/perl
-       berkdb? ( >=sys-libs/db-3.2 )
-       cdb? ( || ( >=dev-db/tinycdb-0.76 >=dev-db/cdb-0.75-r1 ) )
-       ldap? ( net-nds/openldap )
-       ldap-bind? ( net-nds/openldap[sasl] )
-       mysql? ( virtual/mysql )
-       pam? ( virtual/pam )
-       postgres? ( dev-db/postgresql )
-       sasl? (  >=dev-libs/cyrus-sasl-2 )
-       sqlite? ( dev-db/sqlite:3 )
-       ssl? ( >=dev-libs/openssl-0.9.6g )"
-
-RDEPEND="${DEPEND}
-       dovecot-sasl? ( net-mail/dovecot )
-       memcached? ( net-misc/memcached )
-       net-mail/mailbase
-       selinux? ( sec-policy/selinux-postfix )
-       !mail-mta/courier
-       !mail-mta/esmtp
-       !mail-mta/exim
-       !mail-mta/mini-qmail
-       !mail-mta/msmtp[mta]
-       !mail-mta/netqmail
-       !mail-mta/nullmailer
-       !mail-mta/qmail-ldap
-       !mail-mta/sendmail
-       !mail-mta/opensmtpd
-       !<mail-mta/ssmtp-2.64-r2
-       !>=mail-mta/ssmtp-2.64-r2[mta]
-       !net-mail/fastforward"
-
-REQUIRED_USE="ldap-bind? ( ldap sasl )"
-
-S="${WORKDIR}/${MY_SRC}"
-
-pkg_setup() {
-       # Add postfix, postdrop user/group (bug #77565)
-       enewgroup postfix 207
-       enewgroup postdrop 208
-       enewuser postfix 207 -1 /var/spool/postfix postfix,mail
-}
-
-src_prepare() {
-       if use vda; then
-               epatch "${DISTDIR}"/${VDA_P}.patch
-       fi
-
-       sed -i -e "/^#define ALIAS_DB_MAP/s|:/etc/aliases|:/etc/mail/aliases|" \
-               src/util/sys_defs.h || die "sed failed"
-
-       # change default paths to better comply with portage standard paths
-       sed -i -e "s:/usr/local/:/usr/:g" conf/master.cf || die "sed failed"
-}
-
-src_configure() {
-       # Make sure LDFLAGS get passed down to the executables.
-       local mycc="-DHAS_PCRE" mylibs="${LDFLAGS} -lpcre -lcrypt -lpthread"
-
-       use pam && mylibs="${mylibs} -lpam"
-
-       if use ldap; then
-               mycc="${mycc} -DHAS_LDAP"
-               mylibs="${mylibs} -lldap -llber"
-       fi
-
-       if use mysql; then
-               mycc="${mycc} -DHAS_MYSQL $(mysql_config --include)"
-               mylibs="${mylibs} $(mysql_config --libs)"
-       fi
-
-       if use postgres; then
-               mycc="${mycc} -DHAS_PGSQL -I$(pg_config --includedir)"
-               mylibs="${mylibs} -lpq -L$(pg_config --libdir)"
-       fi
-
-       if use sqlite; then
-               mycc="${mycc} -DHAS_SQLITE"
-               mylibs="${mylibs} -lsqlite3"
-       fi
-
-       if use ssl; then
-               mycc="${mycc} -DUSE_TLS"
-               mylibs="${mylibs} -lssl -lcrypto"
-       fi
-
-       # broken. and "in other words, not supported" by upstream.
-       # Use inet_protocols setting in main.cf
-       #if ! use ipv6; then
-       #       mycc="${mycc} -DNO_IPV6"
-       #fi
-
-       if use sasl; then
-               if use dovecot-sasl; then
-                       # Set dovecot as default.
-                       mycc="${mycc} -DDEF_SASL_SERVER=\\\"dovecot\\\""
-               fi
-               if use ldap-bind; then
-                       mycc="${mycc} -DUSE_LDAP_SASL"
-               fi
-               mycc="${mycc} -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl"
-               mylibs="${mylibs} -lsasl2"
-       elif use dovecot-sasl; then
-               mycc="${mycc} -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\""
-       fi
-
-       if ! use nis; then
-               sed -i -e "s|#define HAS_NIS|//#define HAS_NIS|g" \
-                       src/util/sys_defs.h || die "sed failed"
-       fi
-
-       if ! use berkdb; then
-               mycc="${mycc} -DNO_DB"
-               if use cdb; then
-                       # change default hash format from Berkeley DB to cdb
-                       sed -i -e "s/hash/cdb/" src/util/sys_defs.h || die
-               fi
-       fi
-
-       if use cdb; then
-               mycc="${mycc} -DHAS_CDB -I/usr/include/cdb"
-               CDB_LIBS=""
-               # Tinycdb is preferred.
-               if has_version dev-db/tinycdb ; then
-                       einfo "Building with dev-db/tinycdb"
-                       CDB_LIBS="-lcdb"
-               else
-                       einfo "Building with dev-db/cdb"
-                       CDB_PATH="/usr/$(get_libdir)"
-                       for i in cdb.a alloc.a buffer.a unix.a byte.a ; do
-                               CDB_LIBS="${CDB_LIBS} ${CDB_PATH}/${i}"
-                       done
-               fi
-               mylibs="${mylibs} ${CDB_LIBS}"
-       fi
-
-       # Robin H. Johnson <robbat2@gentoo.org> 17/Nov/2006
-       # Fix because infra boxes hit 2Gb .db files that fail a 32-bit fstat signed check.
-       mycc="${mycc} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
-       filter-lfs-flags
-
-       # Workaround for bug #76512
-       if use hardened; then
-               [[ "$(gcc-version)" == "3.4" ]] && replace-flags -O? -Os
-       fi
-
-       # Remove annoying C++ comment style warnings - bug #378099
-       append-flags -Wno-comment
-
-       sed -i -e "/^RANLIB/s/ranlib/$(tc-getRANLIB)/g" "${S}"/makedefs
-       sed -i -e "/^AR/s/ar/$(tc-getAR)/g" "${S}"/makedefs
-       emake DEBUG="" CC="$(tc-getCC)" OPT="${CFLAGS}" CCARGS="${mycc}" AUXLIBS="${mylibs}" makefiles
-}
-
-src_install () {
-       local myconf
-       use doc && myconf="readme_directory=\"/usr/share/doc/${PF}/readme\" \
-               html_directory=\"/usr/share/doc/${PF}/html\""
-
-       /bin/sh postfix-install \
-               -non-interactive \
-               install_root="${D}" \
-               config_directory="/etc/postfix" \
-               manpage_directory="/usr/share/man" \
-               command_directory="/usr/sbin" \
-               mailq_path="/usr/bin/mailq" \
-               newaliases_path="/usr/bin/newaliases" \
-               sendmail_path="/usr/sbin/sendmail" \
-               ${myconf} \
-               || die "postfix-install failed"
-
-       # Fix spool removal on upgrade
-       rm -Rf "${D}"/var
-       keepdir /var/spool/postfix
-
-       # Install rmail for UUCP, closes bug #19127
-       dobin auxiliary/rmail/rmail
-
-       # Provide another link for legacy FSH
-       dosym /usr/sbin/sendmail /usr/$(get_libdir)/sendmail
-
-       # Install qshape tool
-       dobin auxiliary/qshape/qshape.pl
-       doman man/man1/qshape.1
-
-       # Performance tuning tools and their manuals
-       dosbin bin/smtp-{source,sink} bin/qmqp-{source,sink}
-       doman man/man1/smtp-{source,sink}.1 man/man1/qmqp-{source,sink}.1
-
-       # Set proper permissions on required files/directories
-       dodir /var/lib/postfix
-       keepdir /var/lib/postfix
-       fowners -R postfix:postfix /var/lib/postfix
-       fperms 0750 /var/lib/postfix
-       fowners root:postdrop /usr/sbin/post{drop,queue}
-       fperms 02711 /usr/sbin/post{drop,queue}
-
-       keepdir /etc/postfix
-       if use mbox; then
-               mypostconf="mail_spool_directory=/var/spool/mail"
-       else
-               mypostconf="home_mailbox=.maildir/"
-       fi
-       "${D}"/usr/sbin/postconf -c "${D}"/etc/postfix \
-               -e ${mypostconf} || die "postconf failed"
-
-       insinto /etc/postfix
-       newins "${FILESDIR}"/smtp.pass saslpass
-       fperms 600 /etc/postfix/saslpass
-
-       newinitd "${FILESDIR}"/postfix.rc6.${RC_VER} postfix
-       # do not start mysql/postgres unnecessarily - bug #359913
-       use mysql || sed -i -e "s/mysql //" "${D}/etc/init.d/postfix"
-       use postgres || sed -i -e "s/postgresql //" "${D}/etc/init.d/postfix"
-
-       dodoc *README COMPATIBILITY HISTORY PORTING RELEASE_NOTES*
-       mv "${D}"/etc/postfix/{*.default,makedefs.out} "${D}"/usr/share/doc/${PF}/
-       use doc && mv "${S}"/examples "${D}"/usr/share/doc/${PF}/
-
-       pamd_mimic_system smtp auth account
-
-       if use sasl; then
-               insinto /etc/sasl2
-               newins "${FILESDIR}"/smtp.sasl smtpd.conf
-       fi
-
-       # header files
-       insinto /usr/include/postfix
-       doins include/*.h
-
-       # Remove unnecessary files
-       rm -f "${D}"/etc/postfix/{*LICENSE,access,aliases,canonical,generic}
-       rm -f "${D}"/etc/postfix/{header_checks,relocated,transport,virtual}
-
-       systemd_dounit "${FILESDIR}/${PN}.service"
-}
-
-pkg_preinst() {
-       # Postfix 2.9.
-       # default for inet_protocols changed from ipv4 to all in postfix-2.9.
-       # check inet_protocols setting in main.cf and modify if necessary to prevent
-       # performance loss with useless DNS lookups and useless connection attempts.
-       [[ -d ${ROOT}/etc/postfix ]] && {
-       if [[ "$(${D}/usr/sbin/postconf -dh inet_protocols)" != "ipv4" ]]; then
-               if [[ ! -n "$(${D}/usr/sbin/postconf -c ${ROOT}/etc/postfix -n inet_protocols)" ]];
-               then
-                       ewarn "\nCOMPATIBILITY: adding inet_protocols=ipv4 to main.cf."
-                       ewarn "That will keep the same behaviour as previous postfix versions."
-                       ewarn "Specify inet_protocols explicitly if you want to enable IPv6.\n"
-               else
-                       # delete inet_protocols setting. there is already one in /etc/postfix
-                       sed -i -e /inet_protocols/d "${D}"/etc/postfix/main.cf || die
-               fi
-       fi
-       }
-}
-
-pkg_postinst() {
-       # Do not install server.{key,pem) SSL certificates if they already exist
-       if use ssl && [[ ! -f "${ROOT}"/etc/ssl/postfix/server.key \
-               && ! -f "${ROOT}"/etc/ssl/postfix/server.pem ]] ; then
-               SSL_ORGANIZATION="${SSL_ORGANIZATION:-Postfix SMTP Server}"
-               install_cert /etc/ssl/postfix/server
-               chown postfix:mail "${ROOT}"/etc/ssl/postfix/server.{key,pem}
-       fi
-
-       if [[ ! -e /etc/mail/aliases.db ]] ; then
-               ewarn
-               ewarn "You must edit /etc/mail/aliases to suit your needs"
-               ewarn "and then run /usr/bin/newaliases. Postfix will not"
-               ewarn "work correctly without it."
-               ewarn
-       fi
-
-       if [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 9 ]]; then
-               elog "If you are using old style postfix instances by symlinking"
-               elog "startup scripts in ${ROOT}etc/init.d, please consider"
-               elog "upgrading your config for postmulti support. For more info:"
-               elog "http://www.postfix.org/MULTI_INSTANCE_README.html"
-               if ! use berkdb; then
-                       ewarn "\nPostfix is installed without BerkeleyDB support."
-                       ewarn "Please turn on berkdb USE flag if you need hash or"
-                       ewarn "btree table lookups.\n"
-               fi
-               ewarn "Postfix daemons now live under /usr/libexec/postfix"
-               ewarn "Please adjust your main.cf accordingly by running"
-               ewarn "etc-update/dispatch-conf or similar and accepting the new"
-               ewarn "daemon_directory setting."
-       fi
-}
diff --git a/mail-mta/postfix/postfix-2.10.4.ebuild b/mail-mta/postfix/postfix-2.10.4.ebuild
deleted file mode 100644 (file)
index 4373f05..0000000
+++ /dev/null
@@ -1,315 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.10.4.ebuild,v 1.3 2014/12/28 15:59:10 titanofold Exp $
-
-EAPI=5
-inherit eutils multilib ssl-cert toolchain-funcs flag-o-matic pam user versionator systemd
-
-MY_PV="${PV/_pre/-}"
-MY_SRC="${PN}-${MY_PV}"
-MY_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official"
-VDA_PV="2.10.0"
-VDA_P="${PN}-vda-v13-${VDA_PV}"
-RC_VER="2.7"
-
-DESCRIPTION="A fast and secure drop-in replacement for sendmail"
-HOMEPAGE="http://www.postfix.org/"
-SRC_URI="${MY_URI}/${MY_SRC}.tar.gz
-       vda? ( http://vda.sourceforge.net/VDA/${VDA_P}.patch ) "
-
-LICENSE="IBM"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="+berkdb cdb doc dovecot-sasl hardened ldap ldap-bind memcached mbox mysql nis pam postgres sasl selinux sqlite ssl vda"
-
-DEPEND=">=dev-libs/libpcre-3.4
-       dev-lang/perl
-       berkdb? ( >=sys-libs/db-3.2 )
-       cdb? ( || ( >=dev-db/tinycdb-0.76 >=dev-db/cdb-0.75-r1 ) )
-       ldap? ( net-nds/openldap )
-       ldap-bind? ( net-nds/openldap[sasl] )
-       mysql? ( virtual/mysql )
-       pam? ( virtual/pam )
-       postgres? ( dev-db/postgresql )
-       sasl? (  >=dev-libs/cyrus-sasl-2 )
-       sqlite? ( dev-db/sqlite:3 )
-       ssl? ( >=dev-libs/openssl-0.9.6g )"
-
-RDEPEND="${DEPEND}
-       dovecot-sasl? ( net-mail/dovecot )
-       memcached? ( net-misc/memcached )
-       net-mail/mailbase
-       selinux? ( sec-policy/selinux-postfix )
-       !mail-mta/courier
-       !mail-mta/esmtp
-       !mail-mta/exim
-       !mail-mta/mini-qmail
-       !mail-mta/msmtp[mta]
-       !mail-mta/netqmail
-       !mail-mta/nullmailer
-       !mail-mta/qmail-ldap
-       !mail-mta/sendmail
-       !mail-mta/opensmtpd
-       !<mail-mta/ssmtp-2.64-r2
-       !>=mail-mta/ssmtp-2.64-r2[mta]
-       !net-mail/fastforward"
-
-REQUIRED_USE="ldap-bind? ( ldap sasl )"
-
-S="${WORKDIR}/${MY_SRC}"
-
-pkg_setup() {
-       # Add postfix, postdrop user/group (bug #77565)
-       enewgroup postfix 207
-       enewgroup postdrop 208
-       enewuser postfix 207 -1 /var/spool/postfix postfix,mail
-}
-
-src_prepare() {
-       epatch "${FILESDIR}/${PN}-2.11.1-db6.patch"
-       if use vda; then
-               epatch "${DISTDIR}"/${VDA_P}.patch
-       fi
-
-       sed -i -e "/^#define ALIAS_DB_MAP/s|:/etc/aliases|:/etc/mail/aliases|" \
-               src/util/sys_defs.h || die "sed failed"
-
-       # change default paths to better comply with portage standard paths
-       sed -i -e "s:/usr/local/:/usr/:g" conf/master.cf || die "sed failed"
-}
-
-src_configure() {
-       # Make sure LDFLAGS get passed down to the executables.
-       local mycc="-DHAS_PCRE" mylibs="${LDFLAGS} -lpcre -lcrypt -lpthread"
-
-       use pam && mylibs="${mylibs} -lpam"
-
-       if use ldap; then
-               mycc="${mycc} -DHAS_LDAP"
-               mylibs="${mylibs} -lldap -llber"
-       fi
-
-       if use mysql; then
-               mycc="${mycc} -DHAS_MYSQL $(mysql_config --include)"
-               mylibs="${mylibs} $(mysql_config --libs)"
-       fi
-
-       if use postgres; then
-               mycc="${mycc} -DHAS_PGSQL -I$(pg_config --includedir)"
-               mylibs="${mylibs} -lpq -L$(pg_config --libdir)"
-       fi
-
-       if use sqlite; then
-               mycc="${mycc} -DHAS_SQLITE"
-               mylibs="${mylibs} -lsqlite3"
-       fi
-
-       if use ssl; then
-               mycc="${mycc} -DUSE_TLS"
-               mylibs="${mylibs} -lssl -lcrypto"
-       fi
-
-       # broken. and "in other words, not supported" by upstream.
-       # Use inet_protocols setting in main.cf
-       #if ! use ipv6; then
-       #       mycc="${mycc} -DNO_IPV6"
-       #fi
-
-       if use sasl; then
-               if use dovecot-sasl; then
-                       # Set dovecot as default.
-                       mycc="${mycc} -DDEF_SASL_SERVER=\\\"dovecot\\\""
-               fi
-               if use ldap-bind; then
-                       mycc="${mycc} -DUSE_LDAP_SASL"
-               fi
-               mycc="${mycc} -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl"
-               mylibs="${mylibs} -lsasl2"
-       elif use dovecot-sasl; then
-               mycc="${mycc} -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\""
-       fi
-
-       if ! use nis; then
-               sed -i -e "s|#define HAS_NIS|//#define HAS_NIS|g" \
-                       src/util/sys_defs.h || die "sed failed"
-       fi
-
-       if ! use berkdb; then
-               mycc="${mycc} -DNO_DB"
-               if use cdb; then
-                       # change default hash format from Berkeley DB to cdb
-                       sed -i -e "s/hash/cdb/" src/util/sys_defs.h || die
-               fi
-       fi
-
-       if use cdb; then
-               mycc="${mycc} -DHAS_CDB -I/usr/include/cdb"
-               CDB_LIBS=""
-               # Tinycdb is preferred.
-               if has_version dev-db/tinycdb ; then
-                       einfo "Building with dev-db/tinycdb"
-                       CDB_LIBS="-lcdb"
-               else
-                       einfo "Building with dev-db/cdb"
-                       CDB_PATH="/usr/$(get_libdir)"
-                       for i in cdb.a alloc.a buffer.a unix.a byte.a ; do
-                               CDB_LIBS="${CDB_LIBS} ${CDB_PATH}/${i}"
-                       done
-               fi
-               mylibs="${mylibs} ${CDB_LIBS}"
-       fi
-
-       # Robin H. Johnson <robbat2@gentoo.org> 17/Nov/2006
-       # Fix because infra boxes hit 2Gb .db files that fail a 32-bit fstat signed check.
-       mycc="${mycc} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
-       filter-lfs-flags
-
-       # Workaround for bug #76512
-       if use hardened; then
-               [[ "$(gcc-version)" == "3.4" ]] && replace-flags -O? -Os
-       fi
-
-       # Remove annoying C++ comment style warnings - bug #378099
-       append-flags -Wno-comment
-
-       sed -i -e "/^RANLIB/s/ranlib/$(tc-getRANLIB)/g" "${S}"/makedefs
-       sed -i -e "/^AR/s/ar/$(tc-getAR)/g" "${S}"/makedefs
-       emake DEBUG="" CC="$(tc-getCC)" OPT="${CFLAGS}" CCARGS="${mycc}" AUXLIBS="${mylibs}" makefiles
-}
-
-src_install () {
-       local myconf
-       use doc && myconf="readme_directory=\"/usr/share/doc/${PF}/readme\" \
-               html_directory=\"/usr/share/doc/${PF}/html\""
-
-       /bin/sh postfix-install \
-               -non-interactive \
-               install_root="${D}" \
-               config_directory="/etc/postfix" \
-               manpage_directory="/usr/share/man" \
-               command_directory="/usr/sbin" \
-               mailq_path="/usr/bin/mailq" \
-               newaliases_path="/usr/bin/newaliases" \
-               sendmail_path="/usr/sbin/sendmail" \
-               ${myconf} \
-               || die "postfix-install failed"
-
-       # Fix spool removal on upgrade
-       rm -Rf "${D}"/var
-       keepdir /var/spool/postfix
-
-       # Install rmail for UUCP, closes bug #19127
-       dobin auxiliary/rmail/rmail
-
-       # Provide another link for legacy FSH
-       dosym /usr/sbin/sendmail /usr/$(get_libdir)/sendmail
-
-       # Install qshape tool
-       dobin auxiliary/qshape/qshape.pl
-       doman man/man1/qshape.1
-
-       # Performance tuning tools and their manuals
-       dosbin bin/smtp-{source,sink} bin/qmqp-{source,sink}
-       doman man/man1/smtp-{source,sink}.1 man/man1/qmqp-{source,sink}.1
-
-       # Set proper permissions on required files/directories
-       dodir /var/lib/postfix
-       keepdir /var/lib/postfix
-       fowners -R postfix:postfix /var/lib/postfix
-       fperms 0750 /var/lib/postfix
-       fowners root:postdrop /usr/sbin/post{drop,queue}
-       fperms 02711 /usr/sbin/post{drop,queue}
-
-       keepdir /etc/postfix
-       if use mbox; then
-               mypostconf="mail_spool_directory=/var/spool/mail"
-       else
-               mypostconf="home_mailbox=.maildir/"
-       fi
-       "${D}"/usr/sbin/postconf -c "${D}"/etc/postfix \
-               -e ${mypostconf} || die "postconf failed"
-
-       insinto /etc/postfix
-       newins "${FILESDIR}"/smtp.pass saslpass
-       fperms 600 /etc/postfix/saslpass
-
-       newinitd "${FILESDIR}"/postfix.rc6.${RC_VER} postfix
-       # do not start mysql/postgres unnecessarily - bug #359913
-       use mysql || sed -i -e "s/mysql //" "${D}/etc/init.d/postfix"
-       use postgres || sed -i -e "s/postgresql //" "${D}/etc/init.d/postfix"
-
-       dodoc *README COMPATIBILITY HISTORY PORTING RELEASE_NOTES*
-       mv "${D}"/etc/postfix/{*.default,makedefs.out} "${D}"/usr/share/doc/${PF}/
-       use doc && mv "${S}"/examples "${D}"/usr/share/doc/${PF}/
-
-       pamd_mimic_system smtp auth account
-
-       if use sasl; then
-               insinto /etc/sasl2
-               newins "${FILESDIR}"/smtp.sasl smtpd.conf
-       fi
-
-       # header files
-       insinto /usr/include/postfix
-       doins include/*.h
-
-       # Remove unnecessary files
-       rm -f "${D}"/etc/postfix/{*LICENSE,access,aliases,canonical,generic}
-       rm -f "${D}"/etc/postfix/{header_checks,relocated,transport,virtual}
-
-       systemd_dounit "${FILESDIR}/${PN}.service"
-}
-
-pkg_preinst() {
-       # Postfix 2.9.
-       # default for inet_protocols changed from ipv4 to all in postfix-2.9.
-       # check inet_protocols setting in main.cf and modify if necessary to prevent
-       # performance loss with useless DNS lookups and useless connection attempts.
-       [[ -d ${ROOT}/etc/postfix ]] && {
-       if [[ "$(${D}/usr/sbin/postconf -dh inet_protocols)" != "ipv4" ]]; then
-               if [[ ! -n "$(${D}/usr/sbin/postconf -c ${ROOT}/etc/postfix -n inet_protocols)" ]];
-               then
-                       ewarn "\nCOMPATIBILITY: adding inet_protocols=ipv4 to main.cf."
-                       ewarn "That will keep the same behaviour as previous postfix versions."
-                       ewarn "Specify inet_protocols explicitly if you want to enable IPv6.\n"
-               else
-                       # delete inet_protocols setting. there is already one in /etc/postfix
-                       sed -i -e /inet_protocols/d "${D}"/etc/postfix/main.cf || die
-               fi
-       fi
-       }
-}
-
-pkg_postinst() {
-       # Do not install server.{key,pem) SSL certificates if they already exist
-       if use ssl && [[ ! -f "${ROOT}"/etc/ssl/postfix/server.key \
-               && ! -f "${ROOT}"/etc/ssl/postfix/server.pem ]] ; then
-               SSL_ORGANIZATION="${SSL_ORGANIZATION:-Postfix SMTP Server}"
-               install_cert /etc/ssl/postfix/server
-               chown postfix:mail "${ROOT}"/etc/ssl/postfix/server.{key,pem}
-       fi
-
-       if [[ ! -e /etc/mail/aliases.db ]] ; then
-               ewarn
-               ewarn "You must edit /etc/mail/aliases to suit your needs"
-               ewarn "and then run /usr/bin/newaliases. Postfix will not"
-               ewarn "work correctly without it."
-               ewarn
-       fi
-
-       if [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 9 ]]; then
-               elog "If you are using old style postfix instances by symlinking"
-               elog "startup scripts in ${ROOT}etc/init.d, please consider"
-               elog "upgrading your config for postmulti support. For more info:"
-               elog "http://www.postfix.org/MULTI_INSTANCE_README.html"
-               if ! use berkdb; then
-                       ewarn "\nPostfix is installed without BerkeleyDB support."
-                       ewarn "Please turn on berkdb USE flag if you need hash or"
-                       ewarn "btree table lookups.\n"
-               fi
-               ewarn "Postfix daemons now live under /usr/libexec/postfix"
-               ewarn "Please adjust your main.cf accordingly by running"
-               ewarn "etc-update/dispatch-conf or similar and accepting the new"
-               ewarn "daemon_directory setting."
-       fi
-}
diff --git a/mail-mta/postfix/postfix-2.10.5.ebuild b/mail-mta/postfix/postfix-2.10.5.ebuild
deleted file mode 100644 (file)
index e567499..0000000
+++ /dev/null
@@ -1,315 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.10.5.ebuild,v 1.3 2014/12/28 15:59:10 titanofold Exp $
-
-EAPI=5
-inherit eutils multilib ssl-cert toolchain-funcs flag-o-matic pam user versionator systemd
-
-MY_PV="${PV/_pre/-}"
-MY_SRC="${PN}-${MY_PV}"
-MY_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official"
-VDA_PV="2.10.0"
-VDA_P="${PN}-vda-v13-${VDA_PV}"
-RC_VER="2.7"
-
-DESCRIPTION="A fast and secure drop-in replacement for sendmail"
-HOMEPAGE="http://www.postfix.org/"
-SRC_URI="${MY_URI}/${MY_SRC}.tar.gz
-       vda? ( http://vda.sourceforge.net/VDA/${VDA_P}.patch ) "
-
-LICENSE="IBM"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="+berkdb cdb doc dovecot-sasl hardened ldap ldap-bind memcached mbox mysql nis pam postgres sasl selinux sqlite ssl vda"
-
-DEPEND=">=dev-libs/libpcre-3.4
-       dev-lang/perl
-       berkdb? ( >=sys-libs/db-3.2 )
-       cdb? ( || ( >=dev-db/tinycdb-0.76 >=dev-db/cdb-0.75-r1 ) )
-       ldap? ( net-nds/openldap )
-       ldap-bind? ( net-nds/openldap[sasl] )
-       mysql? ( virtual/mysql )
-       pam? ( virtual/pam )
-       postgres? ( dev-db/postgresql )
-       sasl? (  >=dev-libs/cyrus-sasl-2 )
-       sqlite? ( dev-db/sqlite:3 )
-       ssl? ( >=dev-libs/openssl-0.9.6g )"
-
-RDEPEND="${DEPEND}
-       dovecot-sasl? ( net-mail/dovecot )
-       memcached? ( net-misc/memcached )
-       net-mail/mailbase
-       selinux? ( sec-policy/selinux-postfix )
-       !mail-mta/courier
-       !mail-mta/esmtp
-       !mail-mta/exim
-       !mail-mta/mini-qmail
-       !mail-mta/msmtp[mta]
-       !mail-mta/netqmail
-       !mail-mta/nullmailer
-       !mail-mta/qmail-ldap
-       !mail-mta/sendmail
-       !mail-mta/opensmtpd
-       !<mail-mta/ssmtp-2.64-r2
-       !>=mail-mta/ssmtp-2.64-r2[mta]
-       !net-mail/fastforward"
-
-REQUIRED_USE="ldap-bind? ( ldap sasl )"
-
-S="${WORKDIR}/${MY_SRC}"
-
-pkg_setup() {
-       # Add postfix, postdrop user/group (bug #77565)
-       enewgroup postfix 207
-       enewgroup postdrop 208
-       enewuser postfix 207 -1 /var/spool/postfix postfix,mail
-}
-
-src_prepare() {
-       epatch "${FILESDIR}/${PN}-2.11.1-db6.patch"
-       if use vda; then
-               epatch "${DISTDIR}"/${VDA_P}.patch
-       fi
-
-       sed -i -e "/^#define ALIAS_DB_MAP/s|:/etc/aliases|:/etc/mail/aliases|" \
-               src/util/sys_defs.h || die "sed failed"
-
-       # change default paths to better comply with portage standard paths
-       sed -i -e "s:/usr/local/:/usr/:g" conf/master.cf || die "sed failed"
-}
-
-src_configure() {
-       # Make sure LDFLAGS get passed down to the executables.
-       local mycc="-DHAS_PCRE" mylibs="${LDFLAGS} -lpcre -lcrypt -lpthread"
-
-       use pam && mylibs="${mylibs} -lpam"
-
-       if use ldap; then
-               mycc="${mycc} -DHAS_LDAP"
-               mylibs="${mylibs} -lldap -llber"
-       fi
-
-       if use mysql; then
-               mycc="${mycc} -DHAS_MYSQL $(mysql_config --include)"
-               mylibs="${mylibs} $(mysql_config --libs)"
-       fi
-
-       if use postgres; then
-               mycc="${mycc} -DHAS_PGSQL -I$(pg_config --includedir)"
-               mylibs="${mylibs} -lpq -L$(pg_config --libdir)"
-       fi
-
-       if use sqlite; then
-               mycc="${mycc} -DHAS_SQLITE"
-               mylibs="${mylibs} -lsqlite3"
-       fi
-
-       if use ssl; then
-               mycc="${mycc} -DUSE_TLS"
-               mylibs="${mylibs} -lssl -lcrypto"
-       fi
-
-       # broken. and "in other words, not supported" by upstream.
-       # Use inet_protocols setting in main.cf
-       #if ! use ipv6; then
-       #       mycc="${mycc} -DNO_IPV6"
-       #fi
-
-       if use sasl; then
-               if use dovecot-sasl; then
-                       # Set dovecot as default.
-                       mycc="${mycc} -DDEF_SASL_SERVER=\\\"dovecot\\\""
-               fi
-               if use ldap-bind; then
-                       mycc="${mycc} -DUSE_LDAP_SASL"
-               fi
-               mycc="${mycc} -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl"
-               mylibs="${mylibs} -lsasl2"
-       elif use dovecot-sasl; then
-               mycc="${mycc} -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\""
-       fi
-
-       if ! use nis; then
-               sed -i -e "s|#define HAS_NIS|//#define HAS_NIS|g" \
-                       src/util/sys_defs.h || die "sed failed"
-       fi
-
-       if ! use berkdb; then
-               mycc="${mycc} -DNO_DB"
-               if use cdb; then
-                       # change default hash format from Berkeley DB to cdb
-                       sed -i -e "s/hash/cdb/" src/util/sys_defs.h || die
-               fi
-       fi
-
-       if use cdb; then
-               mycc="${mycc} -DHAS_CDB -I/usr/include/cdb"
-               CDB_LIBS=""
-               # Tinycdb is preferred.
-               if has_version dev-db/tinycdb ; then
-                       einfo "Building with dev-db/tinycdb"
-                       CDB_LIBS="-lcdb"
-               else
-                       einfo "Building with dev-db/cdb"
-                       CDB_PATH="/usr/$(get_libdir)"
-                       for i in cdb.a alloc.a buffer.a unix.a byte.a ; do
-                               CDB_LIBS="${CDB_LIBS} ${CDB_PATH}/${i}"
-                       done
-               fi
-               mylibs="${mylibs} ${CDB_LIBS}"
-       fi
-
-       # Robin H. Johnson <robbat2@gentoo.org> 17/Nov/2006
-       # Fix because infra boxes hit 2Gb .db files that fail a 32-bit fstat signed check.
-       mycc="${mycc} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
-       filter-lfs-flags
-
-       # Workaround for bug #76512
-       if use hardened; then
-               [[ "$(gcc-version)" == "3.4" ]] && replace-flags -O? -Os
-       fi
-
-       # Remove annoying C++ comment style warnings - bug #378099
-       append-flags -Wno-comment
-
-       sed -i -e "/^RANLIB/s/ranlib/$(tc-getRANLIB)/g" "${S}"/makedefs
-       sed -i -e "/^AR/s/ar/$(tc-getAR)/g" "${S}"/makedefs
-       emake DEBUG="" CC="$(tc-getCC)" OPT="${CFLAGS}" CCARGS="${mycc}" AUXLIBS="${mylibs}" makefiles
-}
-
-src_install () {
-       local myconf
-       use doc && myconf="readme_directory=\"/usr/share/doc/${PF}/readme\" \
-               html_directory=\"/usr/share/doc/${PF}/html\""
-
-       /bin/sh postfix-install \
-               -non-interactive \
-               install_root="${D}" \
-               config_directory="/etc/postfix" \
-               manpage_directory="/usr/share/man" \
-               command_directory="/usr/sbin" \
-               mailq_path="/usr/bin/mailq" \
-               newaliases_path="/usr/bin/newaliases" \
-               sendmail_path="/usr/sbin/sendmail" \
-               ${myconf} \
-               || die "postfix-install failed"
-
-       # Fix spool removal on upgrade
-       rm -Rf "${D}"/var
-       keepdir /var/spool/postfix
-
-       # Install rmail for UUCP, closes bug #19127
-       dobin auxiliary/rmail/rmail
-
-       # Provide another link for legacy FSH
-       dosym /usr/sbin/sendmail /usr/$(get_libdir)/sendmail
-
-       # Install qshape tool
-       dobin auxiliary/qshape/qshape.pl
-       doman man/man1/qshape.1
-
-       # Performance tuning tools and their manuals
-       dosbin bin/smtp-{source,sink} bin/qmqp-{source,sink}
-       doman man/man1/smtp-{source,sink}.1 man/man1/qmqp-{source,sink}.1
-
-       # Set proper permissions on required files/directories
-       dodir /var/lib/postfix
-       keepdir /var/lib/postfix
-       fowners -R postfix:postfix /var/lib/postfix
-       fperms 0750 /var/lib/postfix
-       fowners root:postdrop /usr/sbin/post{drop,queue}
-       fperms 02711 /usr/sbin/post{drop,queue}
-
-       keepdir /etc/postfix
-       if use mbox; then
-               mypostconf="mail_spool_directory=/var/spool/mail"
-       else
-               mypostconf="home_mailbox=.maildir/"
-       fi
-       "${D}"/usr/sbin/postconf -c "${D}"/etc/postfix \
-               -e ${mypostconf} || die "postconf failed"
-
-       insinto /etc/postfix
-       newins "${FILESDIR}"/smtp.pass saslpass
-       fperms 600 /etc/postfix/saslpass
-
-       newinitd "${FILESDIR}"/postfix.rc6.${RC_VER} postfix
-       # do not start mysql/postgres unnecessarily - bug #359913
-       use mysql || sed -i -e "s/mysql //" "${D}/etc/init.d/postfix"
-       use postgres || sed -i -e "s/postgresql //" "${D}/etc/init.d/postfix"
-
-       dodoc *README COMPATIBILITY HISTORY PORTING RELEASE_NOTES*
-       mv "${D}"/etc/postfix/{*.default,makedefs.out} "${D}"/usr/share/doc/${PF}/
-       use doc && mv "${S}"/examples "${D}"/usr/share/doc/${PF}/
-
-       pamd_mimic_system smtp auth account
-
-       if use sasl; then
-               insinto /etc/sasl2
-               newins "${FILESDIR}"/smtp.sasl smtpd.conf
-       fi
-
-       # header files
-       insinto /usr/include/postfix
-       doins include/*.h
-
-       # Remove unnecessary files
-       rm -f "${D}"/etc/postfix/{*LICENSE,access,aliases,canonical,generic}
-       rm -f "${D}"/etc/postfix/{header_checks,relocated,transport,virtual}
-
-       systemd_dounit "${FILESDIR}/${PN}.service"
-}
-
-pkg_preinst() {
-       # Postfix 2.9.
-       # default for inet_protocols changed from ipv4 to all in postfix-2.9.
-       # check inet_protocols setting in main.cf and modify if necessary to prevent
-       # performance loss with useless DNS lookups and useless connection attempts.
-       [[ -d ${ROOT}/etc/postfix ]] && {
-       if [[ "$(${D}/usr/sbin/postconf -dh inet_protocols)" != "ipv4" ]]; then
-               if [[ ! -n "$(${D}/usr/sbin/postconf -c ${ROOT}/etc/postfix -n inet_protocols)" ]];
-               then
-                       ewarn "\nCOMPATIBILITY: adding inet_protocols=ipv4 to main.cf."
-                       ewarn "That will keep the same behaviour as previous postfix versions."
-                       ewarn "Specify inet_protocols explicitly if you want to enable IPv6.\n"
-               else
-                       # delete inet_protocols setting. there is already one in /etc/postfix
-                       sed -i -e /inet_protocols/d "${D}"/etc/postfix/main.cf || die
-               fi
-       fi
-       }
-}
-
-pkg_postinst() {
-       # Do not install server.{key,pem) SSL certificates if they already exist
-       if use ssl && [[ ! -f "${ROOT}"/etc/ssl/postfix/server.key \
-               && ! -f "${ROOT}"/etc/ssl/postfix/server.pem ]] ; then
-               SSL_ORGANIZATION="${SSL_ORGANIZATION:-Postfix SMTP Server}"
-               install_cert /etc/ssl/postfix/server
-               chown postfix:mail "${ROOT}"/etc/ssl/postfix/server.{key,pem}
-       fi
-
-       if [[ ! -e /etc/mail/aliases.db ]] ; then
-               ewarn
-               ewarn "You must edit /etc/mail/aliases to suit your needs"
-               ewarn "and then run /usr/bin/newaliases. Postfix will not"
-               ewarn "work correctly without it."
-               ewarn
-       fi
-
-       if [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 9 ]]; then
-               elog "If you are using old style postfix instances by symlinking"
-               elog "startup scripts in ${ROOT}etc/init.d, please consider"
-               elog "upgrading your config for postmulti support. For more info:"
-               elog "http://www.postfix.org/MULTI_INSTANCE_README.html"
-               if ! use berkdb; then
-                       ewarn "\nPostfix is installed without BerkeleyDB support."
-                       ewarn "Please turn on berkdb USE flag if you need hash or"
-                       ewarn "btree table lookups.\n"
-               fi
-               ewarn "Postfix daemons now live under /usr/libexec/postfix"
-               ewarn "Please adjust your main.cf accordingly by running"
-               ewarn "etc-update/dispatch-conf or similar and accepting the new"
-               ewarn "daemon_directory setting."
-       fi
-}