diff options
Diffstat (limited to 'net-fs/samba')
-rw-r--r-- | net-fs/samba/ChangeLog | 8 | ||||
-rw-r--r-- | net-fs/samba/Manifest | 84 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-3.0.14a-r2 | 9 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-3.0.20b | 9 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-3.0.21a | 9 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-3.0.21b-r1 | 9 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-3.0.22 | 9 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-3.0.22-r2 | 9 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-3.0.23 | 9 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-3.0.23a | 9 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-3.0.23d | 9 | ||||
-rw-r--r-- | net-fs/samba/samba-3.0.14a-r2.ebuild | 314 | ||||
-rw-r--r-- | net-fs/samba/samba-3.0.20b.ebuild | 310 | ||||
-rw-r--r-- | net-fs/samba/samba-3.0.21a.ebuild | 305 | ||||
-rw-r--r-- | net-fs/samba/samba-3.0.21b-r1.ebuild | 306 | ||||
-rw-r--r-- | net-fs/samba/samba-3.0.22-r2.ebuild | 308 | ||||
-rw-r--r-- | net-fs/samba/samba-3.0.22.ebuild | 307 | ||||
-rw-r--r-- | net-fs/samba/samba-3.0.23.ebuild | 310 | ||||
-rw-r--r-- | net-fs/samba/samba-3.0.23a.ebuild | 298 | ||||
-rw-r--r-- | net-fs/samba/samba-3.0.23d.ebuild | 299 |
20 files changed, 11 insertions, 2919 deletions
diff --git a/net-fs/samba/ChangeLog b/net-fs/samba/ChangeLog index 136ea33154c9..c1b3b3d9240c 100644 --- a/net-fs/samba/ChangeLog +++ b/net-fs/samba/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-fs/samba # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.269 2007/02/07 01:41:38 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.270 2007/02/07 21:37:03 dev-zero Exp $ + + 07 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> + -samba-3.0.14a-r2.ebuild, -samba-3.0.20b.ebuild, -samba-3.0.21a.ebuild, + -samba-3.0.21b-r1.ebuild, -samba-3.0.22.ebuild, -samba-3.0.22-r2.ebuild, + -samba-3.0.23.ebuild, -samba-3.0.23a.ebuild, -samba-3.0.23d.ebuild: + Dropped old versions (bug #164208) 07 Feb 2007; Jeroen Roovers <jer@gentoo.org> samba-3.0.24.ebuild: Stable for HPPA (bug #165549). diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest index 0d807502c5fe..48c6a1237b0c 100644 --- a/net-fs/samba/Manifest +++ b/net-fs/samba/Manifest @@ -2,106 +2,30 @@ AUX README.gentoo 3208 RMD160 858aee78e07bdc0ebee7bc6c2212d4c528325633 SHA1 819a MD5 2c134a0ccc3f2cc76669edd86d7476df files/README.gentoo 3208 RMD160 858aee78e07bdc0ebee7bc6c2212d4c528325633 files/README.gentoo 3208 SHA256 9e87efa3fcea73becdfad4adb0fe677e1969c2951f03c47d1b0f4aeb00999578 files/README.gentoo 3208 -DIST samba-3-gentoo-0.3.10.tar.bz2 16783 RMD160 9f73b1f955ca3b5b9dbedfe9854fd788eca62050 SHA1 f696f2e8ddf28e41b05a7e1e863012713d84dacd SHA256 69748dbe3566eaa0ea27fd0e0dcef20309089cbe40de2e1bce450f3d9dc4e8c2 -DIST samba-3-gentoo-0.3.11.tar.bz2 15929 RMD160 2ad449ab8ceddb2d2f940eaebdab7965925038c5 SHA1 a6107e8d8fed056255cff31b0b52da7e32fe7289 SHA256 8c6de0f26458995b8d095ddc433caac8b183fbc6e5f9cbc240cb762ae3c1f3da -DIST samba-3-gentoo-0.3.12.tar.bz2 16286 RMD160 ee6a63e9fc3a7ad87e5f0ce288b1176cb445dbe1 SHA1 474fb063a6a965a28ad65e0acb240799c1e56a1a SHA256 3f49e8f7254122be1d1b2f94594fcf57c8417989c40265a44f1bb4ba86b3a17e DIST samba-3-gentoo-0.3.13.tar.bz2 16532 RMD160 9ad61f4391a7c452a40391551f222d6e8107e70b SHA1 40a1e2d5080ae022ff00ac60ed3e804d8d3763f5 SHA256 e910780553784c0fb41ffad25a8185c20879eb14b8d53ce888e5ad05dc0e4e93 -DIST samba-3-gentoo-0.3.14.tar.bz2 16011 RMD160 9b0b5bb67ccc554e337a242fcacb1d41b4c97add SHA1 b4100c7694cca1aaaa9c71f8007913c6502807e3 SHA256 6d76ad33bea7af92a8445275bad6aab05e7a59a7bac67be09ebca4f9e9af8dfc DIST samba-3-gentoo-0.3.15.tar.bz2 15774 RMD160 facce158355559a300923272b655f6c0c50c8b3b SHA1 60d9f9d9d6c192213d775e45c3ceb6183971a486 SHA256 820758c4a8710da27fc1dc3f25729bce79fd0d2a92db5414353f5fe730f5c439 -DIST samba-3-gentoo-0.3.3.tar.bz2 17675 RMD160 d9193e67c6ee0861de3f7ba16de42cb38922913c SHA1 96b21e6d29ffe30adb08a189e93b10081066217d SHA256 1e376c070ba597ad8822741b3b55f810a2613dede9cad1ef3b0f28cc3abb1fdf -DIST samba-3.0.14a.tar.gz 15605851 RMD160 69993b25fc5d4d172fc70e26b9e5e4b5b9ab0c0f SHA1 978ff392d575c717069c66e918f6bbbf815b84b1 SHA256 d8721cc71b9c4ac878d3eef02f01bde7aee18bddd4e40bf213fca577edf3fd18 -DIST samba-3.0.20b.tar.gz 17165513 RMD160 c7fe6cf7e3cae6835efd631f9c7d8b97c8253370 SHA1 e46fa8465dd70c670d84d697e408e70cbc18bb56 SHA256 61d165b7df5cfae1968833caf76d53a9ebfd3849a40098ed26caafcda0a073f6 -DIST samba-3.0.21a.tar.gz 17524018 RMD160 0daede1526cacd631654a82b33af48ffb4789ce4 SHA1 c8d339801f2f1c60a4bb652aee85da6a0eb5d224 SHA256 8f4902db38b20601cc3315fe9516a9380b067678c5a6828bd67e5a8bc46b097c -DIST samba-3.0.21b.tar.gz 17539079 RMD160 883f855523e2a079cd7295df6647b3cb9b56c23a SHA1 349324617a091d13102b97fe8dd37c3632ebe2ed SHA256 a5e6982024105276d347b3b521897d6937c727e273814e743ada8eddf972e7d0 DIST samba-3.0.22.tar.gz 17542657 RMD160 b41cffc999c524c1650d2dd3fbd063dc79741091 SHA1 76eba872b3e8f647e16d0d8d129e02848a7989d7 SHA256 781466885804343248afb74dfdd57df0c7165b252ded06a71c0f24827b2a8e2d -DIST samba-3.0.23.tar.gz 17677551 RMD160 d8814845c5e177e5ac0a376c40e7e2d1b3733dd7 SHA1 94b40c42b976ef19714a105823416e64fd855d5c SHA256 a198213c44c9837169916c82a885c9916e1627c5dc2285663998f8c307d8590e -DIST samba-3.0.23a.tar.gz 17683518 RMD160 d7ab7ec895923d74c8b11507c3cc678d0b0b895c SHA1 11d6b75811c38ed89da2460386e36fd23af24d3c SHA256 e0504eabb825875213cc06607d93946227d884cb3d09e551c4a1de547b1956f2 -DIST samba-3.0.23d.tar.gz 17704221 RMD160 2c80a504f01dc78e2fa52e1f7d765812ac20672e SHA1 080d617ecda196db4e6d58ac55573ee016e37b60 SHA256 0af21d6cfeb8186987cc5b59e41034f663124859ce30b5b98f3abed501f2cd46 DIST samba-3.0.24.tar.gz 17708128 RMD160 f208dca645d07a195169e005a50fb4c4879254eb SHA1 216020b58abca191b8146f76f98a8bda3508fcd3 SHA256 c4e8de3426fbbcee7f338f5cf09052cbdf9a36ae638aeeeca10498ef8d5343e2 -DIST samba-vscan-0.3.6.tar.bz2 166733 RMD160 462a9de0789122c0627b0ed4f6e7b6ed3cd883af SHA256 5e552668d8e31d78281a4e93c4ac9b3490e145bc27d4ad0029d175f6c90a755a DIST samba-vscan-0.3.6b.tar.bz2 164471 RMD160 5cd81345b06f44b2febf3f24e62325322b1c6a3b SHA1 b11e8303380ee8d271a916a17a16cbab9d0d36f8 SHA256 14f78b624b047b90ddf4965998e7115d3b3ac97b3229154a302637d8e49adcd4 -EBUILD samba-3.0.14a-r2.ebuild 9200 RMD160 a628a00dec53bd7fad7d336aee09acb11a90797c SHA1 ba642f54680f42eb624d6ecd460d1368a25a9975 SHA256 a8c266477910a2f13acbe7ff99910a8079baf26e78396a8326a09136fa6c932b -MD5 1a449b1cda3570f1844eac34e766b804 samba-3.0.14a-r2.ebuild 9200 -RMD160 a628a00dec53bd7fad7d336aee09acb11a90797c samba-3.0.14a-r2.ebuild 9200 -SHA256 a8c266477910a2f13acbe7ff99910a8079baf26e78396a8326a09136fa6c932b samba-3.0.14a-r2.ebuild 9200 -EBUILD samba-3.0.20b.ebuild 8556 RMD160 e6a6925dc5252cc7994158f85c3987825b4010e8 SHA1 3946d518ad45dced6c1f605b1dec21cb7af69a43 SHA256 3c00b933fd0e5481f7788fa1fb2bf8bc9efcb4384a34284cf48f5657818ec0be -MD5 6bb57cd24a934d105bb8f4427ca096f8 samba-3.0.20b.ebuild 8556 -RMD160 e6a6925dc5252cc7994158f85c3987825b4010e8 samba-3.0.20b.ebuild 8556 -SHA256 3c00b933fd0e5481f7788fa1fb2bf8bc9efcb4384a34284cf48f5657818ec0be samba-3.0.20b.ebuild 8556 -EBUILD samba-3.0.21a.ebuild 8546 RMD160 74e4c6d265fbd789ed9af807404206fe49eaed49 SHA1 abbfe306b66f180575ae9ccac4d785b9addf287b SHA256 34156a41ad4ebb5b09cf337f32b454ab12e323ee16e0806bbfb2a4bfa0ad6d58 -MD5 f065f6148bac59b0a905c97959a33fdd samba-3.0.21a.ebuild 8546 -RMD160 74e4c6d265fbd789ed9af807404206fe49eaed49 samba-3.0.21a.ebuild 8546 -SHA256 34156a41ad4ebb5b09cf337f32b454ab12e323ee16e0806bbfb2a4bfa0ad6d58 samba-3.0.21a.ebuild 8546 -EBUILD samba-3.0.21b-r1.ebuild 8649 RMD160 e00292d0cdf1355cb819951b79792025e26c9f6a SHA1 90b23232257ad79c7552cee6eb817566eb8818cb SHA256 f522288ed67886febb8ac43831d9ebaa591c6d8bab9aaac7ee54714ed2a250a4 -MD5 59cea0bcf007f8d0b03b98d66334430d samba-3.0.21b-r1.ebuild 8649 -RMD160 e00292d0cdf1355cb819951b79792025e26c9f6a samba-3.0.21b-r1.ebuild 8649 -SHA256 f522288ed67886febb8ac43831d9ebaa591c6d8bab9aaac7ee54714ed2a250a4 samba-3.0.21b-r1.ebuild 8649 -EBUILD samba-3.0.22-r2.ebuild 8693 RMD160 498e34722068b5c300e1240841848838e0640e1f SHA1 90094c330b7ce206ec1d6d12f76d3e7119164436 SHA256 07f465d5a2e32906799c4b4bdef28fe9b6d07a3f4d310d93d731f13d37d61460 -MD5 f11cc10bc8cdba4084a34024ef71b9e3 samba-3.0.22-r2.ebuild 8693 -RMD160 498e34722068b5c300e1240841848838e0640e1f samba-3.0.22-r2.ebuild 8693 -SHA256 07f465d5a2e32906799c4b4bdef28fe9b6d07a3f4d310d93d731f13d37d61460 samba-3.0.22-r2.ebuild 8693 EBUILD samba-3.0.22-r3.ebuild 8726 RMD160 de82a5c86734a51d8c0847f41ac2cf29bff3b15d SHA1 3eefc5a36529627e74fb1959d6605e07ea893b0d SHA256 81ceb2326a6219d95d71df2c4dd984bbc0976c1ba50c196bbf3338bbbe152433 MD5 16b6a40fdf695166a0886fdd966683b3 samba-3.0.22-r3.ebuild 8726 RMD160 de82a5c86734a51d8c0847f41ac2cf29bff3b15d samba-3.0.22-r3.ebuild 8726 SHA256 81ceb2326a6219d95d71df2c4dd984bbc0976c1ba50c196bbf3338bbbe152433 samba-3.0.22-r3.ebuild 8726 -EBUILD samba-3.0.22.ebuild 8656 RMD160 c0a7edb8d6ac44fd46d46d93042c1a505687444a SHA1 ac7a8c383a21379f774febd0e41d6fb5b9be7b7c SHA256 b2a22721441d2c4a11c0177c46aed59a8ecc105aef560101dd7bd320ab602949 -MD5 76c3da98bf458f79435501f04504c639 samba-3.0.22.ebuild 8656 -RMD160 c0a7edb8d6ac44fd46d46d93042c1a505687444a samba-3.0.22.ebuild 8656 -SHA256 b2a22721441d2c4a11c0177c46aed59a8ecc105aef560101dd7bd320ab602949 samba-3.0.22.ebuild 8656 -EBUILD samba-3.0.23.ebuild 8747 RMD160 8671c711966dd3568d8863ec32f5ab6355980960 SHA1 5bcb4ae91bd5c0e4775a6834e75b0e06fe68bf39 SHA256 89c43db59e6e46e4d0ce725c554fd207cc2ee8be5d4969094b2e667526445dfa -MD5 48472f9cdb1d4baf26abcae2425f4f04 samba-3.0.23.ebuild 8747 -RMD160 8671c711966dd3568d8863ec32f5ab6355980960 samba-3.0.23.ebuild 8747 -SHA256 89c43db59e6e46e4d0ce725c554fd207cc2ee8be5d4969094b2e667526445dfa samba-3.0.23.ebuild 8747 -EBUILD samba-3.0.23a.ebuild 8224 RMD160 750149ebc3f9d26963e629666b78c4168727dc65 SHA1 ea8cae48aebcc18ca7bfbf005f78d8b7a98186f0 SHA256 b63e6d66d1efdae0671e20784fd8047608647f91c337fada9a5c9893c00ccf93 -MD5 385dce54c01964a6b210f76bca0637e2 samba-3.0.23a.ebuild 8224 -RMD160 750149ebc3f9d26963e629666b78c4168727dc65 samba-3.0.23a.ebuild 8224 -SHA256 b63e6d66d1efdae0671e20784fd8047608647f91c337fada9a5c9893c00ccf93 samba-3.0.23a.ebuild 8224 -EBUILD samba-3.0.23d.ebuild 8386 RMD160 3bdc7855e60a653d549441a0b6236be78fb695ce SHA1 9eccb7a19d93d6d82c38fbd003e5a93b90a2c8cc SHA256 8d7434d059b12ae3045dee27c0b2958a964228700c4ea866028d56ae3e89ca16 -MD5 2e4cb1456e4debea82be39fe086cdcf2 samba-3.0.23d.ebuild 8386 -RMD160 3bdc7855e60a653d549441a0b6236be78fb695ce samba-3.0.23d.ebuild 8386 -SHA256 8d7434d059b12ae3045dee27c0b2958a964228700c4ea866028d56ae3e89ca16 samba-3.0.23d.ebuild 8386 EBUILD samba-3.0.24.ebuild 8335 RMD160 00afadf17b42608c0d92db7ddc51938c72511af2 SHA1 db6c44b07a2e60f45c99a1ce596c4e0380970053 SHA256 99a0389e0b6a6b070edecc9260354e1d5783f6a5c62332a7ce4c4b0634f5fea4 MD5 63e7d79f9f2dab572f41e03698634210 samba-3.0.24.ebuild 8335 RMD160 00afadf17b42608c0d92db7ddc51938c72511af2 samba-3.0.24.ebuild 8335 SHA256 99a0389e0b6a6b070edecc9260354e1d5783f6a5c62332a7ce4c4b0634f5fea4 samba-3.0.24.ebuild 8335 -MISC ChangeLog 46270 RMD160 9513dedbb53a8a96d31717adeca2e1011d931a1f SHA1 24ca2ebfa624be158798f06de917b540cc6b938c SHA256 1549d678ccd90b6096f24ade563b5b5c05e02058044cdbb56fbab5354c94d2b8 -MD5 c718d86539a807f8e14b42670a48e0b1 ChangeLog 46270 -RMD160 9513dedbb53a8a96d31717adeca2e1011d931a1f ChangeLog 46270 -SHA256 1549d678ccd90b6096f24ade563b5b5c05e02058044cdbb56fbab5354c94d2b8 ChangeLog 46270 +MISC ChangeLog 46585 RMD160 7289834fa8f2f464d34ffe73e7858837a11a1e1e SHA1 ef4b145c1c8f1aa474aa940f1e93aaa8d1389d6b SHA256 ab6c65b4e3c41e7656f14c723ee066f884844d67c81126ed118981b56c895ec7 +MD5 360cba35e7a2e23aef440344f1e62d79 ChangeLog 46585 +RMD160 7289834fa8f2f464d34ffe73e7858837a11a1e1e ChangeLog 46585 +SHA256 ab6c65b4e3c41e7656f14c723ee066f884844d67c81126ed118981b56c895ec7 ChangeLog 46585 MISC metadata.xml 491 RMD160 a168f5ebf64e25d8c80c1c33220b2695ae8f3645 SHA1 0e2b7b349b3494ce9c4a96dbedd970ca07e8394c SHA256 f6534dfe5249b4f1482818d56c36126ae4681eb5b7d24dbf985f6be6f2c58493 MD5 41299f246433a1a55c8fccc77ccd709e metadata.xml 491 RMD160 a168f5ebf64e25d8c80c1c33220b2695ae8f3645 metadata.xml 491 SHA256 f6534dfe5249b4f1482818d56c36126ae4681eb5b7d24dbf985f6be6f2c58493 metadata.xml 491 -MD5 d19f8a2c736b1e043b7c386ffa281d90 files/digest-samba-3.0.14a-r2 765 -RMD160 e605f139f73421a6a0f169660ec30bf53685a062 files/digest-samba-3.0.14a-r2 765 -SHA256 4d105b9a6a86941970c0952a1fb6819986ed6d3794ca4beb9ae1ff1b2539b6d7 files/digest-samba-3.0.14a-r2 765 -MD5 4614d5c7bfd399022580e2daa9d34690 files/digest-samba-3.0.20b 768 -RMD160 3ead81756f84279c56199f4f19074978e80a569f files/digest-samba-3.0.20b 768 -SHA256 c93d1ae6429b463a958ac7e42648c326b29a102a9095904ebd204b3f292a85f4 files/digest-samba-3.0.20b 768 -MD5 396316f4cda6e1ec9329f009550203ce files/digest-samba-3.0.21a 771 -RMD160 c3393feddffaae6b42f211b2684d9c51ff5746c0 files/digest-samba-3.0.21a 771 -SHA256 a9367cbacbeb43e514e20524732d34db8c642cba4a6c1dea19d934c570da2e55 files/digest-samba-3.0.21a 771 -MD5 2ef3430b7d51451dd05a8db9af4f1f8a files/digest-samba-3.0.21b-r1 771 -RMD160 099fa5fd11c134423ba3379820f230c6188d4865 files/digest-samba-3.0.21b-r1 771 -SHA256 1e17717d3b99f13786745be5b92e58228eaf0cd877711a61aefb42cf7221cb8f files/digest-samba-3.0.21b-r1 771 -MD5 0662e36810981d814aca648190442288 files/digest-samba-3.0.22 768 -RMD160 b8b8d0bbda17578b9e8e8537f38169cdde5df87e files/digest-samba-3.0.22 768 -SHA256 b73e444ff1555efdcb74310eda4dc5ea1e3ae9c9764e2438a616a7aae50919de files/digest-samba-3.0.22 768 -MD5 e661bffc5be329e13ada9b407af96315 files/digest-samba-3.0.22-r2 768 -RMD160 969f6a0e261716fb9675232c256ce0dc19ba7ccb files/digest-samba-3.0.22-r2 768 -SHA256 4450ec5a9f99152040bc04eb61bfbf423459f67ab9826b48b1799c1e32a41b58 files/digest-samba-3.0.22-r2 768 MD5 35b12662a5f0f1accd1421754f047851 files/digest-samba-3.0.22-r3 768 RMD160 8556cd5560ed61eb1509236208653651f5ff6b72 files/digest-samba-3.0.22-r3 768 SHA256 ec81536abaa1ab3b05885d89e9a0ccc34033018301fc8c9473542d7a01c56511 files/digest-samba-3.0.22-r3 768 -MD5 1293e07246affd852e6fe4050ba8ff40 files/digest-samba-3.0.23 768 -RMD160 faf80e312948ddbfdb9077d744aa0a6d892fb232 files/digest-samba-3.0.23 768 -SHA256 ae4166a3ea2e4d460f1f421d9f79e04809eca19153ede6904d7104fcab04fc61 files/digest-samba-3.0.23 768 -MD5 1b4ea5b0f2f47a85b1632d4cfb19d7c5 files/digest-samba-3.0.23a 771 -RMD160 77c01ce47cda16f1c0fd6ca791dc3b17e3e1fc5b files/digest-samba-3.0.23a 771 -SHA256 16d8cbdd4db0901523de3d7d7cf693deb7394bf71bcf47c7826bd182f10183bf files/digest-samba-3.0.23a 771 -MD5 13675ea30af4dd21c7aba8b559de468b files/digest-samba-3.0.23d 771 -RMD160 1fab9b6e1e88a1885bfc474d19ca1df43c85db59 files/digest-samba-3.0.23d 771 -SHA256 30f6f8be83fa2e02aabfbed9e619367d82f4e70c67e9baeab97fdd451b8f4d2e files/digest-samba-3.0.23d 771 MD5 8108cc4de0f97e9bb076873e71dfbf88 files/digest-samba-3.0.24 768 RMD160 3fc1a13d13b9638d6c08b69dce6dd6893e03e4e7 files/digest-samba-3.0.24 768 SHA256 175e4abf1de4b025ee3f704cc7e02c1457286b186afded0c9753c02559494c61 files/digest-samba-3.0.24 768 diff --git a/net-fs/samba/files/digest-samba-3.0.14a-r2 b/net-fs/samba/files/digest-samba-3.0.14a-r2 deleted file mode 100644 index a2a860574ff4..000000000000 --- a/net-fs/samba/files/digest-samba-3.0.14a-r2 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 843ac7dff1eb80b9312a86c91d9868f1 samba-3-gentoo-0.3.3.tar.bz2 17675 -RMD160 d9193e67c6ee0861de3f7ba16de42cb38922913c samba-3-gentoo-0.3.3.tar.bz2 17675 -SHA256 1e376c070ba597ad8822741b3b55f810a2613dede9cad1ef3b0f28cc3abb1fdf samba-3-gentoo-0.3.3.tar.bz2 17675 -MD5 ebee37e66a8b5f6fd328967dc09088e8 samba-3.0.14a.tar.gz 15605851 -RMD160 69993b25fc5d4d172fc70e26b9e5e4b5b9ab0c0f samba-3.0.14a.tar.gz 15605851 -SHA256 d8721cc71b9c4ac878d3eef02f01bde7aee18bddd4e40bf213fca577edf3fd18 samba-3.0.14a.tar.gz 15605851 -MD5 68c9d099d942d85e68d96804b26ac788 samba-vscan-0.3.6.tar.bz2 166733 -RMD160 462a9de0789122c0627b0ed4f6e7b6ed3cd883af samba-vscan-0.3.6.tar.bz2 166733 -SHA256 5e552668d8e31d78281a4e93c4ac9b3490e145bc27d4ad0029d175f6c90a755a samba-vscan-0.3.6.tar.bz2 166733 diff --git a/net-fs/samba/files/digest-samba-3.0.20b b/net-fs/samba/files/digest-samba-3.0.20b deleted file mode 100644 index 6ef3d47de6d3..000000000000 --- a/net-fs/samba/files/digest-samba-3.0.20b +++ /dev/null @@ -1,9 +0,0 @@ -MD5 864fcda25aec603fcc7849f79a7c77a2 samba-3-gentoo-0.3.10.tar.bz2 16783 -RMD160 9f73b1f955ca3b5b9dbedfe9854fd788eca62050 samba-3-gentoo-0.3.10.tar.bz2 16783 -SHA256 69748dbe3566eaa0ea27fd0e0dcef20309089cbe40de2e1bce450f3d9dc4e8c2 samba-3-gentoo-0.3.10.tar.bz2 16783 -MD5 39c0cae08fe0224cb003aa0af97d3050 samba-3.0.20b.tar.gz 17165513 -RMD160 c7fe6cf7e3cae6835efd631f9c7d8b97c8253370 samba-3.0.20b.tar.gz 17165513 -SHA256 61d165b7df5cfae1968833caf76d53a9ebfd3849a40098ed26caafcda0a073f6 samba-3.0.20b.tar.gz 17165513 -MD5 68c9d099d942d85e68d96804b26ac788 samba-vscan-0.3.6.tar.bz2 166733 -RMD160 462a9de0789122c0627b0ed4f6e7b6ed3cd883af samba-vscan-0.3.6.tar.bz2 166733 -SHA256 5e552668d8e31d78281a4e93c4ac9b3490e145bc27d4ad0029d175f6c90a755a samba-vscan-0.3.6.tar.bz2 166733 diff --git a/net-fs/samba/files/digest-samba-3.0.21a b/net-fs/samba/files/digest-samba-3.0.21a deleted file mode 100644 index 47d166d833b7..000000000000 --- a/net-fs/samba/files/digest-samba-3.0.21a +++ /dev/null @@ -1,9 +0,0 @@ -MD5 e68da25c1ff30482c9401e279ae62797 samba-3-gentoo-0.3.11.tar.bz2 15929 -RMD160 2ad449ab8ceddb2d2f940eaebdab7965925038c5 samba-3-gentoo-0.3.11.tar.bz2 15929 -SHA256 8c6de0f26458995b8d095ddc433caac8b183fbc6e5f9cbc240cb762ae3c1f3da samba-3-gentoo-0.3.11.tar.bz2 15929 -MD5 b5306d2681e97e4499daf7845581d116 samba-3.0.21a.tar.gz 17524018 -RMD160 0daede1526cacd631654a82b33af48ffb4789ce4 samba-3.0.21a.tar.gz 17524018 -SHA256 8f4902db38b20601cc3315fe9516a9380b067678c5a6828bd67e5a8bc46b097c samba-3.0.21a.tar.gz 17524018 -MD5 900502ba36b80620229b94e5129bc856 samba-vscan-0.3.6b.tar.bz2 164471 -RMD160 5cd81345b06f44b2febf3f24e62325322b1c6a3b samba-vscan-0.3.6b.tar.bz2 164471 -SHA256 14f78b624b047b90ddf4965998e7115d3b3ac97b3229154a302637d8e49adcd4 samba-vscan-0.3.6b.tar.bz2 164471 diff --git a/net-fs/samba/files/digest-samba-3.0.21b-r1 b/net-fs/samba/files/digest-samba-3.0.21b-r1 deleted file mode 100644 index 94a9dfb37af1..000000000000 --- a/net-fs/samba/files/digest-samba-3.0.21b-r1 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 e68da25c1ff30482c9401e279ae62797 samba-3-gentoo-0.3.11.tar.bz2 15929 -RMD160 2ad449ab8ceddb2d2f940eaebdab7965925038c5 samba-3-gentoo-0.3.11.tar.bz2 15929 -SHA256 8c6de0f26458995b8d095ddc433caac8b183fbc6e5f9cbc240cb762ae3c1f3da samba-3-gentoo-0.3.11.tar.bz2 15929 -MD5 bb73dffb33f4a39386ef9f3e07ae28ff samba-3.0.21b.tar.gz 17539079 -RMD160 883f855523e2a079cd7295df6647b3cb9b56c23a samba-3.0.21b.tar.gz 17539079 -SHA256 a5e6982024105276d347b3b521897d6937c727e273814e743ada8eddf972e7d0 samba-3.0.21b.tar.gz 17539079 -MD5 900502ba36b80620229b94e5129bc856 samba-vscan-0.3.6b.tar.bz2 164471 -RMD160 5cd81345b06f44b2febf3f24e62325322b1c6a3b samba-vscan-0.3.6b.tar.bz2 164471 -SHA256 14f78b624b047b90ddf4965998e7115d3b3ac97b3229154a302637d8e49adcd4 samba-vscan-0.3.6b.tar.bz2 164471 diff --git a/net-fs/samba/files/digest-samba-3.0.22 b/net-fs/samba/files/digest-samba-3.0.22 deleted file mode 100644 index dbd0d422dd55..000000000000 --- a/net-fs/samba/files/digest-samba-3.0.22 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 e68da25c1ff30482c9401e279ae62797 samba-3-gentoo-0.3.11.tar.bz2 15929 -RMD160 2ad449ab8ceddb2d2f940eaebdab7965925038c5 samba-3-gentoo-0.3.11.tar.bz2 15929 -SHA256 8c6de0f26458995b8d095ddc433caac8b183fbc6e5f9cbc240cb762ae3c1f3da samba-3-gentoo-0.3.11.tar.bz2 15929 -MD5 5c39505af17cf5caf3d6ed8bab135036 samba-3.0.22.tar.gz 17542657 -RMD160 b41cffc999c524c1650d2dd3fbd063dc79741091 samba-3.0.22.tar.gz 17542657 -SHA256 781466885804343248afb74dfdd57df0c7165b252ded06a71c0f24827b2a8e2d samba-3.0.22.tar.gz 17542657 -MD5 900502ba36b80620229b94e5129bc856 samba-vscan-0.3.6b.tar.bz2 164471 -RMD160 5cd81345b06f44b2febf3f24e62325322b1c6a3b samba-vscan-0.3.6b.tar.bz2 164471 -SHA256 14f78b624b047b90ddf4965998e7115d3b3ac97b3229154a302637d8e49adcd4 samba-vscan-0.3.6b.tar.bz2 164471 diff --git a/net-fs/samba/files/digest-samba-3.0.22-r2 b/net-fs/samba/files/digest-samba-3.0.22-r2 deleted file mode 100644 index d1b6245dc5d1..000000000000 --- a/net-fs/samba/files/digest-samba-3.0.22-r2 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 9820fdb08ab984329c77ea5a85177dfc samba-3-gentoo-0.3.12.tar.bz2 16286 -RMD160 ee6a63e9fc3a7ad87e5f0ce288b1176cb445dbe1 samba-3-gentoo-0.3.12.tar.bz2 16286 -SHA256 3f49e8f7254122be1d1b2f94594fcf57c8417989c40265a44f1bb4ba86b3a17e samba-3-gentoo-0.3.12.tar.bz2 16286 -MD5 5c39505af17cf5caf3d6ed8bab135036 samba-3.0.22.tar.gz 17542657 -RMD160 b41cffc999c524c1650d2dd3fbd063dc79741091 samba-3.0.22.tar.gz 17542657 -SHA256 781466885804343248afb74dfdd57df0c7165b252ded06a71c0f24827b2a8e2d samba-3.0.22.tar.gz 17542657 -MD5 900502ba36b80620229b94e5129bc856 samba-vscan-0.3.6b.tar.bz2 164471 -RMD160 5cd81345b06f44b2febf3f24e62325322b1c6a3b samba-vscan-0.3.6b.tar.bz2 164471 -SHA256 14f78b624b047b90ddf4965998e7115d3b3ac97b3229154a302637d8e49adcd4 samba-vscan-0.3.6b.tar.bz2 164471 diff --git a/net-fs/samba/files/digest-samba-3.0.23 b/net-fs/samba/files/digest-samba-3.0.23 deleted file mode 100644 index 2d601c094290..000000000000 --- a/net-fs/samba/files/digest-samba-3.0.23 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 9e17b085a88c7447ae3ef73fad52359d samba-3-gentoo-0.3.14.tar.bz2 16011 -RMD160 9b0b5bb67ccc554e337a242fcacb1d41b4c97add samba-3-gentoo-0.3.14.tar.bz2 16011 -SHA256 6d76ad33bea7af92a8445275bad6aab05e7a59a7bac67be09ebca4f9e9af8dfc samba-3-gentoo-0.3.14.tar.bz2 16011 -MD5 f2f8722248021ca0e8f31b1853d3bf66 samba-3.0.23.tar.gz 17677551 -RMD160 d8814845c5e177e5ac0a376c40e7e2d1b3733dd7 samba-3.0.23.tar.gz 17677551 -SHA256 a198213c44c9837169916c82a885c9916e1627c5dc2285663998f8c307d8590e samba-3.0.23.tar.gz 17677551 -MD5 900502ba36b80620229b94e5129bc856 samba-vscan-0.3.6b.tar.bz2 164471 -RMD160 5cd81345b06f44b2febf3f24e62325322b1c6a3b samba-vscan-0.3.6b.tar.bz2 164471 -SHA256 14f78b624b047b90ddf4965998e7115d3b3ac97b3229154a302637d8e49adcd4 samba-vscan-0.3.6b.tar.bz2 164471 diff --git a/net-fs/samba/files/digest-samba-3.0.23a b/net-fs/samba/files/digest-samba-3.0.23a deleted file mode 100644 index 697e20f34254..000000000000 --- a/net-fs/samba/files/digest-samba-3.0.23a +++ /dev/null @@ -1,9 +0,0 @@ -MD5 9e17b085a88c7447ae3ef73fad52359d samba-3-gentoo-0.3.14.tar.bz2 16011 -RMD160 9b0b5bb67ccc554e337a242fcacb1d41b4c97add samba-3-gentoo-0.3.14.tar.bz2 16011 -SHA256 6d76ad33bea7af92a8445275bad6aab05e7a59a7bac67be09ebca4f9e9af8dfc samba-3-gentoo-0.3.14.tar.bz2 16011 -MD5 e48f196fa51c22ff67463680ce95a58d samba-3.0.23a.tar.gz 17683518 -RMD160 d7ab7ec895923d74c8b11507c3cc678d0b0b895c samba-3.0.23a.tar.gz 17683518 -SHA256 e0504eabb825875213cc06607d93946227d884cb3d09e551c4a1de547b1956f2 samba-3.0.23a.tar.gz 17683518 -MD5 900502ba36b80620229b94e5129bc856 samba-vscan-0.3.6b.tar.bz2 164471 -RMD160 5cd81345b06f44b2febf3f24e62325322b1c6a3b samba-vscan-0.3.6b.tar.bz2 164471 -SHA256 14f78b624b047b90ddf4965998e7115d3b3ac97b3229154a302637d8e49adcd4 samba-vscan-0.3.6b.tar.bz2 164471 diff --git a/net-fs/samba/files/digest-samba-3.0.23d b/net-fs/samba/files/digest-samba-3.0.23d deleted file mode 100644 index 3b3eca08f048..000000000000 --- a/net-fs/samba/files/digest-samba-3.0.23d +++ /dev/null @@ -1,9 +0,0 @@ -MD5 78346283a12e7e9a6eeec9a5b0019a26 samba-3-gentoo-0.3.15.tar.bz2 15774 -RMD160 facce158355559a300923272b655f6c0c50c8b3b samba-3-gentoo-0.3.15.tar.bz2 15774 -SHA256 820758c4a8710da27fc1dc3f25729bce79fd0d2a92db5414353f5fe730f5c439 samba-3-gentoo-0.3.15.tar.bz2 15774 -MD5 afe6923d05fed5b5ccab593c7a407cd1 samba-3.0.23d.tar.gz 17704221 -RMD160 2c80a504f01dc78e2fa52e1f7d765812ac20672e samba-3.0.23d.tar.gz 17704221 -SHA256 0af21d6cfeb8186987cc5b59e41034f663124859ce30b5b98f3abed501f2cd46 samba-3.0.23d.tar.gz 17704221 -MD5 900502ba36b80620229b94e5129bc856 samba-vscan-0.3.6b.tar.bz2 164471 -RMD160 5cd81345b06f44b2febf3f24e62325322b1c6a3b samba-vscan-0.3.6b.tar.bz2 164471 -SHA256 14f78b624b047b90ddf4965998e7115d3b3ac97b3229154a302637d8e49adcd4 samba-vscan-0.3.6b.tar.bz2 164471 diff --git a/net-fs/samba/samba-3.0.14a-r2.ebuild b/net-fs/samba/samba-3.0.14a-r2.ebuild deleted file mode 100644 index f9c866138d96..000000000000 --- a/net-fs/samba/samba-3.0.14a-r2.ebuild +++ /dev/null @@ -1,314 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.14a-r2.ebuild,v 1.23 2007/01/08 15:33:14 flameeyes Exp $ - -inherit eutils versionator pam - -IUSE_LINGUAS="ja pl" -IUSE="acl cups doc examples kerberos ldap mysql pam postgres python quotas - readline winbind xml libclamav oav selinux" - -VSCAN_VER=0.3.6 -PATCH_VER=0.3.3 -MY_P=${PN}-${PV/_/} -MY_PP=${PN}-$(get_major_version)-gentoo-${PATCH_VER} -S2=${WORKDIR}/${MY_P} -S=${S2}/source -PFVSCAN=${PN}-vscan-${VSCAN_VER} -DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" -HOMEPAGE="http://www.samba.org/ - http://www.openantivirus.org/projects.php" -SRC_URI=" - mirror://samba/${MY_P}.tar.gz - mirror://samba/old-versions/${MY_P}.tar.gz - oav? ( mirror://sourceforge/openantivirus/${PFVSCAN}.tar.bz2 ) - http://dev.gentoo.org/~seemant/distfiles/${MY_PP}.tar.bz2 - mirror://gentoo/${MY_PP}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" - -RDEPEND="dev-libs/popt - acl? ( sys-apps/acl ) - cups? ( net-print/cups ) - ldap? ( kerberos? ( virtual/krb5 ) net-nds/openldap ) - mysql? ( virtual/mysql sys-libs/zlib ) - pam? ( sys-libs/pam ) - postgres? ( dev-db/postgresql sys-libs/zlib ) - python? ( dev-lang/python ) - readline? ( sys-libs/readline ) - xml? ( dev-libs/libxml2 sys-libs/zlib ) - selinux? ( sec-policy/selinux-samba )" - -DEPEND="${RDEPEND} - sys-devel/autoconf - >=sys-apps/sed-4" - -PRIVATE_DST=/var/lib/samba/private -PATCHDIR=${WORKDIR}/gentoo/patches -CONFDIR=${WORKDIR}/gentoo/configs - -src_unpack() { - unpack ${A}; cd ${S2} - - rm -rf ${S2}/examples.ORIG - - export EPATCH_SUFFIX="patch" - epatch ${PATCHDIR}/general - if use oav ; then - cp -pPR ${WORKDIR}/${PFVSCAN} ${S2}/examples/VFS - epatch ${PATCHDIR}/vscan - fi -} - -src_compile() { - ebegin "Running autoconf" - autoconf - eend $? - - local myconf - local mymods - local mylangs - - use xml && mymods="xml,${mymods}" - use mysql && mymods="mysql,${mymods}" - use postgres && mymods="pgsql,${mymods}" - [ -n "${mymods}" ] && myconf="--with-expsam=${mymods}" - - mylangs="en" - use linguas_ja && mylangs="${mylangs},ja" - use linguas_pl && mylangs="${mylangs},pl" - myconf="${myconf} --with-manpages-langs=${mylangs}" - - use ldap && myconf="${myconf} $(use_with kerberos ads)" - - econf \ - --with-fhs \ - --sysconfdir=/etc/samba \ - --localstatedir=/var \ - --with-configdir=/etc/samba \ - --with-libdir=/usr/$(get_libdir)/samba \ - --with-swatdir=/usr/share/doc/${PF}/swat \ - --with-piddir=/var/run/samba \ - --with-lockdir=/var/cache/samba \ - --with-logfilebase=/var/log/samba \ - --with-privatedir=${PRIVATE_DST} \ - --enable-static --enable-shared \ - --with-smbmount --with-automount \ - --with-libsmbclient \ - --without-spinlocks \ - --with-syslog \ - --with-idmap \ - --without-ldapsam \ - $(use_with acl acl-support) \ - $(use_enable cups) \ - $(use_with kerberos krb5) \ - $(use_with ldap) \ - $(use_with python) \ - $(use_with readline) \ - $(use_with winbind) \ - $(use_with pam) $(use_with pam pam_smbpass) \ - $(use_with quotas) $(use_with quotas sys-quotas) \ - ${myconf} || die - - emake proto || die "SAMBA make proto error" - emake everything || die "SAMBA make everything error" - - einfo "make rpctorture" - emake rpctorture || ewarn "rpctorture didn't build" - - if use python ; then - python python/setup.py build - fi - - # Build samba-vscan plugins - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - econf \ - --with-fhs \ - --libdir=/usr/$(get_libdir)/samba \ - $(use_with libclamav) || die "${PFVSCAN} ./configure failed" - emake || die "Failed to make ${PFVSCAN}" - fi - -} - -src_install() { - local extra_bins="rpctorture" - - make DESTDIR=${D} install-everything || die - - # Extra rpctorture progs - exeinto /usr/bin - for i in ${extra_bins}; do - [ -x ${S}/bin/${i} ] && doexe ${S}/bin/${i} - einfo "Extra binaries: ${i}" - done - - # remove .old stuff from /usr/bin: - rm -f ${D}/usr/bin/*.old - - # Nsswitch extensions. Make link for wins and winbind resolvers - dolib.so ${S}/nsswitch/libnss_wins.so - dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2 - if use winbind; then - dolib.so ${S}/nsswitch/libnss_winbind.so - dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2 - fi - - if use pam; then - exeinto /$(get_libdir)/security - doexe ${S}/bin/pam_smbpass.so - fi - - if use pam && use winbind; then - exeinto /$(get_libdir)/security - doexe ${S}/nsswitch/pam_winbind.so - fi - - # mount backend - dodir /sbin - dosym ../usr/bin/smbmount /sbin/mount.smbfs - dosym ../usr/bin/mount.cifs /sbin/mount.cifs - - # bug #46389: samba doesn't create symlink anymore - # beaviour seems to be changed in 3.0.6, see bug #61046 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so.0 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so - - # make the smb backend symlink for cups printing support.. - if use cups; then - dodir /usr/$(get_libdir)/cups/backend - dosym ../../../bin/smbspool /usr/$(get_libdir)/cups/backend/smb - fi - - # VFS plugin modules - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - make install DESTDIR=${D} || die "VFS: vscan error" - insinto /etc/samba - doins ${S2}/examples/VFS/${PFVSCAN}/openantivirus/*conf - fi - - # Python extensions - if use python; then - cd ${S} - python python/setup.py install --root=${D} || die - fi - - # General config files - insinto /etc/samba - doins ${CONFDIR}/smbusers - newins ${CONFDIR}/smb.conf.example-samba3 smb.conf.example - doins ${CONFDIR}/lmhosts - - newpamd ${CONFDIR}/samba.pam samba - use winbind && doins ${CONFDIR}/system-auth-winbind - insinto /etc/xinetd.d - newins ${CONFDIR}/swat.xinetd swat - newinitd ${CONFDIR}/samba-init samba - newconfd ${CONFDIR}/samba-conf samba - if use ldap; then - insinto /etc/openldap/schema - doins ${S2}/examples/LDAP/samba.schema - fi - - # dirs - diropts -m0700 ; keepdir ${PRIVATE_DST} - diropts -m1777 ; keepdir /var/spool/samba - - diropts -m0755 - keepdir /var/{log,run,cache}/samba - keepdir /var/lib/samba/{netlogon,profiles} - keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC} - keepdir /usr/$(get_libdir)/samba/{rpc,idmap,auth} - - # docs - dodoc ${S2}/{COPYING,Manifest,README,Roadmap,WHATSNEW.txt} - dodoc ${CONFDIR}/nsswitch.conf-wins - use winbind && dodoc ${CONFDIR}/nsswitch.conf-winbind - - if use examples; then - docinto examples - cp -pPR ${S2}/examples/* ${D}/usr/share/doc/${PF}/examples - chmod -R 755 `find ${D}/usr/share/doc/${PF}/examples -type d` - chmod -R 644 `find ${D}/usr/share/doc/${PF}/examples ! -type d` - fi - - if use oav; then - docinto ${PFVSCAN} - cd ${WORKDIR}/${PFVSCAN} - dodoc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO - dodoc */*.conf - fi - if ! use doc; then - rm -rf ${D}/usr/share/doc/${PF}/swat/help/{guide,howto,devel} - rm -rf ${D}/usr/share/doc/${PF}/swat/using_samba - fi - - # Patch ChangeLog - docinto gentoo - dodoc ${PATCHDIR}/ChangeLog -} - -pkg_preinst() { - local PRIVATE_SRC=/etc/samba/private - if [[ ! -r ${ROOT}/${PRIVATE_DST}/secrets.tdb \ - && -r ${ROOT}/${PRIVATE_SRC}/secrets.tdb ]]; then - ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/" - mkdir -p ${IMAGE}/${PRIVATE_DST} - cp -pPRf ${ROOT}/${PRIVATE_SRC}/* ${IMAGE}/${PRIVATE_DST}/ - eend $? - fi - - if [[ ! -f "${ROOT}/etc/samba/smb.conf" ]]; then - touch ${IMAGE}/etc/samba/smb.conf - fi -} - -pkg_postinst() { - ewarn "" - ewarn "If you are upgrading from a Samba version prior to 3.0.2, and you" - ewarn "use Samba's password database, you must run the following command:" - ewarn "" - ewarn " pdbedit --force-initialized-passwords" - ewarn "" - ewarn "2004-09: LIBs flags changes for suid bins: LDFLAGS+='-Wl,-z,now'" - ewarn "3.0.12: libsmbclient shared library retrocompatibility is not " - ewarn " assured: please rebuild all samba-linked third part packages" - - if use winbind; then - ewarn " 3.0.7: param: 'winbind enable local accounts' is now" - ewarn " disabled by default" - fi - - ewarn "2004-11: /etc/samba/private moved to ${PRIVATE_DST}" - ewarn " for better File System Hierarchy adeherence" - ewarn "" - einfo "If you experience client locks in file transfers _only_, try the parameter" - einfo " use sendfile = no (man smb.conf(5), man sendfile(2))" - einfo "There also seem some problems with the smbfs implementation of the recent 2.6.x kernels" - einfo "If you experience problems (lockups) with smbfs, try cifs as an alternative" - einfo "" - - if use ldap; then - ewarn "If you are upgrading from prior to 3.0.2, and you are using LDAP" - ewarn " for Samba authentication, you must check the sambaPwdLastSet" - ewarn " attribute on all accounts, and ensure it is not 0." - einfo "" - ewarn "2005-03 [3.0.12]: smbldap-tools is now a separate package" - ewarn " for ease of upgrade" - fi - - einfo "There is a good HOWTO about setting up samba3 with cups and clamav at" - einfo "http://www.gentoo.org/doc/en/quick-samba-howto.xml" -} - -pkg_postrm(){ - # If stale docs, and one isn't re-emerging the latest version, removes - # (this is really a portage bug, though) - [[ -n "${PF}" && ! -f ${ROOT}/usr/lib/${PN}/en.msg ]] && \ - rm -rf ${ROOT}/usr/share/doc/${PF} -} - diff --git a/net-fs/samba/samba-3.0.20b.ebuild b/net-fs/samba/samba-3.0.20b.ebuild deleted file mode 100644 index 4025946480ac..000000000000 --- a/net-fs/samba/samba-3.0.20b.ebuild +++ /dev/null @@ -1,310 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.20b.ebuild,v 1.9 2007/01/08 15:33:14 flameeyes Exp $ - -inherit eutils versionator pam - -IUSE_LINGUAS="ja pl" -IUSE="acl async automount cups doc examples kerberos ldap ldapsam libclamav mysql - oav pam postgres python quotas readline selinux swat syslog winbind xml" -RESTRICT="test" - -VSCAN_VER=0.3.6 -PATCH_VER=0.3.10 -MY_P=${PN}-${PV/_/} -MY_PP=${PN}-$(get_major_version)-gentoo-${PATCH_VER} -S2=${WORKDIR}/${MY_P} -S=${S2}/source -PFVSCAN=${PN}-vscan-${VSCAN_VER} -DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" -HOMEPAGE="http://www.samba.org/ - http://www.openantivirus.org/projects.php" -SRC_URI="mirror://samba/${MY_P}.tar.gz - mirror://samba/old-versions/${MY_P}.tar.gz - oav? ( mirror://sourceforge/openantivirus/${PFVSCAN}.tar.bz2 ) - mirror://gentoo/${MY_PP}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" - -RDEPEND="dev-libs/popt - acl? ( sys-apps/acl ) - cups? ( net-print/cups ) - ldap? ( kerberos? ( virtual/krb5 ) net-nds/openldap ) - mysql? ( virtual/mysql sys-libs/zlib ) - pam? ( virtual/pam ) - postgres? ( dev-db/postgresql sys-libs/zlib ) - python? ( dev-lang/python ) - readline? ( sys-libs/readline ) - selinux? ( sec-policy/selinux-samba ) - swat? ( sys-apps/xinetd ) - syslog? ( virtual/logger ) - xml? ( dev-libs/libxml2 sys-libs/zlib ) - " - -DEPEND="${RDEPEND} - sys-devel/autoconf - >=sys-apps/sed-4" - -PRIVATE_DST=/var/lib/samba/private -PATCHDIR=${WORKDIR}/gentoo/patches -CONFDIR=${WORKDIR}/gentoo/configs - -pkg_setup() { - ewarn "3.0.20: New USE flags: syslog, automount, async (default: disabled)" - ewarn "3.0.20b: New USE flags: ldapsam, swat (default: disabled)" - ewarn "SQL and XML backends are *experimental*" - ebeep - epause -} - -src_unpack() { - unpack ${A}; cd ${S2} - - rm -rf ${S2}/examples.ORIG - - export EPATCH_SUFFIX="patch" - epatch ${PATCHDIR}/general - if use oav ; then - cd ${WORKDIR} - epatch ${PATCHDIR}/vscan - cp -pPR ${WORKDIR}/${PFVSCAN} ${S2}/examples/VFS - fi - - # https://bugzilla.samba.org/show_bug.cgi?id=3451 - sed -i -e '/include.*fstab.h/d' "${S}"/client/umount.cifs.c -} - -src_compile() { - ebegin "Running autoconf" - autoconf - eend $? - - local myconf - local mymods - local mylangs - - use xml && mymods="xml,${mymods}" - use mysql && mymods="mysql,${mymods}" - use postgres && mymods="pgsql,${mymods}" - [[ -n "${mymods}" ]] && myconf="--with-expsam=${mymods}" - - mylangs="en" - use linguas_ja && mylangs="${mylangs},ja" - use linguas_pl && mylangs="${mylangs},pl" - myconf="${myconf} --with-manpages-langs=${mylangs}" - - if use ldap; then - myconf="${myconf} $(use_with ldap) $(use_with kerberos ads)" - myconf="${myconf} $(use_with ldapsam)" - else - myconf="${myconf} --without-ldapsam" - fi - use winbind && myconf="${myconf} $(use_with winbind) --with-shared-modules=idmap_rid" - - [[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie" - - econf \ - --with-fhs \ - --sysconfdir=/etc/samba \ - --localstatedir=/var \ - --with-configdir=/etc/samba \ - --with-libdir=/usr/$(get_libdir)/samba \ - --with-swatdir=/usr/share/doc/${PF}/swat \ - --with-piddir=/var/run/samba \ - --with-lockdir=/var/cache/samba \ - --with-logfilebase=/var/log/samba \ - --with-privatedir=${PRIVATE_DST} \ - --with-libsmbclient \ - --without-spinlocks \ - $(use_with acl acl-support) \ - $(use_with async aio-support) \ - $(use_with automount) \ - $(use_enable cups) \ - $(use_with kerberos krb5) \ - $(use_with pam) $(use_with pam pam_smbpass) \ - $(use_with python) \ - $(use_with quotas) $(use_with quotas sys-quotas) \ - $(use_with readline) \ - $(use_with kernel_linux smbmount) \ - $(use_with syslog) \ - ${myconf} || die - - emake proto || die "SAMBA make proto error" - emake everything || die "SAMBA make everything error" - - einfo "make rpctorture" - emake rpctorture || ewarn "rpctorture didn't build" - - if use python ; then - python python/setup.py build - fi - - # Build samba-vscan plugins - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - econf \ - --with-fhs \ - --libdir=/usr/$(get_libdir)/samba \ - $(use_with libclamav) || die "${PFVSCAN} ./configure failed" - emake || die "Failed to make ${PFVSCAN}" - fi - -} - -src_install() { - local extra_bins="rpctorture" - - make DESTDIR=${D} install-everything || die - - # Extra rpctorture progs - exeinto /usr/bin - for i in ${extra_bins}; do - [[ -x ${S}/bin/${i} ]] && doexe ${S}/bin/${i} - einfo "Extra binaries: ${i}" - done - - # remove .old stuff from /usr/bin: - rm -f ${D}/usr/bin/*.old - - # Nsswitch extensions. Make link for wins and winbind resolvers - dolib.so ${S}/nsswitch/libnss_wins.so - dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2 - if use winbind; then - dolib.so ${S}/nsswitch/libnss_winbind.so - dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2 - fi - - if use pam; then - exeinto /$(get_libdir)/security - doexe ${S}/bin/pam_smbpass.so - if use winbind; then - exeinto /$(get_libdir)/security - doexe ${S}/nsswitch/pam_winbind.so - fi - fi - - if use kernel_linux; then - # mount backend - dodir /sbin - dosym ../usr/bin/smbmount /sbin/mount.smbfs - dosym ../usr/bin/mount.cifs /sbin/mount.cifs - fi - - # bug #46389: samba doesn't create symlink anymore - # beaviour seems to be changed in 3.0.6, see bug #61046 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so.0 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so - - # make the smb backend symlink for cups printing support.. - if use cups; then - dodir /usr/$(get_libdir)/cups/backend - dosym ../../../bin/smbspool /usr/$(get_libdir)/cups/backend/smb - fi - - # VFS plugin modules - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - make install DESTDIR=${D} || die "VFS: vscan error" - insinto /etc/samba - doins ${S2}/examples/VFS/${PFVSCAN}/openantivirus/*conf - fi - - # Python extensions - if use python; then - cd ${S} - python python/setup.py install --root=${D} || die - fi - - # General config files - insinto /etc/samba - doins ${CONFDIR}/smbusers - newins ${CONFDIR}/smb.conf.example-samba3 smb.conf.example - doins ${CONFDIR}/lmhosts - - newpamd ${CONFDIR}/samba.pam samba - use winbind && doins ${CONFDIR}/system-auth-winbind - insinto /etc/xinetd.d - newins ${CONFDIR}/swat.xinetd swat - newinitd ${CONFDIR}/samba-init samba - newconfd ${CONFDIR}/samba-conf samba - if use ldap; then - insinto /etc/openldap/schema - doins ${S2}/examples/LDAP/samba.schema - fi - - # dirs - diropts -m0700 ; keepdir ${PRIVATE_DST} - diropts -m1777 ; keepdir /var/spool/samba - - diropts -m0755 - keepdir /var/{log,run,cache}/samba - keepdir /var/lib/samba/{netlogon,profiles} - keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC} - keepdir /usr/$(get_libdir)/samba/{rpc,idmap,auth} - - # docs - dodoc ${FILESDIR}/README.gentoo - dodoc ${S2}/{COPYING,Manifest,README,Roadmap,WHATSNEW.txt} - dodoc ${CONFDIR}/nsswitch.conf-wins - use winbind && dodoc ${CONFDIR}/nsswitch.conf-winbind - - if use oav; then - docinto ${PFVSCAN} - cd ${WORKDIR}/${PFVSCAN} - dodoc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO - dodoc */*.conf - fi - - if use examples; then - docinto examples - cp -pPR ${S2}/examples/* ${D}/usr/share/doc/${PF}/examples - chmod -R 755 `find ${D}/usr/share/doc/${PF}/examples -type d` - chmod -R 644 `find ${D}/usr/share/doc/${PF}/examples ! -type d` - fi - - if ! use doc; then - if ! use swat; then - rm -rf ${D}/usr/share/doc/${PF}/swat - else - rm -rf ${D}/usr/share/doc/${PF}/swat/help/{guide,howto,devel} - rm -rf ${D}/usr/share/doc/${PF}/swat/using_samba - fi - fi - - # Patch ChangeLog - docinto gentoo - dodoc ${PATCHDIR}/ChangeLog -} - -pkg_preinst() { - local PRIVATE_SRC=/etc/samba/private - if [[ ! -r ${ROOT}/${PRIVATE_DST}/secrets.tdb \ - && -r ${ROOT}/${PRIVATE_SRC}/secrets.tdb ]]; then - ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/" - mkdir -p ${IMAGE}/${PRIVATE_DST} - cp -pPRf ${ROOT}/${PRIVATE_SRC}/* ${IMAGE}/${PRIVATE_DST}/ - eend $? - fi - - if [[ ! -f "${ROOT}/etc/samba/smb.conf" ]]; then - touch ${IMAGE}/etc/samba/smb.conf - fi -} - -pkg_postinst() { - if use swat; then - einfo "swat must be enabled by xinetd:" - einfo " change the /etc/xinetd.d/swat configuration" - fi - einfo "Latest info: README.gentoo in documentation directory" -} - -pkg_postrm(){ - # If stale docs, and one isn't re-emerging the latest version, removes - # (this is actually a portage bug, though) - [[ -n "${PF}" && ! -f ${ROOT}/usr/lib/${PN}/en.msg ]] && \ - rm -rf ${ROOT}/usr/share/doc/${PF} -} - diff --git a/net-fs/samba/samba-3.0.21a.ebuild b/net-fs/samba/samba-3.0.21a.ebuild deleted file mode 100644 index d11550424b6e..000000000000 --- a/net-fs/samba/samba-3.0.21a.ebuild +++ /dev/null @@ -1,305 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.21a.ebuild,v 1.4 2007/01/08 15:33:14 flameeyes Exp $ - -inherit eutils versionator pam - -IUSE_LINGUAS="ja pl" -IUSE="acl async automount cups doc examples kerberos ldap ldapsam libclamav mysql - oav pam postgres python quotas readline selinux swat syslog winbind xml" -RESTRICT="test" - -VSCAN_VER="0.3.6b" -PATCH_VER="0.3.11" -MY_P=${PN}-${PV/_/} -MY_PP=${PN}-$(get_major_version)-gentoo-${PATCH_VER} -S2=${WORKDIR}/${MY_P} -S=${S2}/source -PFVSCAN=${PN}-vscan-${VSCAN_VER} -DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" -HOMEPAGE="http://www.samba.org/ - http://www.openantivirus.org/projects.php" -SRC_URI="mirror://samba/${MY_P}.tar.gz - mirror://samba/old-versions/${MY_P}.tar.gz - oav? ( mirror://sourceforge/openantivirus/${PFVSCAN}.tar.bz2 ) - mirror://gentoo/${MY_PP}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" - -RDEPEND="dev-libs/popt - acl? ( sys-apps/acl ) - cups? ( net-print/cups ) - ldap? ( kerberos? ( virtual/krb5 ) net-nds/openldap ) - mysql? ( virtual/mysql sys-libs/zlib ) - pam? ( virtual/pam ) - postgres? ( dev-db/postgresql sys-libs/zlib ) - python? ( dev-lang/python ) - readline? ( sys-libs/readline ) - selinux? ( sec-policy/selinux-samba ) - swat? ( sys-apps/xinetd ) - syslog? ( virtual/logger ) - xml? ( dev-libs/libxml2 sys-libs/zlib ) - " - -DEPEND="${RDEPEND} - sys-devel/autoconf - >=sys-apps/sed-4" - -PRIVATE_DST=/var/lib/samba/private -PATCHDIR=${WORKDIR}/patches -CONFDIR=${WORKDIR}/configs - -src_unpack() { - unpack ${A}; cd ${S2} - - rm -rf ${S2}/examples.ORIG - - export EPATCH_SUFFIX="patch" - epatch ${PATCHDIR}/general - if use oav ; then - cd ${WORKDIR} - epatch ${PATCHDIR}/vscan - cp -pPR ${WORKDIR}/${PFVSCAN} ${S2}/examples/VFS - fi - - #uClib: bug #120383, https://bugzilla.samba.org/show_bug.cgi?id=3451 - sed -i -e '/include.*fstab.h/d' "${S}"/client/umount.cifs.c -} - -src_compile() { - ebegin "Running autoconf" - autoconf - eend $? - - local myconf - local mymods - local mylangs - - use xml && mymods="xml,${mymods}" - use mysql && mymods="mysql,${mymods}" - use postgres && mymods="pgsql,${mymods}" - [[ -n "${mymods}" ]] && myconf="--with-expsam=${mymods}" - - mylangs="en" - use linguas_ja && mylangs="${mylangs},ja" - use linguas_pl && mylangs="${mylangs},pl" - myconf="${myconf} --with-manpages-langs=${mylangs}" - - if use ldap; then - myconf="${myconf} $(use_with ldap) $(use_with kerberos ads)" - myconf="${myconf} $(use_with ldapsam)" - else - myconf="${myconf} --without-ldapsam" - fi - use winbind && myconf="${myconf} $(use_with winbind) --with-shared-modules=idmap_rid" - - [[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie" - - econf \ - --with-fhs \ - --sysconfdir=/etc/samba \ - --localstatedir=/var \ - --with-configdir=/etc/samba \ - --with-libdir=/usr/$(get_libdir)/samba \ - --with-swatdir=/usr/share/doc/${PF}/swat \ - --with-piddir=/var/run/samba \ - --with-lockdir=/var/cache/samba \ - --with-logfilebase=/var/log/samba \ - --with-privatedir=${PRIVATE_DST} \ - --with-libsmbclient \ - --without-spinlocks \ - $(use_with acl acl-support) \ - $(use_with async aio-support) \ - $(use_with automount) \ - $(use_enable cups) \ - $(use_with kerberos krb5) \ - $(use_with pam) $(use_with pam pam_smbpass) \ - $(use_with python) \ - $(use_with quotas) $(use_with quotas sys-quotas) \ - $(use_with readline) \ - $(use_with kernel_linux smbmount) \ - $(use_with syslog) \ - ${myconf} || die - - emake proto || die "SAMBA make proto error" - emake everything || die "SAMBA make everything error" - - einfo "make rpctorture" - emake rpctorture || ewarn "rpctorture didn't build" - - if use python ; then - python python/setup.py build - fi - - # Build samba-vscan plugins - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - econf \ - --with-fhs \ - --libdir=/usr/$(get_libdir)/samba \ - $(use_with libclamav) || die "${PFVSCAN} ./configure failed" - emake || die "Failed to make ${PFVSCAN}" - fi - -} - -src_install() { - local extra_bins="rpctorture" - - make DESTDIR=${D} install-everything || die - - # Extra rpctorture progs - exeinto /usr/bin - for i in ${extra_bins}; do - [[ -x ${S}/bin/${i} ]] && doexe ${S}/bin/${i} - einfo "Extra binaries: ${i}" - done - - # remove .old stuff from /usr/bin: - rm -f ${D}/usr/bin/*.old - - # Nsswitch extensions. Make link for wins and winbind resolvers - dolib.so ${S}/nsswitch/libnss_wins.so - dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2 - if use winbind; then - dolib.so ${S}/nsswitch/libnss_winbind.so - dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2 - fi - - if use pam; then - exeinto /$(get_libdir)/security - doexe ${S}/bin/pam_smbpass.so - if use winbind; then - exeinto /$(get_libdir)/security - doexe ${S}/nsswitch/pam_winbind.so - fi - fi - - if use kernel_linux; then - # mount backend - dodir /sbin - dosym ../usr/bin/smbmount /sbin/mount.smbfs - dosym ../usr/bin/mount.cifs /sbin/mount.cifs - fi - - # bug #46389: samba doesn't create symlink anymore - # beaviour seems to be changed in 3.0.6, see bug #61046 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so.0 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so - - # make the smb backend symlink for cups printing support.. - if use cups; then - dodir /usr/$(get_libdir)/cups/backend - dosym ../../../bin/smbspool /usr/$(get_libdir)/cups/backend/smb - fi - - # VFS plugin modules - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - make install DESTDIR=${D} || die "VFS: vscan error" - insinto /etc/samba - doins ${S2}/examples/VFS/${PFVSCAN}/openantivirus/*conf - fi - - # Python extensions - if use python; then - cd ${S} - python python/setup.py install --root=${D} || die - fi - - # General config files - insinto /etc/samba - doins ${CONFDIR}/smbusers - newins ${CONFDIR}/smb.conf.example-samba3 smb.conf.example - doins ${CONFDIR}/lmhosts - - newpamd ${CONFDIR}/samba.pam samba - use winbind && doins ${CONFDIR}/system-auth-winbind - insinto /etc/xinetd.d - newins ${CONFDIR}/swat.xinetd swat - newinitd ${CONFDIR}/samba-init samba - newconfd ${CONFDIR}/samba-conf samba - if use ldap; then - insinto /etc/openldap/schema - doins ${S2}/examples/LDAP/samba.schema - fi - - # dirs - diropts -m0700 ; keepdir ${PRIVATE_DST} - diropts -m1777 ; keepdir /var/spool/samba - - diropts -m0755 - keepdir /var/{log,run,cache}/samba - keepdir /var/lib/samba/{netlogon,profiles} - keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC} - keepdir /usr/$(get_libdir)/samba/{rpc,idmap,auth} - - # docs - dodoc ${FILESDIR}/README.gentoo - dodoc ${S2}/{COPYING,Manifest,README,Roadmap,WHATSNEW.txt} - dodoc ${CONFDIR}/nsswitch.conf-wins - use winbind && dodoc ${CONFDIR}/nsswitch.conf-winbind - - if use oav; then - docinto ${PFVSCAN} - cd ${WORKDIR}/${PFVSCAN} - dodoc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO - dodoc */*.conf - fi - - if use examples; then - docinto examples - cp -pPR ${S2}/examples/* ${D}/usr/share/doc/${PF}/examples - chmod -R 755 `find ${D}/usr/share/doc/${PF}/examples -type d` - chmod -R 644 `find ${D}/usr/share/doc/${PF}/examples ! -type d` - fi - - if ! use doc; then - if ! use swat; then - rm -rf ${D}/usr/share/doc/${PF}/swat - else - rm -rf ${D}/usr/share/doc/${PF}/swat/help/{guide,howto,devel} - rm -rf ${D}/usr/share/doc/${PF}/swat/using_samba - fi - fi - - # Patch ChangeLog - docinto gentoo - dodoc ${PATCHDIR}/ChangeLog -} - -pkg_preinst() { - local PRIVATE_SRC=/etc/samba/private - if [[ ! -r ${ROOT}/${PRIVATE_DST}/secrets.tdb \ - && -r ${ROOT}/${PRIVATE_SRC}/secrets.tdb ]]; then - ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/" - mkdir -p ${IMAGE}/${PRIVATE_DST} - cp -pPRf ${ROOT}/${PRIVATE_SRC}/* ${IMAGE}/${PRIVATE_DST}/ - eend $? - fi - - if [[ ! -f "${ROOT}/etc/samba/smb.conf" ]]; then - touch ${IMAGE}/etc/samba/smb.conf - fi -} - -pkg_postinst() { - if use swat; then - einfo "swat must be enabled by xinetd:" - einfo " change the /etc/xinetd.d/swat configuration" - fi - einfo "As of 3.0.20: New USE flags: syslog, automount, async (default: disabled)" - einfo "As of 3.0.20b: New USE flags: ldapsam, swat (default: disabled)" - einfo "SQL and XML backends are *experimental*" - einfo "Latest info: README.gentoo in documentation directory" -} - -pkg_postrm(){ - # If stale docs, and one isn't re-emerging the latest version, removes - # (this is actually a portage bug, though) - [[ -n "${PF}" && ! -f ${ROOT}/usr/lib/${PN}/en.msg ]] && \ - rm -rf ${ROOT}/usr/share/doc/${PF} -} - diff --git a/net-fs/samba/samba-3.0.21b-r1.ebuild b/net-fs/samba/samba-3.0.21b-r1.ebuild deleted file mode 100644 index b79ee7aeef7d..000000000000 --- a/net-fs/samba/samba-3.0.21b-r1.ebuild +++ /dev/null @@ -1,306 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.21b-r1.ebuild,v 1.4 2007/01/08 15:33:14 flameeyes Exp $ - -inherit eutils versionator pam - -IUSE_LINGUAS="ja pl" -IUSE="acl async automount cups doc examples kerberos ldap ldapsam libclamav mysql - oav pam postgres python quotas readline selinux swat syslog winbind xml" -RESTRICT="test" - -VSCAN_VER="0.3.6b" -PATCH_VER="0.3.11" -MY_P=${PN}-${PV/_/} -MY_PP=${PN}-$(get_major_version)-gentoo-${PATCH_VER} -S2=${WORKDIR}/${MY_P} -S=${S2}/source -PFVSCAN=${PN}-vscan-${VSCAN_VER} -DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" -HOMEPAGE="http://www.samba.org/ - http://www.openantivirus.org/projects.php" -SRC_URI="mirror://samba/${MY_P}.tar.gz - mirror://samba/old-versions/${MY_P}.tar.gz - oav? ( mirror://sourceforge/openantivirus/${PFVSCAN}.tar.bz2 ) - mirror://gentoo/${MY_PP}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" - -RDEPEND="dev-libs/popt - acl? ( sys-apps/acl ) - cups? ( net-print/cups ) - ldap? ( kerberos? ( virtual/krb5 ) net-nds/openldap ) - mysql? ( virtual/mysql sys-libs/zlib ) - pam? ( virtual/pam ) - postgres? ( dev-db/postgresql sys-libs/zlib ) - python? ( dev-lang/python ) - readline? ( sys-libs/readline ) - selinux? ( sec-policy/selinux-samba ) - swat? ( sys-apps/xinetd ) - syslog? ( virtual/logger ) - xml? ( dev-libs/libxml2 sys-libs/zlib ) - " - -DEPEND="${RDEPEND} - sys-devel/autoconf - >=sys-apps/sed-4" - -PRIVATE_DST=/var/lib/samba/private -PATCHDIR=${WORKDIR}/patches -CONFDIR=${WORKDIR}/configs - -src_unpack() { - unpack ${A}; cd ${S2} - - rm -rf ${S2}/examples.ORIG - - cp ${FILESDIR}/035_all_samba-3.0.21-winbind_log.patch ${PATCHDIR}/general - export EPATCH_SUFFIX="patch" - epatch ${PATCHDIR}/general - if use oav ; then - cd ${WORKDIR} - epatch ${PATCHDIR}/vscan - cp -pPR ${WORKDIR}/${PFVSCAN} ${S2}/examples/VFS - fi - - #uClib: bug #120383, https://bugzilla.samba.org/show_bug.cgi?id=3451 - sed -i -e '/include.*fstab.h/d' "${S}"/client/umount.cifs.c -} - -src_compile() { - ebegin "Running autoconf" - autoconf - eend $? - - local myconf - local mymods - local mylangs - - use xml && mymods="xml,${mymods}" - use mysql && mymods="mysql,${mymods}" - use postgres && mymods="pgsql,${mymods}" - [[ -n "${mymods}" ]] && myconf="--with-expsam=${mymods}" - - mylangs="en" - use linguas_ja && mylangs="${mylangs},ja" - use linguas_pl && mylangs="${mylangs},pl" - myconf="${myconf} --with-manpages-langs=${mylangs}" - - if use ldap; then - myconf="${myconf} $(use_with ldap) $(use_with kerberos ads)" - myconf="${myconf} $(use_with ldapsam)" - else - myconf="${myconf} --without-ldapsam" - fi - use winbind && myconf="${myconf} $(use_with winbind) --with-shared-modules=idmap_rid" - - [[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie" - - econf \ - --with-fhs \ - --sysconfdir=/etc/samba \ - --localstatedir=/var \ - --with-configdir=/etc/samba \ - --with-libdir=/usr/$(get_libdir)/samba \ - --with-swatdir=/usr/share/doc/${PF}/swat \ - --with-piddir=/var/run/samba \ - --with-lockdir=/var/cache/samba \ - --with-logfilebase=/var/log/samba \ - --with-privatedir=${PRIVATE_DST} \ - --with-libsmbclient \ - --without-spinlocks \ - $(use_with acl acl-support) \ - $(use_with async aio-support) \ - $(use_with automount) \ - $(use_enable cups) \ - $(use_with kerberos krb5) \ - $(use_with pam) $(use_with pam pam_smbpass) \ - $(use_with python) \ - $(use_with quotas) $(use_with quotas sys-quotas) \ - $(use_with readline) \ - $(use_with kernel_linux smbmount) \ - $(use_with syslog) \ - ${myconf} || die - - emake proto || die "SAMBA make proto error" - emake everything || die "SAMBA make everything error" - - einfo "make rpctorture" - emake rpctorture || ewarn "rpctorture didn't build" - - if use python ; then - python python/setup.py build - fi - - # Build samba-vscan plugins - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - econf \ - --with-fhs \ - --libdir=/usr/$(get_libdir)/samba \ - $(use_with libclamav) || die "${PFVSCAN} ./configure failed" - emake || die "Failed to make ${PFVSCAN}" - fi - -} - -src_install() { - local extra_bins="rpctorture" - - make DESTDIR=${D} install-everything || die - - # Extra rpctorture progs - exeinto /usr/bin - for i in ${extra_bins}; do - [[ -x ${S}/bin/${i} ]] && doexe ${S}/bin/${i} - einfo "Extra binaries: ${i}" - done - - # remove .old stuff from /usr/bin: - rm -f ${D}/usr/bin/*.old - - # Nsswitch extensions. Make link for wins and winbind resolvers - dolib.so ${S}/nsswitch/libnss_wins.so - dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2 - if use winbind; then - dolib.so ${S}/nsswitch/libnss_winbind.so - dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2 - fi - - if use pam; then - exeinto /$(get_libdir)/security - doexe ${S}/bin/pam_smbpass.so - if use winbind; then - exeinto /$(get_libdir)/security - doexe ${S}/nsswitch/pam_winbind.so - fi - fi - - if use kernel_linux; then - # mount backend - dodir /sbin - dosym ../usr/bin/smbmount /sbin/mount.smbfs - dosym ../usr/bin/mount.cifs /sbin/mount.cifs - fi - - # bug #46389: samba doesn't create symlink anymore - # beaviour seems to be changed in 3.0.6, see bug #61046 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so.0 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so - - # make the smb backend symlink for cups printing support.. - if use cups; then - dodir /usr/$(get_libdir)/cups/backend - dosym ../../../bin/smbspool /usr/$(get_libdir)/cups/backend/smb - fi - - # VFS plugin modules - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - make install DESTDIR=${D} || die "VFS: vscan error" - insinto /etc/samba - doins ${S2}/examples/VFS/${PFVSCAN}/openantivirus/*conf - fi - - # Python extensions - if use python; then - cd ${S} - python python/setup.py install --root=${D} || die - fi - - # General config files - insinto /etc/samba - doins ${CONFDIR}/smbusers - newins ${CONFDIR}/smb.conf.example-samba3 smb.conf.example - doins ${CONFDIR}/lmhosts - - newpamd ${CONFDIR}/samba.pam samba - use winbind && doins ${CONFDIR}/system-auth-winbind - insinto /etc/xinetd.d - newins ${CONFDIR}/swat.xinetd swat - newinitd ${CONFDIR}/samba-init samba - newconfd ${CONFDIR}/samba-conf samba - if use ldap; then - insinto /etc/openldap/schema - doins ${S2}/examples/LDAP/samba.schema - fi - - # dirs - diropts -m0700 ; keepdir ${PRIVATE_DST} - diropts -m1777 ; keepdir /var/spool/samba - - diropts -m0755 - keepdir /var/{log,run,cache}/samba - keepdir /var/lib/samba/{netlogon,profiles} - keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC} - keepdir /usr/$(get_libdir)/samba/{rpc,idmap,auth} - - # docs - dodoc ${FILESDIR}/README.gentoo - dodoc ${S2}/{COPYING,Manifest,README,Roadmap,WHATSNEW.txt} - dodoc ${CONFDIR}/nsswitch.conf-wins - use winbind && dodoc ${CONFDIR}/nsswitch.conf-winbind - - if use oav; then - docinto ${PFVSCAN} - cd ${WORKDIR}/${PFVSCAN} - dodoc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO - dodoc */*.conf - fi - - if use examples; then - docinto examples - cp -pPR ${S2}/examples/* ${D}/usr/share/doc/${PF}/examples - chmod -R 755 `find ${D}/usr/share/doc/${PF}/examples -type d` - chmod -R 644 `find ${D}/usr/share/doc/${PF}/examples ! -type d` - fi - - if ! use doc; then - if ! use swat; then - rm -rf ${D}/usr/share/doc/${PF}/swat - else - rm -rf ${D}/usr/share/doc/${PF}/swat/help/{guide,howto,devel} - rm -rf ${D}/usr/share/doc/${PF}/swat/using_samba - fi - fi - - # Patch ChangeLog - docinto gentoo - dodoc ${PATCHDIR}/ChangeLog -} - -pkg_preinst() { - local PRIVATE_SRC=/etc/samba/private - if [[ ! -r ${ROOT}/${PRIVATE_DST}/secrets.tdb \ - && -r ${ROOT}/${PRIVATE_SRC}/secrets.tdb ]]; then - ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/" - mkdir -p ${IMAGE}/${PRIVATE_DST} - cp -pPRf ${ROOT}/${PRIVATE_SRC}/* ${IMAGE}/${PRIVATE_DST}/ - eend $? - fi - - if [[ ! -f "${ROOT}/etc/samba/smb.conf" ]]; then - touch ${IMAGE}/etc/samba/smb.conf - fi -} - -pkg_postinst() { - if use swat; then - einfo "swat must be enabled by xinetd:" - einfo " change the /etc/xinetd.d/swat configuration" - fi - einfo "As of 3.0.20: New USE flags: syslog, automount, async (default: disabled)" - einfo "As of 3.0.20b: New USE flags: ldapsam, swat (default: disabled)" - einfo "SQL and XML backends are *experimental*: sql is being deprecated" - einfo "Latest info: README.gentoo in documentation directory" -} - -pkg_postrm(){ - # If stale docs, and one isn't re-emerging the latest version, removes - # (this is actually a portage bug, though) - [[ -n "${PF}" && ! -f ${ROOT}/usr/lib/${PN}/en.msg ]] && \ - rm -rf ${ROOT}/usr/share/doc/${PF} -} - diff --git a/net-fs/samba/samba-3.0.22-r2.ebuild b/net-fs/samba/samba-3.0.22-r2.ebuild deleted file mode 100644 index 6cdd28c1624c..000000000000 --- a/net-fs/samba/samba-3.0.22-r2.ebuild +++ /dev/null @@ -1,308 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.22-r2.ebuild,v 1.6 2007/01/08 15:33:14 flameeyes Exp $ - -inherit eutils versionator pam - -IUSE_LINGUAS="ja pl" -IUSE="acl async automount cups doc examples kerberos ldap ldapsam libclamav - mysql oav pam postgres python quotas readline selinux swat syslog - winbind xml" -RESTRICT="test" - -VSCAN_VER="0.3.6b" -PATCH_VER="0.3.12" -MY_P=${PN}-${PV/_/} -MY_PP=${PN}-$(get_major_version)-gentoo-${PATCH_VER} -S2=${WORKDIR}/${MY_P} -S=${S2}/source -PFVSCAN=${PN}-vscan-${VSCAN_VER} -DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" -HOMEPAGE="http://www.samba.org/ - http://www.openantivirus.org/projects.php" -SRC_URI="mirror://samba/${MY_P}.tar.gz - mirror://samba/old-versions/${MY_P}.tar.gz - oav? ( mirror://sourceforge/openantivirus/${PFVSCAN}.tar.bz2 ) - mirror://gentoo/${MY_PP}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" - -RDEPEND="dev-libs/popt - virtual/libiconv - acl? ( kernel_linux? ( sys-apps/acl ) ) - cups? ( net-print/cups ) - ldap? ( kerberos? ( virtual/krb5 ) net-nds/openldap ) - mysql? ( virtual/mysql sys-libs/zlib ) - pam? ( virtual/pam ) - postgres? ( dev-db/postgresql sys-libs/zlib ) - python? ( dev-lang/python ) - readline? ( sys-libs/readline ) - selinux? ( sec-policy/selinux-samba ) - swat? ( sys-apps/xinetd ) - syslog? ( virtual/logger ) - xml? ( dev-libs/libxml2 sys-libs/zlib ) - " - -DEPEND="${RDEPEND} - sys-devel/autoconf - >=sys-apps/sed-4" - -PRIVATE_DST=/var/lib/samba/private -PATCHDIR=${WORKDIR}/patches -CONFDIR=${WORKDIR}/configs - -src_unpack() { - unpack ${A}; cd ${S2} - - rm -rf ${S2}/examples.ORIG - - export EPATCH_SUFFIX="patch" - epatch ${PATCHDIR}/general - if use oav ; then - cd ${WORKDIR} - epatch ${PATCHDIR}/vscan - cp -pPR ${WORKDIR}/${PFVSCAN} ${S2}/examples/VFS - fi - - #uClib: bug #120383, https://bugzilla.samba.org/show_bug.cgi?id=3451 - sed -i -e '/include.*fstab.h/d' "${S}"/client/umount.cifs.c -} - -src_compile() { - ebegin "Running autoconf" - autoconf - eend $? - - local myconf - local mymods - local mylangs - - use xml && mymods="xml,${mymods}" - use mysql && mymods="mysql,${mymods}" - use postgres && mymods="pgsql,${mymods}" - [[ -n "${mymods}" ]] && myconf="--with-expsam=${mymods}" - - mylangs="en" - use linguas_ja && mylangs="${mylangs},ja" - use linguas_pl && mylangs="${mylangs},pl" - myconf="${myconf} --with-manpages-langs=${mylangs}" - - if use ldap; then - myconf="${myconf} $(use_with ldap) $(use_with kerberos ads)" - myconf="${myconf} $(use_with ldapsam)" - else - myconf="${myconf} --without-ldapsam" - fi - use winbind && myconf="${myconf} $(use_with winbind) --with-shared-modules=idmap_rid,idmap_ad" - - [[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie" - use hppa && myconf="${myconf} --disable-pie" - - econf \ - --with-fhs \ - --sysconfdir=/etc/samba \ - --localstatedir=/var \ - --with-configdir=/etc/samba \ - --with-libdir=/usr/$(get_libdir)/samba \ - --with-swatdir=/usr/share/doc/${PF}/swat \ - --with-piddir=/var/run/samba \ - --with-lockdir=/var/cache/samba \ - --with-logfilebase=/var/log/samba \ - --with-privatedir=${PRIVATE_DST} \ - --with-libsmbclient \ - --without-spinlocks \ - $(use_with acl acl-support) \ - $(use_with async aio-support) \ - $(use_with automount) \ - $(use_enable cups) \ - $(use_with kerberos krb5) \ - $(use_with pam) $(use_with pam pam_smbpass) \ - $(use_with python) \ - $(use_with quotas) $(use_with quotas sys-quotas) \ - $(use_with readline) \ - $(use_with kernel_linux smbmount) \ - $(use_with syslog) \ - ${myconf} || die - - emake proto || die "SAMBA make proto error" - emake everything || die "SAMBA make everything error" - - einfo "make rpctorture" - emake rpctorture || ewarn "rpctorture didn't build" - - if use python ; then - python python/setup.py build - fi - - # Build samba-vscan plugins - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - econf \ - --with-fhs \ - --libdir=/usr/$(get_libdir)/samba \ - $(use_with libclamav) || die "${PFVSCAN} ./configure failed" - emake || die "Failed to make ${PFVSCAN}" - fi - -} - -src_install() { - local extra_bins="rpctorture" - - make DESTDIR=${D} install-everything || die - - # Extra rpctorture progs - exeinto /usr/bin - for i in ${extra_bins}; do - [[ -x ${S}/bin/${i} ]] && doexe ${S}/bin/${i} - einfo "Extra binaries: ${i}" - done - - # remove .old stuff from /usr/bin: - rm -f ${D}/usr/bin/*.old - - # Nsswitch extensions. Make link for wins and winbind resolvers - dolib.so ${S}/nsswitch/libnss_wins.so - dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2 - if use winbind; then - dolib.so ${S}/nsswitch/libnss_winbind.so - dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2 - fi - - if use pam; then - exeinto /$(get_libdir)/security - doexe ${S}/bin/pam_smbpass.so - if use winbind; then - exeinto /$(get_libdir)/security - doexe ${S}/nsswitch/pam_winbind.so - fi - fi - - if use kernel_linux; then - # mount backend - dodir /sbin - dosym ../usr/bin/smbmount /sbin/mount.smbfs - dosym ../usr/bin/mount.cifs /sbin/mount.cifs - fi - - # bug #46389: samba doesn't create symlink anymore - # beaviour seems to be changed in 3.0.6, see bug #61046 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so.0 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so - - # make the smb backend symlink for cups printing support (bug #133133) - if use cups; then - dodir $(cups-config --serverbin)/backend - dosym /usr/bin/smbspool $(cups-config --serverbin)/backend/smb - fi - - # VFS plugin modules - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - make install DESTDIR=${D} || die "VFS: vscan error" - insinto /etc/samba - doins ${S2}/examples/VFS/${PFVSCAN}/openantivirus/*conf - fi - - # Python extensions - if use python; then - cd ${S} - python python/setup.py install --root=${D} || die - fi - - # General config files - insinto /etc/samba - doins ${CONFDIR}/smbusers - newins ${CONFDIR}/smb.conf.example-samba3 smb.conf.example - doins ${CONFDIR}/lmhosts - - newpamd ${CONFDIR}/samba.pam samba - use winbind && doins ${CONFDIR}/system-auth-winbind - insinto /etc/xinetd.d - newins ${CONFDIR}/swat.xinetd swat - newinitd ${CONFDIR}/samba-init samba - newconfd ${CONFDIR}/samba-conf samba - if use ldap; then - insinto /etc/openldap/schema - doins ${S2}/examples/LDAP/samba.schema - fi - - # dirs - diropts -m0700 ; keepdir ${PRIVATE_DST} - diropts -m1777 ; keepdir /var/spool/samba - - diropts -m0755 - keepdir /var/{log,run,cache}/samba - keepdir /var/lib/samba/{netlogon,profiles} - keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC} - keepdir /usr/$(get_libdir)/samba/{rpc,idmap,auth} - - # docs - dodoc ${FILESDIR}/README.gentoo - dodoc ${S2}/{COPYING,Manifest,README,Roadmap,WHATSNEW.txt} - dodoc ${CONFDIR}/nsswitch.conf-wins - use winbind && dodoc ${CONFDIR}/nsswitch.conf-winbind - - if use oav; then - docinto ${PFVSCAN} - cd ${WORKDIR}/${PFVSCAN} - dodoc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO - dodoc */*.conf - fi - - if use examples; then - docinto examples - cp -pPR ${S2}/examples/* ${D}/usr/share/doc/${PF}/examples - chmod -R 755 `find ${D}/usr/share/doc/${PF}/examples -type d` - chmod -R 644 `find ${D}/usr/share/doc/${PF}/examples ! -type d` - fi - - if ! use doc; then - if ! use swat; then - rm -rf ${D}/usr/share/doc/${PF}/swat - else - rm -rf ${D}/usr/share/doc/${PF}/swat/help/{guide,howto,devel} - rm -rf ${D}/usr/share/doc/${PF}/swat/using_samba - fi - fi - - # Patch ChangeLog - docinto gentoo - dodoc ${PATCHDIR}/ChangeLog -} - -pkg_preinst() { - local PRIVATE_SRC=/etc/samba/private - if [[ ! -r ${ROOT}/${PRIVATE_DST}/secrets.tdb \ - && -r ${ROOT}/${PRIVATE_SRC}/secrets.tdb ]]; then - ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/" - mkdir -p ${IMAGE}/${PRIVATE_DST} - cp -pPRf ${ROOT}/${PRIVATE_SRC}/* ${IMAGE}/${PRIVATE_DST}/ - eend $? - fi - - if [[ ! -f "${ROOT}/etc/samba/smb.conf" ]]; then - touch ${IMAGE}/etc/samba/smb.conf - fi -} - -pkg_postinst() { - if use swat; then - einfo "swat must be enabled by xinetd:" - einfo " change the /etc/xinetd.d/swat configuration" - fi - einfo "As of 3.0.20: New USE flags: syslog, automount, async (default: disabled)" - einfo "As of 3.0.20b: New USE flags: ldapsam, swat (default: disabled)" - einfo "SQL and XML backends are *experimental*: sql is being deprecated" - einfo "Latest info: README.gentoo in documentation directory" -} - -pkg_postrm(){ - # If stale docs, and one isn't re-emerging the latest version, removes - # (this is actually a portage bug, though) - [[ -n "${PF}" && ! -f ${ROOT}/usr/lib/${PN}/en.msg ]] && \ - rm -rf ${ROOT}/usr/share/doc/${PF} -} - diff --git a/net-fs/samba/samba-3.0.22.ebuild b/net-fs/samba/samba-3.0.22.ebuild deleted file mode 100644 index 33ebf6206b11..000000000000 --- a/net-fs/samba/samba-3.0.22.ebuild +++ /dev/null @@ -1,307 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.22.ebuild,v 1.16 2007/01/08 15:33:14 flameeyes Exp $ - -inherit eutils versionator pam - -IUSE_LINGUAS="ja pl" -IUSE="acl async automount cups doc examples kerberos ldap ldapsam libclamav mysql - oav pam postgres python quotas readline selinux swat syslog winbind xml" -RESTRICT="test" - -VSCAN_VER="0.3.6b" -PATCH_VER="0.3.11" -MY_P=${PN}-${PV/_/} -MY_PP=${PN}-$(get_major_version)-gentoo-${PATCH_VER} -S2=${WORKDIR}/${MY_P} -S=${S2}/source -PFVSCAN=${PN}-vscan-${VSCAN_VER} -DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" -HOMEPAGE="http://www.samba.org/ - http://www.openantivirus.org/projects.php" -SRC_URI="mirror://samba/${MY_P}.tar.gz - mirror://samba/old-versions/${MY_P}.tar.gz - oav? ( mirror://sourceforge/openantivirus/${PFVSCAN}.tar.bz2 ) - mirror://gentoo/${MY_PP}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" - -RDEPEND="dev-libs/popt - virtual/libiconv - acl? ( kernel_linux? ( sys-apps/acl ) ) - cups? ( net-print/cups ) - ldap? ( kerberos? ( virtual/krb5 ) net-nds/openldap ) - mysql? ( virtual/mysql sys-libs/zlib ) - pam? ( virtual/pam ) - postgres? ( dev-db/postgresql sys-libs/zlib ) - python? ( dev-lang/python ) - readline? ( sys-libs/readline ) - selinux? ( sec-policy/selinux-samba ) - swat? ( sys-apps/xinetd ) - syslog? ( virtual/logger ) - xml? ( dev-libs/libxml2 sys-libs/zlib ) - " - -DEPEND="${RDEPEND} - sys-devel/autoconf - >=sys-apps/sed-4" - -PRIVATE_DST=/var/lib/samba/private -PATCHDIR=${WORKDIR}/patches -CONFDIR=${WORKDIR}/configs - -src_unpack() { - unpack ${A}; cd ${S2} - - rm -rf ${S2}/examples.ORIG - - export EPATCH_SUFFIX="patch" - epatch ${PATCHDIR}/general - if use oav ; then - cd ${WORKDIR} - epatch ${PATCHDIR}/vscan - cp -pPR ${WORKDIR}/${PFVSCAN} ${S2}/examples/VFS - fi - - #uClib: bug #120383, https://bugzilla.samba.org/show_bug.cgi?id=3451 - sed -i -e '/include.*fstab.h/d' "${S}"/client/umount.cifs.c -} - -src_compile() { - ebegin "Running autoconf" - autoconf - eend $? - - local myconf - local mymods - local mylangs - - use xml && mymods="xml,${mymods}" - use mysql && mymods="mysql,${mymods}" - use postgres && mymods="pgsql,${mymods}" - [[ -n "${mymods}" ]] && myconf="--with-expsam=${mymods}" - - mylangs="en" - use linguas_ja && mylangs="${mylangs},ja" - use linguas_pl && mylangs="${mylangs},pl" - myconf="${myconf} --with-manpages-langs=${mylangs}" - - if use ldap; then - myconf="${myconf} $(use_with ldap) $(use_with kerberos ads)" - myconf="${myconf} $(use_with ldapsam)" - else - myconf="${myconf} --without-ldapsam" - fi - use winbind && myconf="${myconf} $(use_with winbind) --with-shared-modules=idmap_rid" - - [[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie" - use hppa && myconf="${myconf} --disable-pie" - - econf \ - --with-fhs \ - --sysconfdir=/etc/samba \ - --localstatedir=/var \ - --with-configdir=/etc/samba \ - --with-libdir=/usr/$(get_libdir)/samba \ - --with-swatdir=/usr/share/doc/${PF}/swat \ - --with-piddir=/var/run/samba \ - --with-lockdir=/var/cache/samba \ - --with-logfilebase=/var/log/samba \ - --with-privatedir=${PRIVATE_DST} \ - --with-libsmbclient \ - --without-spinlocks \ - $(use_with acl acl-support) \ - $(use_with async aio-support) \ - $(use_with automount) \ - $(use_enable cups) \ - $(use_with kerberos krb5) \ - $(use_with pam) $(use_with pam pam_smbpass) \ - $(use_with python) \ - $(use_with quotas) $(use_with quotas sys-quotas) \ - $(use_with readline) \ - $(use_with kernel_linux smbmount) \ - $(use_with syslog) \ - ${myconf} || die - - emake proto || die "SAMBA make proto error" - emake everything || die "SAMBA make everything error" - - einfo "make rpctorture" - emake rpctorture || ewarn "rpctorture didn't build" - - if use python ; then - python python/setup.py build - fi - - # Build samba-vscan plugins - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - econf \ - --with-fhs \ - --libdir=/usr/$(get_libdir)/samba \ - $(use_with libclamav) || die "${PFVSCAN} ./configure failed" - emake || die "Failed to make ${PFVSCAN}" - fi - -} - -src_install() { - local extra_bins="rpctorture" - - make DESTDIR=${D} install-everything || die - - # Extra rpctorture progs - exeinto /usr/bin - for i in ${extra_bins}; do - [[ -x ${S}/bin/${i} ]] && doexe ${S}/bin/${i} - einfo "Extra binaries: ${i}" - done - - # remove .old stuff from /usr/bin: - rm -f ${D}/usr/bin/*.old - - # Nsswitch extensions. Make link for wins and winbind resolvers - dolib.so ${S}/nsswitch/libnss_wins.so - dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2 - if use winbind; then - dolib.so ${S}/nsswitch/libnss_winbind.so - dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2 - fi - - if use pam; then - exeinto /$(get_libdir)/security - doexe ${S}/bin/pam_smbpass.so - if use winbind; then - exeinto /$(get_libdir)/security - doexe ${S}/nsswitch/pam_winbind.so - fi - fi - - if use kernel_linux; then - # mount backend - dodir /sbin - dosym ../usr/bin/smbmount /sbin/mount.smbfs - dosym ../usr/bin/mount.cifs /sbin/mount.cifs - fi - - # bug #46389: samba doesn't create symlink anymore - # beaviour seems to be changed in 3.0.6, see bug #61046 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so.0 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so - - # make the smb backend symlink for cups printing support.. - if use cups; then - dodir /usr/$(get_libdir)/cups/backend - dosym ../../../bin/smbspool /usr/$(get_libdir)/cups/backend/smb - fi - - # VFS plugin modules - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - make install DESTDIR=${D} || die "VFS: vscan error" - insinto /etc/samba - doins ${S2}/examples/VFS/${PFVSCAN}/openantivirus/*conf - fi - - # Python extensions - if use python; then - cd ${S} - python python/setup.py install --root=${D} || die - fi - - # General config files - insinto /etc/samba - doins ${CONFDIR}/smbusers - newins ${CONFDIR}/smb.conf.example-samba3 smb.conf.example - doins ${CONFDIR}/lmhosts - - newpamd ${CONFDIR}/samba.pam samba - use winbind && doins ${CONFDIR}/system-auth-winbind - insinto /etc/xinetd.d - newins ${CONFDIR}/swat.xinetd swat - newinitd ${CONFDIR}/samba-init samba - newconfd ${CONFDIR}/samba-conf samba - if use ldap; then - insinto /etc/openldap/schema - doins ${S2}/examples/LDAP/samba.schema - fi - - # dirs - diropts -m0700 ; keepdir ${PRIVATE_DST} - diropts -m1777 ; keepdir /var/spool/samba - - diropts -m0755 - keepdir /var/{log,run,cache}/samba - keepdir /var/lib/samba/{netlogon,profiles} - keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC} - keepdir /usr/$(get_libdir)/samba/{rpc,idmap,auth} - - # docs - dodoc ${FILESDIR}/README.gentoo - dodoc ${S2}/{COPYING,Manifest,README,Roadmap,WHATSNEW.txt} - dodoc ${CONFDIR}/nsswitch.conf-wins - use winbind && dodoc ${CONFDIR}/nsswitch.conf-winbind - - if use oav; then - docinto ${PFVSCAN} - cd ${WORKDIR}/${PFVSCAN} - dodoc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO - dodoc */*.conf - fi - - if use examples; then - docinto examples - cp -pPR ${S2}/examples/* ${D}/usr/share/doc/${PF}/examples - chmod -R 755 `find ${D}/usr/share/doc/${PF}/examples -type d` - chmod -R 644 `find ${D}/usr/share/doc/${PF}/examples ! -type d` - fi - - if ! use doc; then - if ! use swat; then - rm -rf ${D}/usr/share/doc/${PF}/swat - else - rm -rf ${D}/usr/share/doc/${PF}/swat/help/{guide,howto,devel} - rm -rf ${D}/usr/share/doc/${PF}/swat/using_samba - fi - fi - - # Patch ChangeLog - docinto gentoo - dodoc ${PATCHDIR}/ChangeLog -} - -pkg_preinst() { - local PRIVATE_SRC=/etc/samba/private - if [[ ! -r ${ROOT}/${PRIVATE_DST}/secrets.tdb \ - && -r ${ROOT}/${PRIVATE_SRC}/secrets.tdb ]]; then - ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/" - mkdir -p ${IMAGE}/${PRIVATE_DST} - cp -pPRf ${ROOT}/${PRIVATE_SRC}/* ${IMAGE}/${PRIVATE_DST}/ - eend $? - fi - - if [[ ! -f "${ROOT}/etc/samba/smb.conf" ]]; then - touch ${IMAGE}/etc/samba/smb.conf - fi -} - -pkg_postinst() { - if use swat; then - einfo "swat must be enabled by xinetd:" - einfo " change the /etc/xinetd.d/swat configuration" - fi - einfo "As of 3.0.20: New USE flags: syslog, automount, async (default: disabled)" - einfo "As of 3.0.20b: New USE flags: ldapsam, swat (default: disabled)" - einfo "SQL and XML backends are *experimental*: sql is being deprecated" - einfo "Latest info: README.gentoo in documentation directory" -} - -pkg_postrm(){ - # If stale docs, and one isn't re-emerging the latest version, removes - # (this is actually a portage bug, though) - [[ -n "${PF}" && ! -f ${ROOT}/usr/lib/${PN}/en.msg ]] && \ - rm -rf ${ROOT}/usr/share/doc/${PF} -} - diff --git a/net-fs/samba/samba-3.0.23.ebuild b/net-fs/samba/samba-3.0.23.ebuild deleted file mode 100644 index a492b9edb9c1..000000000000 --- a/net-fs/samba/samba-3.0.23.ebuild +++ /dev/null @@ -1,310 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.23.ebuild,v 1.4 2007/01/08 15:33:14 flameeyes Exp $ - -inherit eutils versionator pam - -IUSE_LINGUAS="ja pl" -IUSE="acl async automount cups doc examples kerberos ldap ldapsam libclamav - mysql oav pam postgres python quotas readline selinux swat syslog - winbind xml" -RESTRICT="test" - -VSCAN_VER="0.3.6b" -PATCH_VER="0.3.14" -MY_P=${PN}-${PV/_/} -MY_PP=${PN}-$(get_major_version)-gentoo-${PATCH_VER} -S2=${WORKDIR}/${MY_P} -S=${S2}/source -PFVSCAN=${PN}-vscan-${VSCAN_VER} -DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" -HOMEPAGE="http://www.samba.org/ - http://www.openantivirus.org/projects.php" -SRC_URI="mirror://samba/${MY_P}.tar.gz - mirror://samba/old-versions/${MY_P}.tar.gz - oav? ( mirror://sourceforge/openantivirus/${PFVSCAN}.tar.bz2 ) - mirror://gentoo/${MY_PP}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" - -RDEPEND="dev-libs/popt - virtual/libiconv - acl? ( kernel_linux? ( sys-apps/acl ) ) - cups? ( net-print/cups ) - ldap? ( kerberos? ( virtual/krb5 ) net-nds/openldap ) - mysql? ( virtual/mysql sys-libs/zlib ) - pam? ( virtual/pam ) - postgres? ( dev-db/postgresql sys-libs/zlib ) - python? ( dev-lang/python ) - readline? ( sys-libs/readline ) - selinux? ( sec-policy/selinux-samba ) - swat? ( sys-apps/xinetd ) - syslog? ( virtual/logger ) - xml? ( dev-libs/libxml2 sys-libs/zlib ) - !dev-libs/tdb" - -DEPEND="${RDEPEND} - sys-devel/autoconf - >=sys-apps/sed-4" - -PRIVATE_DST=/var/lib/samba/private -PATCHDIR=${WORKDIR}/patches -CONFDIR=${WORKDIR}/configs - -src_unpack() { - unpack ${A}; cd ${S2} - - rm -rf ${S2}/examples.ORIG - - export EPATCH_SUFFIX="patch" - epatch ${PATCHDIR}/general - if use oav ; then - cd ${WORKDIR} - if [[ -d ${PATCHDIR}/vscan ]]; then - epatch ${PATCHDIR}/vscan - fi - cp -pPR ${WORKDIR}/${PFVSCAN} ${S2}/examples/VFS - fi - - #uClib: bug #120383, https://bugzilla.samba.org/show_bug.cgi?id=3451 - sed -i -e '/include.*fstab.h/d' "${S}"/client/umount.cifs.c -} - -src_compile() { - ebegin "Running autoconf" - autoconf - eend $? - - local myconf - local mymods - local mylangs - - use xml && mymods="xml,${mymods}" - use mysql && mymods="mysql,${mymods}" - use postgres && mymods="pgsql,${mymods}" - [[ -n "${mymods}" ]] && myconf="--with-expsam=${mymods}" - - mylangs="en" - use linguas_ja && mylangs="${mylangs},ja" - use linguas_pl && mylangs="${mylangs},pl" - myconf="${myconf} --with-manpages-langs=${mylangs}" - - if use ldap; then - myconf="${myconf} $(use_with ldap) $(use_with kerberos ads)" - myconf="${myconf} $(use_with ldapsam)" - else - myconf="${myconf} --without-ldapsam" - fi - use winbind && myconf="${myconf} $(use_with winbind) --with-shared-modules=idmap_rid,idmap_ad" - - [[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie" - use hppa && myconf="${myconf} --disable-pie" - - econf \ - --with-fhs \ - --sysconfdir=/etc/samba \ - --localstatedir=/var \ - --with-configdir=/etc/samba \ - --with-libdir=/usr/$(get_libdir)/samba \ - --with-swatdir=/usr/share/doc/${PF}/swat \ - --with-piddir=/var/run/samba \ - --with-lockdir=/var/cache/samba \ - --with-logfilebase=/var/log/samba \ - --with-privatedir=${PRIVATE_DST} \ - --with-libsmbclient \ - --without-spinlocks \ - $(use_with acl acl-support) \ - $(use_with async aio-support) \ - $(use_with automount) \ - $(use_enable cups) \ - $(use_with kerberos krb5) \ - $(use_with pam) $(use_with pam pam_smbpass) \ - $(use_with python) \ - $(use_with quotas) $(use_with quotas sys-quotas) \ - $(use_with readline) \ - $(use_with kernel_linux smbmount) \ - $(use_with syslog) \ - ${myconf} || die - - emake proto || die "SAMBA make proto error" - emake everything || die "SAMBA make everything error" - - einfo "make rpctorture" - emake rpctorture || ewarn "rpctorture didn't build" - - if use python ; then - python python/setup.py build - fi - - # Build samba-vscan plugins - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - econf \ - --with-fhs \ - --libdir=/usr/$(get_libdir)/samba \ - $(use_with libclamav) || die "${PFVSCAN} ./configure failed" - emake || die "Failed to make ${PFVSCAN}" - fi - -} - -src_install() { - local extra_bins="rpctorture" - - make DESTDIR=${D} install-everything || die - - # Extra rpctorture progs - exeinto /usr/bin - for i in ${extra_bins}; do - [[ -x ${S}/bin/${i} ]] && doexe ${S}/bin/${i} - einfo "Extra binaries: ${i}" - done - - # remove .old stuff from /usr/bin: - rm -f ${D}/usr/bin/*.old - - # Nsswitch extensions. Make link for wins and winbind resolvers - dolib.so ${S}/nsswitch/libnss_wins.so - dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2 - if use winbind; then - dolib.so ${S}/nsswitch/libnss_winbind.so - dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2 - fi - - if use pam; then - exeinto /$(get_libdir)/security - doexe ${S}/bin/pam_smbpass.so - if use winbind; then - exeinto /$(get_libdir)/security - doexe ${S}/nsswitch/pam_winbind.so - fi - fi - - if use kernel_linux; then - # mount backend - dodir /sbin - dosym ../usr/bin/smbmount /sbin/mount.smbfs - dosym ../usr/bin/mount.cifs /sbin/mount.cifs - fi - - # bug #46389: samba doesn't create symlink anymore - # beaviour seems to be changed in 3.0.6, see bug #61046 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so.0 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so - - # make the smb backend symlink for cups printing support (bug #133133) - if use cups; then - dodir $(cups-config --serverbin)/backend - dosym /usr/bin/smbspool $(cups-config --serverbin)/backend/smb - fi - - # VFS plugin modules - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - make install DESTDIR=${D} || die "VFS: vscan error" - insinto /etc/samba - doins ${S2}/examples/VFS/${PFVSCAN}/openantivirus/*conf - fi - - # Python extensions - if use python; then - cd ${S} - python python/setup.py install --root=${D} || die - fi - - # General config files - insinto /etc/samba - doins ${CONFDIR}/smbusers - newins ${CONFDIR}/smb.conf.example-samba3 smb.conf.example - doins ${CONFDIR}/lmhosts - - newpamd ${CONFDIR}/samba.pam samba - use winbind && doins ${CONFDIR}/system-auth-winbind - insinto /etc/xinetd.d - newins ${CONFDIR}/swat.xinetd swat - newinitd ${CONFDIR}/samba-init samba - newconfd ${CONFDIR}/samba-conf samba - if use ldap; then - insinto /etc/openldap/schema - doins ${S2}/examples/LDAP/samba.schema - fi - - # dirs - diropts -m0700 ; keepdir ${PRIVATE_DST} - diropts -m1777 ; keepdir /var/spool/samba - - diropts -m0755 - keepdir /var/{log,run,cache}/samba - keepdir /var/lib/samba/{netlogon,profiles} - keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC} - keepdir /usr/$(get_libdir)/samba/{rpc,idmap,auth} - - # docs - dodoc ${FILESDIR}/README.gentoo - dodoc ${S2}/{COPYING,Manifest,README,Roadmap,WHATSNEW.txt} - dodoc ${CONFDIR}/nsswitch.conf-wins - use winbind && dodoc ${CONFDIR}/nsswitch.conf-winbind - - if use oav; then - docinto ${PFVSCAN} - cd ${WORKDIR}/${PFVSCAN} - dodoc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO - dodoc */*.conf - fi - - if use examples; then - docinto examples - cp -pPR ${S2}/examples/* ${D}/usr/share/doc/${PF}/examples - chmod -R 755 `find ${D}/usr/share/doc/${PF}/examples -type d` - chmod -R 644 `find ${D}/usr/share/doc/${PF}/examples ! -type d` - fi - - if ! use doc; then - if ! use swat; then - rm -rf ${D}/usr/share/doc/${PF}/swat - else - rm -rf ${D}/usr/share/doc/${PF}/swat/help/{guide,howto,devel} - rm -rf ${D}/usr/share/doc/${PF}/swat/using_samba - fi - fi - - # Patch ChangeLog - docinto gentoo - dodoc ${PATCHDIR}/ChangeLog -} - -pkg_preinst() { - local PRIVATE_SRC=/etc/samba/private - if [[ ! -r ${ROOT}/${PRIVATE_DST}/secrets.tdb \ - && -r ${ROOT}/${PRIVATE_SRC}/secrets.tdb ]]; then - ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/" - mkdir -p ${IMAGE}/${PRIVATE_DST} - cp -pPRf ${ROOT}/${PRIVATE_SRC}/* ${IMAGE}/${PRIVATE_DST}/ - eend $? - fi - - if [[ ! -f "${ROOT}/etc/samba/smb.conf" ]]; then - touch ${IMAGE}/etc/samba/smb.conf - fi -} - -pkg_postinst() { - if use swat; then - einfo "swat must be enabled by xinetd:" - einfo " change the /etc/xinetd.d/swat configuration" - fi - einfo "As of 3.0.20: New USE flags: syslog, automount, async (default: disabled)" - einfo "As of 3.0.20b: New USE flags: ldapsam, swat (default: disabled)" - einfo "SQL and XML backends are *experimental*: sql is being deprecated" - einfo "Latest info: README.gentoo in documentation directory" -} - -pkg_postrm(){ - # If stale docs, and one isn't re-emerging the latest version, removes - # (this is actually a portage bug, though) - [[ -n "${PF}" && ! -f ${ROOT}/usr/lib/${PN}/en.msg ]] && \ - rm -rf ${ROOT}/usr/share/doc/${PF} -} - diff --git a/net-fs/samba/samba-3.0.23a.ebuild b/net-fs/samba/samba-3.0.23a.ebuild deleted file mode 100644 index f4f66a7098ef..000000000000 --- a/net-fs/samba/samba-3.0.23a.ebuild +++ /dev/null @@ -1,298 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.23a.ebuild,v 1.5 2007/01/08 15:33:14 flameeyes Exp $ - -inherit eutils versionator pam - -IUSE_LINGUAS="ja pl" -IUSE="acl async automount cups doc examples kerberos kernel_linux ldap - linguas_ja linguas_pl - oav pam python quotas readline selinux swat syslog winbind" -#RESTRICT="test" # tests are enabled with --enable-socket-wrapper - -VSCAN_VER="0.3.6b" -PATCH_VER="0.3.14" -MY_P=${PN}-${PV/_/} -MY_PP=${PN}-$(get_major_version)-gentoo-${PATCH_VER} -S2=${WORKDIR}/${MY_P} -S=${S2}/source -PFVSCAN=${PN}-vscan-${VSCAN_VER} -DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" -HOMEPAGE="http://www.samba.org/ http://www.openantivirus.org/projects.php" -SRC_URI="mirror://gentoo/${MY_PP}.tar.bz2 - mirror://samba/${MY_P}.tar.gz - mirror://samba/old-versions/${MY_P}.tar.gz - oav? ( mirror://sourceforge/openantivirus/${PFVSCAN}.tar.bz2 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -RDEPEND="dev-libs/popt - virtual/libiconv - acl? ( kernel_linux? ( sys-apps/acl ) ) - cups? ( net-print/cups ) - ldap? ( kerberos? ( virtual/krb5 ) net-nds/openldap ) - pam? ( virtual/pam ) - python? ( dev-lang/python ) - readline? ( sys-libs/readline ) - selinux? ( sec-policy/selinux-samba ) - swat? ( sys-apps/xinetd ) - syslog? ( virtual/logger ) - " - -DEPEND="${RDEPEND} - sys-devel/autoconf - >=sys-apps/sed-4" - -PRIVATE_DST=/var/lib/samba/private -PATCHDIR=${WORKDIR}/patches -CONFDIR=${WORKDIR}/configs - -src_unpack() { - unpack ${A}; cd ${S2} - - rm -rf ${S2}/examples.ORIG - - export EPATCH_SUFFIX="patch" - epatch ${PATCHDIR}/general - if use oav ; then - cd ${WORKDIR} - if [[ -d ${PATCHDIR}/vscan ]]; then - epatch ${PATCHDIR}/vscan - fi - cp -pPR ${WORKDIR}/${PFVSCAN} ${S2}/examples/VFS - fi - - #uClib: bug #120383, https://bugzilla.samba.org/show_bug.cgi?id=3451 - sed -i -e '/include.*fstab.h/d' "${S}"/client/umount.cifs.c -} - -src_compile() { - ebegin "Running autoconf" - autoconf - eend $? - - local myconf - local mylangs - local mymod_shared - - mylangs="--with-manpages-langs=en" - use linguas_ja && mylangs="${mylangs},ja" - use linguas_pl && mylangs="${mylangs},pl" - - use winbind && mymod_shared="--with-shared-modules=idmap_rid" - if use ldap; then - myconf="${myconf} $(use_with kerberos ads)" - use winbind && mymod_shared="${mymod_shared},idmap_ad" - fi - - [[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie" - use hppa && myconf="${myconf} --disable-pie" - - econf \ - --with-fhs \ - --sysconfdir=/etc/samba \ - --localstatedir=/var \ - --with-configdir=/etc/samba \ - --with-libdir=/usr/$(get_libdir)/samba \ - --with-swatdir=/usr/share/doc/${PF}/swat \ - --with-piddir=/var/run/samba \ - --with-lockdir=/var/cache/samba \ - --with-logfilebase=/var/log/samba \ - --with-privatedir=${PRIVATE_DST} \ - --with-libsmbclient \ - --without-spinlocks \ - --enable-socket-wrapper \ - $(use_with acl acl-support) \ - $(use_with async aio-support) \ - $(use_with automount) \ - $(use_enable cups) \ - $(use_with kerberos krb5) \ - $(use_with ldap) \ - $(use_with pam) $(use_with pam pam_smbpass) \ - $(use_with python) \ - $(use_with quotas) $(use_with quotas sys-quotas) \ - $(use_with readline) \ - $(use_with kernel_linux smbmount) \ - $(use_with syslog) \ - $(use_with winbind) \ - ${myconf} ${mylangs} ${mymod_shared} || die - - emake proto || die "SAMBA make proto error" - emake everything || die "SAMBA make everything error" - - einfo "make rpctorture" - emake rpctorture || ewarn "rpctorture didn't build" - - if use python ; then - python python/setup.py build - fi - - # Build samba-vscan plugins - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - econf \ - --with-fhs \ - --libdir=/usr/$(get_libdir)/samba \ - || die "${PFVSCAN} ./configure failed" - emake || die "Failed to make ${PFVSCAN}" - fi - -} - -src_install() { - local extra_bins="rpctorture" - - make DESTDIR=${D} install-everything || die - - # Extra rpctorture progs - exeinto /usr/bin - for i in ${extra_bins}; do - [[ -x ${S}/bin/${i} ]] && doexe ${S}/bin/${i} - einfo "Extra binaries: ${i}" - done - - # remove .old stuff from /usr/bin: - rm -f ${D}/usr/bin/*.old - - # Nsswitch extensions. Make link for wins and winbind resolvers - dolib.so ${S}/nsswitch/libnss_wins.so - dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2 - if use winbind; then - dolib.so ${S}/nsswitch/libnss_winbind.so - dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2 - fi - - if use pam; then - exeinto /$(get_libdir)/security - doexe ${S}/bin/pam_smbpass.so - if use winbind; then - exeinto /$(get_libdir)/security - doexe ${S}/nsswitch/pam_winbind.so - fi - fi - - if use kernel_linux; then - # mount backend - dodir /sbin - dosym ../usr/bin/smbmount /sbin/mount.smbfs - dosym ../usr/bin/mount.cifs /sbin/mount.cifs - fi - - # bug #46389: samba doesn't create symlink anymore - # beaviour seems to be changed in 3.0.6, see bug #61046 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so.0 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so - - # make the smb backend symlink for cups printing support (bug #133133) - if use cups; then - dodir $(cups-config --serverbin)/backend - dosym /usr/bin/smbspool $(cups-config --serverbin)/backend/smb - fi - - # VFS plugin modules - if use oav; then - cd ${S2}/examples/VFS/${PFVSCAN} - make install DESTDIR=${D} || die "VFS: vscan error" - insinto /etc/samba - doins ${S2}/examples/VFS/${PFVSCAN}/openantivirus/*conf - fi - - # Python extensions - if use python; then - cd ${S} - python python/setup.py install --root=${D} || die - fi - - # General config files - insinto /etc/samba - doins ${CONFDIR}/smbusers - newins ${CONFDIR}/smb.conf.example-samba3 smb.conf.example - doins ${CONFDIR}/lmhosts - - newpamd ${CONFDIR}/samba.pam samba - use winbind && doins ${CONFDIR}/system-auth-winbind - insinto /etc/xinetd.d - newins ${CONFDIR}/swat.xinetd swat - newinitd ${CONFDIR}/samba-init samba - newconfd ${CONFDIR}/samba-conf samba - if use ldap; then - insinto /etc/openldap/schema - doins ${S2}/examples/LDAP/samba.schema - fi - - # dirs - diropts -m0700 ; keepdir ${PRIVATE_DST} - diropts -m1777 ; keepdir /var/spool/samba - - diropts -m0755 - keepdir /var/{log,run,cache}/samba - keepdir /var/lib/samba/{netlogon,profiles} - keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC} - keepdir /usr/$(get_libdir)/samba/{rpc,idmap,auth} - - # docs - dodoc ${FILESDIR}/README.gentoo - dodoc ${S2}/{COPYING,Manifest,README,Roadmap,WHATSNEW.txt} - dodoc ${CONFDIR}/nsswitch.conf-wins - use winbind && dodoc ${CONFDIR}/nsswitch.conf-winbind - - if use oav; then - docinto ${PFVSCAN} - cd ${WORKDIR}/${PFVSCAN} - dodoc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO - dodoc */*.conf - fi - - if use examples; then - docinto examples - cp -pPR ${S2}/examples/* ${D}/usr/share/doc/${PF}/examples - chmod -R 755 `find ${D}/usr/share/doc/${PF}/examples -type d` - chmod -R 644 `find ${D}/usr/share/doc/${PF}/examples ! -type d` - fi - - if ! use doc; then - if ! use swat; then - rm -rf ${D}/usr/share/doc/${PF}/swat - else - rm -rf ${D}/usr/share/doc/${PF}/swat/help/{guide,howto,devel} - rm -rf ${D}/usr/share/doc/${PF}/swat/using_samba - fi - fi - - # Patch ChangeLog - docinto gentoo - dodoc ${PATCHDIR}/ChangeLog -} - -pkg_preinst() { - local PRIVATE_SRC=/etc/samba/private - if [[ ! -r ${ROOT}/${PRIVATE_DST}/secrets.tdb \ - && -r ${ROOT}/${PRIVATE_SRC}/secrets.tdb ]]; then - ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/" - mkdir -p ${IMAGE}/${PRIVATE_DST} - cp -pPRf ${ROOT}/${PRIVATE_SRC}/* ${IMAGE}/${PRIVATE_DST}/ - eend $? - fi - - if [[ ! -f "${ROOT}/etc/samba/smb.conf" ]]; then - touch ${IMAGE}/etc/samba/smb.conf - fi -} - -pkg_postinst() { - if use swat; then - einfo "swat must be enabled by xinetd:" - einfo " change the /etc/xinetd.d/swat configuration" - fi - einfo "Latest info: README.gentoo in documentation directory" -} - -pkg_postrm(){ - # If stale docs, and one isn't re-emerging the latest version, removes - # (this is actually a portage bug, though) - [[ -n "${PF}" && ! -f ${ROOT}/usr/lib/${PN}/en.msg ]] && \ - rm -rf ${ROOT}/usr/share/doc/${PF} -} - diff --git a/net-fs/samba/samba-3.0.23d.ebuild b/net-fs/samba/samba-3.0.23d.ebuild deleted file mode 100644 index 4ec0c99aef0b..000000000000 --- a/net-fs/samba/samba-3.0.23d.ebuild +++ /dev/null @@ -1,299 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.23d.ebuild,v 1.3 2007/01/08 15:33:14 flameeyes Exp $ - -WANT_AUTOCONF="latest" -inherit eutils autotools versionator pam - -IUSE_LINGUAS="ja pl" -IUSE="acl async automount cups doc examples kerberos kernel_linux ldap fam - linguas_ja linguas_pl - oav pam python quotas readline selinux swat syslog winbind" -#RESTRICT="test" # tests are enabled with --enable-socket-wrapper - -VSCAN_VER="0.3.6b" -PATCH_VER="0.3.15" -MY_P=${PN}-${PV/_/} -MY_PP=${PN}-$(get_major_version)-gentoo-${PATCH_VER} -S2=${WORKDIR}/${MY_P} -S=${S2}/source -PFVSCAN=${PN}-vscan-${VSCAN_VER} -DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" -HOMEPAGE="http://www.samba.org/ http://www.openantivirus.org/projects.php" -SRC_URI="mirror://gentoo/${MY_PP}.tar.bz2 - mirror://samba/${MY_P}.tar.gz - mirror://samba/old-versions/${MY_P}.tar.gz - oav? ( mirror://sourceforge/openantivirus/${PFVSCAN}.tar.bz2 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -RDEPEND="dev-libs/popt - virtual/libiconv - acl? ( kernel_linux? ( sys-apps/acl ) ) - cups? ( net-print/cups ) - ldap? ( kerberos? ( virtual/krb5 ) net-nds/openldap ) - pam? ( virtual/pam ) - python? ( dev-lang/python ) - readline? ( sys-libs/readline ) - selinux? ( sec-policy/selinux-samba ) - swat? ( sys-apps/xinetd ) - syslog? ( virtual/logger ) - fam? ( virtual/fam ) - " -DEPEND="${RDEPEND} - sys-devel/autoconf - >=sys-apps/sed-4" - -PRIVATE_DST=/var/lib/samba/private -PATCHDIR=${WORKDIR}/patches -CONFDIR=${WORKDIR}/configs - -src_unpack() { - unpack ${A} - cd "${S2}" - - rm -rf ${S2}/examples.ORIG - - export EPATCH_SUFFIX="patch" - epatch ${PATCHDIR}/general - if use oav ; then - cd ${WORKDIR} - if [[ -d ${PATCHDIR}/vscan ]] ; then - epatch ${PATCHDIR}/vscan - fi - cp -pPR ${WORKDIR}/${PFVSCAN} ${S2}/examples/VFS - fi - - # patches screw with autotool files - cd "${S}" - eautoconf -} - -src_compile() { - local myconf - local mylangs - local mymod_shared - - mylangs="--with-manpages-langs=en" - use linguas_ja && mylangs="${mylangs},ja" - use linguas_pl && mylangs="${mylangs},pl" - - use winbind && mymod_shared="--with-shared-modules=idmap_rid" - if use ldap ; then - myconf="${myconf} $(use_with kerberos ads)" - use winbind && mymod_shared="${mymod_shared},idmap_ad" - fi - - [[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie" - use hppa && myconf="${myconf} --disable-pie" - - use fam && export ac_cv_header_fam_h=yes || export ac_cv_header_fam_h=no - econf \ - --with-fhs \ - --sysconfdir=/etc/samba \ - --localstatedir=/var \ - --with-configdir=/etc/samba \ - --with-libdir=/usr/$(get_libdir)/samba \ - --with-swatdir=/usr/share/doc/${PF}/swat \ - --with-piddir=/var/run/samba \ - --with-lockdir=/var/cache/samba \ - --with-logfilebase=/var/log/samba \ - --with-privatedir=${PRIVATE_DST} \ - --with-libsmbclient \ - --without-spinlocks \ - --enable-socket-wrapper \ - $(use_with acl acl-support) \ - $(use_with async aio-support) \ - $(use_with automount) \ - $(use_enable cups) \ - $(use_with kerberos krb5) \ - $(use_with ldap) \ - $(use_with pam) $(use_with pam pam_smbpass) \ - $(use_with python) \ - $(use_with quotas) $(use_with quotas sys-quotas) \ - $(use_with readline) \ - $(use_with kernel_linux smbmount) \ - $(use_with syslog) \ - $(use_with winbind) \ - ${myconf} ${mylangs} ${mymod_shared} || die - - emake proto || die "SAMBA make proto error" - emake everything || die "SAMBA make everything error" - - emake rpctorture >& rpctorture.log || ewarn "rpctorture didn't build [that's ok!]" - - if use python ; then - python python/setup.py build - fi - - # Build samba-vscan plugins - if use oav ; then - cd ${S2}/examples/VFS/${PFVSCAN} - econf \ - --with-fhs \ - --libdir=/usr/$(get_libdir)/samba \ - || die "${PFVSCAN} ./configure failed" - emake || die "Failed to make ${PFVSCAN}" - fi - -} - -src_install() { - local extra_bins="rpctorture" - - emake DESTDIR="${D}" install-everything || die - - # Extra rpctorture progs - for i in ${extra_bins} ; do - [[ -x ${S}/bin/${i} ]] && dobin "${S}"/bin/${i} - done - - # remove .old stuff from /usr/bin: - rm -f "${D}"/usr/bin/*.old - - # Nsswitch extensions. Make link for wins and winbind resolvers - if use winbind ; then - dolib.so "${S}"/nsswitch/libnss_wins.so || die - dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2 - dolib.so "${S}"/nsswitch/libnss_winbind.so || die - dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2 - fi - - if use pam ; then - exeinto /$(get_libdir)/security - doexe "${S}"/bin/pam_smbpass.so || die - if use winbind ; then - exeinto /$(get_libdir)/security - doexe "${S}"/bin/pam_winbind.so || die - fi - fi - - if use kernel_linux ; then - # mount backend - dodir /sbin - dosym ../usr/bin/smbmount /sbin/mount.smbfs - dosym ../usr/bin/mount.cifs /sbin/mount.cifs - fi - - # bug #46389: samba doesn't create symlink anymore - # beaviour seems to be changed in 3.0.6, see bug #61046 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so.0 - dosym samba/libsmbclient.so /usr/$(get_libdir)/libsmbclient.so - - # make the smb backend symlink for cups printing support (bug #133133) - if use cups ; then - dodir $(cups-config --serverbin)/backend - dosym /usr/bin/smbspool $(cups-config --serverbin)/backend/smb - fi - - # VFS plugin modules - if use oav ; then - cd ${S2}/examples/VFS/${PFVSCAN} - make install DESTDIR=${D} || die "VFS: vscan error" - insinto /etc/samba - doins ${S2}/examples/VFS/${PFVSCAN}/openantivirus/*conf - fi - - # Python extensions - if use python ; then - cd ${S} - python python/setup.py install --root=${D} || die - fi - - # General config files - insinto /etc/samba - doins ${CONFDIR}/smbusers - newins ${CONFDIR}/smb.conf.example-samba3 smb.conf.example - doins ${CONFDIR}/lmhosts - - newpamd ${CONFDIR}/samba.pam samba - use winbind && doins ${CONFDIR}/system-auth-winbind - if use swat ; then - insinto /etc/xinetd.d - newins ${CONFDIR}/swat.xinetd swat - else - rm -f "${D}"/usr/sbin/swat - rm -f "${D}"/usr/share/man/man8/swat.8 - fi - newinitd ${CONFDIR}/samba-init samba - newconfd ${CONFDIR}/samba-conf samba - if use ldap ; then - insinto /etc/openldap/schema - doins ${S2}/examples/LDAP/samba.schema - fi - - # dirs - diropts -m0700 ; keepdir ${PRIVATE_DST} - diropts -m1777 ; keepdir /var/spool/samba - - diropts -m0755 - keepdir /var/{log,run,cache}/samba - keepdir /var/lib/samba/{netlogon,profiles} - keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC} - keepdir /usr/$(get_libdir)/samba/{rpc,idmap,auth} - - # docs - dodoc ${FILESDIR}/README.gentoo - dodoc ${S2}/{COPYING,Manifest,README,Roadmap,WHATSNEW.txt} - dodoc ${CONFDIR}/nsswitch.conf-wins - use winbind && dodoc ${CONFDIR}/nsswitch.conf-winbind - - if use oav ; then - docinto ${PFVSCAN} - cd ${WORKDIR}/${PFVSCAN} - dodoc AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO - dodoc */*.conf - fi - - if use examples ; then - docinto examples - cp -pPR ${S2}/examples/* "${D}"/usr/share/doc/${PF}/examples - find "${D}"/usr/share/doc/${PF} -type d -print0 | xargs -0 chmod 755 - find "${D}"/usr/share/doc/${PF}/examples ! -type d -print0 | xargs -0 chmod 644 - fi - - if ! use doc ; then - if ! use swat ; then - rm -rf "${D}"/usr/share/doc/${PF}/swat - else - rm -rf "${D}"/usr/share/doc/${PF}/swat/help/{guide,howto,devel} - rm -rf "${D}"/usr/share/doc/${PF}/swat/using_samba - fi - fi - - # Patch ChangeLog - docinto gentoo - dodoc ${PATCHDIR}/ChangeLog -} - -pkg_preinst() { - local PRIVATE_SRC=/etc/samba/private - if [[ ! -r ${ROOT}/${PRIVATE_DST}/secrets.tdb \ - && -r ${ROOT}/${PRIVATE_SRC}/secrets.tdb ]] ; then - ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/" - mkdir -p "${D}"/${PRIVATE_DST} - cp -pPRf "${ROOT}"/${PRIVATE_SRC}/* "${D}"/${PRIVATE_DST}/ - eend $? - fi - - if [[ ! -f ${ROOT}/etc/samba/smb.conf ]] ; then - touch "${D}"/etc/samba/smb.conf - fi -} - -pkg_postinst() { - if use swat ; then - einfo "swat must be enabled by xinetd:" - einfo " change the /etc/xinetd.d/swat configuration" - fi - einfo "Latest info: README.gentoo in documentation directory" -} - -pkg_postrm(){ - # If stale docs, and one isn't re-emerging the latest version, removes - # (this is actually a portage bug, though) - [[ -n ${PF} && ! -f ${ROOT}/usr/lib/${PN}/en.msg ]] && \ - rm -rf "${ROOT}"/usr/share/doc/${PF} -} |