summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2013-02-26 09:04:51 +0000
committerEray Aslan <eras@gentoo.org>2013-02-26 09:04:51 +0000
commitb326c7430a2fbdbb0e565ded8309a442f1c0aab8 (patch)
treed4b5b3e55c40d10681d3f3ec264430016c9e0fd7 /mail-filter/opendkim
parentRevbump to address x264 libav situation (bug 459218, thanks Oliver Freyermuth... (diff)
downloadhistorical-b326c7430a2fbdbb0e565ded8309a442f1c0aab8.tar.gz
historical-b326c7430a2fbdbb0e565ded8309a442f1c0aab8.tar.bz2
historical-b326c7430a2fbdbb0e565ded8309a442f1c0aab8.zip
Version bump and remove old
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64 Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'mail-filter/opendkim')
-rw-r--r--mail-filter/opendkim/ChangeLog11
-rw-r--r--mail-filter/opendkim/Manifest47
-rw-r--r--mail-filter/opendkim/files/opendkim-2.7.2-strl.patch37
-rw-r--r--mail-filter/opendkim/files/opendkim.init.r255
-rw-r--r--mail-filter/opendkim/opendkim-2.6.7-r1.ebuild204
-rw-r--r--mail-filter/opendkim/opendkim-2.6.8.ebuild204
-rw-r--r--mail-filter/opendkim/opendkim-2.7.0.ebuild188
-rw-r--r--mail-filter/opendkim/opendkim-2.7.1.ebuild188
-rw-r--r--mail-filter/opendkim/opendkim-2.7.2.ebuild189
-rw-r--r--mail-filter/opendkim/opendkim-2.8.0.ebuild (renamed from mail-filter/opendkim/opendkim-2.7.4.ebuild)32
-rw-r--r--mail-filter/opendkim/opendkim-2.8.0_beta7.ebuild191
11 files changed, 44 insertions, 1302 deletions
diff --git a/mail-filter/opendkim/ChangeLog b/mail-filter/opendkim/ChangeLog
index 694d75bda36b..f5392c6f3006 100644
--- a/mail-filter/opendkim/ChangeLog
+++ b/mail-filter/opendkim/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for mail-filter/opendkim
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/ChangeLog,v 1.60 2013/02/24 11:30:34 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/ChangeLog,v 1.61 2013/02/26 09:04:38 eras Exp $
+
+*opendkim-2.8.0 (26 Feb 2013)
+
+ 26 Feb 2013; Eray Aslan <eras@gentoo.org> +opendkim-2.8.0.ebuild,
+ -files/opendkim-2.7.2-strl.patch, -files/opendkim.init.r2,
+ -opendkim-2.6.7-r1.ebuild, -opendkim-2.6.8.ebuild, -opendkim-2.7.0.ebuild,
+ -opendkim-2.7.1.ebuild, -opendkim-2.7.2.ebuild, -opendkim-2.7.4.ebuild,
+ -opendkim-2.8.0_beta7.ebuild:
+ Version bump and remove old
24 Feb 2013; Agostino Sarubbo <ago@gentoo.org> opendkim-2.7.4-r1.ebuild:
Stable for x86, wrt bug #458702
diff --git a/mail-filter/opendkim/Manifest b/mail-filter/opendkim/Manifest
index 38880594bd93..090aed8910a9 100644
--- a/mail-filter/opendkim/Manifest
+++ b/mail-filter/opendkim/Manifest
@@ -1,44 +1,31 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
-AUX opendkim-2.7.2-strl.patch 1158 SHA256 23d06779d843aecd8a8540d40effa90f7d3fa854eccbee22672731438be7c88f SHA512 57dae887354a164d6146c55d258b8b41cdfbf9df887d228ab6ae9f2868b2096b44d738897880e1ad39c2d1d2ccade655cdb2658a171499cb470e6aafc0ca72bc WHIRLPOOL 760706018224941090b82b65b613bb90f51c6cfdba4f87bd640e6f301719c137592fd54f0bc383e0fa384f4f8e4ecd3699906ad70b86ffdf85f5fb9c12842ae0
AUX opendkim-2.7.4-DisableCryptoInit.patch 3747 SHA256 83c0fac5ed1393cdfda695637f337a2a43bcd45476f11ed7db1bc422a080f421 SHA512 c8c352a56150cf0e8a2ce4b0020c03d60da1e8c184e830b325348e1e9272df8634e014a4ae6b62d4c8c596d855ecdf163eb4c09104e31084d1643364bcf093f8 WHIRLPOOL d6ad3a4ea0c2ba7b41d06750beb3fb19dd26f29f44f1ffc6855e93f8a5e8af631c35c9b782d32a7fcb83361e881ea6dffb22d59035d9b3148cf39b37ee62f1db
AUX opendkim-2.7.4-bsd.patch 18006 SHA256 a4cfb4d26dc7d27134f66f7b1e78b40f6c0c77f3986af787001c094c4734f95f SHA512 9ee24d02d2662b2898dd073b7ec882889fe9568d2afca8751c6ad6c68af60523d77ca79557f540607a68cb159bf0df7266122ed8fe3a3b67ca4e578b325b4892 WHIRLPOOL 8408536bd7fd080eedc99b3b133562d5049a63a61420b5a38759237dce09af8ab257f524152ca870de18c13113b6370bc5c0f8fe06fc43d89101ecbcfbb157e9
AUX opendkim-2.8.0-unbreak_upgrade.patch 1042 SHA256 5c115fa185bc9a64fe847599e2c0fa8d4d2925f4b2dbdef1e88769195c79046d SHA512 b415fe2f05dd16489ac59038ab15b22c77da23fe1bc3b5fc82883186b4e2b44855f546fbc1128109e84b1c19ed868cffed66c72fd4600c66c27ce4f9363b44a2 WHIRLPOOL 6304af7e66862da3c215455273d486aa4f67ae0777209e92e1c81b9537722850699fdd8c167e95412abfb2143eefcb88ff3c58c4cfc380994e27e9c41deee8e8
AUX opendkim-unbreak_upgrade.patch 1050 SHA256 6518b34662ca366a4616ca1135d5cc529b62dd6b921d2b0074ba8fabedfbd739 SHA512 01755ba0675d19c6b1d582c502479ae843dccadc712e4af5e66fd63a333241cdd5e29fb1856020967faee5bbe454784745747c54c0994b216b7aaba340bc9107 WHIRLPOOL 6a0b6f9ebdc2a5b06a3a2b1ddd75adfe8e6109cf346ad3387718152e307db107c052b66fab7590a054a0977504f5eb705eca7e7c9d5d62c86f97d216b0d25366
-AUX opendkim.init.r2 1533 SHA256 0e8fab90020c109f602d8367a6501bfb3b397a50f020b6fade5024e2facf593c SHA512 8c7aef32c67e1ec4bf3afb0df48d861b6f1399c8a825161d00ca1400d87b084ad16de68401f9cece4cc9c07b06377641cc664d7e79750a0fc106f1088fb2dff7 WHIRLPOOL 00783d779d904118eb172f859c289d8b2b1832f1de1f17ab30a5a9f0af6ffa324395f2777b82fbde2e46d26f064d4ffec368b6734ce9cfe09173f24a7053de50
AUX opendkim.init.r3 1545 SHA256 63f316ef776ad1a9fe87cff7748fac4574c2355b6205e3ef21285ddb84c8cb33 SHA512 c28b93f230b65ba483302dbb0f6cba0d8b2cf29cce0309521e67f6aa0e4c041b0dd69eaca8152d6b0b1b02dbe1ff9634fef0840856c8e192f17a1c24ffac7166 WHIRLPOOL f42cb79de47d2fdac26ef4a45132e996640da824aadaf0c3e66182160e941322ff78a37c18a32ca50efb0bb4fbf11b622a1ce5931146c47a06156c256d568b81
-DIST opendkim-2.6.7.tar.gz 1129124 SHA256 45da209ccddfb6f6888ac2366b6e38a6460b36ff0da527aed910217cead6fc84 SHA512 f47f4c4805b96a2c57774dd69a7770751649397866b29392aa756c4b143579d93951166c817342fde12b8994251a8b44d2de61e6059fd04686e04aa6e668cdd3 WHIRLPOOL df662ca97ac937720038b16fb8b5e8f3f1d6a9d5b73102082a889abddaa003ca8ddf8fcba670fb16f7d00e4fd8b07fc0ddaff97f070e795822350751b0cb0608
-DIST opendkim-2.6.8.tar.gz 1141247 SHA256 1b2e9033842634a1dc891afa10a94ba58c0e7663670e2faf117b27bead541edc SHA512 0f1a48741194d9d47b9e301bb1d1a32f0396f12ed93eeafcaea74783e5ca9fb1f0a7cc6bb384df687d30026105e65c33c6b9cee86aa836906d959b4d2315946e WHIRLPOOL 00c841fc5d73ab7b0fe26a4612e8a319087a8a15a3a7fb5bcd61ad98cb9b5cf860fb54c98077ad99792d1e5c626bd2ce69eabb1da560f45725d23170e9100293
-DIST opendkim-2.7.0.tar.gz 1143836 SHA256 f5c2319ec23fa20a6bd4bb1b4abc005f6a7dbb77852c13091a3f2a042f82fee2 SHA512 17c53cfb7198162446c5db72d6bb234d41fcb6f167e12ee04609e36fd78916a2133f9f401800dd24e29ed811e4e123090296f24611b5fef6525711377642e320 WHIRLPOOL 52c8a0e20e2e2e3ba6364b0e14bd6122fcf3566c59029464fa5d9a1d5cf697dd89a1ce99b970987bf62c83768a64fe0be1caf02941f6153538368fd2428a9fd1
-DIST opendkim-2.7.1.tar.gz 1153665 SHA256 782c030ce3b09d9ef536d2b98910d5a9289ba2128e8392e6ff568b2ade0282ed SHA512 76074ba23f4a4e142f6c41cc2474ac8e4281a770695a615b51ddcb0cb1b195ac295ce2be3f433e2213fc2c7b3355fa470e19d6a3421d4f0af4acb065eb498dd0 WHIRLPOOL 69a61297d1d79c2a296b99453f5b24c4c9b109b8fab9d114d627c788e1ea2b5e836b99d7c11312214794157f3a48dd8ea6cb79d8bdbc6156c3e019743df57e37
-DIST opendkim-2.7.2.tar.gz 1156510 SHA256 cf72a26506ef48a2c6b231947226ab460cdb6e05b18176ee42a94b3b6d521b42 SHA512 be1cf2329f9a871df560bcdb60f9f2277ac5220ed9f94c112410994b1dc1f1ee7274bea76b8ce7c118695f73831fb3459007b728a151ece966a1021d6774e425 WHIRLPOOL 2e07e87bf274a3644bec6c42ccc7ca0575206fa67eba8009f52f24213a74c4985b2e78eb9e6b4b0938cb513c186b0c858f2d80330019a20eee18188d39f68677
DIST opendkim-2.7.4.tar.gz 1158496 SHA256 fa66f7ca52dd3fa94cd869e8fe9e8f849ab83d6a32a8d4ed3cf18b06b4584e76 SHA512 f897cea21832355cac5421a96a906f67aaff1bcc0ceb5e027c73845d7c0cd27ec12862a826534b01339571533cba061b86e1a1bad91c405488bada729e2846cb WHIRLPOOL afe329829211cedacc7d27b5a4d03469e1fe8935cabc0b51158a69862ef993d6438499a206628dafc31c7904b9b95d1eeb31edf6583249cf54396793af68bdbc
-DIST opendkim-2.8.0.Beta7.tar.gz 1170538 SHA256 bf66807396de1301372a1ff4cef3b3ccdcc3b681a93bc8c98b5de7524eee55c0 SHA512 464b1823be8e4acacec197603d14d6b2328f47e8867c843a46437e0cd3733986345933a66d965e20d5d0f2b6597018d77e2479dbb4b4428131b361459feca9ba WHIRLPOOL 2a7ea1c521bedc5d304c8fa2ae848996a4366a21378370e98b07f6a4a01a5547ae2c1b42b321dec7c77e193dd38d6b30fb8138431d4f9839819da81f03205454
-EBUILD opendkim-2.6.7-r1.ebuild 6380 SHA256 1fdfd5a87069115fea59cd641a554561b89666eb05283355c19429e36ef42fdb SHA512 3923604c1fa2f53ded36ee08fca144b9683f322b5f40342a46dd25085a8af18856c7b9238020f22f4f054a31d79d22d6bec85627e0aa616956b26b1821762d05 WHIRLPOOL e07276482ec7107e5b7af5bc57581bf6e04761ae9801ceb4f649b43a30467ed6d5be22fbcaa506acbb113f675f98f5100e09b0a45d4304c5b66d1642d2a8ece6
-EBUILD opendkim-2.6.8.ebuild 6380 SHA256 1251c1d8ced6ad6b0c2c51fe20699623fc5d10c41bd0b3cd73eca9b31fbd8f2a SHA512 68914959f5e82083e36e41731a2121f08e3dabd97c46849e611a09cd757017dd1f853ccaa95216ee988010634e9933767f4caae34e46cb161847d5be245ab221 WHIRLPOOL 3a3bca5c1a51066bcd91dd7e6bc29a0c364a7fdfff9c027268a11f847dcab07300e09d2d88bdd04b3fd696f4abc06275e2408f5e7535d01a5b2b6e23bd76cb63
-EBUILD opendkim-2.7.0.ebuild 5980 SHA256 bba11f3060774c3e665b8c9e0a91483a817d34f6c40268214ed2f66591059c6f SHA512 bbae17c344d99a982e549feeaeb85c9fefa3739c6b35e0e05ffc26c65b92befb4e44284c24dcd17a645e61545805fbb75b57192e8afea639a6595543bd30e87d WHIRLPOOL b256873263f8b861c8c67c453c6f737eccb526cb96ff04306bea949d002c06232f792d1a26945b943cee0db5b8b014f8557a7f54897e5854ff90f67239dcda6c
-EBUILD opendkim-2.7.1.ebuild 5980 SHA256 1b0ab9e9a9c3ad9ee31c7a55102c0e8eab149f56dce0c1348f9a981d09044379 SHA512 3b240ae0f2e2f2716a2f206fb668d4e01eea2c0ec04dbf638c78cb5ebaaf98c15ae45540a14a8433832222fcba2b25ac12e1c3bf4e35bc73b1a858f22f5b9c7a WHIRLPOOL ce2318ef0e7104ad756cd2f6d03114a653c0763f14ecbf8d001e52a01ac6f6dfe22fc0cd02e8c305b322d1aba8cddd8644b05c8a9633aefbb2ff9c9c439bf8ad
-EBUILD opendkim-2.7.2.ebuild 6018 SHA256 bf833332cc51619ef502df419bd1ea00f4cfac9580c0d769ee27d03e6d9be51e SHA512 46dd38590bc4683244bf57f65bf0d796cacded1a6c8507dddd7337e4b147169e7a21428b495863de52651af89020911651dc6b9d6b891fc761a61c0f886a9de1 WHIRLPOOL 4bafda1b64e90f60ead18947ec051fa55e4b7edf1be3be0208c6d365ebc5fa040253987e4b9a965e4b053f6450d41b3708d49db0f3a570a1cf397b28846f89e2
+DIST opendkim-2.8.0.tar.gz 1175377 SHA256 a7b369b2182031d53257cbbac7ed99d70b00ebc442dfb832dc7d78d5d7b0c31c SHA512 35730e100307e5bdca9fd1c79e13371bd46e73b6a97f7244edaa4fe1bc693a0825ed2bab349155af11d472da7e0635e558f1c755468efdddeef073b3abc0041b WHIRLPOOL a85a69e31eef3eb4e37cc5c6285ef189367d4d4e3ceef6966ccde008d99d897ca862950316cec9e42ad0566fc9814e2cbd6a9f7dbfc2fdc2cf6909bfd83699b8
EBUILD opendkim-2.7.4-r1.ebuild 6135 SHA256 8254b24c351dd750cad24c36622e0ced17bdf5eff0fc3407f068c28c92c7a816 SHA512 da2633e235431cdf6f496a07bdfde3435878120c7c3e838cf2766920197a54ba62ceb8bb4ed3dc1f936911768ac3c1f10c727bb9e1dfda21a888a3857ecf087f WHIRLPOOL 01df0472e302dda26923157c311ff6aaf90d78e4ca295ead74983ed063cc02868977ea47c918efdd1e8757bfdcb08001864ee4163c85bdee93c6f58fe6f1c5f6
-EBUILD opendkim-2.7.4.ebuild 6085 SHA256 f94750bee3106d5cb84480fc2f0c6f211b2d5d077e287d481840ece3eb37d315 SHA512 b7fef312987158eba8c28bd8704cade8911805187465acc3bebd809fa4cc0518b23790b5205eb1d6421a868b427491f1e434de9bdea11582b5d7aa94402df3ae WHIRLPOOL 6d39660ae2a899647010ce3041b2e22794228e97ca2d45b67f6d7d3f262652ab73c9fa6c05da7565028cf6afd17c3506f3920f213462a97281780480f92880fd
-EBUILD opendkim-2.8.0_beta7.ebuild 6095 SHA256 ff5aa6e16623a6c948f20a18da7ef76b9684d13b18585a5c050bc15a8d718160 SHA512 601f96027776fa1c2188fbb0e35fc6d9908b284728849fce29e70d13e3828d78e07618c6961be13d26ff9a6b91f0a0fc0e43f863393bb898e140b25896429d9f WHIRLPOOL 6d94a756b9d97e7773e87da7936f3f930e59d51bc977a2e8fb006684d5800d6432dcde2c939d46942ae8d58ce427e2e1364d36eb85b95396c425a5d4303a192f
-MISC ChangeLog 10892 SHA256 3a5441dc4d88fd2d08574c6a68b8ae04e9922ced9409dc6f3421221ae395e5aa SHA512 64af171ed685419bb8afd93cc4783ffcfe9d6ba57b5707aa4613a9e9d1d9ce8d66a9aa480080d5b3ed7cd01ec72f068540043718160a0ba10a40fde0b1e8a10a WHIRLPOOL 3a7131f61843c9fec2f288dc1b4b5d39a32713e72b2169748141c6263d5278315222dc71e83ec1445748a6a47c58744268e960cb364a4b28e796747c2e2ccdca
+EBUILD opendkim-2.8.0.ebuild 6144 SHA256 95556dda451ef7676e445bd75824b28ea52e9aa47b1ab69cf2bb1038053e5ac6 SHA512 d532de8f9f4d595bada1169f139904f7946f22a4fbd4ee37b910af336a338b015d0ad560e73bb2bfd22ad78ca6a78e391f8b71cc9a554a3bbee6c6429f01b43b WHIRLPOOL a2406e9bf001dd0fbd1c10a32ab44e0d071e54baad1e8973ad858f69ca3b28c6f7dc288a6bc3c9fd3726c3296713deb01cc00e77f3341b1e7ace2e42b449b824
+MISC ChangeLog 11267 SHA256 6f2e9daf82146a8f090be89c0247a60c61fc51ba46b2392975a683bac5da8465 SHA512 ea022995d4f65bc5b60d2d058c6368d71f7b754afbe79b25b94cd4a33bf930837eac9e1fe2870b4fbeacda4025dbfc10053fd454e8d38c1c2b0784aec9dfe596 WHIRLPOOL cf4e99ea87890270431e99a4268916c99cd6cec872f2b37f1608276c0f9a6fae191dc3ec1605244babfc6f5b6d1ed6c44c2ce483c6cf86e0a43f308b078df2fd
MISC metadata.xml 1325 SHA256 5c79e487583ffa41f2823235e61232f84c1ac18ef41b1b71150f8d32f76b82eb SHA512 ae25f27a0c0cc5c3460b150f3eb6369e34b3051984b58da6a81847b5e90edc62e91fdd8f0d428576ef73614db095dc3a415237cccc1cc3cc806f9d99ff588df5 WHIRLPOOL d8b1221d484e12c31d76a20e8a7e6e0d033e16884e7dd14f657d4383f24f8f9294bc51dea4f512896a4183f9299c2faef31e7540d95c418000245090a3a0cdfe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCgAGBQJRKfnZAAoJELp701BxlEWfGB4QAJWOCH5MIOJd3le5egb7KWPX
-J9qEzhcO8fyLdIlz4NSpVoAY9POxSwghwZ/B/0VroIslN0a/PoMpvm5vUKVpiGmg
-zLHw1JN44hw2sI6sBpCojecB0upZLg7eyTS5s3dDLUFtwjJjSWsSbXma8N5o+lxo
-AuwR8k7JscZo6bQjbEs6NR8M1LvpIXQys7a9dSyPhNp2PYrAOhh0SQYCk/s8w73R
-5ah4qTI/vfhDKP0nG3n1Irq6WuF6MikY9v2CxKZ1e85XJ4pZ0yBzmQKSMt6wGTuF
-sGXpfh/TkXeCfPZos9oTmTJY1XOjfxztya/VibBHh5ut+H7pDL8+N1/Kbq5Hlj6h
-jAofXT/7X04qEfJZRAAA3/PpoAxQR/phJ81GTXZPmM3KKT8A3rlaH6Xc3ute4hOb
-JwTrZ2tqQ85fsPiYdyk9/srO8TcFCIqJiubwZnPGV9fPDC1kgx8uRi4nACVUBmcp
-Lq9S1sP/Oz/kfFwKyPG9GbGkoKj2ZPdeimOeechCdzVyaymSKhaTjcOKKHBOOY5E
-lrRmGNPd0MyiMpSPoW9GCwyMdk7VJUU3svyBadsgeNi6JpAYI0TODl9H99qwX+4h
-gDE2UYj3et/YmfJKTEvsamYqN4z2pbGbRMZE6HWzyCHUs28E+CFOYG5WuF8cBfbH
-xiEAiXsdM4ewKXXgXaZW
-=4Gkg
+iQIcBAEBCAAGBQJRLHqyAAoJEHfx8XVYajsfu7UP/1R35zbYsETZUNwXFPoNeQUh
+xRcCOSH8vqCmv9tllRDt85T2A0TexwasXaUyZxDACuwBAcRmGaYRrJYdDay43RDb
+BFEyuBm+/CyBSC24iZKFNQvxrtvw62Se3RmdzPsZlyrktxNTKipHfvnkq9L1atN1
+ahoe89i/h0Wxk93m87S79zcuTdclRXkg2AmySStu9dDi4Wxe1Ann8R4IIGZEvfc8
+TSRDR+PYZ4TJ8mHPdmm7u0DNl4qMc6Q4bl0wzz5fukTYadrpYOVHGW9Id7lqWxGf
+gF4zJqPGzZ48ctznApUMvBlusj7PuUvsfFPkLpXxijmoYHi4OMqHg6pgc06LBvzt
+Og/iUFo+5PvFSf7BC21ULuRks19uCyVHgF0UtoKVpDTRO3Cr5yHLVDV9ZmP7FHKb
+tq+jJKkkUK2P3xjUEBQovVq4TuW/L1dfQgf3Kbzh9YcrPnIEey5J3Ozsz/w9ED/y
+NZwvhQNJek0y45PyYw+nCvUR+prTV4v13/xyObhW8rLZzdQ9Rk0YDF5tQS//C555
+I/VU3Wrm3GXrFOK95tg6M0lJ1+0UbMzXapswEkYwLOhtPN2A5OQFDjmjSjlhLgzc
+DbcrcZD+tJkLKR4DhuZwV3cCeyvvRBzLfAKmoDZpGbQorbpWVJDsXwjVwWZiCkVF
+cQGXp0S6gALuy8K0e8b0
+=/IkY
-----END PGP SIGNATURE-----
diff --git a/mail-filter/opendkim/files/opendkim-2.7.2-strl.patch b/mail-filter/opendkim/files/opendkim-2.7.2-strl.patch
deleted file mode 100644
index aded4edd0bea..000000000000
--- a/mail-filter/opendkim/files/opendkim-2.7.2-strl.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- configure.ac 2012-11-14 18:08:45.000000000 +0000
-+++ configure.ac 2012-11-20 11:12:58.482147975 +0000
-@@ -186,18 +186,22 @@
- libstrl_found="no"
- AC_CHECK_FUNCS([strlcat strlcpy], [strl_found="yes"],
- [
-- saved_LIBS="$LIBS"
-- LIBS=""
-- AC_SEARCH_LIBS([strlcat],
-- [strl],
-- [libstrl_found="yes"],
-- [strl_found="no"])
-- AC_SEARCH_LIBS([strlcpy],
-- [strl],
-- [libstrl_found="yes"],
-- [strl_found="no"])
-- STRL_LIBS="$LIBS"
-- LIBS="$saved_LIBS"
-+ AC_CHECK_HEADERS([strl.h],
-+ [
-+ saved_LIBS="$LIBS"
-+ LIBS=""
-+ AC_SEARCH_LIBS([strlcat],
-+ [strl],
-+ [libstrl_found="yes"],
-+ [strl_found="no"])
-+ AC_SEARCH_LIBS([strlcpy],
-+ [strl],
-+ [libstrl_found="yes"],
-+ [strl_found="no"])
-+ STRL_LIBS="$LIBS"
-+ LIBS="$saved_LIBS"
-+ ],
-+ [strl_found="no"])
- ])
- AM_CONDITIONAL([STRL],
- [test x"$strl_found" != x"yes" -a x"$libstrl_found" != x"yes"])
diff --git a/mail-filter/opendkim/files/opendkim.init.r2 b/mail-filter/opendkim/files/opendkim.init.r2
deleted file mode 100644
index 5450daffa12a..000000000000
--- a/mail-filter/opendkim/files/opendkim.init.r2
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/files/opendkim.init.r2,v 1.1 2011/06/27 07:03:04 eras Exp $
-
-CONFFILE=/etc/opendkim/${SVCNAME}.conf
-
-depend() {
- use dns logger net
-}
-
-check_cfg() {
-
- PIDFILE=$(sed -ne 's/^[[:space:]]*PidFile[[:space:]]\+//p' "${CONFFILE}")
- local PIDDIR="${PIDFILE%/*}"
- if [ ! -d "${PIDDIR}" ] ; then
- checkpath -q -d -o milter:milter -m 0755 "${PIDDIR}" || return 1
- fi
- if [ ! -f "${CONFFILE}" ] ; then
- eerror "Configuration file ${CONFFILE} is missing"
- return 1
- fi
- if [ -z "${PIDFILE}" ] ; then
- eerror "Configuration file needs PidFile setting - recommend adding 'PidFile /var/run/opendkim/${SVCNAME}.pid' to ${CONFFILE}"
- return 1
- fi
-
- if egrep -q '^[[:space:]]*Background[[:space:]]+no' "${CONFFILE}" ; then
- eerror "${SVCNAME} service cannot run with Background key set to yes!"
- return 1
- fi
-}
-
-start() {
- check_cfg || return 1
-
- # Remove stalled Unix socket if no other process is using it
- local UNIX_SOCKET=$(sed -ne 's/^[[:space:]]*Socket[[:space:]]\+\(unix\|local\)://p' "${CONFFILE}")
-
- if [ -S "${UNIX_SOCKET}" ] && ! fuser -s "${UNIX_SOCKET}"; then
- rm "${UNIX_SOCKET}"
- fi
-
- ebegin "Starting OpenDKIM"
- start-stop-daemon --start --pidfile "${PIDFILE}" \
- --exec /usr/sbin/opendkim -- -x "${CONFFILE}"
- eend $?
-}
-
-stop() {
- check_cfg || return 1
- ebegin "Stopping OpenDKIM"
- start-stop-daemon --stop --pidfile "${PIDFILE}"
- eend $?
-}
diff --git a/mail-filter/opendkim/opendkim-2.6.7-r1.ebuild b/mail-filter/opendkim/opendkim-2.6.7-r1.ebuild
deleted file mode 100644
index 6be23546abbd..000000000000
--- a/mail-filter/opendkim/opendkim-2.6.7-r1.ebuild
+++ /dev/null
@@ -1,204 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.6.7-r1.ebuild,v 1.4 2012/11/21 11:03:31 ago Exp $
-
-EAPI=4
-inherit eutils db-use autotools user
-
-# for betas
-#MY_P=${P/_b/.B}
-#S=${WORKDIR}/${PN}-2.0.0
-#SRC_URI="mirror://sourceforge/opendkim/${MY_P}.tar.gz"
-
-DESCRIPTION="A milter-based application to provide DKIM signing and verification"
-HOMEPAGE="http://opendkim.org"
-SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz"
-
-LICENSE="Sendmail-Open-Source BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="asyncdns +berkdb ldap lua opendbx poll sasl +ssl static-libs unbound"
-
-# FUTURE: diffheaders (libtre error) - bug #296813
-
-DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
- ssl? ( >=dev-libs/openssl-0.9.8 )
- berkdb? ( >=sys-libs/db-3.2 )
- opendbx? ( >=dev-db/opendbx-1.4.0 )
- lua? ( dev-lang/lua )
- ldap? ( net-nds/openldap )
- sasl? ( dev-libs/cyrus-sasl )
- unbound? ( >=net-dns/unbound-1.4.1 net-dns/dnssec-root )"
- #diffheaders? ( dev-libs/tre )
- #gnutls? ( >=net-libs/gnutls-2.11.7 )
-
-RDEPEND="${DEPEND}
- sys-process/psmisc"
-
-REQUIRED_USE="sasl? ( ldap )"
- #lua? ( berkdb )"
-
-pkg_setup() {
- enewgroup milter
- # mail-milter/spamass-milter creates milter user with this home directory
- # For consistency reasons, milter user must be created here with this home directory
- # even though this package doesn't need a home directory for this user (#280571)
- enewuser milter -1 -1 /var/lib/milter milter
-}
-
-src_prepare() {
- sed -i -e 's:/var/db/dkim:/etc/opendkim:g' \
- -e 's:/var/db/opendkim:/var/lib/opendkim:g' \
- -e 's:/etc/mail:/etc/opendkim:g' \
- -e 's:mailnull:milter:g' \
- -e 's:^#[[:space:]]*PidFile.*:PidFile /var/run/opendkim/opendkim.pid:' \
- opendkim/opendkim.conf.sample opendkim/opendkim.conf.simple.in \
- stats/opendkim-reportstats || die
-
- sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am \
- || die
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
- if use berkdb ; then
- myconf=$(db_includedir)
- myconf="--with-db-incdir=${myconf#-I}"
- myconf+=" --enable-popauth"
- myconf+=" --enable-query_cache"
- myconf+=" --enable-stats"
- fi
- if use asyncdns ; then
- if use unbound; then
- myconf+=" --with-unbound"
- else
- myconf+=" --enable-arlib"
- fi
- else
- myconf+=" $(use_with unbound) --disable-arlib"
- fi
- if use ldap; then
- myconf+=" $(use_with sasl)"
- fi
- econf \
- $(use_with berkdb db) \
- $(use_with opendbx odbx) \
- $(use_with lua) \
- $(use_enable lua rbl) \
- $(use_with ldap openldap) \
- $(use_enable poll) \
- $(use_enable static-libs static) \
- ${myconf} \
- --docdir=/usr/share/doc/${PF} \
- --htmldir=/usr/share/doc/${PF}/html \
- --enable-filter \
- --enable-oversign \
- --enable-adsp_lists \
- --enable-dkim_reputation \
- --enable-identity_header \
- --enable-rate_limit \
- --enable-redirect \
- --enable-resign \
- --enable-replace_rules \
- --enable-default_sender \
- --enable-sender_macro \
- --enable-vbr \
- --disable-rpath \
- --disable-live-testing
- #$(use_enable diffheaders)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- # file collision
- rm -f "${D}"/usr/share/man/man3/ar.3
-
- dosbin stats/opendkim-reportstats
- newinitd "${FILESDIR}/opendkim.init.r2" opendkim
- dodir /etc/opendkim /var/lib/opendkim
- fowners milter:milter /var/lib/opendkim
-
- # default configuration
- if [ ! -f "${ROOT}"/etc/opendkim/opendkim.conf ]; then
- grep ^[^#] "${S}"/opendkim/opendkim.conf.simple \
- > "${D}"/etc/opendkim/opendkim.conf
- if use unbound; then
- echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf
- fi
- echo UserID milter >> "${D}"/etc/opendkim/opendkim.conf
- if use berkdb; then
- echo Statistics /var/lib/opendkim/stats.dat >> \
- "${D}"/etc/opendkim/opendkim.conf
- fi
- fi
-
- use static-libs || find "${D}" -name "*.la" -delete
-}
-
-pkg_postinst() {
- elog "If you want to sign your mail messages and need some help"
- elog "please run:"
- elog " emerge --config ${CATEGORY}/${PN}"
- elog "It will help you create your key and give you hints on how"
- elog "to configure your DNS and MTA."
-
- ewarn "Make sure your MTA has r/w access to the socket file."
- ewarn "This can be done either by setting UMask to 002 and adding MTA's user"
- ewarn "to milter group or you can simply set UMask to 000."
-}
-
-pkg_config() {
- local selector keysize pubkey
-
- read -p "Enter the selector name (default ${HOSTNAME}): " selector
- [[ -n "${selector}" ]] || selector=${HOSTNAME}
- if [[ -z "${selector}" ]]; then
- eerror "Oddly enough, you don't have a HOSTNAME."
- return 1
- fi
- if [[ -f "${ROOT}"etc/opendkim/${selector}.private ]]; then
- ewarn "The private key for this selector already exists."
- else
- einfo "Select the size of private key:"
- einfo " [1] 512 bits"
- einfo " [2] 1024 bits"
- while read -n 1 -s -p " Press 1 or 2 on the keyboard to select the key size " keysize ; do
- [[ "${keysize}" == "1" || "${keysize}" == "2" ]] && echo && break
- done
- case ${keysize} in
- 1) keysize=512 ;;
- *) keysize=1024 ;;
- esac
-
- # generate the private and public keys
- opendkim-genkey -b ${keysize} -D "${ROOT}"etc/opendkim/ \
- -s ${selector} -d '(your domain)' && \
- chown milter:milter \
- "${ROOT}"etc/opendkim/"${selector}".private || \
- { eerror "Failed to create private and public keys." ; return 1; }
- chmod go-r "${ROOT}"etc/opendkim/"${selector}".private
- fi
-
- # opendkim selector configuration
- echo
- einfo "Make sure you have the following settings in your /etc/opendkim/opendkim.conf:"
- einfo " Keyfile /etc/opendkim/${selector}.private"
- einfo " Selector ${selector}"
-
- # MTA configuration
- echo
- einfo "If you are using Postfix, add following lines to your main.cf:"
- einfo " smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " non_smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " and read http://www.postfix.org/MILTER_README.html"
-
- # DNS configuration
- einfo "After you configured your MTA, publish your key by adding this TXT record to your domain:"
- cat "${ROOT}"etc/opendkim/${selector}.txt
- einfo "t=y signifies you only test the DKIM on your domain. See following page for the complete list of tags:"
- einfo " http://www.dkim.org/specs/rfc4871-dkimbase.html#key-text"
- einfo
- einfo "Also look at the ADSP http://tools.ietf.org/html/rfc5617"
-}
diff --git a/mail-filter/opendkim/opendkim-2.6.8.ebuild b/mail-filter/opendkim/opendkim-2.6.8.ebuild
deleted file mode 100644
index b20c45a87b13..000000000000
--- a/mail-filter/opendkim/opendkim-2.6.8.ebuild
+++ /dev/null
@@ -1,204 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.6.8.ebuild,v 1.1 2012/10/26 12:26:05 eras Exp $
-
-EAPI=4
-inherit eutils db-use autotools user
-
-# for betas
-#MY_P=${P/_b/.B}
-#S=${WORKDIR}/${PN}-2.0.0
-#SRC_URI="mirror://sourceforge/opendkim/${MY_P}.tar.gz"
-
-DESCRIPTION="A milter-based application to provide DKIM signing and verification"
-HOMEPAGE="http://opendkim.org"
-SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz"
-
-LICENSE="Sendmail-Open-Source BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="asyncdns +berkdb ldap lua opendbx poll sasl +ssl static-libs unbound"
-
-# FUTURE: diffheaders (libtre error) - bug #296813
-
-DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
- ssl? ( >=dev-libs/openssl-0.9.8 )
- berkdb? ( >=sys-libs/db-3.2 )
- opendbx? ( >=dev-db/opendbx-1.4.0 )
- lua? ( dev-lang/lua )
- ldap? ( net-nds/openldap )
- sasl? ( dev-libs/cyrus-sasl )
- unbound? ( >=net-dns/unbound-1.4.1 net-dns/dnssec-root )"
- #diffheaders? ( dev-libs/tre )
- #gnutls? ( >=net-libs/gnutls-2.11.7 )
-
-RDEPEND="${DEPEND}
- sys-process/psmisc"
-
-REQUIRED_USE="sasl? ( ldap )"
- #lua? ( berkdb )"
-
-pkg_setup() {
- enewgroup milter
- # mail-milter/spamass-milter creates milter user with this home directory
- # For consistency reasons, milter user must be created here with this home directory
- # even though this package doesn't need a home directory for this user (#280571)
- enewuser milter -1 -1 /var/lib/milter milter
-}
-
-src_prepare() {
- sed -i -e 's:/var/db/dkim:/etc/opendkim:g' \
- -e 's:/var/db/opendkim:/var/lib/opendkim:g' \
- -e 's:/etc/mail:/etc/opendkim:g' \
- -e 's:mailnull:milter:g' \
- -e 's:^#[[:space:]]*PidFile.*:PidFile /var/run/opendkim/opendkim.pid:' \
- opendkim/opendkim.conf.sample opendkim/opendkim.conf.simple.in \
- stats/opendkim-reportstats || die
-
- sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am \
- || die
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
- if use berkdb ; then
- myconf=$(db_includedir)
- myconf="--with-db-incdir=${myconf#-I}"
- myconf+=" --enable-popauth"
- myconf+=" --enable-query_cache"
- myconf+=" --enable-stats"
- fi
- if use asyncdns ; then
- if use unbound; then
- myconf+=" --with-unbound"
- else
- myconf+=" --enable-arlib"
- fi
- else
- myconf+=" $(use_with unbound) --disable-arlib"
- fi
- if use ldap; then
- myconf+=" $(use_with sasl)"
- fi
- econf \
- $(use_with berkdb db) \
- $(use_with opendbx odbx) \
- $(use_with lua) \
- $(use_enable lua rbl) \
- $(use_with ldap openldap) \
- $(use_enable poll) \
- $(use_enable static-libs static) \
- ${myconf} \
- --docdir=/usr/share/doc/${PF} \
- --htmldir=/usr/share/doc/${PF}/html \
- --enable-filter \
- --enable-oversign \
- --enable-adsp_lists \
- --enable-dkim_reputation \
- --enable-identity_header \
- --enable-rate_limit \
- --enable-redirect \
- --enable-resign \
- --enable-replace_rules \
- --enable-default_sender \
- --enable-sender_macro \
- --enable-vbr \
- --disable-rpath \
- --disable-live-testing
- #$(use_enable diffheaders)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- # file collision
- rm -f "${D}"/usr/share/man/man3/ar.3
-
- dosbin stats/opendkim-reportstats
- newinitd "${FILESDIR}/opendkim.init.r2" opendkim
- dodir /etc/opendkim /var/lib/opendkim
- fowners milter:milter /var/lib/opendkim
-
- # default configuration
- if [ ! -f "${ROOT}"/etc/opendkim/opendkim.conf ]; then
- grep ^[^#] "${S}"/opendkim/opendkim.conf.simple \
- > "${D}"/etc/opendkim/opendkim.conf
- if use unbound; then
- echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf
- fi
- echo UserID milter >> "${D}"/etc/opendkim/opendkim.conf
- if use berkdb; then
- echo Statistics /var/lib/opendkim/stats.dat >> \
- "${D}"/etc/opendkim/opendkim.conf
- fi
- fi
-
- use static-libs || find "${D}" -name "*.la" -delete
-}
-
-pkg_postinst() {
- elog "If you want to sign your mail messages and need some help"
- elog "please run:"
- elog " emerge --config ${CATEGORY}/${PN}"
- elog "It will help you create your key and give you hints on how"
- elog "to configure your DNS and MTA."
-
- ewarn "Make sure your MTA has r/w access to the socket file."
- ewarn "This can be done either by setting UMask to 002 and adding MTA's user"
- ewarn "to milter group or you can simply set UMask to 000."
-}
-
-pkg_config() {
- local selector keysize pubkey
-
- read -p "Enter the selector name (default ${HOSTNAME}): " selector
- [[ -n "${selector}" ]] || selector=${HOSTNAME}
- if [[ -z "${selector}" ]]; then
- eerror "Oddly enough, you don't have a HOSTNAME."
- return 1
- fi
- if [[ -f "${ROOT}"etc/opendkim/${selector}.private ]]; then
- ewarn "The private key for this selector already exists."
- else
- einfo "Select the size of private key:"
- einfo " [1] 512 bits"
- einfo " [2] 1024 bits"
- while read -n 1 -s -p " Press 1 or 2 on the keyboard to select the key size " keysize ; do
- [[ "${keysize}" == "1" || "${keysize}" == "2" ]] && echo && break
- done
- case ${keysize} in
- 1) keysize=512 ;;
- *) keysize=1024 ;;
- esac
-
- # generate the private and public keys
- opendkim-genkey -b ${keysize} -D "${ROOT}"etc/opendkim/ \
- -s ${selector} -d '(your domain)' && \
- chown milter:milter \
- "${ROOT}"etc/opendkim/"${selector}".private || \
- { eerror "Failed to create private and public keys." ; return 1; }
- chmod go-r "${ROOT}"etc/opendkim/"${selector}".private
- fi
-
- # opendkim selector configuration
- echo
- einfo "Make sure you have the following settings in your /etc/opendkim/opendkim.conf:"
- einfo " Keyfile /etc/opendkim/${selector}.private"
- einfo " Selector ${selector}"
-
- # MTA configuration
- echo
- einfo "If you are using Postfix, add following lines to your main.cf:"
- einfo " smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " non_smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " and read http://www.postfix.org/MILTER_README.html"
-
- # DNS configuration
- einfo "After you configured your MTA, publish your key by adding this TXT record to your domain:"
- cat "${ROOT}"etc/opendkim/${selector}.txt
- einfo "t=y signifies you only test the DKIM on your domain. See following page for the complete list of tags:"
- einfo " http://www.dkim.org/specs/rfc4871-dkimbase.html#key-text"
- einfo
- einfo "Also look at the ADSP http://tools.ietf.org/html/rfc5617"
-}
diff --git a/mail-filter/opendkim/opendkim-2.7.0.ebuild b/mail-filter/opendkim/opendkim-2.7.0.ebuild
deleted file mode 100644
index 6ce1e65ee78a..000000000000
--- a/mail-filter/opendkim/opendkim-2.7.0.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.7.0.ebuild,v 1.1 2012/10/27 07:25:23 eras Exp $
-
-EAPI=4
-inherit eutils db-use autotools user
-
-# for betas
-#MY_P=${P/_b/.B}
-#S=${WORKDIR}/${PN}-2.0.0
-#SRC_URI="mirror://sourceforge/opendkim/${MY_P}.tar.gz"
-
-DESCRIPTION="A milter-based application to provide DKIM signing and verification"
-HOMEPAGE="http://opendkim.org"
-SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz"
-
-LICENSE="Sendmail-Open-Source BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+berkdb gnutls ldap lua opendbx poll sasl +ssl static-libs unbound"
-
-DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
- ssl? ( >=dev-libs/openssl-0.9.8 )
- berkdb? ( >=sys-libs/db-3.2 )
- opendbx? ( >=dev-db/opendbx-1.4.0 )
- lua? ( dev-lang/lua )
- ldap? ( net-nds/openldap )
- sasl? ( dev-libs/cyrus-sasl )
- unbound? ( >=net-dns/unbound-1.4.1 net-dns/dnssec-root )
- !unbound? ( net-libs/ldns )
- gnutls? ( >=net-libs/gnutls-2.11.7 )"
-
-RDEPEND="${DEPEND}
- sys-process/psmisc"
-
-REQUIRED_USE="sasl? ( ldap )"
-
-pkg_setup() {
- enewgroup milter
- # mail-milter/spamass-milter creates milter user with this home directory
- # For consistency reasons, milter user must be created here with this home directory
- # even though this package doesn't need a home directory for this user (#280571)
- enewuser milter -1 -1 /var/lib/milter milter
-}
-
-src_prepare() {
- sed -i -e 's:/var/db/dkim:/etc/opendkim:g' \
- -e 's:/var/db/opendkim:/var/lib/opendkim:g' \
- -e 's:/etc/mail:/etc/opendkim:g' \
- -e 's:mailnull:milter:g' \
- -e 's:^#[[:space:]]*PidFile.*:PidFile /var/run/opendkim/opendkim.pid:' \
- opendkim/opendkim.conf.sample opendkim/opendkim.conf.simple.in \
- stats/opendkim-reportstats || die
-
- sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am \
- || die
-
- # don't go over the sock length and fail
- sed -i -e '/^sock/s/t-sign-ss-macro-value-file.sock/t-s-s-m-v-f.sock/' \
- opendkim/tests/t-sign-ss-macro-value-file.lua || die
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
- if use berkdb ; then
- myconf=$(db_includedir)
- myconf="--with-db-incdir=${myconf#-I}"
- myconf+=" --enable-popauth"
- myconf+=" --enable-query_cache"
- myconf+=" --enable-stats"
- fi
- if use unbound; then
- myconf+=" --with-unbound"
- else
- myconf+=" --with-ldns"
- fi
- if use ldap; then
- myconf+=" $(use_with sasl)"
- fi
- econf \
- $(use_with berkdb db) \
- $(use_with opendbx odbx) \
- $(use_with lua) \
- $(use_enable lua rbl) \
- $(use_with ldap openldap) \
- $(use_enable poll) \
- $(use_enable static-libs static) \
- $(use_with gnutls) \
- ${myconf} \
- --docdir=/usr/share/doc/${PF} \
- --htmldir=/usr/share/doc/${PF}/html \
- --enable-filter \
- --enable-adsp_lists \
- --enable-dkim_reputation \
- --enable-identity_header \
- --enable-rate_limit \
- --enable-redirect \
- --enable-resign \
- --enable-replace_rules \
- --enable-default_sender \
- --enable-sender_macro \
- --enable-vbr \
- --disable-rpath \
- --disable-live-testing
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- dosbin stats/opendkim-reportstats
- newinitd "${FILESDIR}/opendkim.init.r2" opendkim
- dodir /etc/opendkim /var/lib/opendkim
- fowners milter:milter /var/lib/opendkim
-
- # default configuration
- if [ ! -f "${ROOT}"/etc/opendkim/opendkim.conf ]; then
- grep ^[^#] "${S}"/opendkim/opendkim.conf.simple \
- > "${D}"/etc/opendkim/opendkim.conf
- if use unbound; then
- echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf
- fi
- echo UserID milter >> "${D}"/etc/opendkim/opendkim.conf
- if use berkdb; then
- echo Statistics /var/lib/opendkim/stats.dat >> \
- "${D}"/etc/opendkim/opendkim.conf
- fi
- fi
-
- use static-libs || find "${D}" -name "*.la" -delete
-}
-
-pkg_postinst() {
- elog "If you want to sign your mail messages and need some help"
- elog "please run:"
- elog " emerge --config ${CATEGORY}/${PN}"
- elog "It will help you create your key and give you hints on how"
- elog "to configure your DNS and MTA."
-
- ewarn "Make sure your MTA has r/w access to the socket file."
- ewarn "This can be done either by setting UMask to 002 and adding MTA's user"
- ewarn "to milter group or you can simply set UMask to 000."
-}
-
-pkg_config() {
- local selector keysize pubkey
-
- read -p "Enter the selector name (default ${HOSTNAME}): " selector
- [[ -n "${selector}" ]] || selector=${HOSTNAME}
- if [[ -z "${selector}" ]]; then
- eerror "Oddly enough, you don't have a HOSTNAME."
- return 1
- fi
- if [[ -f "${ROOT}"etc/opendkim/${selector}.private ]]; then
- ewarn "The private key for this selector already exists."
- else
- keysize=1024
- # generate the private and public keys
- opendkim-genkey -b ${keysize} -D "${ROOT}"etc/opendkim/ \
- -s ${selector} -d '(your domain)' && \
- chown milter:milter \
- "${ROOT}"etc/opendkim/"${selector}".private || \
- { eerror "Failed to create private and public keys." ; return 1; }
- chmod go-r "${ROOT}"etc/opendkim/"${selector}".private
- fi
-
- # opendkim selector configuration
- echo
- einfo "Make sure you have the following settings in your /etc/opendkim/opendkim.conf:"
- einfo " Keyfile /etc/opendkim/${selector}.private"
- einfo " Selector ${selector}"
-
- # MTA configuration
- echo
- einfo "If you are using Postfix, add following lines to your main.cf:"
- einfo " smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " non_smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " and read http://www.postfix.org/MILTER_README.html"
-
- # DNS configuration
- einfo "After you configured your MTA, publish your key by adding this TXT record to your domain:"
- cat "${ROOT}"etc/opendkim/${selector}.txt
- einfo "t=y signifies you only test the DKIM on your domain. See following page for the complete list of tags:"
- einfo " http://www.dkim.org/specs/rfc4871-dkimbase.html#key-text"
- einfo
- einfo "Also look at the ADSP http://tools.ietf.org/html/rfc5617"
-}
diff --git a/mail-filter/opendkim/opendkim-2.7.1.ebuild b/mail-filter/opendkim/opendkim-2.7.1.ebuild
deleted file mode 100644
index 40a96b3ae5b0..000000000000
--- a/mail-filter/opendkim/opendkim-2.7.1.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.7.1.ebuild,v 1.1 2012/10/30 20:37:50 eras Exp $
-
-EAPI=4
-inherit eutils db-use autotools user
-
-# for betas
-#MY_P=${P/_b/.B}
-#S=${WORKDIR}/${PN}-2.0.0
-#SRC_URI="mirror://sourceforge/opendkim/${MY_P}.tar.gz"
-
-DESCRIPTION="A milter-based application to provide DKIM signing and verification"
-HOMEPAGE="http://opendkim.org"
-SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz"
-
-LICENSE="Sendmail-Open-Source BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+berkdb gnutls ldap lua opendbx poll sasl +ssl static-libs unbound"
-
-DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
- ssl? ( >=dev-libs/openssl-0.9.8 )
- berkdb? ( >=sys-libs/db-3.2 )
- opendbx? ( >=dev-db/opendbx-1.4.0 )
- lua? ( dev-lang/lua )
- ldap? ( net-nds/openldap )
- sasl? ( dev-libs/cyrus-sasl )
- unbound? ( >=net-dns/unbound-1.4.1 net-dns/dnssec-root )
- !unbound? ( net-libs/ldns )
- gnutls? ( >=net-libs/gnutls-2.11.7 )"
-
-RDEPEND="${DEPEND}
- sys-process/psmisc"
-
-REQUIRED_USE="sasl? ( ldap )"
-
-pkg_setup() {
- enewgroup milter
- # mail-milter/spamass-milter creates milter user with this home directory
- # For consistency reasons, milter user must be created here with this home directory
- # even though this package doesn't need a home directory for this user (#280571)
- enewuser milter -1 -1 /var/lib/milter milter
-}
-
-src_prepare() {
- sed -i -e 's:/var/db/dkim:/etc/opendkim:g' \
- -e 's:/var/db/opendkim:/var/lib/opendkim:g' \
- -e 's:/etc/mail:/etc/opendkim:g' \
- -e 's:mailnull:milter:g' \
- -e 's:^#[[:space:]]*PidFile.*:PidFile /var/run/opendkim/opendkim.pid:' \
- opendkim/opendkim.conf.sample opendkim/opendkim.conf.simple.in \
- stats/opendkim-reportstats || die
-
- sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am \
- || die
-
- # don't go over the sock length and fail
- sed -i -e '/^sock/s/t-sign-ss-macro-value-file.sock/t-s-s-m-v-f.sock/' \
- opendkim/tests/t-sign-ss-macro-value-file.lua || die
-
- eautoreconf
-}
-
-src_configure() {
- local myconf
- if use berkdb ; then
- myconf=$(db_includedir)
- myconf="--with-db-incdir=${myconf#-I}"
- myconf+=" --enable-popauth"
- myconf+=" --enable-query_cache"
- myconf+=" --enable-stats"
- fi
- if use unbound; then
- myconf+=" --with-unbound"
- else
- myconf+=" --with-ldns"
- fi
- if use ldap; then
- myconf+=" $(use_with sasl)"
- fi
- econf \
- $(use_with berkdb db) \
- $(use_with opendbx odbx) \
- $(use_with lua) \
- $(use_enable lua rbl) \
- $(use_with ldap openldap) \
- $(use_enable poll) \
- $(use_enable static-libs static) \
- $(use_with gnutls) \
- ${myconf} \
- --docdir=/usr/share/doc/${PF} \
- --htmldir=/usr/share/doc/${PF}/html \
- --enable-filter \
- --enable-adsp_lists \
- --enable-dkim_reputation \
- --enable-identity_header \
- --enable-rate_limit \
- --enable-redirect \
- --enable-resign \
- --enable-replace_rules \
- --enable-default_sender \
- --enable-sender_macro \
- --enable-vbr \
- --disable-rpath \
- --disable-live-testing
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- dosbin stats/opendkim-reportstats
- newinitd "${FILESDIR}/opendkim.init.r2" opendkim
- dodir /etc/opendkim /var/lib/opendkim
- fowners milter:milter /var/lib/opendkim
-
- # default configuration
- if [ ! -f "${ROOT}"/etc/opendkim/opendkim.conf ]; then
- grep ^[^#] "${S}"/opendkim/opendkim.conf.simple \
- > "${D}"/etc/opendkim/opendkim.conf
- if use unbound; then
- echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf
- fi
- echo UserID milter >> "${D}"/etc/opendkim/opendkim.conf
- if use berkdb; then
- echo Statistics /var/lib/opendkim/stats.dat >> \
- "${D}"/etc/opendkim/opendkim.conf
- fi
- fi
-
- use static-libs || find "${D}" -name "*.la" -delete
-}
-
-pkg_postinst() {
- elog "If you want to sign your mail messages and need some help"
- elog "please run:"
- elog " emerge --config ${CATEGORY}/${PN}"
- elog "It will help you create your key and give you hints on how"
- elog "to configure your DNS and MTA."
-
- ewarn "Make sure your MTA has r/w access to the socket file."
- ewarn "This can be done either by setting UMask to 002 and adding MTA's user"
- ewarn "to milter group or you can simply set UMask to 000."
-}
-
-pkg_config() {
- local selector keysize pubkey
-
- read -p "Enter the selector name (default ${HOSTNAME}): " selector
- [[ -n "${selector}" ]] || selector=${HOSTNAME}
- if [[ -z "${selector}" ]]; then
- eerror "Oddly enough, you don't have a HOSTNAME."
- return 1
- fi
- if [[ -f "${ROOT}"etc/opendkim/${selector}.private ]]; then
- ewarn "The private key for this selector already exists."
- else
- keysize=1024
- # generate the private and public keys
- opendkim-genkey -b ${keysize} -D "${ROOT}"etc/opendkim/ \
- -s ${selector} -d '(your domain)' && \
- chown milter:milter \
- "${ROOT}"etc/opendkim/"${selector}".private || \
- { eerror "Failed to create private and public keys." ; return 1; }
- chmod go-r "${ROOT}"etc/opendkim/"${selector}".private
- fi
-
- # opendkim selector configuration
- echo
- einfo "Make sure you have the following settings in your /etc/opendkim/opendkim.conf:"
- einfo " Keyfile /etc/opendkim/${selector}.private"
- einfo " Selector ${selector}"
-
- # MTA configuration
- echo
- einfo "If you are using Postfix, add following lines to your main.cf:"
- einfo " smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " non_smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " and read http://www.postfix.org/MILTER_README.html"
-
- # DNS configuration
- einfo "After you configured your MTA, publish your key by adding this TXT record to your domain:"
- cat "${ROOT}"etc/opendkim/${selector}.txt
- einfo "t=y signifies you only test the DKIM on your domain. See following page for the complete list of tags:"
- einfo " http://www.dkim.org/specs/rfc4871-dkimbase.html#key-text"
- einfo
- einfo "Also look at the ADSP http://tools.ietf.org/html/rfc5617"
-}
diff --git a/mail-filter/opendkim/opendkim-2.7.2.ebuild b/mail-filter/opendkim/opendkim-2.7.2.ebuild
deleted file mode 100644
index 9fbad783d7c6..000000000000
--- a/mail-filter/opendkim/opendkim-2.7.2.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.7.2.ebuild,v 1.2 2012/11/20 12:06:16 eras Exp $
-
-EAPI=4
-inherit eutils db-use autotools user
-
-# for betas
-#MY_P=${P/_b/.B}
-#S=${WORKDIR}/${PN}-2.0.0
-#SRC_URI="mirror://sourceforge/opendkim/${MY_P}.tar.gz"
-
-DESCRIPTION="A milter-based application to provide DKIM signing and verification"
-HOMEPAGE="http://opendkim.org"
-SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz"
-
-LICENSE="Sendmail-Open-Source BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+berkdb gnutls ldap lua opendbx poll sasl +ssl static-libs unbound"
-
-DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
- ssl? ( >=dev-libs/openssl-0.9.8 )
- berkdb? ( >=sys-libs/db-3.2 )
- opendbx? ( >=dev-db/opendbx-1.4.0 )
- lua? ( dev-lang/lua )
- ldap? ( net-nds/openldap )
- sasl? ( dev-libs/cyrus-sasl )
- unbound? ( >=net-dns/unbound-1.4.1 net-dns/dnssec-root )
- !unbound? ( net-libs/ldns )
- gnutls? ( >=net-libs/gnutls-2.11.7 )"
-
-RDEPEND="${DEPEND}
- sys-process/psmisc"
-
-REQUIRED_USE="sasl? ( ldap )"
-
-pkg_setup() {
- enewgroup milter
- # mail-milter/spamass-milter creates milter user with this home directory
- # For consistency reasons, milter user must be created here with this home directory
- # even though this package doesn't need a home directory for this user (#280571)
- enewuser milter -1 -1 /var/lib/milter milter
-}
-
-src_prepare() {
- sed -i -e 's:/var/db/dkim:/etc/opendkim:g' \
- -e 's:/var/db/opendkim:/var/lib/opendkim:g' \
- -e 's:/etc/mail:/etc/opendkim:g' \
- -e 's:mailnull:milter:g' \
- -e 's:^#[[:space:]]*PidFile.*:PidFile /var/run/opendkim/opendkim.pid:' \
- opendkim/opendkim.conf.sample opendkim/opendkim.conf.simple.in \
- stats/opendkim-reportstats || die
-
- sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am \
- || die
-
- # don't go over the sock length and fail
- sed -i -e '/^sock/s/t-sign-ss-macro-value-file.sock/t-s-s-m-v-f.sock/' \
- opendkim/tests/t-sign-ss-macro-value-file.lua || die
-
- epatch "${FILESDIR}/${P}-strl.patch"
- eautoreconf
-}
-
-src_configure() {
- local myconf
- if use berkdb ; then
- myconf=$(db_includedir)
- myconf="--with-db-incdir=${myconf#-I}"
- myconf+=" --enable-popauth"
- myconf+=" --enable-query_cache"
- myconf+=" --enable-stats"
- fi
- if use unbound; then
- myconf+=" --with-unbound"
- else
- myconf+=" --with-ldns"
- fi
- if use ldap; then
- myconf+=" $(use_with sasl)"
- fi
- econf \
- $(use_with berkdb db) \
- $(use_with opendbx odbx) \
- $(use_with lua) \
- $(use_enable lua rbl) \
- $(use_with ldap openldap) \
- $(use_enable poll) \
- $(use_enable static-libs static) \
- $(use_with gnutls) \
- ${myconf} \
- --docdir=/usr/share/doc/${PF} \
- --htmldir=/usr/share/doc/${PF}/html \
- --enable-filter \
- --enable-adsp_lists \
- --enable-dkim_reputation \
- --enable-identity_header \
- --enable-rate_limit \
- --enable-redirect \
- --enable-resign \
- --enable-replace_rules \
- --enable-default_sender \
- --enable-sender_macro \
- --enable-vbr \
- --disable-rpath \
- --disable-live-testing
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- dosbin stats/opendkim-reportstats
- newinitd "${FILESDIR}/opendkim.init.r2" opendkim
- dodir /etc/opendkim /var/lib/opendkim
- fowners milter:milter /var/lib/opendkim
-
- # default configuration
- if [ ! -f "${ROOT}"/etc/opendkim/opendkim.conf ]; then
- grep ^[^#] "${S}"/opendkim/opendkim.conf.simple \
- > "${D}"/etc/opendkim/opendkim.conf
- if use unbound; then
- echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf
- fi
- echo UserID milter >> "${D}"/etc/opendkim/opendkim.conf
- if use berkdb; then
- echo Statistics /var/lib/opendkim/stats.dat >> \
- "${D}"/etc/opendkim/opendkim.conf
- fi
- fi
-
- use static-libs || find "${D}" -name "*.la" -delete
-}
-
-pkg_postinst() {
- elog "If you want to sign your mail messages and need some help"
- elog "please run:"
- elog " emerge --config ${CATEGORY}/${PN}"
- elog "It will help you create your key and give you hints on how"
- elog "to configure your DNS and MTA."
-
- ewarn "Make sure your MTA has r/w access to the socket file."
- ewarn "This can be done either by setting UMask to 002 and adding MTA's user"
- ewarn "to milter group or you can simply set UMask to 000."
-}
-
-pkg_config() {
- local selector keysize pubkey
-
- read -p "Enter the selector name (default ${HOSTNAME}): " selector
- [[ -n "${selector}" ]] || selector=${HOSTNAME}
- if [[ -z "${selector}" ]]; then
- eerror "Oddly enough, you don't have a HOSTNAME."
- return 1
- fi
- if [[ -f "${ROOT}"etc/opendkim/${selector}.private ]]; then
- ewarn "The private key for this selector already exists."
- else
- keysize=1024
- # generate the private and public keys
- opendkim-genkey -b ${keysize} -D "${ROOT}"etc/opendkim/ \
- -s ${selector} -d '(your domain)' && \
- chown milter:milter \
- "${ROOT}"etc/opendkim/"${selector}".private || \
- { eerror "Failed to create private and public keys." ; return 1; }
- chmod go-r "${ROOT}"etc/opendkim/"${selector}".private
- fi
-
- # opendkim selector configuration
- echo
- einfo "Make sure you have the following settings in your /etc/opendkim/opendkim.conf:"
- einfo " Keyfile /etc/opendkim/${selector}.private"
- einfo " Selector ${selector}"
-
- # MTA configuration
- echo
- einfo "If you are using Postfix, add following lines to your main.cf:"
- einfo " smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " non_smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " and read http://www.postfix.org/MILTER_README.html"
-
- # DNS configuration
- einfo "After you configured your MTA, publish your key by adding this TXT record to your domain:"
- cat "${ROOT}"etc/opendkim/${selector}.txt
- einfo "t=y signifies you only test the DKIM on your domain. See following page for the complete list of tags:"
- einfo " http://www.dkim.org/specs/rfc4871-dkimbase.html#key-text"
- einfo
- einfo "Also look at the ADSP http://tools.ietf.org/html/rfc5617"
-}
diff --git a/mail-filter/opendkim/opendkim-2.7.4.ebuild b/mail-filter/opendkim/opendkim-2.8.0.ebuild
index 929affd5fa80..71b1cc00d6c5 100644
--- a/mail-filter/opendkim/opendkim-2.7.4.ebuild
+++ b/mail-filter/opendkim/opendkim-2.8.0.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.7.4.ebuild,v 1.1 2013/01/18 13:44:00 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.8.0.ebuild,v 1.1 2013/02/26 09:04:38 eras Exp $
-EAPI=4
+EAPI=5
inherit eutils db-use autotools user
# for betas
#MY_P=${P/_b/.B}
-#S=${WORKDIR}/${PN}-2.0.0
+#S=${WORKDIR}/${PN}-2.8.0
#SRC_URI="mirror://sourceforge/opendkim/${MY_P}.tar.gz"
DESCRIPTION="A milter-based application to provide DKIM signing and verification"
@@ -60,8 +60,7 @@ src_prepare() {
sed -i -e '/^sock/s/t-sign-ss-macro-value-file.sock/t-s-s-m-v-f.sock/' \
opendkim/tests/t-sign-ss-macro-value-file.lua || die
- epatch "${FILESDIR}/${P}-bsd.patch"
- epatch "${FILESDIR}/${P}-DisableCryptoInit.patch"
+ epatch "${FILESDIR}/${PN}-2.8.0-unbreak_upgrade.patch"
eautoreconf
}
@@ -106,7 +105,8 @@ src_configure() {
--enable-sender_macro \
--enable-vbr \
--disable-rpath \
- --disable-live-testing
+ --disable-live-testing \
+ --with-test-socket=/tmp/opendkim-S
}
src_install() {
@@ -135,15 +135,17 @@ src_install() {
}
pkg_postinst() {
- elog "If you want to sign your mail messages and need some help"
- elog "please run:"
- elog " emerge --config ${CATEGORY}/${PN}"
- elog "It will help you create your key and give you hints on how"
- elog "to configure your DNS and MTA."
-
- ewarn "Make sure your MTA has r/w access to the socket file."
- ewarn "This can be done either by setting UMask to 002 and adding MTA's user"
- ewarn "to milter group or you can simply set UMask to 000."
+ if [[ -z ${REPLACING_VERSION} ]]; then
+ elog "If you want to sign your mail messages and need some help"
+ elog "please run:"
+ elog " emerge --config ${CATEGORY}/${PN}"
+ elog "It will help you create your key and give you hints on how"
+ elog "to configure your DNS and MTA."
+
+ ewarn "Make sure your MTA has r/w access to the socket file."
+ ewarn "This can be done either by setting UMask to 002 and adding MTA's user"
+ ewarn "to milter group or you can simply set UMask to 000."
+ fi
}
pkg_config() {
diff --git a/mail-filter/opendkim/opendkim-2.8.0_beta7.ebuild b/mail-filter/opendkim/opendkim-2.8.0_beta7.ebuild
deleted file mode 100644
index 0bbaa54fe434..000000000000
--- a/mail-filter/opendkim/opendkim-2.8.0_beta7.ebuild
+++ /dev/null
@@ -1,191 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.8.0_beta7.ebuild,v 1.1 2013/02/22 19:11:27 eras Exp $
-
-EAPI=5
-inherit eutils db-use autotools user
-
-# for betas
-MY_P=${P/_b/.B}
-S=${WORKDIR}/${PN}-2.8.0
-SRC_URI="mirror://sourceforge/opendkim/${MY_P}.tar.gz"
-
-DESCRIPTION="A milter-based application to provide DKIM signing and verification"
-HOMEPAGE="http://opendkim.org"
-#SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz"
-
-LICENSE="Sendmail-Open-Source BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+berkdb gnutls ldap lua opendbx poll sasl +ssl static-libs unbound"
-
-DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
- dev-libs/libbsd
- ssl? ( >=dev-libs/openssl-0.9.8 )
- berkdb? ( >=sys-libs/db-3.2 )
- opendbx? ( >=dev-db/opendbx-1.4.0 )
- lua? ( dev-lang/lua )
- ldap? ( net-nds/openldap )
- sasl? ( dev-libs/cyrus-sasl )
- unbound? ( >=net-dns/unbound-1.4.1 net-dns/dnssec-root )
- !unbound? ( net-libs/ldns )
- gnutls? ( >=net-libs/gnutls-2.11.7 )"
-
-RDEPEND="${DEPEND}
- sys-process/psmisc"
-
-REQUIRED_USE="sasl? ( ldap )"
-
-pkg_setup() {
- enewgroup milter
- # mail-milter/spamass-milter creates milter user with this home directory
- # For consistency reasons, milter user must be created here with this home directory
- # even though this package doesn't need a home directory for this user (#280571)
- enewuser milter -1 -1 /var/lib/milter milter
-}
-
-src_prepare() {
- sed -i -e 's:/var/db/dkim:/etc/opendkim:g' \
- -e 's:/var/db/opendkim:/var/lib/opendkim:g' \
- -e 's:/etc/mail:/etc/opendkim:g' \
- -e 's:mailnull:milter:g' \
- -e 's:^#[[:space:]]*PidFile.*:PidFile /var/run/opendkim/opendkim.pid:' \
- opendkim/opendkim.conf.sample opendkim/opendkim.conf.simple.in \
- stats/opendkim-reportstats || die
-
- sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am \
- || die
-
- # don't go over the sock length and fail
- sed -i -e '/^sock/s/t-sign-ss-macro-value-file.sock/t-s-s-m-v-f.sock/' \
- opendkim/tests/t-sign-ss-macro-value-file.lua || die
-
- epatch "${FILESDIR}/${PN}-2.8.0-unbreak_upgrade.patch"
- eautoreconf
-}
-
-src_configure() {
- local myconf
- if use berkdb ; then
- myconf=$(db_includedir)
- myconf="--with-db-incdir=${myconf#-I}"
- myconf+=" --enable-popauth"
- myconf+=" --enable-query_cache"
- myconf+=" --enable-stats"
- fi
- if use unbound; then
- myconf+=" --with-unbound"
- else
- myconf+=" --with-ldns"
- fi
- if use ldap; then
- myconf+=" $(use_with sasl)"
- fi
- econf \
- $(use_with berkdb db) \
- $(use_with opendbx odbx) \
- $(use_with lua) \
- $(use_enable lua rbl) \
- $(use_with ldap openldap) \
- $(use_enable poll) \
- $(use_enable static-libs static) \
- $(use_with gnutls) \
- ${myconf} \
- --docdir=/usr/share/doc/${PF} \
- --htmldir=/usr/share/doc/${PF}/html \
- --enable-filter \
- --enable-adsp_lists \
- --enable-dkim_reputation \
- --enable-identity_header \
- --enable-rate_limit \
- --enable-redirect \
- --enable-resign \
- --enable-replace_rules \
- --enable-default_sender \
- --enable-sender_macro \
- --enable-vbr \
- --disable-rpath \
- --disable-live-testing
- #--with-test-socket=/tmp/opendkim-S
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- dosbin stats/opendkim-reportstats
- newinitd "${FILESDIR}/opendkim.init.r3" opendkim
- dodir /etc/opendkim /var/lib/opendkim
- fowners milter:milter /var/lib/opendkim
-
- # default configuration
- if [ ! -f "${ROOT}"/etc/opendkim/opendkim.conf ]; then
- grep ^[^#] "${S}"/opendkim/opendkim.conf.simple \
- > "${D}"/etc/opendkim/opendkim.conf
- if use unbound; then
- echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf
- fi
- echo UserID milter >> "${D}"/etc/opendkim/opendkim.conf
- if use berkdb; then
- echo Statistics /var/lib/opendkim/stats.dat >> \
- "${D}"/etc/opendkim/opendkim.conf
- fi
- fi
-
- use static-libs || find "${D}" -name "*.la" -delete
-}
-
-pkg_postinst() {
- elog "If you want to sign your mail messages and need some help"
- elog "please run:"
- elog " emerge --config ${CATEGORY}/${PN}"
- elog "It will help you create your key and give you hints on how"
- elog "to configure your DNS and MTA."
-
- ewarn "Make sure your MTA has r/w access to the socket file."
- ewarn "This can be done either by setting UMask to 002 and adding MTA's user"
- ewarn "to milter group or you can simply set UMask to 000."
-}
-
-pkg_config() {
- local selector keysize pubkey
-
- read -p "Enter the selector name (default ${HOSTNAME}): " selector
- [[ -n "${selector}" ]] || selector=${HOSTNAME}
- if [[ -z "${selector}" ]]; then
- eerror "Oddly enough, you don't have a HOSTNAME."
- return 1
- fi
- if [[ -f "${ROOT}"etc/opendkim/${selector}.private ]]; then
- ewarn "The private key for this selector already exists."
- else
- keysize=1024
- # generate the private and public keys
- opendkim-genkey -b ${keysize} -D "${ROOT}"etc/opendkim/ \
- -s ${selector} -d '(your domain)' && \
- chown milter:milter \
- "${ROOT}"etc/opendkim/"${selector}".private || \
- { eerror "Failed to create private and public keys." ; return 1; }
- chmod go-r "${ROOT}"etc/opendkim/"${selector}".private
- fi
-
- # opendkim selector configuration
- echo
- einfo "Make sure you have the following settings in your /etc/opendkim/opendkim.conf:"
- einfo " Keyfile /etc/opendkim/${selector}.private"
- einfo " Selector ${selector}"
-
- # MTA configuration
- echo
- einfo "If you are using Postfix, add following lines to your main.cf:"
- einfo " smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " non_smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
- einfo " and read http://www.postfix.org/MILTER_README.html"
-
- # DNS configuration
- einfo "After you configured your MTA, publish your key by adding this TXT record to your domain:"
- cat "${ROOT}"etc/opendkim/${selector}.txt
- einfo "t=y signifies you only test the DKIM on your domain. See following page for the complete list of tags:"
- einfo " http://www.dkim.org/specs/rfc4871-dkimbase.html#key-text"
- einfo
- einfo "Also look at the ADSP http://tools.ietf.org/html/rfc5617"
-}