# ChangeLog for net-fs/samba
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.705 2015/01/03 19:54:54 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.706 2015/01/13 08:49:48 polynomial-c Exp $
+
+*samba-4.1.15 (13 Jan 2015)
+
+ 13 Jan 2015; Lars Wendler <polynomial-c@gentoo.org> -samba-3.6.23-r1.ebuild,
+ +samba-4.1.15.ebuild, -files/samba-4.1.0-remove-dmapi-automagic.patch,
+ -files/samba4.initd, -files/samba-4.x-readline63_typedef_fix.patch:
+ Version bump. Removed old.
03 Jan 2015; Michał Górny <mgorny@gentoo.org> samba-4.0.23.ebuild,
samba-4.1.14.ebuild:
AUX nmbd.service 224 SHA256 a5e25c11714206c4fb129333dd45152c5753716c6445cbe78c28275df1a1cb77 SHA512 098dfb270c5a5c29f59b4fd8d51b17931771e25e481124832f1a086677825527e2afa7276e8614e5007fbf044d253ce2eaf3a7caf7461ad5d90d0b1c7f157f9d WHIRLPOOL 2f7c342a60c09d5e40e968a026aa17d8c2fe3fd032331c7bb26599bb0f8ec8a77c2a3e329498ed16b1602451fd85a8ef076c436e8a092740cfbd01a82ca52e30
AUX samba-3.4.2-lib.tevent.python.mk 177 SHA256 3eab52d42a0cbc070d011a131f9a56f4b3da10b2791fec514948fd8d2d013153 SHA512 0bd691d7678737fa815da9e1934db056fa833aa6d6d2d48cf8da559987a899ae4c5ac18e4b3594d634363f515028a3d30711484dbda578aa7506fbe2df55197c WHIRLPOOL 061b3e33b327563f52648931428cce433505353e73bf9851abb33f4f13e7c723c17c3413442dd343477bb0c49fd3284c0155ff59829df448952a6e1d07475251
AUX samba-4.0.19-automagic_aio_fix.patch 2020 SHA256 99a67b4e8a5847ac416ceadb4d97bf004019d0ab4e75663443b3bee071665fbf SHA512 2a694760a82f484d454be988bc614e90fd8feb67db6b08e3770e45f322964ffa03e2840e70a7981cb60764a8bd3a8c1be7f22fc26a8de2438cdd94de43556626 WHIRLPOOL d0c25b7f1b557a995a668e11c9e9ca75203673b91aee12fad8e9ec35e576cbada71adc4515d0501f63801edf7bf3696673442811d99b425a603656bbe8d333c6
-AUX samba-4.1.0-remove-dmapi-automagic.patch 2755 SHA256 debf37a220205526ec54b121f23d1be93d8595fff54184099ae647759876eedd SHA512 dcd96d1ce66918072de7c60e116cb01320b5b8ac5f06856d3298628b31c69a8fdd00771100540889b57c8a4a38a142d56b145a05950617488849243cd7b339b4 WHIRLPOOL 81c31a4c8cc011327c8e7d16bf15e3fd96a36c47dd985bd146c2559c20102517b2aa643ce24a64c52331fc4ec0858299cf3cf8d705a34e22ca94b093c4101c7e
AUX samba-4.1.14-libsystemd.patch 2343 SHA256 a04576719ea11d1609a537a5cd365b60a3a2080538c4ada05636a88ac345ac2d SHA512 7951a563019ad6b858710b61366164a1c6d919fade03c528af13df13f153580c12a0e570c341e872e7aaec22f30e6b93b7ac2c4a34d5d272876e320d09a35979 WHIRLPOOL 29169bb5925a583a05dc00acfe9c405f9ee8f264de9d375413dcdedce0d8884c9d2d1f8091e5a15accfd986c7f1dcb4564e3499269a302b9e14d951a60e2e659
AUX samba-4.1.14-named.conf.dlz.patch 505 SHA256 a59037c7d1f2d567a4505ac01259500e62e5244312acd273bfb5ad61869e9326 SHA512 de95a8d6e6b15bdb82dff649095fae12615ecf0b93da4163eaf8033660939fb2104b7eb9b5a9f223ffd4947cc9e39ee794ffe1434554731a931cdd0fd39dbd33 WHIRLPOOL 6382dfa2c97a1e537981b80faa8bda5a6ab7fa7db131bf46b85a490ad6da4f6e11fbc54ed7bf8b4b56cedd93e4ab6d5a913ae1977b5cf6723a37cde5ff145f52
-AUX samba-4.x-readline63_typedef_fix.patch 932 SHA256 a97b47021c0b38ee1db12b2d3a9cbd73fb4ceb60a616cb38c2be52b02f9d6d0c SHA512 a074eb59a2915d2f60bed79f3ba118b72cdba78a13f5d1fa1a79c346aab21c3676a803aae2b18414bebf42891e064fdbb22b57b37d76a90ba59ccfb012170707 WHIRLPOOL adbbd60446eb1d9534868902f4ce310165b9b93a6a4a8a9ac97803e07ddb789f35c598f977d876913f7f2b62ac0ade570dfe2e5f52439fafb966f54eb89cde4f
AUX samba.conf 32 SHA256 d578d8d4f86c61f4055164d0065b117c7345f7531a7759b78fba80dbb94c5c25 SHA512 b5d8905fb72d517d78274e4a928263bed3c57ed1cdbda773caf5cd5f7531da5c21ef9a310084d3d399c9c636be0c8424e5fc010336560ca5b41b40616398c9dd WHIRLPOOL 652b5254e0ffe78dc4c58901b35683f1c98e057da6d83e53610e5688b948623415000141d4d627f0752941558ca88d6e2cf6af411e5a8fc9fb8dfbd49e0a8e5c
AUX samba.service 199 SHA256 0ae738fa2a15b476dbca016dfa4e1cf4b8c4a575e13edf518eb70b615c02a059 SHA512 eb277917f15de958f4a0404b66c6d2cc82ae4319b85f2f442489988d523bf92e2a9d23a6051ee693cd4bcfbc67947e8028c59906ad3e537578daf5caee8a6f16 WHIRLPOOL 1132081b63b1e0e1a9342d59493ebfe1d918133a4091e48c42dae7845dcaa24a0b8e7a1183d5a41b0173c3f6dbc17838a9b7a6297fc8ea0775ab150a22ae3151
-AUX samba4.initd 657 SHA256 4c8d1ecf42d58bfa1a2087ba9da55ed410ad238a0050272cb84c2e8d50b034d9 SHA512 3373f2ad30938dd8c2d68d19af4e248470e0b6d749b53257c97d3a0792df54f9ad61a33175ae3e576b728cc11a6ae5fd8803c22188382c7b50ca041b98b84ce7 WHIRLPOOL 25f6a313323b3076ad2a5ff733b1ed4bae1833bf5d4d1aaf9c75449e578ca479998b526a1fdfefbe5d5436c94cbcf6b38934bda1ddff8587f8820a2ccb5ce1e9
AUX smbd.service 250 SHA256 e1f5da902cd97891852f6463b2c7eddbc61e7fbd3e3c281028a806319627fc68 SHA512 a54e3c337f7c27766a81f68ad6d8f4eb6ddb1d1aec3303f274e419a49114755bc5dd711701d5e64954ae7153a8be4a7063371af286696c0b81d543b9276703c3 WHIRLPOOL 18b6a57603a41303d207249fdb46cb4f6e887f8b9bd4921dca6b4f28a59951368d6abead2dc9d3be2c09cb2c9f295087ef5f20d121a309791b9031e3fad28b13
AUX smbd.socket 121 SHA256 d62a239cba39ae03dbb7a291843b2c202973341c85d93ffc87b4e78813be44c2 SHA512 2db4a707fcc6ef1928ac010e5e92cdaf0f6ff3ffa8aef918e0db1ce910abfb481d6a19082337f9c8444cd780d1d442fa8df2bb65e6142fc109d29657532572ed WHIRLPOOL aef792f27a7cd91ee258b6137015269cf2e6310c24a060acb7c6a97162aaebe37f32f66e46f4399cd1160bcc65e5608da7bc87bf933bccd2ffdfe51a6a7cdd8d
AUX smbd_at.service 145 SHA256 909dddfd80982035739081d86d2c524f6a25440d9c10b8a80626d9b4eee424cd SHA512 e6486c35dfa6f77ad46547a78fcae55fb71e4dad7dc7b4580c2b8c1be232c0a870f56714b2b103a1fd8717298f41347d7178fbebb90f0f2d0324fe5233f0f9f3 WHIRLPOOL f5ac03a1e7b653458d49fa2c2afe674e9d8f1e5a81e72a5e49781de3e5111bbe23eedc38c78a6f5e7edc4c32300ddaf76caf889de256fc799cf117edcd6ce6fb
AUX winbindd.service 240 SHA256 755036bc419cce90200ac3c04986fbb7cf718c128c2a1288c634658bb779bf3a SHA512 f1ce6d035e8e0fcdc73f14e3b60c9647043777ff6b2a982a81ed07eb4df5ff245a9511e3e4a9d8163f9c8f3fb86d2a39a67621ace68392eb7c2f2e2a55d587f7 WHIRLPOOL eb4d7f30b4ce3341e3d24a6c05965bdce9ded78a7327b44d3d04d00837d6e8109857b1fb1b78c8325680588cf9abe94158755a962fb8f7e8dac04b336308c268
DIST samba-3.5.21.tar.gz 35377315 SHA256 fd9a66056b1ba9496762394efff41fcaa0e58f2e50e71910e6d202b8a59a1c10 SHA512 e6d52530094b2f8284f8536f97411c3944a83e9f1a808836acdca19fe4aee3cc47e136cc2a2eab96ba89526fe289ec1a3d22fb836bd261bf7c8ddfbccd1cf975 WHIRLPOOL a476ea24841cfdec0f640880e0362173a3f6b957afd2d2448f7b4a8b7c927ef558fd22e7fe20b05bd8aecf1169d8e488b87830a99ddfddcbc8be0c9a414966ad
DIST samba-3.5.22.tar.gz 35385144 SHA256 b4c98f77f5634478da109063334acd9b6ad7bcb38151a5b1cac6dc5feb6679dc SHA512 0e1b4816d921ca82f0426a254cf103066634cc54e28d707a62da951118413f7f5ca5f87d60688cab802a58b0af87f797fbbe12f4e1284d5d7f545a98aba97616 WHIRLPOOL 6e59655dd7a537f0c7c889c43ddf5afb8060706e1ec79b3835698181c5c7478059f91c93eefbde50b03e0154a686eda35eabf807bb7ae01dd2b9b39648a009ae
-DIST samba-3.6.23.tar.gz 34122387 SHA256 25bbfa81b9a26609a0be744240b63e1f5030bbcfab684cf7aea3b86ed0db2dd0 SHA512 54189079a4f65f1e9c818f9edc9d862c4261c3a4925146f3ab19603052d2c08d32b59ddc243422683338dc4f1192b22f02acaa719e11aa44146c5d3bb11fdcb0 WHIRLPOOL 4919b8911bab8182456ba5bcdc264ca028dea0300bce409bcad338965936849c61695bc99af6e006f373a0c502cc3bf1a596d52d706181674ca2b7bc5aeb19fc
DIST samba-3.6.24.tar.gz 34122116 SHA256 11d0bd04b734731970259efc6692b8e749ff671a9b56d8cc5fa98c192ab234a7 SHA512 40f054ab0e1ef07fa4bb4934229c42eb0e484596c4d4b81edbf43951acd56e7b04b6efb17e6cb269b329f1a84d60cbe10a3ff04e86c1983ec603bdcf7fc7ecbb WHIRLPOOL e98d3ae62e5d57e5d16b320213961ba7221b8b38912b90434296323549e1673f25682ec8da469dd771d68ec222a6be7d30e24224e0cde0d9dc1e9c393590c68a
DIST samba-4.0.23.tar.gz 22140738 SHA256 47d7b9d0caf76ea111794c6181db2fed5c15fd496a5a9eaa8ed4323302c72118 SHA512 49a6889ce3124be0d12df75d30837dde63605d706a34e9017d6e8e365e97910d75bad3eef28296030fdbb013074b68e5e89ad73e3a73806b38e94d306104d711 WHIRLPOOL 99ba11be30df2ce3f9e8af144d435e6b152d657957241043082dc699b90a8352998f5f1b32e810ed8e8e4853fb39792d68a92d97a12d97e3edec65c54b611fab
DIST samba-4.1.14.tar.gz 19527260 SHA256 5ea14baaca997292355d368918879e3d639def92b54efef2279cf5abe8db2cba SHA512 58a42baa442acab33699e143128f7f22738f2ef05184acef0fd004279954c919f7d7d0df299990c3beb13a950c64a76b257add15322074a1e6934b5a8563885f WHIRLPOOL 77c3f657e37e50aee97f3b766982124b4e9e937231ec814322fcb4fcacf5b824247e230adbecbedf4894be16b1f2c3606c3cb6851c41c7a8d673f63d1557aad5
+DIST samba-4.1.15.tar.gz 19530544 SHA256 9d84112124512428ddc9cc0d9975524bab730b9a598a9ff90458666afb3f42f4 SHA512 7ea71e0083aa487ce7942b11496aa3d6a2d9b47759e9b387f9703ae99aacf96d4350dbaa05a64a124c12fcc97a7b232387710667a19b1e03b6a7c7b5a360f011 WHIRLPOOL 5dd14a65e368cff52c7ece83f5751757901ca8c8aeb52f519d254d8e7bf6feef336abc37ab502ac90b1e12b2976c05077eefb0d1bb3a8ca7e4848a5f5030fb27
DIST smb_traffic_analyzer_v2.diff.bz2 12226 SHA256 1bae7eafbe8ac2382313d5ab9d43d73ba64b63a714f0f588516952d476fb868d SHA512 aa0e457a0dd282e61e6dfcd5705c29b319832dca9711b1b5baf8373e2f079991399c3537c050219ccb861a93f86353ebff677a5c625d2e3f1f3a13ee5c4087d0 WHIRLPOOL 85ee72a360f67ebe71be5cd400ecd635280a0d7c64ebb8b94656a5ef1a94f74a987de86408af00ce1b81cc8363b1b3cf14726860d29b72ee610d4bab73d6b139
EBUILD samba-3.5.21.ebuild 12311 SHA256 2a849451f886614315680b28b944840d1c670a2b878329773de63a72797a6fa1 SHA512 5006f1afdc2df93f317d15e1e9781bee20eb0e17e4a15892cb5ebe8bb2ab0a7a56bbbf2ed67099620391eda14b53a8fdb78a5ee9634a489915fcf84b031704b7 WHIRLPOOL a295b28990480ed3e13cf76d4f04270739b2669837d5ea93691888c488ee10dad22cd4bcc2037b09e66be41eda4d3d2e064e28701acb1f2dc7acf80935283123
EBUILD samba-3.5.22.ebuild 12309 SHA256 dc195567858dc0c11b2b86fc42427e1066c5efeef29bfe047bdbac413a62007d SHA512 82125fe1d5ba33f57ca06e513090eb0f2cedcda3242773b8734b4b0a18c68ab12f9149651908ddffbe3b2687b9876491a6cbbee7dc4f1e0584a5eef218ff8a57 WHIRLPOOL 9e87a5fb631fd519c2fc89da8a1a591fc9a4eb58eee63052f09321a6f115dbd82e8dd383843b6e6feffe68edaacb4de5c6ba6e9e66a098fa0cddc480988776c8
-EBUILD samba-3.6.23-r1.ebuild 13522 SHA256 3e4452a67d2a2ce512de937a3c1dd14ca96a77e7c83bde3aa1f7f43e280d99f9 SHA512 9fdf54f62f0ff4a069ba754ffd10505de2d8cfac84ee29abbe0ba5d10773aa5e34b8b19799f0892009ad3f5e5547811be7cde06537c8a4c4ff7f4862c6c3e5a3 WHIRLPOOL 5ea53b769dbee0ddb373d566ad2ee187f5f213c9ff42ff3b83aa3c064f3d58e4aec4fce8025952834fd76c74713377fa50835dc1414ba36992e16bd9d9077b4e
EBUILD samba-3.6.24.ebuild 13517 SHA256 34686659fa4f283611d0469bf778aed6160a79100745dee23e05f14a13021db8 SHA512 3a614416b770a1ff19e1ccf604b2b6e7a8777c73cf662ddd9606e34125187a5e681774ee496b5de44f36e99973c906da019fbec6a17534859972884c3be1618c WHIRLPOOL 78dca5f9e07afb61308b40a3da1a6fcfea80969d6f08098b2b66bd5fceb4d84f77d8fcb939e0fcf64c94efa43640c973b01b416f191e17011d2fb9c8de584ebd
EBUILD samba-4.0.23.ebuild 4865 SHA256 dead19aa152bf9f217914618bdbb1b0a5d1a7357cf5a655496e5c7439fa73c22 SHA512 0b58d4826b29d158901985396c11ce0cf545fbfd43fb4bf5b80a43afff3427707bfecd59585f7f15bce8677ef0fc8dd6176f12cc210c831efb6d2a78f3521c0e WHIRLPOOL 7d49a8459b97f3370b32b12c85e0e026cbf5baa62ea15e6a6cfde6b180f59d32f3407186e46fcc1596c62248744b789671e09477b478f84554c15ef846028207
EBUILD samba-4.1.14.ebuild 4925 SHA256 8be0a03d5e6f0668ba2eee46673873630645b22d188f9c36616d535c73617d3c SHA512 c86b90d949120df62aedfbb8f4ef9dda7da22c78214557b4daf537b096cd32e76b94e86617ebbd4ef6000970778ecd9378c6e5bb328032ec0f670e739ea88d16 WHIRLPOOL b65f7ca5de7403de17e8aa302cbd2bf515ce74381ae1d484bf418bfe01092ce7dd9397f486521adb6b8c09f999c932ebfb48ad0129da35d4d2d9bab00ff84918
-MISC ChangeLog 8885 SHA256 02215fa2e9ea82e83626c4c3ffc0c994f849c6a0ac30e22ad68abfdcebd53b79 SHA512 959ac86d37f019afe11d2975a251791a47cacd84410a0494da757e08075bed7c753b725f2de9eee7c3c005b0fc8ece20dd08ba1294bc1b2f22367bd0f8bef679 WHIRLPOOL 9519bf9674894c3f0f94f11abe175aa5a96723b74b351ecc8e000d0bd290c825229049f0b80b789829d0680322a62257a9ae33df0fb4769a1b80dfc3b5ddf849
+EBUILD samba-4.1.15.ebuild 4869 SHA256 2a76ce14ea19f1212248b10b3f89adbe0d7707314e8fa657259648b9252321ca SHA512 a2a0687de82606a9c9bf2cf3fa12f262ba4ca9e5b855e87b595ed781b49b92344fb759682f5e2851c43bce5bb89fcb0b5238aa3356b70fce34f856a97b7e6aba WHIRLPOOL 669939ac3cc8a629fd822504d48053606ec68c2293b36a266d76edb0a52b7f7b01b54838ad74e543515b52d31e1191ef0da7d3aad98627c74dd45b02943213e1
+MISC ChangeLog 9172 SHA256 a1524b29ea1b3738b7068a8d6e8f60994b56206c481a09ad50068cf7544b5908 SHA512 e82f9d7e008c2767dcb5e0562b980756e453836eceb86d312fead97cc46f0fe68df6008576fbcec297469633a40e49f7358d522e0fa3ab2bae0ec0af17633902 WHIRLPOOL 818476bf393443ecc306245b989e66995a98d7d0028acad1868ff08dc3e584461f183dc1e93fdcef65e07c4d4e30aceed079ee028115c32726377dbe904cf750
MISC ChangeLog-2013 106689 SHA256 00ac832a137c7ce1d21be794b45339e1f4e9c51eb1b796cbcac90a03e1cf5453 SHA512 9dc4e4e22042db7f5ff3a474eb7a454044ea6958ffc3ba5c5de6f09608cfbbcaed8db00763a38995276de03a5f1c728fc783d4addaca7da16f4be76a4e49fd6f WHIRLPOOL 85a746ae34c0386ecb151f5f323b92615cce971b1e46f249cccfdc682bdddd7dad080dd4ffbe5748f093ee11db3f5182cae6d85191a37014639a56040eff9644
MISC metadata.xml 1514 SHA256 c10deb71703017ec67f4e5bac297d9b4581fec3d8b5549b6aea2a43bda642bc0 SHA512 9e67e8f7e0c972046e32bf4539142559c24183d6c3469e5af2f901728a3c02a9fbfd50e948a9fd414107fd0cb2a8de709ffe3fc5bf3372c77a4a3db6dc622ecc WHIRLPOOL ec92ea6a1b03e70c791670e97e7d9e07e6bdb82c24ed08c186e786afcd009ab63fbee7d481a4cdc394632ad312e58a2048dae3ff333f6f7a1ad19add55e2c8f8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQJ8BAEBCABmBQJUqEkRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
-MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZO+3gP/0akonYPv1O3N7c4hYJnh3hH
-d4h8dOcrSF1sW/YLK0Unm6iwtGPWPWR2E/WFciakoyeaLN6ZP8AkxjdWn7ZJnrG7
-POfPWCuqvqFVCqCWLzHtwzMYE8Ym8tm/PkcgrZSiIi0kDjlWXLbqEZ9rbfHsa02A
-sn26M23V/H9gd2bN2JHZdwsYPSeif/MajsldIl6VS/Z18jiDV5rWL5/vodIdmWI2
-Y/too4UYVs0ziXqwt3CAJXHHmYrr8Mt75j3wh1Uf1iiEOzsC6Cy97aIR0XEIzP6x
-ReyVdbwsHfRfpwyUE8NCTtS/qpKzecih3zPkHFedpIjKKPl8BkAQDbFT1uHEjPR5
-7e1FJqdS6jbnF55o4GMWLp4YwVgkxP6sS8zib4rI4AfMyLwYvsrtFzSQBR42bsOK
-WLwzR81A/D0LnWilFl+wu0lled0KaahEocJ8CoWoOLMS0uq8ZyaR27nySvS/PPyH
-KN/6v0c7qtLo+oUSvgReDqOiBxz9WkcLhcqiIvLaFErT3aGOKe0IqVOoY6qnoeRM
-IONSwd+6buR1V3yh/zDXiiOwKvbgpJSXJj0GqPbW7ymtqXPYC7V+SuhuPKBrVBaC
-ZF+OR5OFjmRfIeKlWPuEgKN6uoHBAXVqi+GzG2dW1uPdU/yRb0VhwJj28Vf6vT1s
-4nDXwSviJFUntFkKEYhg
-=qv/F
+iQIcBAEBCAAGBQJUtNwtAAoJEPiazRVxLXTFkYYP/1kD2v6xFBXjWtoeCRW9bl8l
+2Lj/7gjvbYC9AFc2E4gjbOTYpBCCwaVUcZiLec9o8hQVlVDVHwODck3Z1EgTx73X
+59j3qSFaW2uFV7+S7+m8pLcDJKWtkApVLy/rK4pkeo7sEdJIuR9le32HBZLBuqUM
+O2SrTjXtQW+UGC8ETsRXxZbRZDrHYdY0YxgeV3ySk9YlujsX/JS0D+ByVZB0rTzp
+8bYDoTWW+eo6DM86wZIVYrH25i09Og61oSz2QqUhUZ2xdEmLGz0t+zAZdidJ+wHd
+IkNg8kQewCF9KHJO3C3yE9Z3jj5zHxOV3e05O+LPbMLzsz1requhDHBNFTDs6jmE
+1bDqm4iTez2TzhLm7OgQNsIGB31AMsaHZunMExSeIbECUD59lWuxUzwntNpo2wxX
+lQ4q/E2C/T+YvjbxW+DqrRg3DrXCO7OQqzgZQCABRtlTZav6kdpzmtVI5tXbX64j
+WPS8vMA2x386ltqmn0/HmoHCt2rRKB1d5pjBoRfcNKKoKzc0O1Il5bHZ++M2OLys
+BxojzSLRLiEG4kYFYHWi+B/+eGGle6pzHt148taaYIoTRBiIqEtCdQvqFu4afy5e
+FEH+lQQuzxzErLLv1no/T2wmOcxGM44YjCZ8PxDVeYTa9Y2VKpwCjpcl7pKhJYhW
+0rrSo2qgcu/IzAJ30nIC
+=CYfb
-----END PGP SIGNATURE-----
+++ /dev/null
---- a/source3/wscript 2013-09-06 11:39:57.000000000 +0200
-+++ b/source3/wscript 2013-11-01 21:09:01.232151936 +0100
-@@ -193,28 +193,29 @@
- elif check_for_fam:
- Logs.warn('no suitable FAM library found')
-
-- # check for DMAPI libs
-- Logs.info("Checking for DMAPI library existence")
- conf.env['dmapi_lib'] = ''
- samba_dmapi_lib = ''
-- if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'dm'):
-- samba_dmapi_lib = 'dm'
-- else:
-- if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'jfsdm'):
-- samba_dmapi_lib = 'jfsdm'
-+ if Options.options.with_dmapi == True:
-+ # check for DMAPI libs
-+ Logs.info("Checking for DMAPI library existence")
-+ if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'dm'):
-+ samba_dmapi_lib = 'dm'
- else:
-- if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'dmapi'):
-- samba_dmapi_lib = 'dmapi'
-+ if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'jfsdm'):
-+ samba_dmapi_lib = 'jfsdm'
- else:
-- if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'xdsm'):
-- samba_dmapi_lib = 'xdsm'
-- # only bother to test headers and compilation when a candidate
-- # library has been found
-- if Options.options.with_dmapi == True and samba_dmapi_lib == '':
-- conf.fatal('DMAPI support requested, but no suitable DMAPI library found')
-- else:
-- conf.CHECK_HEADERS('sys/dmi.h xfs/dmapi.h sys/jfsdmapi.h sys/dmapi.h dmapi.h')
-- conf.CHECK_CODE('''
-+ if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'dmapi'):
-+ samba_dmapi_lib = 'dmapi'
-+ else:
-+ if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'xdsm'):
-+ samba_dmapi_lib = 'xdsm'
-+ # only bother to test headers and compilation when a candidate
-+ # library has been found
-+ if samba_dmapi_lib == '':
-+ conf.fatal('DMAPI support requested, but no suitable DMAPI library found')
-+ else:
-+ conf.CHECK_HEADERS('sys/dmi.h xfs/dmapi.h sys/jfsdmapi.h sys/dmapi.h dmapi.h')
-+ conf.CHECK_CODE('''
- #include <time.h> /* needed by Tru64 */
- #include <sys/types.h> /* needed by AIX */
- #ifdef HAVE_XFS_DMAPI_H
-@@ -253,8 +254,7 @@
- if conf.CONFIG_SET('USE_DMAPI'):
- conf.env['dmapi_lib'] = samba_dmapi_lib
- else:
-- if Options.options.with_dmapi == True:
-- conf.fatal('DMAPI support requested but not found');
-+ conf.fatal('DMAPI support requested but not found');
-
- # Check for various members of the stat structure
- conf.CHECK_STRUCTURE_MEMBER('struct stat', 'st_blocks', define='HAVE_STAT_ST_BLOCKS',
+++ /dev/null
-Function, CPFunction, CPPFunction and VFunction typedefs are considered
-old-style (deprecated) starting from readline 4.2.
-Compatibility typedefs have been in place up to readline 6.2 but were
-removed with the 6.3 release thus causing builds to break.
-Swtich to the new-style specific prototyped typedef.
-
-Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
----
- libcli/smbreadline/smbreadline.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libcli/smbreadline/smbreadline.c b/libcli/smbreadline/smbreadline.c
-index cff25a7..80e10b0 100644
---- a/libcli/smbreadline/smbreadline.c
-+++ b/libcli/smbreadline/smbreadline.c
-@@ -141,7 +141,7 @@ char *smb_readline(const char *prompt, void (*callback)(void),
-
- #if HAVE_DECL_RL_EVENT_HOOK
- if (callback)
-- rl_event_hook = (Function *)callback;
-+ rl_event_hook = (rl_hook_func_t *)callback;
- #endif
- ret = readline(prompt);
- if (ret && *ret)
---
-1.8.3.2
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/samba4.initd,v 1.3 2011/09/14 22:52:33 polynomial-c Exp $
-
-extra_started_commands="reload"
-
-description="The samba daemon init script"
-description_reload="Reloads the samba daemon"
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting samba"
- start-stop-daemon --start --exec /usr/sbin/samba
- eend $?
-}
-
-stop() {
- ebegin "Stopping samba"
- start-stop-daemon --stop --pidfile /var/run/samba/samba.pid
- eend $?
-}
-
-reload() {
- ebegin "Reloading samba"
- killall -HUP samba
- eend $?
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.6.23-r1.ebuild,v 1.12 2014/11/02 12:33:27 swift Exp $
-
-EAPI=5
-
-inherit pam versionator multilib multilib-minimal eutils flag-o-matic systemd
-
-MY_PV=${PV/_/}
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Library bits of the samba network filesystem"
-HOMEPAGE="http://www.samba.org/"
-SRC_URI="mirror://samba/stable/${MY_P}.tar.gz"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
-IUSE="acl addns ads +aio avahi caps +client cluster cups debug dmapi doc examples fam
- ldap ldb +netapi pam quota +readline selinux +server +smbclient smbsharemodes
- swat syslog +winbind"
-
-DEPEND="dev-libs/popt
- >=sys-libs/talloc-2.0.8-r1[${MULTILIB_USEDEP}]
- >=sys-libs/tdb-1.2.13[${MULTILIB_USEDEP}]
- >=sys-libs/tevent-0.9.19[${MULTILIB_USEDEP}]
- >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
- ads? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] sys-fs/e2fsprogs
- client? ( sys-apps/keyutils ) )
- avahi? ( net-dns/avahi[dbus] )
- caps? ( >=sys-libs/libcap-2.22-r2[${MULTILIB_USEDEP}] )
- client? ( !net-fs/mount-cifs
- >=dev-libs/iniparser-3.1-r1[${MULTILIB_USEDEP}] )
- cluster? ( >=dev-db/ctdb-1.13 )
- cups? ( net-print/cups )
- debug? ( dev-libs/dmalloc )
- dmapi? ( sys-apps/dmapi )
- fam? ( >=virtual/fam-0-r1[${MULTILIB_USEDEP}] )
- ldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
- ldb? ( sys-libs/ldb )
- pam? ( >=virtual/pam-0-r1[${MULTILIB_USEDEP}]
- winbind? ( >=dev-libs/iniparser-3.1-r1[${MULTILIB_USEDEP}] )
- )
- readline? ( >=sys-libs/readline-5.2 )
- syslog? ( virtual/logger )"
-
-RDEPEND="${DEPEND}
- kernel_linux? ( ads? ( net-fs/cifs-utils[ads] )
- client? ( net-fs/cifs-utils ) )
- selinux? ( sec-policy/selinux-samba )
-"
-
-# Disable tests since we don't want to build that much here
-RESTRICT="test"
-
-SBINPROGS=""
-BINPROGS=""
-KRBPLUGIN=""
-PLUGINEXT=".so"
-SHAREDMODS=""
-
-S=${WORKDIR}/${MY_P}
-
-# TODO:
-# - enable iPrint on Prefix/OSX and Darwin?
-# - selftest-prefix? selftest?
-# - AFS?
-
-CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
-
-REQUIRED_USE="
- ads? ( ldap )
- swat? ( server )
-"
-
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if use winbind &&
- [[ $(tc-getCC)$ == *gcc* ]] &&
- [[ $(gcc-major-version)$(gcc-minor-version) -lt 43 ]]
- then
- eerror "It is a known issue that ${P} will not build with "
- eerror "winbind use flag enabled when using gcc < 4.3 ."
- eerror "Please use at least the latest stable gcc version."
- die "Using sys-devel/gcc < 4.3 with winbind use flag."
- fi
- fi
-}
-
-pkg_setup() {
- if use server ; then
- SBINPROGS="${SBINPROGS} bin/smbd bin/nmbd"
- BINPROGS="${BINPROGS} bin/testparm bin/smbstatus bin/smbcontrol bin/pdbedit
- bin/profiles bin/sharesec bin/eventlogadm bin/smbta-util
- $(usex client "" "bin/smbclient")"
-
- use swat && SBINPROGS="${SBINPROGS} bin/swat"
- use winbind && SBINPROGS="${SBINPROGS} bin/winbindd"
- use ads && use winbind && KRBPLUGIN="${KRBPLUGIN} bin/winbind_krb5_locator"
- fi
-
- if use client ; then
- BINPROGS="${BINPROGS} bin/smbclient bin/net bin/smbget bin/smbtree
- bin/nmblookup bin/smbpasswd bin/rpcclient bin/smbcacls bin/smbcquotas
- bin/ntlm_auth"
-
- fi
-
- use cups && BINPROGS="${BINPROGS} bin/smbspool"
-# use ldb && BINPROGS="${BINPROGS} bin/ldbedit bin/ldbsearch bin/ldbadd bin/ldbdel bin/ldbmodify bin/ldbrename";
-
- if use winbind ; then
- BINPROGS="${BINPROGS} bin/wbinfo"
- SHAREDMODS="${SHAREDMODS}idmap_rid,idmap_hash"
- use ads && SHAREDMODS="${SHAREDMODS},idmap_ad"
- use cluster && SHAREDMODS="${SHAREDMODS},idmap_tdb2"
- use ldap && SHAREDMODS="${SHAREDMODS},idmap_ldap,idmap_adex"
- fi
-}
-
-src_prepare() {
- cp "${FILESDIR}/samba-3.4.2-lib.tevent.python.mk" "lib/tevent/python.mk"
-
- # ensure that winbind has correct ldflags (QA notice)
- sed -i \
- -e 's|LDSHFLAGS="|LDSHFLAGS="\\${LDFLAGS} |g' \
- source3/configure || die "sed failed"
- epatch "${CONFDIR}"/smb.conf.default.patch
-
- #bug #399141 wrap newer iniparser version
- has_version ">=dev-libs/iniparser-3.0.0" && \
- append-cppflags "-Diniparser_getstr\(d,i\)=iniparser_getstring\(d,i,NULL\)"
-
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- local myconf=()
-
- # we can't alter S since build system writes to '../' and therefore
- # we need to duplicate the whole structure
- cd source3 || die
-
- # Filter out -fPIE
- [[ ${CHOST} == *-*bsd* ]] && myconf+=( --disable-pie )
-
- #Allowing alpha/s390/sh to build
- if use alpha || [[ ${ABI} == s390 ]] || use sh ; then
- local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
- replace-flags -O? -O1
- fi
-
- # http://wiki.samba.org/index.php/CTDB_Setup
- use cluster && myconf+=( --disable-pie )
-
- # Upstream refuses to make this configurable
- myconf+=( ac_cv_header_sys_capability_h=$(usex caps) )
-
- # Notes:
- # - automount is only needed in conjunction with NIS and we don't have that
- # anymore => LDAP?
- # - --without-dce-dfs and --without-nisplus-home can't be passed to configure but are disabled by default
- econf "${myconf[@]}" \
- --with-piddir="${EPREFIX}"/var/run/samba \
- --sysconfdir="${EPREFIX}"/etc/samba \
- --localstatedir="${EPREFIX}"/var \
- $(multilib_native_use_enable debug developer) \
- --enable-largefile \
- --enable-socket-wrapper \
- --enable-nss-wrapper \
- $(multilib_native_use_enable swat) \
- $(multilib_native_use_enable debug dmalloc) \
- $(multilib_native_use_enable cups) \
- --disable-iprint \
- $(use_enable fam) \
- --enable-shared-libs \
- --disable-dnssd \
- $(multilib_native_use_enable avahi) \
- --with-fhs \
- --with-privatedir="${EPREFIX}"/var/lib/samba/private \
- --with-rootsbindir="${EPREFIX}"/var/cache/samba \
- --with-lockdir="${EPREFIX}"/var/cache/samba \
- --with-swatdir="${EPREFIX}"/usr/share/doc/${PF}/swat \
- --with-configdir="${EPREFIX}"/etc/samba \
- --with-logfilebase="${EPREFIX}"/var/log/samba \
- --with-pammodulesdir=$(getpam_mod_dir) \
- $(multilib_native_use_with dmapi) \
- --without-afs \
- --without-fake-kaserver \
- --without-vfs-afsacl \
- $(use_with ldap) \
- $(use_with ads) \
- $(use_with ads krb5 "${EPREFIX}"/usr) \
- $(use_with ads dnsupdate) \
- --without-automount \
- $(use_with pam) \
- $(use_with pam pam_smbpass) \
- $(use_with syslog) \
- $(use_with quota quotas) \
- $(use_with quota sys-quotas) \
- --without-utmp \
- --without-lib{talloc,tdb} \
- $(use_with netapi libnetapi) \
- $(use_with smbclient libsmbclient) \
- $(use_with smbsharemodes libsmbsharemodes) \
- $(use_with addns libaddns) \
- $(use_with cluster ctdb "${EPREFIX}"/usr) \
- $(use_with cluster cluster-support) \
- $(multilib_native_use_with acl acl-support) \
- $(use_with aio aio-support) \
- --with-sendfile-support \
- $(use_with winbind) \
- --with-shared-modules=${SHAREDMODS} \
- --without-included-popt \
- --without-included-iniparser
-}
-
-multilib_src_compile() {
- cd source3 || die
-
- # compile libs
- if use addns ; then
- einfo "make addns library"
- emake libaddns
- fi
- if use netapi ; then
- einfo "make netapi library"
- emake libnetapi
- fi
- if use smbclient ; then
- einfo "make smbclient library"
- emake libsmbclient
- fi
- if use smbsharemodes ; then
- einfo "make smbsharemodes library"
- emake libsmbsharemodes
- fi
-
- # compile modules
- emake modules
-
- # compile pam moudles
- if use pam ; then
- einfo "make pam modules"
- emake pam_modules
- fi
-
- # compile winbind nss modules
- if use winbind ; then
- einfo "make nss modules"
- emake nss_modules
- fi
-
- # compile utilities
- if multilib_is_native_abi; then
- if [ -n "${BINPROGS}" ] ; then
- einfo "make binprogs"
- emake ${BINPROGS}
- fi
- if [ -n "${SBINPROGS}" ] ; then
- einfo "make sbinprogs"
- emake ${SBINPROGS}
- fi
- fi
-
- if [ -n "${KRBPLUGIN}" ] ; then
- einfo "make krbplugin"
- emake ${KRBPLUGIN}${PLUGINEXT}
- fi
-}
-
-multilib_src_install() {
- cd source3 || die
-
- # pkgconfig files installation needed, bug #464818
- local pkgconfigdir=/usr/$(get_libdir)/pkgconfig
-
- # install libs
- if use addns ; then
- einfo "install addns library"
- emake installlibaddns DESTDIR="${D}"
- fi
- if use netapi ; then
- einfo "install netapi library"
- emake installlibnetapi DESTDIR="${D}"
- insinto $pkgconfigdir
- doins pkgconfig/netapi.pc
- fi
- if use smbclient ; then
- einfo "install smbclient library"
- emake installlibsmbclient DESTDIR="${D}"
- insinto $pkgconfigdir
- doins pkgconfig/smbclient.pc
- fi
- if use smbsharemodes ; then
- einfo "install smbsharemodes library"
- emake installlibsmbsharemodes DESTDIR="${D}"
- insinto $pkgconfigdir
- doins pkgconfig/smbsharemodes.pc
- fi
-
- # install modules
- emake installmodules DESTDIR="${D}"
-
- if use pam ; then
- einfo "install pam modules"
- emake installpammodules DESTDIR="${D}"
-
- if use winbind ; then
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind
- doman ../docs/manpages/pam_winbind.8
- # bug #376853
- insinto /etc/security
- doins ../examples/pam_winbind/pam_winbind.conf || die
- fi
-
- newpamd "${CONFDIR}/samba.pam" samba
- dodoc pam_smbpass/README
- fi
-
- # Nsswitch extensions. Make link for wins and winbind resolvers
- if use winbind ; then
- einfo "install libwbclient"
- emake installlibwbclient DESTDIR="${D}"
- dolib.so ../nsswitch/libnss_wins.so
- dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2
- dolib.so ../nsswitch/libnss_winbind.so
- dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2
- insinto $pkgconfigdir
- doins pkgconfig/wbclient.pc
- einfo "install libwbclient related manpages"
- doman ../docs/manpages/idmap_rid.8
- doman ../docs/manpages/idmap_hash.8
- if use ldap ; then
- doman ../docs/manpages/idmap_adex.8
- doman ../docs/manpages/idmap_ldap.8
- fi
- if use ads ; then
- doman ../docs/manpages/idmap_ad.8
- fi
- fi
-
- # install binaries
- if multilib_is_native_abi; then
- insinto /usr
- for prog in ${SBINPROGS} ; do
- dosbin ${prog}
- doman ../docs/manpages/${prog/bin\/}*
- done
-
- for prog in ${BINPROGS} ; do
- dobin ${prog}
- doman ../docs/manpages/${prog/bin\/}*
- done
-
- # install scripts
- if use client ; then
- dobin script/findsmb
- doman ../docs/manpages/findsmb.1
- fi
- fi
-
- # install krbplugin
- if [ -n "${KRBPLUGIN}" ] ; then
- if has_version app-crypt/mit-krb5 ; then
- insinto /usr/$(get_libdir)/krb5/plugins/libkrb5
- doins ${KRBPLUGIN}${PLUGINEXT}
- elif has_version app-crypt/heimdal ; then
- insinto /usr/$(get_libdir)/plugin/krb5
- doins ${KRBPLUGIN}${PLUGINEXT}
- fi
- insinto /usr
- for prog in ${KRBPLUGIN} ; do
- doman ../docs/manpages/${prog/bin\/}*
- done
- fi
-}
-
-multilib_src_install_all() {
- # install server components
- if use server ; then
- doman docs/manpages/vfs* docs/manpages/samba.7
-
- diropts -m0700
- keepdir /var/lib/samba/private
-
- diropts -m1777
- keepdir /var/spool/samba
-
- diropts -m0755
- keepdir /var/{cache,log}/samba
- keepdir /var/lib/samba/{netlogon,profiles}
- keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC,X64,IA64,COLOR}
- keepdir /usr/$(get_libdir)/samba/{auth,pdb,rpc,idmap,nss_info,gpext}
-
- newconfd "${CONFDIR}/samba.confd" samba
- newinitd "${CONFDIR}/samba.initd" samba
-
- insinto /etc/samba
- doins "${CONFDIR}"/{smbusers,lmhosts}
-
- if use ldap ; then
- insinto /etc/openldap/schema
- doins examples/LDAP/samba.schema
- fi
-
- if use swat ; then
- insinto /etc/xinetd.d
- newins "${CONFDIR}/swat.xinetd" swat
- script/installswat.sh "${ED}" "${EROOT}/usr/share/doc/${PF}/swat" "${S}"
- fi
-
- dodoc MAINTAINERS.txt README* Roadmap WHATSNEW.txt docs/THANKS
- fi
-
- # install the spooler to cups
- if use cups ; then
- dosym /usr/bin/smbspool $(cups-config --serverbin)/backend/smb
- fi
-
- # install misc files
- insinto /etc/samba
- doins examples/smb.conf.default
- doman docs/manpages/smb.conf.5
-
- insinto /usr/"$(get_libdir)"/samba
- doins codepages/{valid.dat,upcase.dat,lowcase.dat}
-
- # install docs
- if use doc ; then
- dohtml -r docs/htmldocs/.
- dodoc docs/*.pdf
- fi
-
- # install examples
- if use examples ; then
- insinto /usr/share/doc/${PF}/examples
-
- if use smbclient ; then
- doins -r examples/libsmbclient
- fi
-
- if use winbind ; then
- doins -r examples/pam_winbind examples/nss
- fi
-
- if use server ; then
- cd examples || die
- doins -r auth autofs dce-dfs LDAP logon misc pdb \
- perfcounter printer-accounting printing scripts tridge \
- validchars VFS
- fi
- fi
-
- # Remove empty installation directories
- rmdir --ignore-fail-on-non-empty \
- "${ED}/usr/$(get_libdir)/samba" \
- "${ED}/usr"/{sbin,bin} \
- "${ED}/usr/share"/{man,locale,} \
- "${ED}/var"/{run,lib/samba/private,lib/samba,lib,cache/samba,cache,} \
- # || die "tried to remove non-empty dirs, this seems like a bug in the ebuild"
-
- systemd_dotmpfilesd "${FILESDIR}"/samba.conf
- systemd_dounit "${FILESDIR}"/nmbd.service
- systemd_dounit "${FILESDIR}"/smbd.{service,socket}
- systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
- systemd_dounit "${FILESDIR}"/winbindd.service
-}
-
-pkg_postinst() {
- elog "Samba 3.6 has adopted a number of improved security defaults that"
- elog "will impact on existing users of Samba."
- elog " client ntlmv2 auth = yes"
- elog " client use spnego principal = no"
- elog " send spnego principal = no"
- elog ""
- elog "SMB2 protocol support in 3.6.0 is fully functional and can be "
- elog "enabled by setting 'max protocol = smb2'. SMB2 is a new "
- elog "implementation of the SMB protocol used by Windows Vista and higher"
- elog ""
- elog "For further information make sure to read the release notes at"
- elog "http://samba.org/samba/history/${P}.html and "
- elog "http://samba.org/samba/history/${PN}-3.6.0.html"
-}
--- /dev/null
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.1.15.ebuild,v 1.1 2015/01/13 08:49:48 polynomial-c Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+
+inherit python-single-r1 waf-utils multilib linux-info systemd
+
+MY_PV="${PV/_rc/rc}"
+MY_P="${PN}-${MY_PV}"
+
+SRC_URI="mirror://samba/stable/${MY_P}.tar.gz"
+KEYWORDS="~amd64 ~hppa ~x86"
+
+DESCRIPTION="Samba Suite Version 4"
+HOMEPAGE="http://www.samba.org/"
+LICENSE="GPL-3"
+
+SLOT="0"
+
+IUSE="acl addns ads aio avahi client cluster cups dmapi fam gnutls iprint
+ldap quota selinux syslog systemd test winbind"
+
+# sys-apps/attr is an automagic dependency (see bug #489748)
+# sys-libs/pam is an automagic dependency (see bug #489770)
+CDEPEND="${PYTHON_DEPS}
+ >=app-crypt/heimdal-1.5[-ssl]
+ dev-libs/iniparser
+ dev-libs/popt
+ sys-libs/readline
+ virtual/libiconv
+ dev-python/subunit[${PYTHON_USEDEP}]
+ sys-apps/attr
+ sys-libs/libcap
+ >=sys-libs/ntdb-1.0[python,${PYTHON_USEDEP}]
+ >=sys-libs/ldb-1.1.17
+ >=sys-libs/tdb-1.2.12[python,${PYTHON_USEDEP}]
+ >=sys-libs/talloc-2.0.8[python,${PYTHON_USEDEP}]
+ >=sys-libs/tevent-0.9.18
+ sys-libs/zlib
+ virtual/pam
+ acl? ( virtual/acl )
+ addns? ( net-dns/bind-tools[gssapi] )
+ aio? ( dev-libs/libaio )
+ cluster? ( >=dev-db/ctdb-1.0.114_p1 )
+ cups? ( net-print/cups )
+ dmapi? ( sys-apps/dmapi )
+ fam? ( virtual/fam )
+ gnutls? ( dev-libs/libgcrypt:0
+ >=net-libs/gnutls-1.4.0 )
+ ldap? ( net-nds/openldap )
+ systemd? ( sys-apps/systemd:0= )"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ client? ( net-fs/cifs-utils[ads?] )
+ selinux? ( sec-policy/selinux-samba )
+"
+
+REQUIRED_USE="ads? ( acl ldap )
+ ${PYTHON_REQUIRED_USE}"
+
+RESTRICT="mirror"
+
+S="${WORKDIR}/${MY_P}"
+
+CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.1.14-named.conf.dlz.patch"
+ "${FILESDIR}/${PN}-4.0.19-automagic_aio_fix.patch"
+ # support libsystemd (instead of libsystemd-daemon), bug #526362
+ "${FILESDIR}/${PN}-4.1.14-libsystemd.patch"
+)
+
+WAF_BINARY="${S}/buildtools/bin/waf"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ if use aio; then
+ if ! linux_config_exists || ! linux_chkconfig_present AIO; then
+ ewarn "You must enable AIO support in your kernel config, "
+ ewarn "to be able to support asynchronous I/O. "
+ ewarn "You can find it at"
+ ewarn
+ ewarn "General Support"
+ ewarn " Enable AIO support "
+ ewarn
+ ewarn "and recompile your kernel..."
+ fi
+ fi
+}
+
+src_configure() {
+ local myconf=''
+ use "cluster" && myconf+=" --with-ctdb-dir=/usr"
+ use "test" && myconf+=" --enable-selftest"
+ myconf="${myconf} \
+ --enable-fhs \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-modulesdir=/usr/$(get_libdir)/samba \
+ --with-pammodulesdir=/$(get_libdir)/security \
+ --with-piddir=/var/run/${PN} \
+ --disable-rpath \
+ --disable-rpath-install \
+ --nopyc \
+ --nopyo \
+ --bundled-libraries=NONE \
+ --builtin-libraries=NONE \
+ $(use_with addns dnsupdate) \
+ $(use_with acl acl-support) \
+ $(use_with ads) \
+ $(use_with aio aio-support) \
+ $(use_enable avahi) \
+ $(use_with cluster cluster-support) \
+ $(use_enable cups) \
+ $(use_with dmapi) \
+ $(use_with fam) \
+ $(use_enable gnutls) \
+ $(use_enable iprint) \
+ $(use_with ldap) \
+ --with-pam \
+ --with-pam_smbpass \
+ $(use_with quota quotas) \
+ $(use_with syslog) \
+ $(use_with systemd) \
+ $(use_with winbind)
+ "
+ use "ads" && myconf+=" --with-shared-modules=idmap_ad"
+
+ CPPFLAGS="-I/usr/include/et ${CPPFLAGS}" \
+ waf-utils_src_configure ${myconf}
+}
+
+src_install() {
+ waf-utils_src_install
+
+ # install ldap schema for server (bug #491002)
+ if use ldap ; then
+ insinto /etc/openldap/schema
+ doins examples/LDAP/samba.schema
+ fi
+
+ # Make all .so files executable
+ find "${D}" -type f -name "*.so" -exec chmod +x {} +
+
+ # Install init script and conf.d file
+ newinitd "${CONFDIR}/samba4.initd-r1" samba
+ newconfd "${CONFDIR}/samba4.confd" samba
+
+ systemd_dotmpfilesd "${FILESDIR}"/samba.conf
+ systemd_dounit "${FILESDIR}"/nmbd.service
+ systemd_dounit "${FILESDIR}"/smbd.{service,socket}
+ systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
+ systemd_dounit "${FILESDIR}"/winbindd.service
+ systemd_dounit "${FILESDIR}"/samba.service
+}
+
+src_test() {
+ "${WAF_BINARY}" test || die "test failed"
+}
+
+pkg_postinst() {
+ ewarn "Be aware the this release contains the best of all of Samba's"
+ ewarn "technology parts, both a file server (that you can reasonably expect"
+ ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
+ ewarn "controller work previously known as 'samba4'."
+
+ elog "For further information and migration steps make sure to read "
+ elog "http://samba.org/samba/history/${P}.html "
+ elog "http://samba.org/samba/history/${PN}-4.0.0.html and"
+ elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
+}