From cb9686f21d4c3447a9f8c2a2164676b64848b9e2 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Thu, 15 Jan 2015 21:01:49 +0000 Subject: Version bump Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC --- net-fs/samba/ChangeLog | 7 +- net-fs/samba/Manifest | 30 ++++--- net-fs/samba/samba-4.0.24.ebuild | 181 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 203 insertions(+), 15 deletions(-) create mode 100644 net-fs/samba/samba-4.0.24.ebuild (limited to 'net-fs/samba') diff --git a/net-fs/samba/ChangeLog b/net-fs/samba/ChangeLog index 4078daa94c08..1eecbfdae6aa 100644 --- a/net-fs/samba/ChangeLog +++ b/net-fs/samba/ChangeLog @@ -1,6 +1,11 @@ # 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.706 2015/01/13 08:49:48 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.707 2015/01/15 21:01:48 polynomial-c Exp $ + +*samba-4.0.24 (15 Jan 2015) + + 15 Jan 2015; Lars Wendler +samba-4.0.24.ebuild: + Version bump. *samba-4.1.15 (13 Jan 2015) diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest index 8675a54039e1..4dc1cd2792d6 100644 --- a/net-fs/samba/Manifest +++ b/net-fs/samba/Manifest @@ -44,6 +44,7 @@ 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.24.tar.gz 34122116 SHA256 11d0bd04b734731970259efc6692b8e749ff671a9b56d8cc5fa98c192ab234a7 SHA512 40f054ab0e1ef07fa4bb4934229c42eb0e484596c4d4b81edbf43951acd56e7b04b6efb17e6cb269b329f1a84d60cbe10a3ff04e86c1983ec603bdcf7fc7ecbb WHIRLPOOL e98d3ae62e5d57e5d16b320213961ba7221b8b38912b90434296323549e1673f25682ec8da469dd771d68ec222a6be7d30e24224e0cde0d9dc1e9c393590c68a DIST samba-4.0.23.tar.gz 22140738 SHA256 47d7b9d0caf76ea111794c6181db2fed5c15fd496a5a9eaa8ed4323302c72118 SHA512 49a6889ce3124be0d12df75d30837dde63605d706a34e9017d6e8e365e97910d75bad3eef28296030fdbb013074b68e5e89ad73e3a73806b38e94d306104d711 WHIRLPOOL 99ba11be30df2ce3f9e8af144d435e6b152d657957241043082dc699b90a8352998f5f1b32e810ed8e8e4853fb39792d68a92d97a12d97e3edec65c54b611fab +DIST samba-4.0.24.tar.gz 22148369 SHA256 e1e4068c65684848d8cb17c8997c91be426ff75ccd617f647878307817af615a SHA512 927f57e1bd5b1744ce4bfbcc023989130d176901bd854b88a6c0d761cd29b1ba8b15f0a71cc70bf663105b5e5afb47ce8935181f269d1e0d9444dd2f9f011616 WHIRLPOOL 8dfc8cf16b25660df6b889b96bcc0058abed52cfac0d2d990373ca70aaddd680b6e58cccbc0c68ffaa2eab413386e3ea3632fa807393b1452752da601bd8dbf4 DIST samba-4.1.14.tar.gz 19527260 SHA256 5ea14baaca997292355d368918879e3d639def92b54efef2279cf5abe8db2cba SHA512 58a42baa442acab33699e143128f7f22738f2ef05184acef0fd004279954c919f7d7d0df299990c3beb13a950c64a76b257add15322074a1e6934b5a8563885f WHIRLPOOL 77c3f657e37e50aee97f3b766982124b4e9e937231ec814322fcb4fcacf5b824247e230adbecbedf4894be16b1f2c3606c3cb6851c41c7a8d673f63d1557aad5 DIST samba-4.1.15.tar.gz 19530544 SHA256 9d84112124512428ddc9cc0d9975524bab730b9a598a9ff90458666afb3f42f4 SHA512 7ea71e0083aa487ce7942b11496aa3d6a2d9b47759e9b387f9703ae99aacf96d4350dbaa05a64a124c12fcc97a7b232387710667a19b1e03b6a7c7b5a360f011 WHIRLPOOL 5dd14a65e368cff52c7ece83f5751757901ca8c8aeb52f519d254d8e7bf6feef336abc37ab502ac90b1e12b2976c05077eefb0d1bb3a8ca7e4848a5f5030fb27 DIST smb_traffic_analyzer_v2.diff.bz2 12226 SHA256 1bae7eafbe8ac2382313d5ab9d43d73ba64b63a714f0f588516952d476fb868d SHA512 aa0e457a0dd282e61e6dfcd5705c29b319832dca9711b1b5baf8373e2f079991399c3537c050219ccb861a93f86353ebff677a5c625d2e3f1f3a13ee5c4087d0 WHIRLPOOL 85ee72a360f67ebe71be5cd400ecd635280a0d7c64ebb8b94656a5ef1a94f74a987de86408af00ce1b81cc8363b1b3cf14726860d29b72ee610d4bab73d6b139 @@ -51,25 +52,26 @@ EBUILD samba-3.5.21.ebuild 12311 SHA256 2a849451f886614315680b28b944840d1c670a2b EBUILD samba-3.5.22.ebuild 12309 SHA256 dc195567858dc0c11b2b86fc42427e1066c5efeef29bfe047bdbac413a62007d SHA512 82125fe1d5ba33f57ca06e513090eb0f2cedcda3242773b8734b4b0a18c68ab12f9149651908ddffbe3b2687b9876491a6cbbee7dc4f1e0584a5eef218ff8a57 WHIRLPOOL 9e87a5fb631fd519c2fc89da8a1a591fc9a4eb58eee63052f09321a6f115dbd82e8dd383843b6e6feffe68edaacb4de5c6ba6e9e66a098fa0cddc480988776c8 EBUILD samba-3.6.24.ebuild 13517 SHA256 34686659fa4f283611d0469bf778aed6160a79100745dee23e05f14a13021db8 SHA512 3a614416b770a1ff19e1ccf604b2b6e7a8777c73cf662ddd9606e34125187a5e681774ee496b5de44f36e99973c906da019fbec6a17534859972884c3be1618c WHIRLPOOL 78dca5f9e07afb61308b40a3da1a6fcfea80969d6f08098b2b66bd5fceb4d84f77d8fcb939e0fcf64c94efa43640c973b01b416f191e17011d2fb9c8de584ebd EBUILD samba-4.0.23.ebuild 4865 SHA256 dead19aa152bf9f217914618bdbb1b0a5d1a7357cf5a655496e5c7439fa73c22 SHA512 0b58d4826b29d158901985396c11ce0cf545fbfd43fb4bf5b80a43afff3427707bfecd59585f7f15bce8677ef0fc8dd6176f12cc210c831efb6d2a78f3521c0e WHIRLPOOL 7d49a8459b97f3370b32b12c85e0e026cbf5baa62ea15e6a6cfde6b180f59d32f3407186e46fcc1596c62248744b789671e09477b478f84554c15ef846028207 +EBUILD samba-4.0.24.ebuild 4871 SHA256 9edd97eb7eccc6bcbb7bb5f1c8a2ece88c01b2209af91d2fbef0796884737bd5 SHA512 87a9a8009a643d929d84c7c510fa869c38f4cbddca3b33f7aa8b0095b8a53db0af113059a33786338032d027efe16cbae0f3b70a79691260325f12e140aaf225 WHIRLPOOL e6100b2620cabc27cf6833fa7949598d33a3263dc45904a4167ee24780525dede9fc88bec616c3e5062ab4b8c4698cfc38432a9544e3749bd1b653cc253e0943 EBUILD samba-4.1.14.ebuild 4925 SHA256 8be0a03d5e6f0668ba2eee46673873630645b22d188f9c36616d535c73617d3c SHA512 c86b90d949120df62aedfbb8f4ef9dda7da22c78214557b4daf537b096cd32e76b94e86617ebbd4ef6000970778ecd9378c6e5bb328032ec0f670e739ea88d16 WHIRLPOOL b65f7ca5de7403de17e8aa302cbd2bf515ce74381ae1d484bf418bfe01092ce7dd9397f486521adb6b8c09f999c932ebfb48ad0129da35d4d2d9bab00ff84918 EBUILD samba-4.1.15.ebuild 4869 SHA256 2a76ce14ea19f1212248b10b3f89adbe0d7707314e8fa657259648b9252321ca SHA512 a2a0687de82606a9c9bf2cf3fa12f262ba4ca9e5b855e87b595ed781b49b92344fb759682f5e2851c43bce5bb89fcb0b5238aa3356b70fce34f856a97b7e6aba WHIRLPOOL 669939ac3cc8a629fd822504d48053606ec68c2293b36a266d76edb0a52b7f7b01b54838ad74e543515b52d31e1191ef0da7d3aad98627c74dd45b02943213e1 -MISC ChangeLog 9172 SHA256 a1524b29ea1b3738b7068a8d6e8f60994b56206c481a09ad50068cf7544b5908 SHA512 e82f9d7e008c2767dcb5e0562b980756e453836eceb86d312fead97cc46f0fe68df6008576fbcec297469633a40e49f7358d522e0fa3ab2bae0ec0af17633902 WHIRLPOOL 818476bf393443ecc306245b989e66995a98d7d0028acad1868ff08dc3e584461f183dc1e93fdcef65e07c4d4e30aceed079ee028115c32726377dbe904cf750 +MISC ChangeLog 9294 SHA256 ac5cea0da6c14c38922ca8b9ee2c7de89c59508b859b09ef6d98baba691643f1 SHA512 65b96b8d71e454326ab38fb8c361e2159f2203769e46a57cc96d84a5664f44e8d16b1e10a55233361ab4a9f241df298c8fa3648f89da472e7c78f824f3254270 WHIRLPOOL a88d00a99b1d944a77279606052c196ee9b5298b465a88a5497073e1d31eeeecf58e406c032f3767b3a3cc03e6e0b36ac12d2cfd057bcd906b6227a74a30cf4b MISC ChangeLog-2013 106689 SHA256 00ac832a137c7ce1d21be794b45339e1f4e9c51eb1b796cbcac90a03e1cf5453 SHA512 9dc4e4e22042db7f5ff3a474eb7a454044ea6958ffc3ba5c5de6f09608cfbbcaed8db00763a38995276de03a5f1c728fc783d4addaca7da16f4be76a4e49fd6f WHIRLPOOL 85a746ae34c0386ecb151f5f323b92615cce971b1e46f249cccfdc682bdddd7dad080dd4ffbe5748f093ee11db3f5182cae6d85191a37014639a56040eff9644 MISC metadata.xml 1514 SHA256 c10deb71703017ec67f4e5bac297d9b4581fec3d8b5549b6aea2a43bda642bc0 SHA512 9e67e8f7e0c972046e32bf4539142559c24183d6c3469e5af2f901728a3c02a9fbfd50e948a9fd414107fd0cb2a8de709ffe3fc5bf3372c77a4a3db6dc622ecc WHIRLPOOL ec92ea6a1b03e70c791670e97e7d9e07e6bdb82c24ed08c186e786afcd009ab63fbee7d481a4cdc394632ad312e58a2048dae3ff333f6f7a1ad19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VdbVSuphzpISRxXo/ep7pqoVt1JoGdva8a5o9m +7oRrygmMQfmY6iSvKqBiws5UPdw4x5h3LxHPCtCZRdKF2BbTTR4RUFVpjbjszUIU +wx7mfMJtk9WXPq/FQKqZTAGidHbkjOT0z7SiOpXv/yFgTpVJxPQXm4MW59H6uKxY +QfBMi26Fbl0lGPiBtxoj4VfF0ZNozl7QdcTdRVxKXDI7L+sHxnO3A93ajFuAuXYo +iZ1BELmSwkNz5in9qvSwGO1EiSW7ytCz4UWxNEsly4YZ/YSoVy9hWAPatObMMQhz +1JKoTe2tO/Uk2oV9wthlyBD0dXU5cKdUROF+3RLM4tTkBnhglM8BmBNQDRX60EVZ +bCtYKHE1aBMZfva2OYteONSD5lBYd2nzbjkSi3qlgEm5jTbdHLV1Lbx0653KPurW +chmUBvtI15tyvlEfr3Gu +=y/S0 -----END PGP SIGNATURE----- diff --git a/net-fs/samba/samba-4.0.24.ebuild b/net-fs/samba/samba-4.0.24.ebuild new file mode 100644 index 000000000000..089e8169af4a --- /dev/null +++ b/net-fs/samba/samba-4.0.24.ebuild @@ -0,0 +1,181 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.0.24.ebuild,v 1.1 2015/01/15 21:01:48 polynomial-c Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit python-single-r1 waf-utils multilib linux-info systemd + +MY_PV="${PV/_rc/rc}" +MY_P="${PN}-${MY_PV}" + +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[${PYTHON_USEDEP}] + sys-apps/attr + sys-libs/libcap + >=sys-libs/ldb-1.1.16 + >=sys-libs/tdb-1.2.11[python,${PYTHON_USEDEP}] + >=sys-libs/talloc-2.0.8[python,${PYTHON_USEDEP}] + >=sys-libs/tevent-0.9.18 + sys-libs/zlib + virtual/pam + acl? ( virtual/acl ) + addns? ( net-dns/bind-tools[gssapi] ) + aio? ( dev-libs/libaio ) + cluster? ( >=dev-db/ctdb-1.0.114_p1 ) + cups? ( net-print/cups ) + dmapi? ( sys-apps/dmapi ) + fam? ( virtual/fam ) + gnutls? ( dev-libs/libgcrypt:0 + >=net-libs/gnutls-1.4.0 ) + ldap? ( net-nds/openldap )" +DEPEND="${CDEPEND} + virtual/pkgconfig" +RDEPEND="${CDEPEND} + client? ( net-fs/cifs-utils[ads?] ) + selinux? ( sec-policy/selinux-samba ) +" + +REQUIRED_USE="ads? ( acl ldap ) + ${PYTHON_REQUIRED_USE}" + +RESTRICT="mirror" + +S="${WORKDIR}/${MY_P}" + +CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" + +# 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-single-r1_pkg_setup + if use aio; then + if ! linux_config_exists || ! linux_chkconfig_present AIO; then + ewarn "You must enable AIO support in your kernel config, " + ewarn "to be able to support asynchronous I/O. " + ewarn "You can find it at" + ewarn + ewarn "General Support" + ewarn " Enable AIO support " + ewarn + ewarn "and recompile your kernel..." + fi + fi +} + +src_configure() { + local myconf='' + use "cluster" && myconf+=" --with-ctdb-dir=/usr" + use "test" && myconf+=" --enable-selftest" + myconf="${myconf} \ + --enable-fhs \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-modulesdir=/usr/$(get_libdir)/samba \ + --with-pammodulesdir=/$(get_libdir)/security \ + --with-piddir=/var/run/${PN} \ + --disable-rpath \ + --disable-rpath-install \ + --nopyc \ + --nopyo \ + --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 " +} -- cgit v1.2.3-65-gdbad