commit:     afbdb3ca9a3d841af88e84c3a74e2d4a96fe8020
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 22 10:20:39 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 10:21:00 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afbdb3ca

net-fs/samba: Restricted tests. They are totally broken.

Bug: https://bugs.gentoo.org/639024
Package-Manager: Portage-2.3.20, Repoman-2.3.6

 net-fs/samba/samba-4.5.15.ebuild | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/net-fs/samba/samba-4.5.15.ebuild b/net-fs/samba/samba-4.5.15.ebuild
index 22869843815..6638c6ba5dc 100644
--- a/net-fs/samba/samba-4.5.15.ebuild
+++ b/net-fs/samba/samba-4.5.15.ebuild
@@ -27,6 +27,12 @@ SLOT="0"
 IUSE="acl addc addns ads client cluster cups dmapi fam gnutls gpg iprint ldap 
pam
 quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind 
zeroconf"
 
+# 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"
+
 MULTILIB_WRAPPED_HEADERS=(
        /usr/include/samba-4.0/policy.h
        /usr/include/samba-4.0/dcerpc_server.h
@@ -79,12 +85,10 @@ DEPEND="${CDEPEND}
        dev-libs/libxslt
        virtual/pkgconfig
        test? (
-               !system-mitkrb5? (
-                       >=sys-libs/nss_wrapper-1.1.3
-                       >=net-dns/resolv_wrapper-1.1.4
-                       >=net-libs/socket_wrapper-1.1.7
-                       >=sys-libs/uid_wrapper-1.2.1
-               )
+               >=sys-libs/nss_wrapper-1.1.3
+               >=net-dns/resolv_wrapper-1.1.4
+               >=net-libs/socket_wrapper-1.1.7
+               >=sys-libs/uid_wrapper-1.2.1
        )"
 RDEPEND="${CDEPEND}
        client? ( net-fs/cifs-utils[ads?] )

Reply via email to