From 0706fc6986773f4e4d391deff4ad5143c464ea4e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Mar 2019 17:44:59 +0000 Subject: Revert "gentoo resync : 24.03.2019" This reverts commit aa3411e241a201d53a2689766fe419f2756819f3. --- net-fs/Manifest.gz | Bin 4693 -> 4698 bytes net-fs/mc/Manifest | 2 - net-fs/mc/mc-2019.03.20.21.29.03.ebuild | 50 ----- net-fs/minio/Manifest | 2 - net-fs/minio/minio-2019.03.20.22.38.47.ebuild | 55 ----- net-fs/samba/Manifest | 4 +- net-fs/samba/samba-4.10.0.ebuild | 306 -------------------------- net-fs/samba/samba-4.10.0_rc4.ebuild | 306 ++++++++++++++++++++++++++ 8 files changed, 308 insertions(+), 417 deletions(-) delete mode 100644 net-fs/mc/mc-2019.03.20.21.29.03.ebuild delete mode 100644 net-fs/minio/minio-2019.03.20.22.38.47.ebuild delete mode 100644 net-fs/samba/samba-4.10.0.ebuild create mode 100644 net-fs/samba/samba-4.10.0_rc4.ebuild (limited to 'net-fs') diff --git a/net-fs/Manifest.gz b/net-fs/Manifest.gz index 6466a08818e0..190b59c75e9c 100644 Binary files a/net-fs/Manifest.gz and b/net-fs/Manifest.gz differ diff --git a/net-fs/mc/Manifest b/net-fs/mc/Manifest index 82d525428d8c..bf6bb58302de 100644 --- a/net-fs/mc/Manifest +++ b/net-fs/mc/Manifest @@ -7,7 +7,6 @@ DIST mc-2019.02.20.22.21.50.tar.gz 3007023 BLAKE2B 0cb7d1ab4a9314e951204e6710aa8 DIST mc-2019.02.27.18.44.28.tar.gz 3007123 BLAKE2B bbb382f48b5744e0ebef6848d2d419096f2aa40fe1a7ede4cf692befac83c2df20bade05605d2aee59d50267e67993c8cd69c7b99d677c733af9aa3ca29e047a SHA512 00b97009e8f69a24f8222c47af3dadf2d8750e7247afe6ea89aecd9e97994cac256aac9e5226f815e228912ee6fe92ab78ef64b2b87edd6cf4eb0c6f236cf72f DIST mc-2019.03.06.18.41.35.tar.gz 3060998 BLAKE2B 8ce267ebeb132aae1ab2681d7fcaeb557f7822cc518153cb001dfbde9d968ab0056ed52b01cdeb44d1112ea2ce233877751f205661cd7d53c6640bea533b131c SHA512 b0b5aa99aaaf8858fcf2884154bc7e293a618e88a13a8ea4c3671c4d187d8628a1ce9b190895db09520a0af452be1125e7cd5158373467f14e7fbe771199c9db DIST mc-2019.03.09.00.30.31.tar.gz 3061079 BLAKE2B 528c3e8b20af8c77c256dbb25cee0c79691e6575f9739788927bd8b023fb2fe492fb1186f144f3abf1132b3b7375c649940b40c63f59dcbc7436cff9603fdd6d SHA512 28aa906be58afd85a5d5afd8458f5a200270d8bf4caad90484ee6335ce5033c910369a212f47272d6f7bcbb6aaa78fc35f3307da5e8bad3268ba737f8791f4c6 -DIST mc-2019.03.20.21.29.03.tar.gz 3068226 BLAKE2B 9659aa05931c28f054d639a8850692a77e81d75c1a86af9e7887fc492bdcb30c0e3582d42495a443945f1c89f691989d8e67d479cef4f1c1ebc82fde63b3f444 SHA512 ce4aad970b6f41bf06423a414ffc3396257c37654b9f7e10d6994e4adbacb0ba5b5fc94412e1d420429333e341ff2f76172d1a6ce978612f09f7ff37547d8d06 EBUILD mc-2019.01.10.00.38.22.ebuild 1198 BLAKE2B e7cdf845035f8c7e3341d136a4e2746a96e01dd89c9c29f2795cb7e49a263b1748a411c5d7aaede0ad76c3ab43dff11b4d9c1ff02669c0d5aabe657dc486bcb3 SHA512 dab9a70916b8900b4d1775a72ad606913d9ad57f44b3aced9bb9f69b3699f4874e37c2a863a676e20f6dd88a15f416ac24538be64ead43170570a3a26a05b00f EBUILD mc-2019.01.24.01.40.23.ebuild 1198 BLAKE2B e7cdf845035f8c7e3341d136a4e2746a96e01dd89c9c29f2795cb7e49a263b1748a411c5d7aaede0ad76c3ab43dff11b4d9c1ff02669c0d5aabe657dc486bcb3 SHA512 dab9a70916b8900b4d1775a72ad606913d9ad57f44b3aced9bb9f69b3699f4874e37c2a863a676e20f6dd88a15f416ac24538be64ead43170570a3a26a05b00f EBUILD mc-2019.01.30.19.57.22.ebuild 1198 BLAKE2B e7cdf845035f8c7e3341d136a4e2746a96e01dd89c9c29f2795cb7e49a263b1748a411c5d7aaede0ad76c3ab43dff11b4d9c1ff02669c0d5aabe657dc486bcb3 SHA512 dab9a70916b8900b4d1775a72ad606913d9ad57f44b3aced9bb9f69b3699f4874e37c2a863a676e20f6dd88a15f416ac24538be64ead43170570a3a26a05b00f @@ -17,5 +16,4 @@ EBUILD mc-2019.02.20.22.21.50.ebuild 1129 BLAKE2B 4b4baf5b05d0fd5c363385452a7b0b EBUILD mc-2019.02.27.18.44.28.ebuild 1129 BLAKE2B 4b4baf5b05d0fd5c363385452a7b0bee6e04293b0ccf18fb1e97872bc7a8cedf8012a8022f0b1ad09bbfafe0631d816f8f612f5cbfbfd56de9f25cec59366bdb SHA512 5b06ca0291203ba5c572902effb811218877e16d55c89d880122ec657b1e1620c7be0ccfb0fdcf13e327faf1570834700278fc59535ed0e1086f59bb55c85f12 EBUILD mc-2019.03.06.18.41.35.ebuild 1129 BLAKE2B 4b4baf5b05d0fd5c363385452a7b0bee6e04293b0ccf18fb1e97872bc7a8cedf8012a8022f0b1ad09bbfafe0631d816f8f612f5cbfbfd56de9f25cec59366bdb SHA512 5b06ca0291203ba5c572902effb811218877e16d55c89d880122ec657b1e1620c7be0ccfb0fdcf13e327faf1570834700278fc59535ed0e1086f59bb55c85f12 EBUILD mc-2019.03.09.00.30.31.ebuild 1129 BLAKE2B 4b4baf5b05d0fd5c363385452a7b0bee6e04293b0ccf18fb1e97872bc7a8cedf8012a8022f0b1ad09bbfafe0631d816f8f612f5cbfbfd56de9f25cec59366bdb SHA512 5b06ca0291203ba5c572902effb811218877e16d55c89d880122ec657b1e1620c7be0ccfb0fdcf13e327faf1570834700278fc59535ed0e1086f59bb55c85f12 -EBUILD mc-2019.03.20.21.29.03.ebuild 1129 BLAKE2B 4b4baf5b05d0fd5c363385452a7b0bee6e04293b0ccf18fb1e97872bc7a8cedf8012a8022f0b1ad09bbfafe0631d816f8f612f5cbfbfd56de9f25cec59366bdb SHA512 5b06ca0291203ba5c572902effb811218877e16d55c89d880122ec657b1e1620c7be0ccfb0fdcf13e327faf1570834700278fc59535ed0e1086f59bb55c85f12 MISC metadata.xml 316 BLAKE2B a9702a517ffa52bc439add8a4712f3835bb9b7200fcc0d0fba23c23e91387a185295198a80734c79dbd4cc0146f4b393f3396495830ecf0122cbbb334a5fa651 SHA512 630bdebb37c4df4255b8dd7dd28566e9f484697e1ff50981a743b94593ef56484b20aec86a0109458a0e88b7c357da78afa8ed946ba3bca2a7db5bf006747913 diff --git a/net-fs/mc/mc-2019.03.20.21.29.03.ebuild b/net-fs/mc/mc-2019.03.20.21.29.03.ebuild deleted file mode 100644 index 927f40765b1c..000000000000 --- a/net-fs/mc/mc-2019.03.20.21.29.03.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eapi7-ver golang-build golang-vcs-snapshot - -MY_PV="$(ver_cut 1-3)T$(ver_cut 4-7)Z" -MY_PV=${MY_PV//./-} - -EGIT_COMMIT="c352cadd4be2c6bed64884c78d1e8a8ac6efaf3f" - -EGO_PN="github.com/minio/mc" - -DESCRIPTION="Minio client provides alternatives for ls, cat on cloud storage and filesystems" -HOMEPAGE="https://github.com/minio/mc" -SRC_URI="https://${EGO_PN}/archive/RELEASE.${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="!!app-misc/mc" - -src_prepare() { - default - sed -i -e "s/time.Now().UTC().Format(time.RFC3339)/\"${VERSION}\"/"\ - -e "s/-s //"\ - -e "/time/d"\ - -e "s/+ commitID()/+ \"${EGIT_COMMIT}\"/"\ - src/${EGO_PN}/buildscripts/gen-ldflags.go || die - -} - -src_compile() { - unset XDG_CACHE_HOME - - pushd src/${EGO_PN} || die - MC_RELEASE="${MY_PV}" - GOPATH="${S}" go build --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die - popd || die - -} - -src_install() { - pushd src/${EGO_PN} || die - dodoc -r README.md CONTRIBUTING.md docs - dobin mc - popd || die -} diff --git a/net-fs/minio/Manifest b/net-fs/minio/Manifest index 0aa2fbb5f15c..79a7ddb9f723 100644 --- a/net-fs/minio/Manifest +++ b/net-fs/minio/Manifest @@ -10,7 +10,6 @@ DIST minio-2019.02.20.22.44.29.tar.gz 9139158 BLAKE2B 16924809cf3ab8961891cddd06 DIST minio-2019.02.26.19.51.46.tar.gz 9146652 BLAKE2B a132d2a06648e49bc71282cf6b1f0c2cff68f188f035461a0d9c135fbc40caba50cb365dfa170027b82a6086214a9c17567de55173bc1910ec6283a7d89a7813 SHA512 6ddb452b951ec60b1b30da3059b36db896478a5dc1d9ac60f8de3fb36fa4d9a149e08193af47837ccea9621490daf234ac8c5ecb462e234e5609132e4c61749a DIST minio-2019.03.06.22.47.10.tar.gz 9197298 BLAKE2B 3b74e2958d876e5c409290dfc0b4b6b1997c06f34d188c9e9357db7c6bcf75af1402acf111b8cfda17cb86a41e9e3e5643dce7bfe2ab40a2f6d06b783c54c719 SHA512 09c1ec200320f0843fd41711a2fe1596af906c84d82dfa080a15fa8e98713601adbc21b91d4c82d436f128cc00fe75575f88ddefc25e1ce5ed72bd2d65dfce12 DIST minio-2019.03.13.21.59.47.tar.gz 9200988 BLAKE2B 56b2e6e3e4a7643d1e79c6038937b77dfaae632e38cd4049d79076920ee1c84ec75b738d5d069eb0c9c2b219cd2e39b129422191ab8f771386fde25338585edb SHA512 daa76f2e79acea86594189e3df5336d2bc29a5da21ebe36bc6de2fcf68135e4ea7529351a3878609adb9118553fa10088ac0fb1c746d23890b886fe7885a1b2c -DIST minio-2019.03.20.22.38.47.tar.gz 9249505 BLAKE2B c3b5173575c266bf4a86276eafa1faecdcee7411fafb497452d0265c81d75adb06c2e2e05ed17dc6fec8b367ac8e389798ff4f98e4177eec8bbf786af05f7109 SHA512 33790bae9d2b33c53bf98bc20dc2f5d2653bcad2263f75d99523a9140d029adb16068eb8b376966ddaf96aad8eaf540bf4c8cc9d5c3fbb14c2aa0b63ac9fdefb EBUILD minio-2019.01.10.00.21.20.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa12c57f5cd2e2a7c06282379bf6af2bf31886d0eebcf8a8f33bae7fc6e773061df0bd6f54697936eaa4ac7c446a104b84718c4 SHA512 2708fac173db7349246b4391510cefd625e68986609e5fea2a6b8caf08afd00a5ba251689895a05c468ebae4e9328e95cdb2d0cf279cb0d701e1a145934a7290 EBUILD minio-2019.01.16.21.44.08.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa12c57f5cd2e2a7c06282379bf6af2bf31886d0eebcf8a8f33bae7fc6e773061df0bd6f54697936eaa4ac7c446a104b84718c4 SHA512 2708fac173db7349246b4391510cefd625e68986609e5fea2a6b8caf08afd00a5ba251689895a05c468ebae4e9328e95cdb2d0cf279cb0d701e1a145934a7290 EBUILD minio-2019.01.23.23.18.58.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa12c57f5cd2e2a7c06282379bf6af2bf31886d0eebcf8a8f33bae7fc6e773061df0bd6f54697936eaa4ac7c446a104b84718c4 SHA512 2708fac173db7349246b4391510cefd625e68986609e5fea2a6b8caf08afd00a5ba251689895a05c468ebae4e9328e95cdb2d0cf279cb0d701e1a145934a7290 @@ -22,5 +21,4 @@ EBUILD minio-2019.02.20.22.44.29.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa EBUILD minio-2019.02.26.19.51.46.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa12c57f5cd2e2a7c06282379bf6af2bf31886d0eebcf8a8f33bae7fc6e773061df0bd6f54697936eaa4ac7c446a104b84718c4 SHA512 2708fac173db7349246b4391510cefd625e68986609e5fea2a6b8caf08afd00a5ba251689895a05c468ebae4e9328e95cdb2d0cf279cb0d701e1a145934a7290 EBUILD minio-2019.03.06.22.47.10.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa12c57f5cd2e2a7c06282379bf6af2bf31886d0eebcf8a8f33bae7fc6e773061df0bd6f54697936eaa4ac7c446a104b84718c4 SHA512 2708fac173db7349246b4391510cefd625e68986609e5fea2a6b8caf08afd00a5ba251689895a05c468ebae4e9328e95cdb2d0cf279cb0d701e1a145934a7290 EBUILD minio-2019.03.13.21.59.47.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa12c57f5cd2e2a7c06282379bf6af2bf31886d0eebcf8a8f33bae7fc6e773061df0bd6f54697936eaa4ac7c446a104b84718c4 SHA512 2708fac173db7349246b4391510cefd625e68986609e5fea2a6b8caf08afd00a5ba251689895a05c468ebae4e9328e95cdb2d0cf279cb0d701e1a145934a7290 -EBUILD minio-2019.03.20.22.38.47.ebuild 1381 BLAKE2B 5ce76ea9331938f9e42cfbfcdfa12c57f5cd2e2a7c06282379bf6af2bf31886d0eebcf8a8f33bae7fc6e773061df0bd6f54697936eaa4ac7c446a104b84718c4 SHA512 2708fac173db7349246b4391510cefd625e68986609e5fea2a6b8caf08afd00a5ba251689895a05c468ebae4e9328e95cdb2d0cf279cb0d701e1a145934a7290 MISC metadata.xml 323 BLAKE2B 53e4aa74bfb7ce2ce83686b69238aa7d248c06dfdf61703b7e5d40a099d0c972492a2a6eaed91fe16914443e1dab70ebd421c4dbec06064ac72736dc381d6a7e SHA512 827c8163d2b096af06bee067f81fb16236681807b71e945427290ee9b077be0520a4d18f404a8c75eef1d49eeaa36850d2035fd1addaf42dfada0922f2eac3b4 diff --git a/net-fs/minio/minio-2019.03.20.22.38.47.ebuild b/net-fs/minio/minio-2019.03.20.22.38.47.ebuild deleted file mode 100644 index 07c4e7897644..000000000000 --- a/net-fs/minio/minio-2019.03.20.22.38.47.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit user golang-build golang-vcs-snapshot eapi7-ver - -EGO_PN="github.com/minio/minio" -MY_PV="$(ver_cut 1-3)T$(ver_cut 4-7)Z" -MY_PV=${MY_PV//./-} -EGIT_COMMIT="ce419c98352324caa4c79b159a9f840ca714c3d5" -ARCHIVE_URI="https://${EGO_PN}/archive/RELEASE.${MY_PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~amd64-linux" - -DESCRIPTION="An Amazon S3 compatible object storage server" -HOMEPAGE="https://github.com/minio/minio" -SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" -SLOT="0" - -RESTRICT="test" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} -} - -src_prepare() { - default - sed -i -e "s/time.Now().UTC().Format(time.RFC3339)/\"${MY_PV}\"/"\ - -e "s/-s //"\ - -e "/time/d"\ - -e "s/+ commitID()/+ \"${EGIT_COMMIT}\"/"\ - src/${EGO_PN}/buildscripts/gen-ldflags.go || die -} - -src_compile() { - unset XDG_CACHE_HOME - - pushd src/${EGO_PN} || die - MINIO_RELEASE="${MY_PV}" - go run buildscripts/gen-ldflags.go - GOPATH="${S}" go build --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die - popd || die -} - -src_install() { - pushd src/${EGO_PN} || die - dodoc -r README.md CONTRIBUTING.md MAINTAINERS.md docs - dobin minio - popd || die - newinitd "${FILESDIR}"/${PN}.initd ${PN} - keepdir /var/{lib,log}/${PN} - fowners ${PN}:${PN} /var/{lib,log}/${PN} -} diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest index adbfe23c3883..3597c86afc66 100644 --- a/net-fs/samba/Manifest +++ b/net-fs/samba/Manifest @@ -15,7 +15,7 @@ AUX smbd.socket 121 BLAKE2B 1261742bb1cd586f376ccd1027a5c57754460bcaf7aed4b800ae AUX smbd_at.service 145 BLAKE2B 729dd189fc69ff33930ec96a68cff42438645ff7f3cf0a88f2bf12f56d6cb213f58c9699c19800bed429640218bba81fdb4009882fdf7bc84fc07d0e4634acc7 SHA512 e6486c35dfa6f77ad46547a78fcae55fb71e4dad7dc7b4580c2b8c1be232c0a870f56714b2b103a1fd8717298f41347d7178fbebb90f0f2d0324fe5233f0f9f3 AUX talloc-disable-python.patch 1706 BLAKE2B cc447f5077c82d7eb584692121b9b34c03afb5f7dda2b799ea518d08421d31ce54fe2422c5ca7efe74f66011951c97b171a326604bd67446a15ad2849bade919 SHA512 ac0bf82e8ed8b918a5efbdeb0a6cbaaef22bb72231abb09026637d62b8ce35b25212960d26c07abe63661328ab7ea8a82590cd93f04de583e23239211daf6efa AUX winbindd.service 240 BLAKE2B f0b96a5a1d93a3c04bb2a2b2b500718b41fc907a3c551827a459c5d8184abc3caed0ac5edcf16032650dc2d58c38b779473c7a619047956f1381415e3de4dd93 SHA512 f1ce6d035e8e0fcdc73f14e3b60c9647043777ff6b2a982a81ed07eb4df5ff245a9511e3e4a9d8163f9c8f3fb86d2a39a67621ace68392eb7c2f2e2a55d587f7 -DIST samba-4.10.0.tar.gz 18270804 BLAKE2B 53faf392aa4d09412f3d525410e290385f796dd7ef16e48d403ce8ff0466150312992c7459adee21ebf4c217c67a77d244b69f706dae16245058670a2ccd2087 SHA512 e82a8ec78cea666a653bddab066eaa22382f5b016b38f7618492e39f470d6f4c3ddd6dc21e9f0e9fde73ab98c4dd3da1a3823fd457f085ac14c36070b447ac90 +DIST samba-4.10.0rc4.tar.gz 18271083 BLAKE2B 761e3c971992a66ab429db33ce6b2ff308feb6397bdbb90c6566325336fd7f5afad89a420ac8bf26ba6e9dab423ec187095e47e8f9b81c13972297ed2aa601fe SHA512 6e2de0fa732b19b524624716b6c1fe8ffaf9e7dab9dbee30b70f3e496a11fd79703720ee5a4dc5ebafeb67c6c19baf2d3032f796c4eaa4f04deb9d2c2b172362 DIST samba-4.5.11-disable-python-patches.tar.xz 6292 BLAKE2B c2a32a1059a02bc1c87ce5f604cbc5878c654b8f693c8486b5ba63b37513444915a7b6389fe82b7e31ab2f9577dd8462eddba60b4f4f756b4ed1145ce7bd90ae SHA512 f0e3076e3e1ecaae3f06b3ef30efc81719fb3f63a1041dcbdae4b62ca4cf693732f9eb16f047d046d4930136fed82194e82b455ea888e12cf845b3e6a122d57d DIST samba-4.5.16.tar.gz 21024396 BLAKE2B e737559fb748044076608fa233700eb54c7e1c56bc234763f062b6341a179cc78a4a8cdf9f3d6f4d7f3cf8a79f846852ddd5cc753a468c3adb3a0451e1809ed9 SHA512 de8a41013cfb5ef3adcb290efd97a78a5de876d90ad05764d631f14e663a1849bb53e4ac394b46c906f1109be5748fee9316407a659c57007d36851ae8adcd7f DIST samba-4.7.12.tar.gz 16923189 BLAKE2B 98ea5e535482a4cdfeb4f9ad70bc8c40bb6d5a8920ce9bc6dda84f20698245c3c5d472a5f79984efc81f9c32d1d1e72b1fcdffb137e3a27634f4c521a1d46a48 SHA512 951dfc0ea7130da9d9aa3069ca276e630d67171a1995dba368459e0cdf00337d0f6271827bffec694371010614a1a7ce2349840ddedd0231315f6a56dce2fcac @@ -23,7 +23,7 @@ DIST samba-4.8.6.tar.gz 17723841 BLAKE2B 38da52e14b4417f26462eef2226c4498e54d2c2 DIST samba-4.8.9.tar.gz 17750151 BLAKE2B 09f350be7f262889708c1b8f779c0e003cc292e0de2afb19f35ec12d43c4c5874151e984699218a563a11eb24b13f1af33607d2accfe699fb0b5f6bdb1b9b367 SHA512 733eb769e21fc563d4deef17c54de025d05ceec85f8b16513bbeefdb3cb99c3611027e049014d3c29cb6463ce2660be92c97f8b5f741a6b67424c8f329a88ea4 DIST samba-4.9.4.tar.gz 18053738 BLAKE2B 337444e55fc8a8864e3960609719087e64e7d14faaf150c510b9011f67ffdc8a9bd6533c60be938e742db8a2e5401a065e7d14fae0480ee7a996a1f71ef0448d SHA512 ecd9937caa12d409b9b4cf34982b1670346fa64c7ecd111b390e296771476e13eb7b868997bfe489f36b7bdc5c9fc3af42cd5ad276e9d85aaedfa8ac4cfc0617 DIST samba-4.9.5.tar.gz 18065757 BLAKE2B 541b2534cdfb94a155aee629645bb4f1cbe429c6cb4f3170973807c4c5d2728013137eb65e478da763169315e0fc720f5dc54a70f7f9dcce4e2d5b69271a82cd SHA512 0ce49721dcd1b16148448bdf516c42f8fdeb3cb48e7fa8113fac508f8585251ead23d5b679f99eb7925e7a6fbedc2da75d339946b0cecb15698f3ea0cb542750 -EBUILD samba-4.10.0.ebuild 9014 BLAKE2B ead2bd9467d39b4bbbe9d7db1b9fe7ae8d22e5d1eea0f85d2fa980d69d4a65e5172498552c46da3815e51a1f27a171507b071343f2ddea9f2c1f31e42f5d9b0a SHA512 39dd5a555803f93b0d921bcf70a9dae7c1b83cfa96e69fe3f6dbf069bb1bc35c435fc7e00b7c7fa03a35cb7189089c5df8096d51b9ad76d6e3743ce4defbaa39 +EBUILD samba-4.10.0_rc4.ebuild 9014 BLAKE2B ead2bd9467d39b4bbbe9d7db1b9fe7ae8d22e5d1eea0f85d2fa980d69d4a65e5172498552c46da3815e51a1f27a171507b071343f2ddea9f2c1f31e42f5d9b0a SHA512 39dd5a555803f93b0d921bcf70a9dae7c1b83cfa96e69fe3f6dbf069bb1bc35c435fc7e00b7c7fa03a35cb7189089c5df8096d51b9ad76d6e3743ce4defbaa39 EBUILD samba-4.5.16.ebuild 8166 BLAKE2B 2a0d68ff2848c1dee76d8329cab4f5a0b06bcac989b55a97bac1211f194b4c10736d8fd99eb32779c86406c8aa4c45523af34f43f70eebf928e4ceb787d374e3 SHA512 5a3e1645ec3d05ddf26e66f75cc2f43c86baad8b08e40e137919f0b33d68701cef8460fd3da3d080905af538659b834169e66cc946517ed1c9190dc52ac697d3 EBUILD samba-4.7.12-r1.ebuild 9188 BLAKE2B 458197bbc0248729c819bcd347fd6fe6a31acf4e858d6b7d204c91f528bc029901a7a30004e16146baf789b4aae1a82d2eadae8e257a1a89fe320220bacbe2b5 SHA512 9bbc844a9cd1883eb6097e12482641c83ec140caf1870cca8879b9d3f3392a462fa11084ff285c547725661747432c0c9a327f83d2da1997709eafe5c133dc52 EBUILD samba-4.8.6-r2.ebuild 8469 BLAKE2B 506742391e1260943d41db47153ae4ea37a32b69b7ecf53a93404fefab3255a4409b954630b48402efef07c6edf71a73af8704926c314a29ae681212bb40f693 SHA512 b0039151acbef5e6c80eeccdf9e123c9b9168dfb320977e7a0d743be961c8f6aa84acda5b352be1882995b936105f40d34043e64344026cd5a18cdf5f68ab63a diff --git a/net-fs/samba/samba-4.10.0.ebuild b/net-fs/samba/samba-4.10.0.ebuild deleted file mode 100644 index 3dd2aa09db23..000000000000 --- a/net-fs/samba/samba-4.10.0.ebuild +++ /dev/null @@ -1,306 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python3_{4,5,6,7} ) -PYTHON_REQ_USE='threads(+),xml(+)' - -inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam - -MY_PV="${PV/_rc/rc}" -MY_P="${PN}-${MY_PV}" - -SRC_PATH="stable" -[[ ${PV} = *_rc* ]] && SRC_PATH="rc" - -SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz" -[[ ${PV} = *_rc* ]] || \ -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" - -DESCRIPTION="Samba Suite Version 4" -HOMEPAGE="https://www.samba.org/" -LICENSE="GPL-3" - -SLOT="0" - -IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gnutls gpg iprint json ldap -pam python quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/samba-4.0/policy.h - /usr/include/samba-4.0/dcerpc_server.h - /usr/include/samba-4.0/ctdb.h - /usr/include/samba-4.0/ctdb_client.h - /usr/include/samba-4.0/ctdb_protocol.h - /usr/include/samba-4.0/ctdb_private.h - /usr/include/samba-4.0/ctdb_typesafe_cb.h - /usr/include/samba-4.0/ctdb_version.h -) - -# sys-apps/attr is an automagic dependency (see bug #489748) -CDEPEND=" - >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] - dev-lang/perl:= - dev-libs/libaio[${MULTILIB_USEDEP}] - dev-libs/libbsd[${MULTILIB_USEDEP}] - dev-libs/iniparser:0 - dev-libs/popt[${MULTILIB_USEDEP}] - dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] - >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] - net-libs/libnsl:=[${MULTILIB_USEDEP}] - sys-apps/attr[${MULTILIB_USEDEP}] - >=sys-libs/ldb-1.5.4[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] - =sys-libs/talloc-2.1.16[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] - >=sys-libs/tdb-1.3.18[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] - >=sys-libs/tevent-0.9.39[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] - virtual/libiconv - pam? ( virtual/pam ) - acl? ( virtual/acl ) - addns? ( - net-dns/bind-tools[gssapi] - dev-python/dnspython:=[${PYTHON_USEDEP}] - ) - ceph? ( sys-cluster/ceph ) - cluster? ( - net-libs/rpcsvc-proto - !dev-db/ctdb - ) - cups? ( net-print/cups ) - debug? ( dev-util/lttng-ust ) - dmapi? ( sys-apps/dmapi ) - fam? ( virtual/fam ) - gnutls? ( - dev-libs/libgcrypt:0 - >=net-libs/gnutls-1.4.0 - ) - gpg? ( app-crypt/gpgme ) - json? ( dev-libs/jansson ) - ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) - system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) - system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] ) - systemd? ( sys-apps/systemd:0= ) -" -DEPEND="${CDEPEND} - ${PYTHON_DEPS} - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - net-libs/libtirpc[${MULTILIB_USEDEP}] - virtual/pkgconfig - || ( - net-libs/rpcsvc-proto - =sys-libs/nss_wrapper-1.1.3 - >=net-dns/resolv_wrapper-1.1.4 - >=net-libs/socket_wrapper-1.1.9 - >=sys-libs/uid_wrapper-1.2.1 - ) - )" -RDEPEND="${CDEPEND} - python? ( ${PYTHON_DEPS} ) - client? ( net-fs/cifs-utils[ads?] ) - selinux? ( sec-policy/selinux-samba ) - !dev-perl/Parse-Yapp -" - -REQUIRED_USE=" - addc? ( python gnutls json winbind ) - addns? ( python ) - ads? ( acl gnutls ldap winbind ) - cluster? ( ads ) - gpg? ( addc ) - test? ( python ) - ?? ( system-heimdal system-mitkrb5 ) - ${PYTHON_REQUIRED_USE} -" - -# the test suite is messed, it uses system-installed samba -# bits instead of what was built, tests things disabled via use -# flags, and generally just fails to work in a way ebuilds could -# rely on in its current state -RESTRICT="test" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}/${PN}-4.4.0-pam.patch" - "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch" - "${FILESDIR}/${PN}-4.9.2-timespec.patch" -) - -#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" -CONFDIR="${FILESDIR}/4.4" - -WAF_BINARY="${S}/buildtools/bin/waf" - -SHAREDMODS="" - -pkg_setup() { - python-single-r1_pkg_setup - if use cluster ; then - SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad" - elif use ads ; then - SHAREDMODS="idmap_ad" - fi -} - -src_prepare() { - default - - # un-bundle dnspython - sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die - - # unbundle iso8601 unless tests are enabled - if ! use test ; then - sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die - fi - - # ugly hackaround for bug #592502 - cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die - - sed -e 's:::' \ - -i source4/dsdb/samdb/ldb_modules/password_hash.c \ - || die - - # Friggin' WAF shit - multilib_copy_sources -} - -multilib_src_configure() { - # when specifying libs for samba build you must append NONE to the end to - # stop it automatically including things - local bundled_libs="NONE" - if ! use system-heimdal && ! use system-mitkrb5 ; then - bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" - fi - - local myconf=( - --enable-fhs - --sysconfdir="${EPREFIX}/etc" - --localstatedir="${EPREFIX}/var" - --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" - --with-piddir="${EPREFIX}/run/${PN}" - --bundled-libraries="${bundled_libs}" - --builtin-libraries=NONE - --disable-rpath - --disable-rpath-install - --nopyc - --nopyo - $(multilib_native_use_with acl acl-support) - $(multilib_native_usex addc '' '--without-ad-dc') - $(multilib_native_use_with addns dnsupdate) - $(multilib_native_use_with ads) - $(multilib_native_use_enable ceph cephfs) - $(multilib_native_use_with cluster cluster-support) - $(multilib_native_use_enable cups) - $(multilib_native_use_with dmapi) - $(multilib_native_use_with fam) - $(multilib_native_use_with gpg gpgme) - $(multilib_native_use_with json) - $(multilib_native_use_enable iprint) - $(multilib_native_use_with pam) - $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') - $(multilib_native_use_with quota quotas) - $(multilib_native_use_with syslog) - $(multilib_native_use_with systemd) - $(multilib_native_use_with winbind) - $(multilib_native_usex python '' '--disable-python') - $(multilib_native_use_enable zeroconf avahi) - $(multilib_native_usex test '--enable-selftest' '') - $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') - $(use_enable gnutls) - $(use_with debug lttng) - $(use_with ldap) - ) - - multilib_is_native_abi && myconf+=( --with-shared-modules=${SHAREDMODS} ) - - CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \ - waf-utils_src_configure ${myconf[@]} -} - -multilib_src_compile() { - waf-utils_src_compile -} - -multilib_src_install() { - waf-utils_src_install - - # Make all .so files executable - find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die - - if multilib_is_native_abi ; then - # install ldap schema for server (bug #491002) - if use ldap ; then - insinto /etc/openldap/schema - doins examples/LDAP/samba.schema - fi - - # create symlink for cups (bug #552310) - if use cups ; then - dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb - fi - - # install example config file - insinto /etc/samba - doins examples/smb.conf.default - - # Fix paths in example file (#603964) - sed \ - -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ - -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ - -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ - -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ - -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ - -i "${ED%/}"/etc/samba/smb.conf.default || die - - # Install init script and conf.d file - newinitd "${CONFDIR}/samba4.initd-r1" samba - newconfd "${CONFDIR}/samba4.confd" samba - - systemd_dotmpfilesd "${FILESDIR}"/samba.conf - systemd_dounit "${FILESDIR}"/nmbd.service - systemd_dounit "${FILESDIR}"/smbd.{service,socket} - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' - systemd_dounit "${FILESDIR}"/winbindd.service - systemd_dounit "${FILESDIR}"/samba.service - fi - - if use pam && use winbind ; then - newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind - # bugs #376853 and #590374 - insinto /etc/security - doins examples/pam_winbind/pam_winbind.conf || die - fi - - keepdir /var/cache/samba - keepdir /var/lib/ctdb - keepdir /var/lib/samba/{bind-dns,private} - keepdir /var/lock/samba - keepdir /var/log/samba - keepdir /var/run/{ctdb,samba} -} - -multilib_src_test() { - if multilib_is_native_abi ; then - "${WAF_BINARY}" test || die "test failed" - fi -} - -pkg_postinst() { - ewarn "Be aware the this release contains the best of all of Samba's" - ewarn "technology parts, both a file server (that you can reasonably expect" - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" - ewarn "controller work previously known as 'samba4'." - - elog "For further information and migration steps make sure to read " - elog "https://samba.org/samba/history/${P}.html " - elog "https://wiki.samba.org/index.php/Samba4/HOWTO " -} diff --git a/net-fs/samba/samba-4.10.0_rc4.ebuild b/net-fs/samba/samba-4.10.0_rc4.ebuild new file mode 100644 index 000000000000..3dd2aa09db23 --- /dev/null +++ b/net-fs/samba/samba-4.10.0_rc4.ebuild @@ -0,0 +1,306 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5,6,7} ) +PYTHON_REQ_USE='threads(+),xml(+)' + +inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam + +MY_PV="${PV/_rc/rc}" +MY_P="${PN}-${MY_PV}" + +SRC_PATH="stable" +[[ ${PV} = *_rc* ]] && SRC_PATH="rc" + +SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz" +[[ ${PV} = *_rc* ]] || \ +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +DESCRIPTION="Samba Suite Version 4" +HOMEPAGE="https://www.samba.org/" +LICENSE="GPL-3" + +SLOT="0" + +IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gnutls gpg iprint json ldap +pam python quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/samba-4.0/policy.h + /usr/include/samba-4.0/dcerpc_server.h + /usr/include/samba-4.0/ctdb.h + /usr/include/samba-4.0/ctdb_client.h + /usr/include/samba-4.0/ctdb_protocol.h + /usr/include/samba-4.0/ctdb_private.h + /usr/include/samba-4.0/ctdb_typesafe_cb.h + /usr/include/samba-4.0/ctdb_version.h +) + +# sys-apps/attr is an automagic dependency (see bug #489748) +CDEPEND=" + >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] + dev-lang/perl:= + dev-libs/libaio[${MULTILIB_USEDEP}] + dev-libs/libbsd[${MULTILIB_USEDEP}] + dev-libs/iniparser:0 + dev-libs/popt[${MULTILIB_USEDEP}] + dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] + >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] + net-libs/libnsl:=[${MULTILIB_USEDEP}] + sys-apps/attr[${MULTILIB_USEDEP}] + >=sys-libs/ldb-1.5.4[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] + =sys-libs/talloc-2.1.16[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] + >=sys-libs/tdb-1.3.18[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] + >=sys-libs/tevent-0.9.39[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] + sys-libs/zlib[${MULTILIB_USEDEP}] + virtual/libiconv + pam? ( virtual/pam ) + acl? ( virtual/acl ) + addns? ( + net-dns/bind-tools[gssapi] + dev-python/dnspython:=[${PYTHON_USEDEP}] + ) + ceph? ( sys-cluster/ceph ) + cluster? ( + net-libs/rpcsvc-proto + !dev-db/ctdb + ) + cups? ( net-print/cups ) + debug? ( dev-util/lttng-ust ) + dmapi? ( sys-apps/dmapi ) + fam? ( virtual/fam ) + gnutls? ( + dev-libs/libgcrypt:0 + >=net-libs/gnutls-1.4.0 + ) + gpg? ( app-crypt/gpgme ) + json? ( dev-libs/jansson ) + ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) + system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) + system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] ) + systemd? ( sys-apps/systemd:0= ) +" +DEPEND="${CDEPEND} + ${PYTHON_DEPS} + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + net-libs/libtirpc[${MULTILIB_USEDEP}] + virtual/pkgconfig + || ( + net-libs/rpcsvc-proto + =sys-libs/nss_wrapper-1.1.3 + >=net-dns/resolv_wrapper-1.1.4 + >=net-libs/socket_wrapper-1.1.9 + >=sys-libs/uid_wrapper-1.2.1 + ) + )" +RDEPEND="${CDEPEND} + python? ( ${PYTHON_DEPS} ) + client? ( net-fs/cifs-utils[ads?] ) + selinux? ( sec-policy/selinux-samba ) + !dev-perl/Parse-Yapp +" + +REQUIRED_USE=" + addc? ( python gnutls json winbind ) + addns? ( python ) + ads? ( acl gnutls ldap winbind ) + cluster? ( ads ) + gpg? ( addc ) + test? ( python ) + ?? ( system-heimdal system-mitkrb5 ) + ${PYTHON_REQUIRED_USE} +" + +# the test suite is messed, it uses system-installed samba +# bits instead of what was built, tests things disabled via use +# flags, and generally just fails to work in a way ebuilds could +# rely on in its current state +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PN}-4.4.0-pam.patch" + "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch" + "${FILESDIR}/${PN}-4.9.2-timespec.patch" +) + +#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" +CONFDIR="${FILESDIR}/4.4" + +WAF_BINARY="${S}/buildtools/bin/waf" + +SHAREDMODS="" + +pkg_setup() { + python-single-r1_pkg_setup + if use cluster ; then + SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad" + elif use ads ; then + SHAREDMODS="idmap_ad" + fi +} + +src_prepare() { + default + + # un-bundle dnspython + sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die + + # unbundle iso8601 unless tests are enabled + if ! use test ; then + sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die + fi + + # ugly hackaround for bug #592502 + cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die + + sed -e 's:::' \ + -i source4/dsdb/samdb/ldb_modules/password_hash.c \ + || die + + # Friggin' WAF shit + multilib_copy_sources +} + +multilib_src_configure() { + # when specifying libs for samba build you must append NONE to the end to + # stop it automatically including things + local bundled_libs="NONE" + if ! use system-heimdal && ! use system-mitkrb5 ; then + bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" + fi + + local myconf=( + --enable-fhs + --sysconfdir="${EPREFIX}/etc" + --localstatedir="${EPREFIX}/var" + --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" + --with-piddir="${EPREFIX}/run/${PN}" + --bundled-libraries="${bundled_libs}" + --builtin-libraries=NONE + --disable-rpath + --disable-rpath-install + --nopyc + --nopyo + $(multilib_native_use_with acl acl-support) + $(multilib_native_usex addc '' '--without-ad-dc') + $(multilib_native_use_with addns dnsupdate) + $(multilib_native_use_with ads) + $(multilib_native_use_enable ceph cephfs) + $(multilib_native_use_with cluster cluster-support) + $(multilib_native_use_enable cups) + $(multilib_native_use_with dmapi) + $(multilib_native_use_with fam) + $(multilib_native_use_with gpg gpgme) + $(multilib_native_use_with json) + $(multilib_native_use_enable iprint) + $(multilib_native_use_with pam) + $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') + $(multilib_native_use_with quota quotas) + $(multilib_native_use_with syslog) + $(multilib_native_use_with systemd) + $(multilib_native_use_with winbind) + $(multilib_native_usex python '' '--disable-python') + $(multilib_native_use_enable zeroconf avahi) + $(multilib_native_usex test '--enable-selftest' '') + $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') + $(use_enable gnutls) + $(use_with debug lttng) + $(use_with ldap) + ) + + multilib_is_native_abi && myconf+=( --with-shared-modules=${SHAREDMODS} ) + + CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \ + waf-utils_src_configure ${myconf[@]} +} + +multilib_src_compile() { + waf-utils_src_compile +} + +multilib_src_install() { + waf-utils_src_install + + # Make all .so files executable + find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die + + if multilib_is_native_abi ; then + # install ldap schema for server (bug #491002) + if use ldap ; then + insinto /etc/openldap/schema + doins examples/LDAP/samba.schema + fi + + # create symlink for cups (bug #552310) + if use cups ; then + dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb + fi + + # install example config file + insinto /etc/samba + doins examples/smb.conf.default + + # Fix paths in example file (#603964) + sed \ + -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ + -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ + -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ + -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ + -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ + -i "${ED%/}"/etc/samba/smb.conf.default || die + + # Install init script and conf.d file + newinitd "${CONFDIR}/samba4.initd-r1" samba + newconfd "${CONFDIR}/samba4.confd" samba + + systemd_dotmpfilesd "${FILESDIR}"/samba.conf + systemd_dounit "${FILESDIR}"/nmbd.service + systemd_dounit "${FILESDIR}"/smbd.{service,socket} + systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' + systemd_dounit "${FILESDIR}"/winbindd.service + systemd_dounit "${FILESDIR}"/samba.service + fi + + if use pam && use winbind ; then + newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind + # bugs #376853 and #590374 + insinto /etc/security + doins examples/pam_winbind/pam_winbind.conf || die + fi + + keepdir /var/cache/samba + keepdir /var/lib/ctdb + keepdir /var/lib/samba/{bind-dns,private} + keepdir /var/lock/samba + keepdir /var/log/samba + keepdir /var/run/{ctdb,samba} +} + +multilib_src_test() { + if multilib_is_native_abi ; then + "${WAF_BINARY}" test || die "test failed" + fi +} + +pkg_postinst() { + ewarn "Be aware the this release contains the best of all of Samba's" + ewarn "technology parts, both a file server (that you can reasonably expect" + ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" + ewarn "controller work previously known as 'samba4'." + + elog "For further information and migration steps make sure to read " + elog "https://samba.org/samba/history/${P}.html " + elog "https://wiki.samba.org/index.php/Samba4/HOWTO " +} -- cgit v1.2.3