From: Michał Górny Date: Sat, 3 Jan 2015 18:44:42 +0000 (+0000) Subject: Drop old 4.* versions. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a98f4eb3120490944956f0c7ca7090eec899f3a;p=gentoo.git Drop old 4.* versions. Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xEFB4464E! --- diff --git a/net-fs/samba/ChangeLog b/net-fs/samba/ChangeLog index 0db5a348c322..783ae12eeb71 100644 --- a/net-fs/samba/ChangeLog +++ b/net-fs/samba/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-fs/samba # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.703 2015/01/03 18:36:21 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.704 2015/01/03 18:44:41 mgorny Exp $ + + 03 Jan 2015; Michał Górny -samba-4.0.22.ebuild, + -samba-4.1.13.ebuild: + Drop old 4.* versions. 03 Jan 2015; Michał Górny +files/samba-4.1.14-libsystemd.patch, samba-4.1.14.ebuild: diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest index 1badbfb4e6a0..9c33bdb524e4 100644 --- a/net-fs/samba/Manifest +++ b/net-fs/samba/Manifest @@ -47,38 +47,34 @@ DIST samba-3.5.21.tar.gz 35377315 SHA256 fd9a66056b1ba9496762394efff41fcaa0e58f2 DIST samba-3.5.22.tar.gz 35385144 SHA256 b4c98f77f5634478da109063334acd9b6ad7bcb38151a5b1cac6dc5feb6679dc SHA512 0e1b4816d921ca82f0426a254cf103066634cc54e28d707a62da951118413f7f5ca5f87d60688cab802a58b0af87f797fbbe12f4e1284d5d7f545a98aba97616 WHIRLPOOL 6e59655dd7a537f0c7c889c43ddf5afb8060706e1ec79b3835698181c5c7478059f91c93eefbde50b03e0154a686eda35eabf807bb7ae01dd2b9b39648a009ae DIST samba-3.6.23.tar.gz 34122387 SHA256 25bbfa81b9a26609a0be744240b63e1f5030bbcfab684cf7aea3b86ed0db2dd0 SHA512 54189079a4f65f1e9c818f9edc9d862c4261c3a4925146f3ab19603052d2c08d32b59ddc243422683338dc4f1192b22f02acaa719e11aa44146c5d3bb11fdcb0 WHIRLPOOL 4919b8911bab8182456ba5bcdc264ca028dea0300bce409bcad338965936849c61695bc99af6e006f373a0c502cc3bf1a596d52d706181674ca2b7bc5aeb19fc DIST samba-3.6.24.tar.gz 34122116 SHA256 11d0bd04b734731970259efc6692b8e749ff671a9b56d8cc5fa98c192ab234a7 SHA512 40f054ab0e1ef07fa4bb4934229c42eb0e484596c4d4b81edbf43951acd56e7b04b6efb17e6cb269b329f1a84d60cbe10a3ff04e86c1983ec603bdcf7fc7ecbb WHIRLPOOL e98d3ae62e5d57e5d16b320213961ba7221b8b38912b90434296323549e1673f25682ec8da469dd771d68ec222a6be7d30e24224e0cde0d9dc1e9c393590c68a -DIST samba-4.0.22.tar.gz 22140230 SHA256 4b15e687f1e0385a23faf7f805b6124db69991c39ad6d9166ded6035c16bda53 SHA512 272fabce1ab5f89c5aef11780fdb9125e40cfe31b0adcc40863a38f781b109523f1686391374f0859ec988f8d44fa170d0ffceb6498da44efd6fa78adfa6bbdc WHIRLPOOL a3534f1857f151db58dabd67de2db59e1733449b1d98b9ccbf3ca59b2de415ff5d66743ccb8d0a860b172cc7d72faa29eafd3a5bee51b92c6c8bbb3bdafcfa11 DIST samba-4.0.23.tar.gz 22140738 SHA256 47d7b9d0caf76ea111794c6181db2fed5c15fd496a5a9eaa8ed4323302c72118 SHA512 49a6889ce3124be0d12df75d30837dde63605d706a34e9017d6e8e365e97910d75bad3eef28296030fdbb013074b68e5e89ad73e3a73806b38e94d306104d711 WHIRLPOOL 99ba11be30df2ce3f9e8af144d435e6b152d657957241043082dc699b90a8352998f5f1b32e810ed8e8e4853fb39792d68a92d97a12d97e3edec65c54b611fab -DIST samba-4.1.13.tar.gz 19523732 SHA256 737907f4ed3a71f6ec12638387aff7cda4764f8c2eb18deeca16e2fb7ed66c9f SHA512 766ed3ee7deda15b8b11230d8e81bfb25fecf03330ba337cd43f9e9a245a60855b972dc3846a0643abfceecfdfb46e29ebd7309bf3330b733f8c036590651ee0 WHIRLPOOL 7d00548ca58ab16d61ebefe07ee374189901fa3032549cbb8ce824adbbec6892e4f8e8499028b8f41888d11e4be475049e74b6816fffad8154ad826ed5387977 DIST samba-4.1.14.tar.gz 19527260 SHA256 5ea14baaca997292355d368918879e3d639def92b54efef2279cf5abe8db2cba SHA512 58a42baa442acab33699e143128f7f22738f2ef05184acef0fd004279954c919f7d7d0df299990c3beb13a950c64a76b257add15322074a1e6934b5a8563885f WHIRLPOOL 77c3f657e37e50aee97f3b766982124b4e9e937231ec814322fcb4fcacf5b824247e230adbecbedf4894be16b1f2c3606c3cb6851c41c7a8d673f63d1557aad5 DIST smb_traffic_analyzer_v2.diff.bz2 12226 SHA256 1bae7eafbe8ac2382313d5ab9d43d73ba64b63a714f0f588516952d476fb868d SHA512 aa0e457a0dd282e61e6dfcd5705c29b319832dca9711b1b5baf8373e2f079991399c3537c050219ccb861a93f86353ebff677a5c625d2e3f1f3a13ee5c4087d0 WHIRLPOOL 85ee72a360f67ebe71be5cd400ecd635280a0d7c64ebb8b94656a5ef1a94f74a987de86408af00ce1b81cc8363b1b3cf14726860d29b72ee610d4bab73d6b139 EBUILD samba-3.5.21.ebuild 12311 SHA256 2a849451f886614315680b28b944840d1c670a2b878329773de63a72797a6fa1 SHA512 5006f1afdc2df93f317d15e1e9781bee20eb0e17e4a15892cb5ebe8bb2ab0a7a56bbbf2ed67099620391eda14b53a8fdb78a5ee9634a489915fcf84b031704b7 WHIRLPOOL a295b28990480ed3e13cf76d4f04270739b2669837d5ea93691888c488ee10dad22cd4bcc2037b09e66be41eda4d3d2e064e28701acb1f2dc7acf80935283123 EBUILD samba-3.5.22.ebuild 12309 SHA256 dc195567858dc0c11b2b86fc42427e1066c5efeef29bfe047bdbac413a62007d SHA512 82125fe1d5ba33f57ca06e513090eb0f2cedcda3242773b8734b4b0a18c68ab12f9149651908ddffbe3b2687b9876491a6cbbee7dc4f1e0584a5eef218ff8a57 WHIRLPOOL 9e87a5fb631fd519c2fc89da8a1a591fc9a4eb58eee63052f09321a6f115dbd82e8dd383843b6e6feffe68edaacb4de5c6ba6e9e66a098fa0cddc480988776c8 EBUILD samba-3.6.23-r1.ebuild 13522 SHA256 3e4452a67d2a2ce512de937a3c1dd14ca96a77e7c83bde3aa1f7f43e280d99f9 SHA512 9fdf54f62f0ff4a069ba754ffd10505de2d8cfac84ee29abbe0ba5d10773aa5e34b8b19799f0892009ad3f5e5547811be7cde06537c8a4c4ff7f4862c6c3e5a3 WHIRLPOOL 5ea53b769dbee0ddb373d566ad2ee187f5f213c9ff42ff3b83aa3c064f3d58e4aec4fce8025952834fd76c74713377fa50835dc1414ba36992e16bd9d9077b4e EBUILD samba-3.6.24.ebuild 13517 SHA256 34686659fa4f283611d0469bf778aed6160a79100745dee23e05f14a13021db8 SHA512 3a614416b770a1ff19e1ccf604b2b6e7a8777c73cf662ddd9606e34125187a5e681774ee496b5de44f36e99973c906da019fbec6a17534859972884c3be1618c WHIRLPOOL 78dca5f9e07afb61308b40a3da1a6fcfea80969d6f08098b2b66bd5fceb4d84f77d8fcb939e0fcf64c94efa43640c973b01b416f191e17011d2fb9c8de584ebd -EBUILD samba-4.0.22.ebuild 4749 SHA256 63cb2fd163a098360152cc9f769e154c194aabbb115f780c13c98249a1649d13 SHA512 f026b6c3a0435183153cef7c86133b10a39b1cd4ee0b6c621072ba1eed234fb7a1f9c45a19c863d3075ee86386d13a223662346726070fc10c09f514afd54cf7 WHIRLPOOL cb5464a87c62a5063fc31ceb9e40661e0602476228312bdf6b720bddde056353988548ded2c17c5141ab00700d4651bef3d3a5d023356a1d20c8bbec0bf3f62e EBUILD samba-4.0.23.ebuild 4756 SHA256 1d7cead76a54c2dbdb406a1f3a124406a1b37393aefac081602f7f9cc5c7a8e7 SHA512 0bf396d8089cc98f3419775246db482bd8ab4da300064471e3a7fba95bbd6eb678e5929f07b074a33c81301e60776a21888968acc799e3558ab0c9721c872d6f WHIRLPOOL 688a81ff0ec14c09f54e85bcad1415fc8760ae0f0275d67f79d37fbb51c9c9e97c989cfb9729dcdb2607826b7f54f1270495e36c05d38d7f76ca2cce25df0e64 -EBUILD samba-4.1.13.ebuild 4665 SHA256 c8d18fe7ae10142bba4b1f0aeb28aff7aaf323d9f0865775d39c985971bce00a SHA512 4721c5787a52b671725952ab762cbc4d40057b18c106130a83f8e0a710fbe9626c34934d397453633e18f0b902498aebe28edfce85227a8b3d1d9033dadcef1a WHIRLPOOL 39524ddee01558cfb671ecb1d24f84dd71bf1964e91b490e0c00ab3ba0057496e24ccd5867c7f99083db580e5cd25b15ab1e5950fd143d0d68940450af3927fb EBUILD samba-4.1.14.ebuild 4793 SHA256 136952154b5f16735bebcdb7e4636079d46c3b49c0287d70950148c7d87cb084 SHA512 3c88ab57fed4c13f188c1301f41ceb88a423690c2220f4db98ae29070fcf02dfbb37d76f28f19b8fa5bc97228388ac5d72f3170c890237e2da398c0eb3b80e04 WHIRLPOOL e605ef7a9d9b1ec8f771faf6270add767e261df68fe22c07a9dbb18c5d3ca9db99d1aab29fd44880fc98c1aa0cc7991e75ba42976f59d46627b77d63777016c4 -MISC ChangeLog 8562 SHA256 43bc2532bba2053b3287d2ce9b5d23b75f7e23595d1e29eb97b675a0906535c5 SHA512 31c5dc797e00ab1b08db42d310a4241dd501f6399adfc6a999e58be10682b4849632f4980c606dbb15a87bcc96161cc1cb3cf646b69b8a98d2f9980bb721012e WHIRLPOOL 31bdc5f852543dfd7ea6712de8362b1a37e06947989dec8d9231210aa7596ba38d20d52959185e5eee5b6604e8340a95a65752d0e9c55cf4bacbb5c3a7d6a0ed +MISC ChangeLog 8684 SHA256 552b75bbe271365d856a6725805f7b4c4b1b71792ac2898d3ac78bb503f0ee73 SHA512 8d4777a7283cd01ee6004097c5cf6f93c26546288539b5dbace494319979a8ddcfd1ad0d42ab3b37566b33c2b2b27a8050af26f5b2f40fd7fa1872045edf6934 WHIRLPOOL e9ed400d1f04994d34ff9cd12a2c903e3a8d2ca7f888efe798802a9ac0905e7d388a5f2ad2546d375929894486f5e72b9959fb05f4e5cb78b5407ad8fd75a590 MISC ChangeLog-2013 106689 SHA256 00ac832a137c7ce1d21be794b45339e1f4e9c51eb1b796cbcac90a03e1cf5453 SHA512 9dc4e4e22042db7f5ff3a474eb7a454044ea6958ffc3ba5c5de6f09608cfbbcaed8db00763a38995276de03a5f1c728fc783d4addaca7da16f4be76a4e49fd6f WHIRLPOOL 85a746ae34c0386ecb151f5f323b92615cce971b1e46f249cccfdc682bdddd7dad080dd4ffbe5748f093ee11db3f5182cae6d85191a37014639a56040eff9644 MISC metadata.xml 1514 SHA256 c10deb71703017ec67f4e5bac297d9b4581fec3d8b5549b6aea2a43bda642bc0 SHA512 9e67e8f7e0c972046e32bf4539142559c24183d6c3469e5af2f901728a3c02a9fbfd50e948a9fd414107fd0cb2a8de709ffe3fc5bf3372c77a4a3db6dc622ecc WHIRLPOOL ec92ea6a1b03e70c791670e97e7d9e07e6bdb82c24ed08c186e786afcd009ab63fbee7d481a4cdc394632ad312e58a2048dae3ff333f6f7a1ad19add55e2c8f8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQJ8BAEBCABmBQJUqDamXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BAEBCABmBQJUqDiaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC -MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZODuQP/0N3Dl4VSbYGrWIjr/6V1iW1 -cNGJyDKz7PXVoCY2vgwfu3u8hAnKmNlEhN0CIcT4HtFDzK78+AHU3msQl1iMvQho -BtLuKa65OuRD6yTuM+BvQ8+4glhrTAoZr/F2OgR+Q365Xwy6RQHgtUIL2ClqqY8h -s+xdSVEfuJ1FeC5yBRFt3kubRNiJD6EgbSZgaMQ34Vc+tMbLznUVghAFP7gmSBk1 -Ssu/x7mk26Ek31itrO8SSjcM6GotDm84Yodm3HerPY8eU/7EScL4rYy6SC0k3HDs -ukD1yMd6G3a7XN3j3nmSRqFWKZyDfXrxYc+GlTiy8TDyQOSOL1/LgoV8MYVs1fEs -mTPD7k8kh2TJrD6Xfs7oA0D3qoG+iu/vRfR1F9R3Fh7CaJaiajlELUqud6kztTry -j47gr5oS10ImdQEUYFLmwweeOBdII9be0/5s68IEVHrllL0q0mCbuc35RxrLVLnu -31XaqMvH/LXhM/yZHwV6e6ZCdnQp5zMk42ubD1QRnSFnI//xsVHP5Rx8vYyiqh+V -74WneT07Lgzcq3mEQcYp2wapxTs6sTRR3PfIoiCeU9k0wFFcITjhHG51wNYXfXrh -ELFi813DKcIPzlRqM56FSG3doV5wpjQ5zoiQK/Gxf/6bAWjjuYJDHeM2S/2hZxb+ -27rrcacqWEM+kA4PgUfS -=Wb9P +MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZODngP/10pHkkkph/3meCrhTlXbO/J +tqkqceH3hKQRhd6kB5gKryqUuYxJPPGBqMdxR5izLcqNpOvcNNSYHBI/G204H6D7 +joN0mG5USigcFJzWb619CUfErdUFhy8v+0+fv1Ur3beaVV7eDlL2O5o5je3YZg87 +SWYWERIPJiCAmiPdXoEVaNHwRckfPCG70iLWhL+Cgggkj0QZJBxViHCd6domB62E +TMw5cOdEydzddcrRaqxgVstrNmPay3BEFpZZKoSEYQBn6ut2MBtrGGfbXBB4B5v9 +us2XZsmtYInhuQuoFfFckjlhr8/2Lk9JNeuDoZXjzYbn137QUHIkoAX0vJo5nOar +V2dWu/HYd9u/e4QmNKwBVKDEBS5nEbHzlFS49BFHMHAu6Is9vgE2MVkh8wIcSTSl +rfD+wrwLPtTc39aKkSqiauTX7UHhs/RKQ7RqwTU3E4PPAmDzWrK0s0ETRqBnI6dG +7u7+rtqSMEKUaXBvLiq7BP9H0K/wy06AC0hU5nHOSgfKmgMajb9j+xAkVoPY7T/I +fwlobx5MQMQXVuvH1f7oXp+OaGs8gjOTdD7PbsoISmhDlG6QETPmaG4q6aarD4aX +3NY+XiHSEjjacHvqe8W0t4blQbOeZxhT3Du28lHcCHl6RkAPvWyRKnw43ra7f0A9 +gFqmDm96Hj0jSuh5wGy+ +=vi/V -----END PGP SIGNATURE----- diff --git a/net-fs/samba/samba-4.0.22.ebuild b/net-fs/samba/samba-4.0.22.ebuild deleted file mode 100644 index fedfd77db3ba..000000000000 --- a/net-fs/samba/samba-4.0.22.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.0.22.ebuild,v 1.2 2014/11/02 12:33:27 swift Exp $ - -EAPI=5 -PYTHON_COMPAT=( python2_{6,7} ) - -inherit python-r1 waf-utils multilib linux-info systemd - -MY_PV="${PV/_rc/rc}" -MY_P="${PN}-${MY_PV}" - -if [ "${PV}" = "4.9999" ]; then - EGIT_REPO_URI="git://git.samba.org/samba.git" - KEYWORDS="" - inherit git-2 -else - SRC_URI="mirror://samba/stable/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~hppa ~x86" -fi - -DESCRIPTION="Samba Suite Version 4" -HOMEPAGE="http://www.samba.org/" -LICENSE="GPL-3" - -SLOT="0" - -IUSE="acl addns ads aio avahi client cluster cups dmapi fam gnutls iprint -ldap quota selinux swat syslog test winbind" - -# sys-apps/attr is an automagic dependency (see bug #489748) -# sys-libs/pam is an automagic dependency (see bug #489770) -CDEPEND="${PYTHON_DEPS} - >=app-crypt/heimdal-1.5[-ssl] - dev-libs/iniparser - dev-libs/popt - sys-libs/readline - virtual/libiconv - dev-python/subunit - sys-apps/attr - sys-libs/libcap - >=sys-libs/ldb-1.1.16 - >=sys-libs/tdb-1.2.11[python] - >=sys-libs/talloc-2.0.8[python] - >=sys-libs/tevent-0.9.18 - sys-libs/zlib - virtual/pam - acl? ( virtual/acl ) - addns? ( net-dns/bind-tools[gssapi] ) - aio? ( dev-libs/libaio ) - cluster? ( >=dev-db/ctdb-1.0.114_p1 ) - cups? ( net-print/cups ) - dmapi? ( sys-apps/dmapi ) - fam? ( virtual/fam ) - gnutls? ( dev-libs/libgcrypt:0 - >=net-libs/gnutls-1.4.0 ) - ldap? ( net-nds/openldap )" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - client? ( net-fs/cifs-utils[ads?] ) - selinux? ( sec-policy/selinux-samba ) -" - -REQUIRED_USE="ads? ( acl ldap )" - -RESTRICT="mirror" - -S="${WORKDIR}/${MY_P}" - -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" - -# sys-apps/dmapi is an automagic dependency (see bug #474492) -PATCHES=( - "${FILESDIR}/named.conf.dlz.patch" - "${FILESDIR}/${PN}-4.0.19-automagic_aio_fix.patch" -) - -WAF_BINARY="${S}/buildtools/bin/waf" - -pkg_setup() { - python_export_best - if use aio; then - if ! linux_config_exists || ! linux_chkconfig_present AIO; then - ewarn "You must enable AIO support in your kernel config, " - ewarn "to be able to support asynchronous I/O. " - ewarn "You can find it at" - ewarn - ewarn "General Support" - ewarn " Enable AIO support " - ewarn - ewarn "and recompile your kernel..." - fi - fi -} - -src_configure() { - local myconf='' - use "cluster" && myconf+=" --with-ctdb-dir=/usr" - use "test" && myconf+=" --enable-selftest" - myconf="${myconf} \ - --enable-fhs \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --with-modulesdir=/usr/$(get_libdir)/samba \ - --with-pammodulesdir=/$(get_libdir)/security \ - --with-piddir=/var/run/${PN} \ - --disable-rpath \ - --disable-rpath-install \ - --nopyc \ - --nopyo \ - --disable-ntdb \ - --bundled-libraries=NONE \ - --builtin-libraries=NONE \ - $(use_with addns dnsupdate) \ - $(use_with acl acl-support) \ - $(use_with ads) \ - $(use_with aio aio-support) \ - $(use_enable avahi) \ - $(use_with cluster cluster-support) \ - $(use_enable cups) \ - $(use_with dmapi) \ - $(use_with fam) \ - $(use_enable gnutls) \ - $(use_enable iprint) \ - $(use_with ldap) \ - --with-pam \ - --with-pam_smbpass \ - $(use_with quota quotas) \ - $(use_with syslog) \ - $(use_with swat) \ - $(use_with winbind) - " - use "ads" && myconf+=" --with-shared-modules=idmap_ad" - - CPPFLAGS="-I/usr/include/et ${CPPFLAGS}" \ - waf-utils_src_configure ${myconf} -} - -src_install() { - waf-utils_src_install - - # install ldap schema for server (bug #491002) - if use ldap ; then - insinto /etc/openldap/schema - doins examples/LDAP/samba.schema - fi - - # Make all .so files executable - find "${D}" -type f -name "*.so" -exec chmod +x {} + - - # Install init script and conf.d file - newinitd "${CONFDIR}/samba4.initd-r1" samba - newconfd "${CONFDIR}/samba4.confd" samba - - systemd_dotmpfilesd "${FILESDIR}"/samba.conf - systemd_dounit "${FILESDIR}"/nmbd.service - systemd_dounit "${FILESDIR}"/smbd.{service,socket} - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' - systemd_dounit "${FILESDIR}"/winbindd.service -} - -src_test() { - "${WAF_BINARY}" test || die "test failed" -} - -pkg_postinst() { - elog "This is is the first stable release of Samba 4.0" - - ewarn "Be aware the this release contains the best of all of Samba's" - ewarn "technology parts, both a file server (that you can reasonably expect" - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" - ewarn "controller work previously known as 'samba4'." - - elog "For further information and migration steps make sure to read " - elog "http://samba.org/samba/history/${P}.html " - elog "http://samba.org/samba/history/${PN}-4.0.0.html and" - elog "http://wiki.samba.org/index.php/Samba4/HOWTO " -} diff --git a/net-fs/samba/samba-4.1.13.ebuild b/net-fs/samba/samba-4.1.13.ebuild deleted file mode 100644 index e6fbf1f807a3..000000000000 --- a/net-fs/samba/samba-4.1.13.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.1.13.ebuild,v 1.2 2014/11/02 12:33:27 swift Exp $ - -EAPI=5 -PYTHON_COMPAT=( python2_{6,7} ) - -inherit python-r1 waf-utils multilib linux-info systemd - -MY_PV="${PV/_rc/rc}" -MY_P="${PN}-${MY_PV}" - -SRC_URI="mirror://samba/stable/${MY_P}.tar.gz" -KEYWORDS="~amd64 ~hppa ~x86" - -DESCRIPTION="Samba Suite Version 4" -HOMEPAGE="http://www.samba.org/" -LICENSE="GPL-3" - -SLOT="0" - -IUSE="acl addns ads aio avahi client cluster cups dmapi fam gnutls iprint -ldap quota selinux syslog test winbind" - -# sys-apps/attr is an automagic dependency (see bug #489748) -# dev-libs/libaio is an automagic dependency (see bug #489764) -# sys-libs/pam is an automagic dependency (see bug #489770) -CDEPEND="${PYTHON_DEPS} - >=app-crypt/heimdal-1.5[-ssl] - dev-libs/iniparser - dev-libs/popt - sys-libs/readline - virtual/libiconv - dev-python/subunit - sys-apps/attr - sys-libs/libcap - >=sys-libs/ntdb-1.0[python] - >=sys-libs/ldb-1.1.17 - >=sys-libs/tdb-1.2.11[python] - >=sys-libs/talloc-2.0.8[python] - >=sys-libs/tevent-0.9.18 - sys-libs/zlib - virtual/pam - acl? ( virtual/acl ) - addns? ( net-dns/bind-tools[gssapi] ) - aio? ( dev-libs/libaio ) - cluster? ( >=dev-db/ctdb-1.0.114_p1 ) - cups? ( net-print/cups ) - dmapi? ( sys-apps/dmapi ) - fam? ( virtual/fam ) - gnutls? ( dev-libs/libgcrypt:0 - >=net-libs/gnutls-1.4.0 ) - ldap? ( net-nds/openldap )" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - client? ( net-fs/cifs-utils[ads?] ) - selinux? ( sec-policy/selinux-samba ) -" - -REQUIRED_USE="ads? ( acl ldap )" - -RESTRICT="mirror" - -S="${WORKDIR}/${MY_P}" - -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" - -# sys-apps/dmapi is an automagic dependency (see bug #474492) -PATCHES=( - "${FILESDIR}/named.conf.dlz.patch" - "${FILESDIR}/${PN}-4.0.19-automagic_aio_fix.patch" -) - -WAF_BINARY="${S}/buildtools/bin/waf" - -pkg_setup() { - python_export_best - if use aio; then - if ! linux_config_exists || ! linux_chkconfig_present AIO; then - ewarn "You must enable AIO support in your kernel config, " - ewarn "to be able to support asynchronous I/O. " - ewarn "You can find it at" - ewarn - ewarn "General Support" - ewarn " Enable AIO support " - ewarn - ewarn "and recompile your kernel..." - fi - fi -} - -src_configure() { - local myconf='' - use "cluster" && myconf+=" --with-ctdb-dir=/usr" - use "test" && myconf+=" --enable-selftest" - myconf="${myconf} \ - --enable-fhs \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --with-modulesdir=/usr/$(get_libdir)/samba \ - --with-pammodulesdir=/$(get_libdir)/security \ - --with-piddir=/var/run/${PN} \ - --disable-rpath \ - --disable-rpath-install \ - --nopyc \ - --nopyo \ - --bundled-libraries=NONE \ - --builtin-libraries=NONE \ - $(use_with addns dnsupdate) \ - $(use_with acl acl-support) \ - $(use_with ads) \ - $(use_with aio aio-support) \ - $(use_enable avahi) \ - $(use_with cluster cluster-support) \ - $(use_enable cups) \ - $(use_with dmapi) \ - $(use_with fam) \ - $(use_enable gnutls) \ - $(use_enable iprint) \ - $(use_with ldap) \ - --with-pam \ - --with-pam_smbpass \ - $(use_with quota quotas) \ - $(use_with syslog) \ - $(use_with winbind) - " - use "ads" && myconf+=" --with-shared-modules=idmap_ad" - - CPPFLAGS="-I/usr/include/et ${CPPFLAGS}" \ - waf-utils_src_configure ${myconf} -} - -src_install() { - waf-utils_src_install - - # install ldap schema for server (bug #491002) - if use ldap ; then - insinto /etc/openldap/schema - doins examples/LDAP/samba.schema - fi - - # Make all .so files executable - find "${D}" -type f -name "*.so" -exec chmod +x {} + - - # Install init script and conf.d file - newinitd "${CONFDIR}/samba4.initd-r1" samba - newconfd "${CONFDIR}/samba4.confd" samba - - systemd_dotmpfilesd "${FILESDIR}"/samba.conf - systemd_dounit "${FILESDIR}"/nmbd.service - systemd_dounit "${FILESDIR}"/smbd.{service,socket} - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' - systemd_dounit "${FILESDIR}"/winbindd.service - systemd_dounit "${FILESDIR}"/samba.service -} - -src_test() { - "${WAF_BINARY}" test || die "test failed" -} - -pkg_postinst() { - ewarn "Be aware the this release contains the best of all of Samba's" - ewarn "technology parts, both a file server (that you can reasonably expect" - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" - ewarn "controller work previously known as 'samba4'." - - elog "For further information and migration steps make sure to read " - elog "http://samba.org/samba/history/${P}.html " - elog "http://samba.org/samba/history/${PN}-4.0.0.html and" - elog "http://wiki.samba.org/index.php/Samba4/HOWTO " -}